• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

HTTP Status 500 error

 
tushar panda
Ranch Hand
Posts: 133
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i got this error while checking my webapp .


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


so what went wrong
 
Sagar Rohankar
Ranch Hand
Posts: 2907
1
Java Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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'
 
tushar panda
Ranch Hand
Posts: 133
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2907
1
Java Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13071
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic