These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 9 posts ] 
Author Message
 Post subject: Hibernate + WAS problem in client application...
PostPosted: Wed Feb 23, 2005 8:44 am 
Newbie

Joined: Wed Dec 15, 2004 11:46 am
Posts: 9
Hibernate version: 2.1.6

Full stack trace of any exception that occurs:
No Exception on server side
Exception on client side:

[2/22/05 16:41:20:588 EET] 70777077 ClientExcepti E com.framework.logging.util.ClientExceptionLogUtil ejb ref: ejb/SecurityFacade remote error; nested exception is:
java.rmi.MarshalException: CORBA MARSHAL 0x4942f89a No; nested exception is:
org.omg.CORBA.MARSHAL: Unable to read value from underlying bridge : null vmcid: IBM minor code: 89A completed: No unique exception id: null, error codeerror.remote.ejb
[2/22/05 16:41:20:635 EET] 70777077 ClientExcepti E com.framework.logging.util.ClientExceptionLogUtil TRAS0014I: The following exception was logged com.framework.exception.delegate.BusinessDelegateException: ejb ref: ejb/SecurityFacade remote error; nested exception is:
java.rmi.MarshalException: CORBA MARSHAL 0x4942f89a No; nested exception is:
org.omg.CORBA.MARSHAL: Unable to read value from underlying bridge : null vmcid: IBM minor code: 89A completed: No unique exception id: null, error codeerror.remote.ejbnulljava.rmi.MarshalException: CORBA MARSHAL 0x4942f89a No; nested exception is:
org.omg.CORBA.MARSHAL: Unable to read value from underlying bridge : null vmcid: IBM minor code: 89A completed: Nonull at java.lang.Throwable.<init>(Throwable.java)null at java.lang.Throwable.<init>(Throwable.java:73)null at java.rmi.RemoteException.<init>(RemoteException.java:83)null at java.rmi.MarshalException.<init>(MarshalException.java:66)null at com.ibm.CORBA.iiop.UtilDelegateImpl.mapSystemException(UtilDelegateImpl.java:198)null at javax.rmi.CORBA.Util.mapSystemException(Util.java:83)null at com.security.ejb.facade._SecurityFacade_Stub.authenticateAndLoadDefaultApplication(_SecurityFacade_Stub.java:107)null at com.ejb.delegate.impl.SecurityDelegateImpl.authenticate(SecurityDelegateImpl.java)null at com.test.TestServlet.performAuthenticate_1(TestServlet.java)null at com.test.TestServlet.doGet(TestServlet.java:30)null at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)null at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)null at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)null at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)null at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)null at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)null at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)null at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)null at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)null at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:983)null at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:564)null at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:200)null at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:119)null at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:276)null at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)null at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:182)null at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334)null at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)null at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:618)null at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:439)null at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:672)nullCaused by: org.omg.CORBA.MARSHAL: Unable to read value from underlying bridge : null vmcid: IBM minor code: 89A completed: Nonull at java.lang.Throwable.<init>(Throwable.java)null at java.lang.Throwable.<init>(Throwable.java:73)null at org.omg.CORBA.SystemException.<init>(SystemException.java:81)null at com.ibm.rmi.iiop.CDRInputStream.read_value(CDRInputStream.java:1745)null at com.security.ejb.facade._SecurityFacade_Stub.authenticateAndLoadDefaultApplication(_SecurityFacade_Stub.java:93)null at com.ejb.delegate.impl.SecurityDelegateImpl.authenticate(SecurityDelegateImpl.java)null at com.test.TestServlet.performAuthenticate_1(TestServlet.java)null at com.test.TestServlet.doGet(TestServlet.java:30)null at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)null at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)null at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)null at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)null at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)null at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)null at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)null at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)null at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)null at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:983)null at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:564)null at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:200)null at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:119)null at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:276)null at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)null at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:182)null at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334)null at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)null at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:618)null at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:439)null at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:672)null.
com.framework.exception.delegate.BusinessDelegateException: ejb ref: ejb/SecurityFacade remote error; nested exception is:
java.rmi.MarshalException: CORBA MARSHAL 0x4942f89a No; nested exception is:
org.omg.CORBA.MARSHAL: Unable to read value from underlying bridge : null vmcid: IBM minor code: 89A completed: No unique exception id: null, error codeerror.remote.ejbnulljava.rmi.MarshalException: CORBA MARSHAL 0x4942f89a No; nested exception is:
org.omg.CORBA.MARSHAL: Unable to read value from underlying bridge : null vmcid: IBM minor code: 89A completed: Nonull at java.lang.Throwable.<init>(Throwable.java)null at java.lang.Throwable.<init>(Throwable.java:73)null at java.rmi.RemoteException.<init>(RemoteException.java:83)null at java.rmi.MarshalException.<init>(MarshalException.java:66)null at com.ibm.CORBA.iiop.UtilDelegateImpl.mapSystemException(UtilDelegateImpl.java:198)null at javax.rmi.CORBA.Util.mapSystemException(Util.java:83)null at com.security.ejb.facade._SecurityFacade_Stub.authenticateAndLoadDefaultApplication(_SecurityFacade_Stub.java:107)null at com.ejb.delegate.impl.SecurityDelegateImpl.authenticate(SecurityDelegateImpl.java)null at com.test.TestServlet.performAuthenticate_1(TestServlet.java)null at com.test.TestServlet.doGet(TestServlet.java:30)null at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)null at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)null at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)null at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)null at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)null at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)null at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)null at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)null at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)null at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:983)null at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:564)null at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:200)null at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:119)null at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:276)null at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)null at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:182)null at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334)null at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)null at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:618)null at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:439)null at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:672)nullCaused by: org.omg.CORBA.MARSHAL: Unable to read value from underlying bridge : null vmcid: IBM minor code: 89A completed: Nonull at java.lang.Throwable.<init>(Throwable.java)null at java.lang.Throwable.<init>(Throwable.java:73)null at org.omg.CORBA.SystemException.<init>(SystemException.java:81)null at com.ibm.rmi.iiop.CDRInputStream.read_value(CDRInputStream.java:1745)null at com.security.ejb.facade._SecurityFacade_Stub.authenticateAndLoadDefaultApplication(_SecurityFacade_Stub.java:93)null at com.ejb.delegate.impl.SecurityDelegateImpl.authenticate(SecurityDelegateImpl.java)null at com.test.TestServlet.performAuthenticate_1(TestServlet.java)null at com.test.TestServlet.doGet(TestServlet.java:30)null at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)null at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)null at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)null at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)null at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)null at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)null at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)null at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)null at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)null at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:983)null at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:564)null at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:200)null at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:119)null at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:276)null at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)null at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:182)null at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334)null at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)null at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:618)null at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:439)null at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:672)null
[2/22/05 16:41:22:729 EET] 70777077 SystemErr R com.framework.exception.delegate.BusinessDelegateException: ejb ref: ejb/SecurityFacade remote error; nested exception is:
java.rmi.MarshalException: CORBA MARSHAL 0x4942f89a No; nested exception is:
org.omg.CORBA.MARSHAL: Unable to read value from underlying bridge : null vmcid: IBM minor code: 89A completed: No unique exception id: null, error codeerror.remote.ejb
[2/22/05 16:41:22:729 EET] 70777077 SystemErr R java.rmi.MarshalException: CORBA MARSHAL 0x4942f89a No; nested exception is:
org.omg.CORBA.MARSHAL: Unable to read value from underlying bridge : null vmcid: IBM minor code: 89A completed: No
[2/22/05 16:41:22:744 EET] 70777077 SystemErr R at java.lang.Throwable.<init>(Throwable.java)
[2/22/05 16:41:22:744 EET] 70777077 SystemErr R at java.lang.Throwable.<init>(Throwable.java:73)
[2/22/05 16:41:22:744 EET] 70777077 SystemErr R at java.rmi.RemoteException.<init>(RemoteException.java:83)
[2/22/05 16:41:22:744 EET] 70777077 SystemErr R at java.rmi.MarshalException.<init>(MarshalException.java:66)
[2/22/05 16:41:22:744 EET] 70777077 SystemErr R at com.ibm.CORBA.iiop.UtilDelegateImpl.mapSystemException(UtilDelegateImpl.java:198)
[2/22/05 16:41:22:744 EET] 70777077 SystemErr R at javax.rmi.CORBA.Util.mapSystemException(Util.java:83)
[2/22/05 16:41:22:744 EET] 70777077 SystemErr R at com.security.ejb.facade._SecurityFacade_Stub.authenticateAndLoadDefaultApplication(_SecurityFacade_Stub.java:107)
[2/22/05 16:41:22:744 EET] 70777077 SystemErr R at com.ejb.delegate.impl.SecurityDelegateImpl.authenticate(SecurityDelegateImpl.java)
[2/22/05 16:41:22:744 EET] 70777077 SystemErr R at com.test.TestServlet.performAuthenticate_1(TestServlet.java)
[2/22/05 16:41:22:744 EET] 70777077 SystemErr R at com.test.TestServlet.doGet(TestServlet.java:30)
[2/22/05 16:41:22:744 EET] 70777077 SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
[2/22/05 16:41:22:744 EET] 70777077 SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
[2/22/05 16:41:22:744 EET] 70777077 SystemErr R at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
[2/22/05 16:41:22:744 EET] 70777077 SystemErr R at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
[2/22/05 16:41:22:744 EET] 70777077 SystemErr R at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
[2/22/05 16:41:22:744 EET] 70777077 SystemErr R at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
[2/22/05 16:41:22:744 EET] 70777077 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
[2/22/05 16:41:22:744 EET] 70777077 SystemErr R at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
[2/22/05 16:41:22:744 EET] 70777077 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
[2/22/05 16:41:22:744 EET] 70777077 SystemErr R at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:983)
[2/22/05 16:41:22:744 EET] 70777077 SystemErr R at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:564)
[2/22/05 16:41:22:744 EET] 70777077 SystemErr R at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:200)
[2/22/05 16:41:22:744 EET] 70777077 SystemErr R at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:119)
[2/22/05 16:41:22:744 EET] 70777077 SystemErr R at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:276)
[2/22/05 16:41:22:744 EET] 70777077 SystemErr R at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
[2/22/05 16:41:22:744 EET] 70777077 SystemErr R at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:182)
[2/22/05 16:41:22:744 EET] 70777077 SystemErr R at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334)
[2/22/05 16:41:22:744 EET] 70777077 SystemErr R at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
[2/22/05 16:41:22:744 EET] 70777077 SystemErr R at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:618)
[2/22/05 16:41:22:744 EET] 70777077 SystemErr R at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:439)
[2/22/05 16:41:22:744 EET] 70777077 SystemErr R at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:672)
[2/22/05 16:41:22:744 EET] 70777077 SystemErr R Caused by: org.omg.CORBA.MARSHAL: Unable to read value from underlying bridge : null vmcid: IBM minor code: 89A completed: No
[2/22/05 16:41:22:744 EET] 70777077 SystemErr R at java.lang.Throwable.<init>(Throwable.java)
[2/22/05 16:41:22:744 EET] 70777077 SystemErr R at java.lang.Throwable.<init>(Throwable.java:73)
[2/22/05 16:41:22:744 EET] 70777077 SystemErr R at org.omg.CORBA.SystemException.<init>(SystemException.java:81)
[2/22/05 16:41:22:744 EET] 70777077 SystemErr R at com.ibm.rmi.iiop.CDRInputStream.read_value(CDRInputStream.java:1745)
[2/22/05 16:41:22:744 EET] 70777077 SystemErr R at com.security.ejb.facade._SecurityFacade_Stub.authenticateAndLoadDefaultApplication(_SecurityFacade_Stub.java:93)
[2/22/05 16:41:22:744 EET] 70777077 SystemErr R at com.ejb.delegate.impl.SecurityDelegateImpl.authenticate(SecurityDelegateImpl.java)
[2/22/05 16:41:22:744 EET] 70777077 SystemErr R at com.test.TestServlet.performAuthenticate_1(TestServlet.java)
[2/22/05 16:41:22:744 EET] 70777077 SystemErr R at com.test.TestServlet.doGet(TestServlet.java:30)
[2/22/05 16:41:22:744 EET] 70777077 SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
[2/22/05 16:41:22:744 EET] 70777077 SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
[2/22/05 16:41:22:760 EET] 70777077 SystemErr R at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
[2/22/05 16:41:22:760 EET] 70777077 SystemErr R at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
[2/22/05 16:41:22:760 EET] 70777077 SystemErr R at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
[2/22/05 16:41:22:760 EET] 70777077 SystemErr R at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
[2/22/05 16:41:22:760 EET] 70777077 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
[2/22/05 16:41:22:760 EET] 70777077 SystemErr R at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
[2/22/05 16:41:22:760 EET] 70777077 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
[2/22/05 16:41:22:760 EET] 70777077 SystemErr R at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:983)
[2/22/05 16:41:22:760 EET] 70777077 SystemErr R at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:564)
[2/22/05 16:41:22:760 EET] 70777077 SystemErr R at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:200)
[2/22/05 16:41:22:760 EET] 70777077 SystemErr R at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:119)
[2/22/05 16:41:22:760 EET] 70777077 SystemErr R at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:276)
[2/22/05 16:41:22:760 EET] 70777077 SystemErr R at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
[2/22/05 16:41:22:760 EET] 70777077 SystemErr R at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:182)
[2/22/05 16:41:22:760 EET] 70777077 SystemErr R at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334)
[2/22/05 16:41:22:760 EET] 70777077 SystemErr R at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
[2/22/05 16:41:22:760 EET] 70777077 SystemErr R at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:618)
[2/22/05 16:41:22:760 EET] 70777077 SystemErr R at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:439)


Name and version of the database you are using: Oracle 10g

Name and version of the Application Server you are using: WAS 5.1.1.1


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


We are using hibernate in our project; on a WAS 5.1.1.1 application on a RedHat Enterprise Linux Release 3 machine with java1_4_02_04.

We are trying to produce client ejb modules and inject them into other applications that are running on other projects for using our services that we provide them. We did this before and this was successful. But last week we tried to request an object from server application from client application that contains some other objects inside (custom objects, Sets, Integers, Strings etc etc.). Then we get the exception that I pasted above on the client machine.

We got this kind of exceptions before and we solved them by trying to make the client interfaces and server interfaces are simmilar; making the JVMs taht are running on the server and the client same; and making all the objects that are transported thrugh machines all Serializable. The strange thing is when we get the exception "org.omg.CORBA.MARSHAL: Unable to read value from underlying bridge" there is always an identifier name for the bridge that throws the ecxeption. but in this situation the only thing that is written to identify the bridge is null ( nested exception is: org.omg.CORBA.MARSHAL: Unable to read value from underlying bridge : null ). I searched the net but I couldn't find any satisfying answer for my problem. Then I started to re-explore our application for finding the reason of this exception. The other strange thing for this exception in ther server logs there is no exception logged. And it logs that the operation is successfully completed and the object is sent to the client. This situation confused me a little. And I started to think that if something in database access operation makes our object not to fit into the bridge.

After this thought I opened the mapping file of the hibernate for this object and commented the blue lines below:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC
"-//Hibernate/Hibernate Mapping DTD 2.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd">
<hibernate-mapping>
<class
name="com.security.vo.User"
schema="SEC"
table="USRS">
<id
column="USER_ID"
name="userId"
type="integer">
<generator
class="com.hibernate.util.BatchIDGeneratorWrapper" />
</id>
<property
column="USER_CODE"
name="userCode"
type="string" />
<property
column="FIRST_NAME"
name="firstName"
type="string" />
<property
column="LAST_NAME"
name="lastName"
type="string" />
<property
column="BRANCH_CODE"
name="organizationUnitCode"
type="integer" />
<property
column="PASSWORD"
name="password"
type="string" />
<property
column="USER_EXPIRE_DATE"
name="userExpireDate"
type="date" />
<property
column="PASSWORD_EXPIRE_DATE"
name="passwordExpireDate"
type="date" />
<property
column="STATUS"
name="status"
type="string" />
<property
column="ATTEMPT_COUNT"
name="attemptCount"
type="int" />

<!--
<set
name="userPreferences"
schema="SECURITY"
table="USER_PREFERENCES">
<key column="USER_ID" />
<composite-element
class="com.security.vo.UserPreference">
<many-to-one
name="preference"
class="com.framework.Preference"
column="PREFERENCE_ID"
not-null="true">
</many-to-one>
<property
name="value"
column="VALUE">
</property>
</composite-element>
</set>

<set
name="groups"
table="USER_GROUPS"
schema="SECURITY"
cascade="all">
<key column="USER_ID" />
<many-to-many
column="GROUP_ID"
class="com.security.vo.Group" />
</set>
-->

</class>
</hibernate-mapping>


Then the object transferred successfully. And I understand that the problem is these objects. I double chcked these objects and every single one of it implements the java.io.Serializable interface. So we have no problem with Serailization. Some people said on the internet for solution of this Corba exception that the JVM versions of the client and servers. And I double checked this too, all Java 1.4.02_04.

And after all that I did a very very dummy operation on our Facade; I reinitialized every single object in these objects and set the values of the hibernate filled objects into this new initialized objects. After that this object transferred from Server to client successfully.

I really don't understand what happend to our object when it is seleceted from db; and why it became an object that is not suitable for this communication. I heard some things that hibernate is hooking the objects that are needed to be persisted by adding some code into the bytecode of these objects. Is this the problem that caused this or is these any other thing that makes these objects untransferable.

I know this is a problem between IBM WAS and Hibernate. The problem can be on each side, I really don't know. Plase help me aboput this problem.

I really don't find any resources that mentiones this problem around. If you can help me I will be glad...

Engin

_________________
SteadyAndClear


Top
 Profile  
 
 Post subject:
PostPosted: Wed Feb 23, 2005 12:01 pm 
Newbie

Joined: Wed Dec 15, 2004 11:46 am
Posts: 9
In brief; is hibernate changing anything that can be anything which will effect negatively the object that will be transferred from server to client? Why CORBA gets angry with hibernate persisted object? any ideas?

_________________
SteadyAndClear


Top
 Profile  
 
 Post subject:
PostPosted: Fri Feb 25, 2005 10:17 am 
Newbie

Joined: Wed Dec 15, 2004 11:46 am
Posts: 9
any comments?
any suggestions?
any ideas?
anything about this?

_________________
SteadyAndClear


Top
 Profile  
 
 Post subject:
PostPosted: Thu Mar 24, 2005 4:44 am 
Newbie

Joined: Wed Dec 15, 2004 11:46 am
Posts: 9
still no answer and i couldn't find any solution to this... can anybody help me?

_________________
SteadyAndClear


Top
 Profile  
 
 Post subject:
PostPosted: Thu Mar 24, 2005 6:51 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
I know that IBM WS (and other appservers) serialization has issues with objects that are normally serializable.

Sometimes it is because they cant handle anonymous inner classes, byte arrays with specific elements in them etc. etc. (and their errorhandling generally sucks about it)

I dont know what is the cause it this particular situation - maybe you are simply just missing some of the required hibernate jars on the client side ?

hope you find a solution that is better than what I did at some point when we had this issue...I pre-serialized the whole object graph to a bytearray on the server side and unserilized it on the other side....and then it worked ,) (a hack, but hey - it worked on all appservers besides IBM WS)

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Wed Aug 31, 2005 12:10 pm 
Beginner
Beginner

Joined: Tue Jul 05, 2005 4:44 am
Posts: 40
Location: Paris, France
HI drager,

I am exactly the same error with Hibernate 3.0 and Weblogic 8.1 !!
Have you resolved your problem ?

Can I use directly my objects whitch are mapped by Hibernate ? ?? Or, I must use value object (like EJB) ?

Thx for your answer !!

_________________
Fred


Top
 Profile  
 
 Post subject:
PostPosted: Wed Aug 31, 2005 12:24 pm 
Beginner
Beginner

Joined: Tue Aug 16, 2005 11:06 pm
Posts: 46
It looks more like a CORBA thing. You cannot pass null for types such as java.lang.String, Java Array. etc.

_________________
Jason Li
Don't forget to rate:)


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 18, 2006 1:17 am 
Newbie

Joined: Wed Jan 18, 2006 1:14 am
Posts: 1
I am having the similar problem. Looks like this is a very old issue so hope u guys have some solution to this problem If u can share I would definately save some time thanks in advance.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 18, 2006 11:46 am 
Beginner
Beginner

Joined: Tue Jul 05, 2005 4:44 am
Posts: 40
Location: Paris, France
issues wrote:
I am having the similar problem. Looks like this is a very old issue so hope u guys have some solution to this problem If u can share I would definately save some time thanks in advance.
Do you use lazy feching ?
(http://www.hibernate.org/hib_docs/v3/re ... e-fetching)

For example, if your EJB Session returns object recovered by a Query or a criteria with lazzy fetching, you can have a MarshalException.

For my case, I have to modify my query to recover the object and its association.

++

_________________
Fred


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 9 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.