0 Replies Latest reply on Dec 17, 2011 8:48 AM by iabughosh

    migrating to AS 7 issue

    iabughosh Master

      Dears,

      I'm migrating to AS 7.1 beta, my war @Inject a stateless 3.1 EJB lite into my CDI bean, when i perform an action on my xhtml page i get this exception :

      SEVERE [javax.enterprise.resource.webcontainer.jsf.application] (http--127.0.0.1-8080-4) org.jboss.msc.service.ServiceName from [Module "deployment.DocXchange.war:main" from Service Module Loader]: java.lang.ClassNotFoundException: org.jboss.msc.service.ServiceName from [Module "deployment.DocXchange.war:main" from Service Module Loader]

                at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190)

                at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:485)

                at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:444)

                at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:421)

                at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:143)

                at java.lang.Class.forName0(Native Method) [:1.6.0_29]

                at java.lang.Class.forName(Class.java:247) [:1.6.0_29]

                at com.sun.faces.renderkit.ApplicationObjectInputStream.resolveClass(ApplicationObjectInputStream.java:95) [jsf-impl-2.1.3-b02-jbossorg-2.jar:]

                at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1574) [:1.6.0_29]

                at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1495) [:1.6.0_29]

                at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1731) [:1.6.0_29]

                at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328) [:1.6.0_29]

                at java.io.ObjectInputStream.readObject(ObjectInputStream.java:350) [:1.6.0_29]

                at java.util.HashMap.readObject(HashMap.java:1030) [:1.6.0_29]

                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_29]

                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [:1.6.0_29]

                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [:1.6.0_29]

                at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_29]

                at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974) [:1.6.0_29]

                at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1848) [:1.6.0_29]

                at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1752) [:1.6.0_29]

                at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328) [:1.6.0_29]

                at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1946) [:1.6.0_29]

                at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1870) [:1.6.0_29]

                at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1752) [:1.6.0_29]

                at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328) [:1.6.0_29]

                at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1946) [:1.6.0_29]

                at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1870) [:1.6.0_29]

                at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1752) [:1.6.0_29]

                at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328) [:1.6.0_29]

                at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1946) [:1.6.0_29]

                at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1870) [:1.6.0_29]

                at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1752) [:1.6.0_29]

                at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328) [:1.6.0_29]

                at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1946) [:1.6.0_29]

                at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1870) [:1.6.0_29]

                at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1752) [:1.6.0_29]

                at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328) [:1.6.0_29]

                at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1946) [:1.6.0_29]

                at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1870) [:1.6.0_29]

                at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1752) [:1.6.0_29]

                at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328) [:1.6.0_29]

                at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1946) [:1.6.0_29]

                at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1870) [:1.6.0_29]

                at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1752) [:1.6.0_29]

                at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328) [:1.6.0_29]

                at java.io.ObjectInputStream.readObject(ObjectInputStream.java:350) [:1.6.0_29]

       

      it was working with AS6, thank you.