Win a copy of TDD for a Shopping Website LiveProject this week in the Testing 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
  • Piet Souris
  • Himai Minh

Tomcat crashes: ClassNotFound JreMemoryLeakPreventionListener

Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This is actually on Amazon's EC2 but I've asked in the forums at Amazon AWS with no result and so I thought I'd try asking here.

I have EC2 configured to give me Tomcat instances in which I want to run a java servlet inside Tomcat.

It seems that EC2, as it provisions an instance, give me Tomcat versions 6.0.16 and 6.0.18 (I believe the latest is 6.0.29). It installs 6.0.16. The Tomcat server tries to start but immediately crashes with ClassNotFound JreMemoryLeakPreventionListener

JreMemoryLeakPreventionListener is in the core catalina.jar inside tomcat 6.0.29 on my local machine but I find the class in neither of 6.0.16 nor 6.0.18.

So I wonder why 6.0.16 is even asking for JreMemoryLeakPreventionListener when the server starts up if the class is not even part of that particular distribution? And I wonder why EC2 is getting provisioned in a way that crashes immediately? Since this is all (I believe) internal to the EC2 instance provisioning it's hard for me to see how I might be causing the problem myself.
Whatever you say buddy! And I believe this tiny ad too:
Free, earth friendly heat - from the CodeRanch trailboss
    Bookmark Topic Watch Topic
  • New Topic