tomcat

JConsole – Monitor Remote Machine Process (tomcat)

The JConsole graphical user interface is a monitoring tool that complies to the Java Management Extensions (JMX) specification. JConsole uses the extensive instrumentation of the Java Virtual Machine (Java VM) to provide information about the performance and resource consumption of applications running on the Java platform. Jconsole is very useful in monitoring performance of JVM [...]


Limiting upload file size – Spring

You might want to limit the size of file to be uploaded on your website as it eats up some of the bandwidth and this can cause problem to rest of the users of your site. Most of the time we do processing on files when they are uploaded on server and content validations has [...]


Java Servlets

•AN OVERVIEW OF SERVLET TECHNOLOGY •SERVER SETUP AND CONFIGURATION •WEB APPLICATION STRUCTURE •BASIC SERVLET EXAMPLE Java Servlets View more presentations from Nitin Pai. (tags: jsp servlets)


SEVERE: Error configuring application listener of class com.sun.xml.ws.transport.http. servlet.WSServletContextListener

SEVERE: Error configuring application listener of class com.sun.xml.ws.transport.http.servlet.WSServletContextListener java.lang.ClassNotFoundException: com.sun.xml.ws.transport.http.servlet.WSServletContextListener …. Above error came when i was trying to setup tomcat 6.x for my project work. The complete environment details are below: 1. Java 6 2. tomcat 6.0 As you can see that the problem is related with the WSServletContextListener Class which is supposed to [...]


See Servlet Spec 2.3, section 9.7.2

validateJarFile (C:\jboss\server\default\.\tmp\deploy\tmp49777abc-exp.war\WEB-INF\lib\servlet.jar) – jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.classI guess this is the most modest and informative error i have come through. This generally happen when you deploy your war file and start the server. Now lets follow the instructions given in error and read through the section 9.7.2. [...]