Monthly Archives: September 2014

Java UrlRewriteFilter and Apache mod_rewrite – rule comparison

UrlRewriteFilter for Tomcat can do most of the stuff mod_rewrite Apache module does. In a hosting scenario where some URLs are served by Apache and others by Tomcat you need to use correct rewriting method for it to succeed. Here … Continue reading

Posted in Java, Tomcat | 2 Comments

org.apache.jasper.JasperException: The absolute uri: cannot be resolved

org.apache.jasper.JasperException: The absolute uri: cannot be resolved in either web.xml or the jar files deployed with this application This is usually caused by incompatibility between used taglib URI and available JSTL jars. Check what version matches your URI by … Continue reading

Posted in Java, Tomcat | Leave a comment

Hibernate and java.lang.NoClassDefFoundError: javax/persistence/EntityListeners

java.lang.NoClassDefFoundError: javax/persistence/EntityListenersorg.hibernate.cfg.annotations.reflection.JPAMetadataProvider.getDefaults( It is usually caused by missing hibernate-jpa jars. These may be included in your development environment but mising in the generated WAR. You need to ensure the JPA jar is included in your WAR’s WEB-INF/lib or your application … Continue reading

Posted in Java | Leave a comment

jdbc4.MySQLSyntaxErrorException and max_user_connections

Possible causes for javax.servlet.ServletException: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: User dbuser already has more than ‘max_user_connections’ active connections 1. Mismatch between MySQL max_user_connections and JDBC pool limits The most simple and obvious reason is that your connection pool limits are set above max_user_connections. This … Continue reading

Posted in Databases, Java | Leave a comment

Installing newest ImageMagick on Centos in user home directory

Arbitrary version of ImageMagick cannot usually be installed on shared server but it can be installed in user’s home directory. See copy and paste instructions. Centos 5 comes with ImageMagick 6.2.8 and Centos 6 includes 6.5.4. If you need anewer … Continue reading

Posted in Non-Java, Server Mangement | Leave a comment