0 Replies Latest reply on Dec 28, 2006 6:09 AM by lahirukarunatilake

    Jboss 3.2.8 SP1 to Jboss 4.0.4 GA Migration Issue

    lahirukarunatilake Newbie

      Hi,

      I have upgrated my EJB 2.1 session beans to EJB 3 Session beans. Therefore I upgrade my server to 4.0.4 GA. Now Im getting the following exception from Bean Manager Transaction beans. CMT beans work fine.

      13:51:18,437 INFO [[/PlantMgt]] java.lang.LinkageError: Class org/jdom/Document violates loader constraints
       at java.lang.ClassLoader.defineClass1(Native Method)
       at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
       at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
       at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1812)
       at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:866)
       at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1319)
       at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1198)
       at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
       at java.lang.Class.getDeclaredMethods0(Native Method)
       at java.lang.Class.privateGetDeclaredMethods(Class.java:2395)
       at java.lang.Class.getDeclaredMethod(Class.java:1907)
       at java.io.ObjectStreamClass.getPrivateMethod(ObjectStreamClass.java:1354)
       at java.io.ObjectStreamClass.access$1700(ObjectStreamClass.java:52)
       at java.io.ObjectStreamClass$2.run(ObjectStreamClass.java:421)
       at java.security.AccessController.doPrivileged(Native Method)
       at java.io.ObjectStreamClass.<init>(ObjectStreamClass.java:400)
       at java.io.ObjectStreamClass.lookup(ObjectStreamClass.java:297)
       at java.io.ObjectStreamClass.initProxy(ObjectStreamClass.java:491)
       at java.io.ObjectInputStream.readProxyDesc(ObjectInputStream.java:1508)
       at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1463)
       at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1699)
       at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
       at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
       at java.rmi.MarshalledObject.get(MarshalledObject.java:135)
       at org.jnp.interfaces.MarshalledValuePair.get(MarshalledValuePair.java:72)
       at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:652)
       at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
       at javax.naming.InitialContext.lookup(InitialContext.java:351)
       at lk.informatics.outsideplant.ui.util.EJBHomeFactory.lookupHome(EJBHomeFactory.java:47)
       at lk.informatics.outsideplant.ui.backendinterface.BEMediator.getRemoteEJBHome(BEMediator.java:26)
       at lk.informatics.outsideplant.ui.backendinterface.TelephoneInstallation.getRemoteTelephoneInstallationSession(T
      elephoneInstallation.java:185)
       at lk.informatics.outsideplant.ui.backendinterface.TelephoneInstallation.findTelephoneInstallation(TelephoneInst
      allation.java:119)
       at lk.informatics.outsideplant.ui.action.findphoneinstallationuc.FindPhoneInstallationUCSearchCriteriaFAction.ex
      ecute(FindPhoneInstallationUCSearchCriteriaFAction.java:70)
      



      Since JDom.jar is not available in lib folder, I copied the laters jar downloaded from JDom site.

      Thanks in advance,
      Lahiru