I'm trying to get Hibernate to work on a Swing client but I fail.
When I try to return the Session from the application server (Weblogic 8.1 SP6) to the client I get a stacktrace in the client logs. There are no stacktraces on the server.
Any thoughts on what might be wrong?
Hibernate version: 3.3.1
Full stack trace of any exception that occurs:
Code:
Exception in thread "Main Thread" java.lang.NoSuchMethodError: trace
at org.hibernate.impl.SessionImpl.readObject(SessionImpl.java:1916)
at com.sun.corba.se.internal.io.IIOPInputStream.readObject(Native Method)
at com.sun.corba.se.internal.io.IIOPInputStream.invokeObjectReader(IIOPInputStream.java:1298)
at com.sun.corba.se.internal.io.IIOPInputStream.inputObject(IIOPInputStream.java:908)
at com.sun.corba.se.internal.io.IIOPInputStream.simpleReadObject(IIOPInputStream.java:261)
at com.sun.corba.se.internal.io.ValueHandlerImpl.readValueInternal(ValueHandlerImpl.java:247)
at com.sun.corba.se.internal.io.ValueHandlerImpl.readValue(ValueHandlerImpl.java:209)
at com.sun.corba.se.internal.iiop.CDRInputStream_1_0.read_value(CDRInputStream_1_0.java:1084)
at com.sun.corba.se.internal.iiop.CDRInputStream.read_value(CDRInputStream.java:293)
at com.jnj.gtsc.agent.business.bankdir.session._BankDirDAOBLMgr_Stub.getSession(Unknown Source)
at com.jnj.gtsc.agent.business.bankdir.decorator.BankDirDAOBLMgrDecorator.getSession(BankDirDAOBLMgrDecorator.java:49)
at com.jnj.gtsc.agent.client.Agent.<init>(Agent.java:153)
at com.jnj.gtsc.agent.client.Agent.getInstance(Agent.java:167)
at com.jnj.gtsc.agent.client.Agent.main(Agent.java:146)
Exception in thread "Main Thread" com.jnj.framework2.exceptions.GeneralFailureException: java.rmi.MarshalException: CORBA MARSHAL 1398079699
Maybe; nested exception is:
org.omg.CORBA.MARSHAL: Unable to read value from underlying bridge : Serializable readObject method failed internally vmcid: SUN minor cod
e: 211 completed: Maybe; cause=CORBA MARSHAL 1398079699 Maybe; nested exception is:
org.omg.CORBA.MARSHAL: Unable to read value from underlying bridge : Serializable readObject method failed internally vmcid: SUN minor cod
e: 211 completed: Maybe
at com.jnj.gtsc.agent.business.bankdir.decorator.BankDirDAOBLMgrDecorator.getSession(BankDirDAOBLMgrDecorator.java:52)
at com.jnj.gtsc.agent.client.Agent.<init>(Agent.java:153)
at com.jnj.gtsc.agent.client.Agent.getInstance(Agent.java:167)
at com.jnj.gtsc.agent.client.Agent.main(Agent.java:146)
Caused by: java.rmi.MarshalException: CORBA MARSHAL 1398079699 Maybe; nested exception is:
org.omg.CORBA.MARSHAL: Unable to read value from underlying bridge : Serializable readObject method failed internally vmcid: SUN minor cod
e: 211 completed: Maybe
at com.sun.corba.se.internal.iiop.ShutdownUtilDelegate.mapSystemException(ShutdownUtilDelegate.java:100)
at javax.rmi.CORBA.Util.mapSystemException(Util.java:65)
at com.jnj.gtsc.agent.business.bankdir.session._BankDirDAOBLMgr_Stub.getSession(Unknown Source)
at com.jnj.gtsc.agent.business.bankdir.decorator.BankDirDAOBLMgrDecorator.getSession(BankDirDAOBLMgrDecorator.java:49)
... 3 more
Caused by: org.omg.CORBA.MARSHAL: Unable to read value from underlying bridge : Serializable readObject method failed internally vmcid: SUN
minor code: 211 completed: Maybe
at com.sun.corba.se.internal.iiop.CDRInputStream_1_0.read_value(CDRInputStream_1_0.java:1089)
at com.sun.corba.se.internal.iiop.CDRInputStream.read_value(CDRInputStream.java:293)
... 5 more