• 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

Tomcat NoClassDefFoundError + LifecycleException

 
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am trying to hot deploy to Borland Enterprise Server so I have turned on the per_module class loading policy for the server to allow this. However I get two exceptions:

1.java.lang.NoClassDefFoundError:
2.LifecycleException: -container for web app doesn't start

and a Tomcat problem back when I try to retrieve my login page
Borland-Apache Tomcat/4.0.3 - HTTP Status 500 - No Context configured to process this request

I think this is a class loading problem with Tomcat but I don't know how to resolve it.
 
Ranch Hand
Posts: 326
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This problem builds on itself:

1 - the class can't be found, so
2 - the lifecycle of the context cannot start, so
3 - the context is not available, so
4 - you get a 500 error

What class does it say it cannot find?

Where did you reference that class?

Have you placed the class where you told tomcat you would place it?

If the class in question is in a .jar, have you placed the jar in either:
CATALINA_HOME/common/lib, CATALINA_HOME/shared/lib, or <your context>/WEB-INF/lib?
 
You've gotta fight it! Don't give in! Read this tiny ad:
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