File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes HTTP Status 500 error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "HTTP Status 500 error" Watch "HTTP Status 500 error" New topic
Author

HTTP Status 500 error

tushar panda
Ranch Hand

Joined: Feb 16, 2009
Posts: 133
i got this error while checking my webapp .


restarting tomcat didn't help.
this is what log file shows :


so what went wrong


Do Right , Fear No Man
Sagar Rohankar
Ranch Hand

Joined: Feb 19, 2008
Posts: 2902
    
    1

tushar panda wrote:
Jul 14, 2009 1:54:33 PM org.apache.catalina.loader.WebappClassLoader modified
SEVERE: Resource '/WEB-INF/classes/threeparam.class' is missing
[/code]
so what went wrong

I think you're missing that class in '/WEB-INF/classes/threeparam.class'


[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
tushar panda
Ranch Hand

Joined: Feb 16, 2009
Posts: 133
Sagar Rohankar wrote:
tushar panda wrote:
Jul 14, 2009 1:54:33 PM org.apache.catalina.loader.WebappClassLoader modified
SEVERE: Resource '/WEB-INF/classes/threeparam.class' is missing
[/code]
so what went wrong

I think you're missing that class in '/WEB-INF/classes/threeparam.class'


no the threeparam.class is there but still error .

this is from catalina log file:

[code] Jul 14, 2009 4:26:44 PM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: E:\Program Files\Java\jdk1.6.0_14\bin;.;E:\WINDOWS\Sun\Java\bin;E:\WINDOWS\system32;E:\WINDOWS;E:\WINDOWS\system32;E:\WINDOWS;E:\WINDOWS\System32\Wbem;E:\Program Files\ATI Technologies\ATI.ACE\;E:\Program Files\Java\jdk1.6.0_14\bin;E:\Program Files\QuickTime\QTSystem\;C:\apache-tomcat-6.0.20\lib;"E:\Program Files\Java\jdk1.6.0_14\bin"; [/code]

i think that APR(apache portable runtime) is doing something here .
Sagar Rohankar
Ranch Hand

Joined: Feb 19, 2008
Posts: 2902
    
    1

tushar panda wrote:
Sagar Rohankar wrote:
tushar panda wrote:
Jul 14, 2009 1:54:33 PM org.apache.catalina.loader.WebappClassLoader modified
SEVERE: Resource '/WEB-INF/classes/threeparam.class' is missing
[/code]
so what went wrong

I think you're missing that class in '/WEB-INF/classes/threeparam.class'

no the threeparam.class is there but still error .


I don't know the exact cause, but there is some problem with "threeparam" class

tushar panda wrote:this is from catalina log file:

[code] Jul 14, 2009 4:26:44 PM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: E:\Program Files\Java\jdk1.6.0_14\bin;.;E:\WINDOWS\Sun\Java\bin;E:\WINDOWS\system32;E:\WINDOWS;E:\WINDOWS\system32;E:\WINDOWS;E:\WINDOWS\System32\Wbem;E:\Program Files\ATI Technologies\ATI.ACE\;E:\Program Files\Java\jdk1.6.0_14\bin;E:\Program Files\QuickTime\QTSystem\;C:\apache-tomcat-6.0.20\lib;"E:\Program Files\Java\jdk1.6.0_14\bin"; [/code]
i think that APR(apache portable runtime) is doing something here .

No, its Tomcat routine to check PATH environment variable, it would not cause any problem.
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12769
    
    5
SEVERE: Resource '/WEB-INF/classes/threeparam.class' is missing


ALL classes used in servlets should be in a package with the directory structure under classes reflecting that package structure.

Bill
Martin Dodd
Greenhorn

Joined: Aug 18, 2009
Posts: 5
I have resolved the problem :
org.apache.catalina.core.AprLifecycleListener init INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path:

The answer lies in the installation of the dll :tcnative-1.dll. This can be downloaded from the tcnative-1.dll. Simply install in the directory CATALINA_HOME/bin. This results in:
18/08/2009 9:36:52 PM org.apache.catalina.core.AprLifecycleListener init
INFO: Loaded APR based Apache Tomcat Native library 1.1.16.
18/08/2009 9:36:52 PM org.apache.catalina.core.AprLifecycleListener init
INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], ra
ndom [true].

I hope this helps regards. Martin

William Brogden wrote:
SEVERE: Resource '/WEB-INF/classes/threeparam.class' is missing


ALL classes used in servlets should be in a package with the directory structure under classes reflecting that package structure.

Bill


Martin Dodd
DrMDodd@gmail.com
 
 
subject: HTTP Status 500 error