Tel Map

Category: JavaEE

Java Enterprise Edition

2019-12-10 | JavaEE |

Stackoverflow in Tomcat 8.5.49 and 9.0.29

This week we set up a developoment environment on a new PC for a JavaEE project using Tomcat 8.5 (we downloaded the recently released version 8.5.49 to be specific). We started up the IDE, deployed the WAR on a Tomcat server and… more

2019-02-05 | JavaEE |

WildFly 15 Bundle Database Driver And Datasource Into Application

This article describes how to bundle a database driver and the datasource configuration into an enterprise archive (EAR).  In my case I used WildFly 15 and MariaDB JDBC Client as the database driver for MySQL. The Java MySQL JDBC driver is under the GPL… more

2018-12-14 | JavaEE |

WildFly Maven Deploy

While working on automatically deploying a maven artifact to a WildFly server using the WildFly Maven Plugin, I could not find a full working example on the corresponding webpage. It took quite some time, even if it is not much code. Below… more

2018-11-29 | JavaEE |

Basic Authentication Omnifaces CombinedResourceHandler Internet Explorer Not Working

For a testing platform, we a have a typical basic authentication in front of our actual platform. The application server is a WildFly 14 with PrimeFaces as the frontend framework. In order for every JavaScript file not being downloaded separately, we also… more

2018-04-06 | JavaEE |

PrimeFaces Expression Language Remote Code Execution Fix

This post describes how to fix the PrimeFaces Expression Language Remote Code Execution bug (CVE-2017-1000486) when an update to the latest / fixed PrimeFaces version is not easily possible. This solution also needs no patching of the PrimeFaces library itself. The preferred /… more

2017-08-10 | Java |

JSF ViewState Hack Attempt: java.lang.StringIndexOutOfBoundsException: String index out of range: -1 – com.sun.faces.renderkit.ServerSideStateHelper.getState (ServerSideStateHelper.java:313)

Hack Attempt on JSF ViewState This article explains why the error java.lang.StringIndexOutOfBoundsException: String index out of range: -1 in the class ServerSideStateHelper in the method getState (313) might be someone trying to hack your application server. It is getting quite technical in here… but… more

2016-08-01 | Java |

WildFly 10 with Apache and AJP

This article demonstrates how inbound request from a webserver (Apache) can be proxied to an application server (WildFly 10) using the Apache JServ Protocol (AJP). For more information on what AJP actually is, take a look at https://en.wikipedia.org/wiki/Apache_JServ_Protocol . WildFly 10 Configuration First you have to add… more

This website uses cookies. By continuing to use the website, you agree to the use of cookies. For more information about cookies, please see our privacy policy.