Menu

NoClassDefFound

Help
2006-10-19
2013-01-24
  • Stephen Saunders

    I'm trying out MessAdmin to see if it meets my needs as a session-exploration tool, but I have a question.

    I've followed the directions for installed MessAdmin as a server-wide system: installed the jars in the server's classpath, modified the web.xml of the webapps that I'm interested in tracking, and installed the MessAdmin administration webapp (after updating its web.xml to use a basic password).

    When I try to visit the administration webapp, I get a NoClassDefFound, and the class in question is one of the objects from my target webapp which was put into that webapp's session. This makes sense to me: the MessAdmin admin app doesn't have those objects in its classpath. But, if that's the case, how could this server-wide installation ever work? Wouldn't that admin webapp need to have all the monitored webapps' jars in its classpath, just so it can refer to any of the serializable objects that might be stored in the various sessions from any of those webapps?

    If someone could clear this up for me, I'd appreciate it.

    Cheers,
    Stephen

     
    • Cédrik

      Cédrik - 2006-10-21

      Greetings Stephen, and thank you for trying out MessAdmin.

      The administration webapp does not need your applications' jar file. It calculates the size via reflexion.

      It would help tremendously if you could send me a stack trace, along with your application-server's name and version. Which MessAdmin plugins did you install?

      Cheers,
      Cédrik

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.