Re: java.lang.NoClassDefFoundError: Could not initialize class

2010-05-30 Thread Licht Jiang
Thanks Charles for your help! >> java.lang.NoClassDefFoundError: Could not initialize class >> com.myservice.web.TestClass > > Show us the full stack trace(s); there are usually at least two in cases like > this. Now I have no access to the service. >> But class "TestClass" is in "WEB-INF/class

java.lang.NoClassDefFoundError: Could not initialize class

2010-05-30 Thread Licht Jiang
I got the following error from a web service running in Apache Tomcat/5.5.27 and JVM 1.6.0_17-b04-248-10M3025. java.lang.NoClassDefFoundError: Could not initialize class com.myservice.web.TestClass TestClass is a class called by the servlet in doget(). But class "TestClass" is in "WEB-INF/classe

Re: service failed to load and "Error configuring application listener ..."

2010-05-30 Thread Licht Jiang
Thanks, Charles! On Fri, May 28, 2010 at 10:28 AM, Caldarale, Charles R wrote: >> From: Licht Jiang [mailto:licht.ji...@gmail.com] >> Subject: service failed to load and "Error configuring application >> listener ..." >> >> I tried to deploy a servic

service failed to load and "Error configuring application listener ..."

2010-05-28 Thread Licht Jiang
I tried to deploy a service "MyServices" in a .war file to tomcat5. But tomcat failed to load the service and reported the following: INFO: Deploying web application archive MyServices.war May 28, 2010 3:02:24 AM org.apache.catalina.loader.WebappClassLoader validateJarFile INFO: validateJarFile(/

Re: too man open files?

2010-05-19 Thread Licht Jiang
Sat, May 15, 2010 at 2:21 AM, Pid wrote: > On 14/05/2010 22:44, Licht Jiang wrote: >> I run a servlet on tomcat 5.5.27, jvm 1.6.0_10-b33, and fedora >> 2.6.21.7-2.fc8xen. The service has a problem: after running for a >> certain time, the servlet becomes unavailable because

too man open files?

2010-05-14 Thread Licht Jiang
I run a servlet on tomcat 5.5.27, jvm 1.6.0_10-b33, and fedora 2.6.21.7-2.fc8xen. The service has a problem: after running for a certain time, the servlet becomes unavailable because of "too many open files" exception: 2010-05-13 23:58:14,575 DEBUG - Reload config... 2010-05-13 23:58:14,575 ERROR