web.xml deployment descriptor file. To lift all doubts, I've written a small webapp that logs all aspects of the startup process of a Tomcat context. I've chosen to use the good old standard error (System.err.println()), because loggers would have added just unnecessary dependencies, configuration and complications.javax.servlet.http.HttpSessionListener interface in a class and define a listener with this class in your web.xml, then your sessionCreated() function will be called on a session only at the first attempt to store some data in the session and not when the session is actually created!
You can easily test this for yourself.lib folder. To find classes that occur more than once in a webapp library folder, I've written a short shellscript.
There've been bugs in Tomcat's class loading and even if it's working as expected, it can give you a hard time to track down what's actually happening behind the scene./etc/default/tomcat5.5 file to the CATALINA_OPTS variable. Eg.CATALINA_OPTS="-Djava.awt.headless=true -Xmx128M -server -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=7091 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false"-Djava.awt.headless=true -Xmx128M -server parameters are there by default).sun-java5-jdk package, then you'll find a "Sun Java 5.0 Console" item in your Applications / System Tools menu), select the Remote tab, enter hostname and port number (7091 in the above example) and connect. You might still get connection error though.client subdirectory in the JRE\bin dir and the jvm.dll file inside that dir. In case of Sun's JRE the bin dir indeed contains a client\jvm.dll, but in case of JRockit that dir is called jrockit. Thus you can work around the issue by renaming the jrockit directory inside JRE/bin, do the install, then rename it back. However if you intend to keep the original name, then after the installation you've to alter the JVM path in the Tomcat configuration (the little app. sitting in the system tray) too to match the real JVM path.kill -QUIT <PID>
Recent comments
2 days 13 hours ago
1 week 5 days ago
1 week 6 days ago
1 week 6 days ago
2 weeks 12 hours ago
2 weeks 20 hours ago
2 weeks 4 days ago
2 weeks 4 days ago
4 weeks 2 days ago
4 weeks 2 days ago