facebook

Problems deploying EJB to jboss 4

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse Archived
  2.  > 
  3. Application Servers and Deployment
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #270527 Reply

    lalo
    Member

    Hi, I’m having problems deploying a EJB application to JBoss 4.2.0 using deployment manager.
    In fact, the deploy perform succesfully, but JBoss throws:

    17:53:56,251 WARN [EJBDeployer] Verify failed; continuing
    java.lang.NoClassDefFoundError: javax/ejb/SessionBean

    I’m using myEclipse 5.5.1
    Any idea?

    #270582

    Loyal Water
    Member

    The class for which you are getting the NoClassDef Error is a core J2EE class that the server will provide, if you are getting NoClassDef’s on that, then there are 2 possibility:

    1) Your JBoss install is corrupted.
    2) (More likely) You are accidentally deploying your J2EE Library classes with your project to JBoss. And some app servers (I think JBoss is 1 of them) will actually unload classes that have conflicts. So if it finds that your app tries to load javax.ejb.SessionBean, it will not only stop it from loading, but unload the one that it previously loaded from it’s server /lib directory.

    Some app servers are *very* aggressive with class-conflicts, and can cause errors like this.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Problems deploying EJB to jboss 4

You must be logged in to post in the forum log in