4 Replies Latest reply on Jun 7, 2006 3:06 AM by Mandeep Singh

    java.lang.LinkageError: loader constraints violated when lin

    Mandeep Singh Newbie

      Hi ,

      I am running into deployment issues when deploying Remote Stateless EJB's in JBoss 4.0.3. I get the following error :

      ERROR [[/gsu]] StandardWrapper.Throwable
      java.lang.LinkageError: loader constraints violated when linking javax/ejb/Handle class
      at java.lang.Class.getDeclaredFields0(Native Method)
      at java.lang.Class.privateGetDeclaredFields(Class.java:1514)
      at java.lang.Class.getDeclaredField(Class.java:1206)
      at java.io.ObjectStreamClass.getDeclaredSUID(ObjectStreamClass.java:1474
      )
      at java.io.ObjectStreamClass.access$400(ObjectStreamClass.java:47)
      at java.io.ObjectStreamClass$3.run(ObjectStreamClass.java:335)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.io.ObjectStreamClass.(ObjectStreamClass.java:333)
      at java.io.ObjectStreamClass.lookup(ObjectStreamClass.java:253)
      at java.io.ObjectStreamClass.initProxy(ObjectStreamClass.java:414)
      at java.io.ObjectInputStream.readProxyDesc(ObjectInputStream.java:1477)
      at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1432)
      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1
      626)
      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
      at java.rmi.MarshalledObject.get(MarshalledObject.java:135)
      at org.jnp.interfaces.MarshalledValuePair.get(MarshalledValuePair.java:5
      7)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:637)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:572)
      at javax.naming.InitialContext.lookup(InitialContext.java:347)
      at org.jnp.interfaces.NamingContext.resolveLink(NamingContext.java:1046)

      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:685)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:701)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:572)
      at javax.naming.InitialContext.lookup(InitialContext.java:347)
      at com.eaglegl.gsuweb.common.StartupServlet.init(Unknown Source)
      at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.
      java:1091)
      at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:92
      5)
      at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContex
      t.java:3857)
      at org.apache.catalina.core.StandardContext.start(StandardContext.java:4
      118)
      at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
      .java:759)
      at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:73
      9)
      and so on.....


      Can anyone help me out with the problem ?

      I am running out of time bcos of this crap error.