5 Replies Latest reply on Jun 3, 2014 11:46 AM by Marc Rosenthal

    8.0.0 to 8.1.0 migration class loading issue

    Marc Rosenthal Newbie

      I have an application that worked in wildfly-8.0.0.Final and I am trying to upgrade to 8.1.0.Final.  I have tried both a fresh install and a patch update, but in both instances, I get a NoClassDefFoundError in the web application when trying to access my EJBs.  The EJBs load fine, I see them in the log and I see them in the JNDI context.  Is there a class loading change or a migration document that might explain this?

       

      This is what I am seeing:

       

      2014-06-02 15:22:00,523 INFO  [org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor] (MSC service thread 1-1) JNDI bindings for session bean named PersonIntBean in deployment unit subdeployment "app.jar" of deployment "app.ear" are as follows:

       

       

              java:global/app/app/PersonBean!com.app.ejb.person.PersonInt

              java:app/app/PersonBean!com.app.ejb.person.PersonInt

              java:module/PersonBean!com.app.ejb.person.PersonInt

              java:global/app/app/PersonBean

              java:app/app/PersonBean

              java:module/PersonBean

       

       

      ....

      ....

      ....

       

      Caused by: java.lang.ClassNotFoundException: com.app.ejb.PersonInt from [Module "deployment.app.ear.webapp.war:main" from Service Module Loader]

              at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:213) [jboss-modules.jar:1.3.3.Final]

              at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:459) [jboss-modules.jar:1.3.3.Final]

              at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:408) [jboss-modules.jar:1.3.3.Final]

              at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:389) [jboss-modules.jar:1.3.3.Final]

              at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:134) [jboss-modules.jar:1.3.3.Final]