This week's book giveaway is in the Cloud/Virtualization forum.
We're giving away four copies of Pipeline as Code and have Mohamed Labouardy on-line!
See this thread for details.
Win a copy of Pipeline as Code this week in the Cloud/Virtualization forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Bear Bibeault
  • Rob Spoor
  • Henry Wong
  • Liutauras Vilda
Saloon Keepers:
  • Tim Moores
  • Carey Brown
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Frits Walraven
  • Himai Minh
  • Jj Roberts

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:
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?
To get a wish, you need a genie. To get a genie, you need a lamp. To get a lamp, you need a tiny ad:
SKIP - a book about connecting industrious people with elderly land owners
    Bookmark Topic Watch Topic
  • New Topic