Hi,

    I am new to jboss world and i m currently having some problems deploying 
EJB in jboss. 


Problem:
              I have written an entity bean and have deployed it. I am alble to 
view that in the GLOBAL NAMESPACE of JNDI View. I tried creating a client to 
the EJB within the same EJB project which is nothing but a java class and it 
worked fine. Now when i am trying to create another web client to call the same 
deployed entity bean then i m getting the following exception:




Exception:

-------------------------------------------------------------------------------------
javax.servlet.ServletException: Servlet execution threw an exception
        
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)


root cause 

java.lang.LinkageError: loader constraints violated when linking 
javax/ejb/Handle class
        java.lang.Class.getDeclaredFields0(Native Method)
        java.lang.Class.privateGetDeclaredFields(Unknown Source)
        java.lang.Class.getDeclaredField(Unknown Source)
        java.io.ObjectStreamClass.getDeclaredSUID(Unknown Source)
        java.io.ObjectStreamClass.access$700(Unknown Source)
        java.io.ObjectStreamClass$2.run(Unknown Source)
        java.security.AccessController.doPrivileged(Native Method)
        java.io.ObjectStreamClass.(Unknown Source)
        java.io.ObjectStreamClass.lookup(Unknown Source)
        java.io.ObjectStreamClass.initProxy(Unknown Source)
        java.io.ObjectInputStream.readProxyDesc(Unknown Source)
        java.io.ObjectInputStream.readClassDesc(Unknown Source)
        java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
        java.io.ObjectInputStream.readObject0(Unknown Source)
        java.io.ObjectInputStream.readObject(Unknown Source)
        java.rmi.MarshalledObject.get(Unknown Source)
        org.jnp.interfaces.MarshalledValuePair.get(MarshalledValuePair.java:72)
        org.jnp.interfaces.NamingContext.lookup(NamingContext.java:652)
        org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
        javax.naming.InitialContext.lookup(Unknown Source)
        com.ssnsase.sms.servlet.AccountServ.doPost(AccountServ.java:80)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
        
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)


note The full stack trace of the root cause is available in the Apache 
Tomcat/5.5.17 logs.


--------------------------------------------------------------------------------

Apache Tomcat/5.5.17


I tried so many resources in google to fix this problem but fount it 
fruitless...

Can someone help me in this regard?

Thanks & Regards

Krishnan G



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4134452#4134452

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4134452
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to