tags tomcat
Found the following pages that are tagged with "tomcat".
Posted by Edmund Haselwanter on Aug 11, 2008
Tags: amazon, aws, cloud, ec2, tomcat
made my way through the deployment of webapp (tomcat 6) on Amazon EC2 the very famous webservice products from Amazon.
Continue Reading…
Posted by Edmund Haselwanter on Aug 25, 2008
Tags: apache, cloud, tomcat
Problem description: You want to server multiple web applications with one Tomcat instance. The brute force variant is to just "rewrite" or ProxyPass the request from e.g. www.myhost.com to the local tomcat with localhost:8080/myhost. But this leads to context urls of ressources in the served html pages. You can either deploy you webapp in the ROOT context (but there is just ONE ROOT context, so this does not work). So let us use virtual hosts on both, the apache webserver and the tomcat servlet container.
Continue Reading…
Posted by Edmund Haselwanter on Oct 09, 2008
Tags: java, tomcat
As with EVERY project sooner or later I encounter character encoding problems. This time everything seemed to be ok. UTF-8 settings everywhere I can think of. Did I miss something?
Continue Reading…
Posted by Edmund Haselwanter on Mar 13, 2009
Tags: java, tomcat
the symptom
If tomcat just respondes with HTTP 500 and you find something like
org.apache.tomcat.jni.Error: Too many open files
at org.apache.tomcat.jni.Socket.accept(Native Method)
at org.apache.tomcat.util.net.AprEndpoint$Acceptor.run(AprEndpoint.java:1110)
at java.lang.Thread.run(Thread.java:619)
Mar 12, 2009 12:01:34 PM org.apache.tomcat.util.net.AprEndpoint$Acceptor run
SEVERE: Socket accept failed
in catalina.out
Continue Reading…