WebSphere Application Server & Liberty

WebSphere Application Server & Liberty

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  WAS 6.0.2.31 classloading problem

    Posted Tue August 10, 2010 12:27 PM
    WAS 6.0.2.31 classloading problem

    --------------------------------

    I have a problem with certain classes not loading. Locally on my machine, I run WAS 6.0.2.31, and I have created an EAR file from Eclipse. Once installed, my application(s) work just fine. I now take the same EAR file over to my test server, (which is also running 6.0.2.31) and install the application(s).

    Now when I run the application on my test server, I end up getting a

    java.lang.NoClassDefFoundError

    After comparing the result from the Class Loader Viewer in the GUI, I notice that I am missing roughly 400 classes or so on my test server.

    Anyone know what I possibly could have done wrong? (Same WAS version, same EAR file, same Java Versions)

    With kind regards,
    Fredrik

    --------------------------------

    Posted By: Crast at Jan 8 2009 3:05PM


  • 2.  WAS 6.0.2.31 classloading problem

    Posted Tue August 10, 2010 12:53 PM

    1. Befor installing on test server, check the file size of both EAR files.
    2. After installation, check the EAR deployed in installed apps directory & look out for the classes.


    --------------------------------


    Posted By: Abhinav at Jan 12 2009 6:56AM



  • 3.  WAS 6.0.2.31 classloading problem

    Posted Tue August 10, 2010 12:55 PM
    check the class loader policy for the server.

    --------------------------------

    Posted By: cijojohn@gmail. at Feb 25 2009 4:02PM