• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

HTTP Status 500 error

 
Ranch Hand
Posts: 133
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 2908
1
Spring Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 2908
1
Spring Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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

 
Do the next thing next. That’s a pretty good rule. Read the tiny ad, that’s a pretty good rule, too.
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic