tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jon Haitz Legarreta Gorroño <jhlegarr...@vicomtech.org>
Subject Re: [TOMCAT] Internal Tomcat Server error (HTTP Status 500): NoClassDefFound
Date Thu, 25 Sep 2008 15:41:32 GMT
Hi again,
thanks for your interest, David.
Well, found that line 68 in StrutsPageLifecycleFactory.java is empty !!

The method menetioned is the following, and line 68 is the one above the 
return statement:

 private static StrutsPageLifecycleFactory getDefaultInstance()
   {
      if (defaultInstance == null)
      {
         defaultInstance = new DefaultStrutsPageLifecycleFactory();
      }
     
      return defaultInstance;
   }

I don't know whether sometime it contained something, but no doubt I 
haven't edited it !

BTW, forgot to mention that some other Web applications I've got work fine.

Thanks again for any suggestion.
JON HAITZ






David Smith escribió:
>> oracle.adf.controller.v2.struts.lifecycle.StrutsPageLifecycleFactory.getDefaultInstance(StrutsPageLifecycleFactory.java:68)

>
>
> ... so what class is referenced at line 68 of 
> StrutsPageLifecycleFactory.java?  It's weird that it didn't include 
> the class name it couldn't find in the stack trace.
>
> --David
>
> Jon Haitz Legarreta Gorroño wrote:
>> Hi all,
>> since a couple of days ago I've been experiencing problems with a Web 
>> application of mine that worked fine until then: when I deployed the 
>> application (built with Java and JSP) under my Tomcat 5.0.28 I got 
>> the following error stack (sorry for the length):
>>
>> HTTP Status 500
>>
>> The server found an internal error tha prevented it from fulfilling 
>> this request
>>
>> 2008-09-25 16:18:52 StandardContext[/ADMPAC]StandardWrapper.Throwable
>> java.lang.NoClassDefFoundError
>>   at 
>> oracle.adf.controller.v2.struts.lifecycle.StrutsPageLifecycleFactory.getDefaultInstance(StrutsPageLifecycleFactory.java:68)

>>
>>   at 
>> oracle.adf.controller.v2.struts.lifecycle.StrutsPageLifecycleFactory.getInstance(StrutsPageLifecycleFactory.java:58)

>>
>>   at 
>> oracle.adf.controller.v2.struts.actions.DataActionMapping.freeze(DataActionMapping.java:73)

>>
>>   at 
>> org.apache.struts.config.impl.ModuleConfigImpl.freeze(ModuleConfigImpl.java:503)

>>
>>   at org.apache.struts.action.ActionServlet.init(ActionServlet.java:474)
>>   at javax.servlet.GenericServlet.init(GenericServlet.java:211)
>>   at 
>> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1029) 
>>
>>   at 
>> org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:687) 
>>
>>
>>   // Some org.apache.catalina.core.* classes related lines more
>>
>>   at 
>> org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
>>   at 
>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799) 
>>
>>   at 
>> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)

>>
>>   at 
>> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577) 
>>
>>   at 
>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)

>>
>>   at java.lang.Thread.run(Unknown Source)
>>
>> 2008-09-25 16:18:52 StandardWrapperValve[action]: Excepción de 
>> reserva de espacio para servlet action
>> javax.servlet.ServletException: Servlet.init() para servlet action 
>> lanzó excepción
>>   at 
>> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1071) 
>>
>>   at 
>> org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:687) 
>>
>>   at 
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:144)

>>
>>
>>   // Some org.apache.catalina.core.* classes related lines more
>>
>>   at 
>> org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
>>   at 
>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799) 
>>
>>   at 
>> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)

>>
>>   at 
>> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577) 
>>
>>   at 
>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)

>>
>>   at java.lang.Thread.run(Unknown Source)
>> ----- Root Cause -----
>> java.lang.NoClassDefFoundError
>>   at 
>> oracle.adf.controller.v2.struts.lifecycle.StrutsPageLifecycleFactory.getDefaultInstance(StrutsPageLifecycleFactory.java:68)

>>
>>   at 
>> oracle.adf.controller.v2.struts.lifecycle.StrutsPageLifecycleFactory.getInstance(StrutsPageLifecycleFactory.java:58)

>>
>>   at 
>> oracle.adf.controller.v2.struts.actions.DataActionMapping.freeze(DataActionMapping.java:73)

>>
>>   at 
>> org.apache.struts.config.impl.ModuleConfigImpl.freeze(ModuleConfigImpl.java:503)

>>
>>   at org.apache.struts.action.ActionServlet.init(ActionServlet.java:474)
>>   at javax.servlet.GenericServlet.init(GenericServlet.java:211)
>>   at 
>> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1029) 
>>
>>   at 
>> org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:687) 
>>
>>   at 
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:144)

>>
>>       // Some org.apache.catalina.core.* classes related lines more   
>> at 
>> org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
>>   at 
>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799) 
>>
>>   at 
>> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)

>>
>>   at 
>> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577) 
>>
>>   at 
>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)

>>
>>   at java.lang.Thread.run(Unknown Source)
>>
>>
>>
>> I would say that I am 99% sure that it is not due to an error in my 
>> code (the same code worked three days ago), and I haven't changed 
>> anything else.
>>
>> Could somebody cast some light on this error, please?
>> I am unable to make head or tail of it. And I did not find any useful 
>> information on the Web.
>>
>> Many thanks in advance !!
>> JON HAITZ
>>
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

-- 

Jon Haitz Legarreta Gorroño
Laguntzaile zientifikoa / Colaborador científico / Scientific collaborator

VICOMTech - Visual Interaction and Communication Technologies Center
Mikeletegi Pasealekua, 57 - Parque Tecnológico
E-20009 Donostia - San Sebastián, Spain
Tel: +[34] 943 30 92 30
Fax: +[34] 943 30 93 93
e-mail: jhlegarreta@vicomtech.org
http://www.vicomtech.org

*** member of INI-GraphicsNet ****
http://www.inigraphics.net
*** member of IK4 Research Alliance ****
http://www.ik4.es

-----------------------------------------------------
VICOMTech is an ISO 9001:2000 certified institute
-----------------------------------------------------


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message