Google 网上论坛不再支持新的 Usenet 帖子或订阅项。历史内容仍可供查看。

Weblogic 7.0 Porting Help needed urgently ........

已查看 1 次
跳至第一个未读帖子

Kumar

未读,
2002年12月22日 00:57:092002/12/22
收件人

I have the following scenario

Servlet makes a call to Session Bean which has transcations manageb by container.
Session bean 1 executes SQL Queries
Session Bean 1 invokes methods on Session Bean 2 in another Weblogic Instance
to get value object.
Session Bean 1 after updating the database as well after intracting with another
Weblogic Instance returns a Java Object to Servlet.

In weblogic 6.1 SP2 everything works well.
While porting the application to weblogic 7.0 SP1 , the operation by Session Bean
1 is all done.
But before returning the vaules to Servlet the container most probably throws
a Remote Exception. If I catch the Remote Exception and do nothing. I am getting
the desired result.

My Question is why should I be getting a Remote Exception from the other weblogic
instance.
The remote Exception seems to be a JTA Exception on other weblogic instance.
I am using Oracle Thin Driver for Oracle 8.1.7 with
TXDatasource.

The trace of Remote Exception is as follows (Please scroll below for another exception
as well)
*************************************************************************************
[2002/04/22 11:14:07:406] [DEBUG] [com.hns.iag.dbsp.servlets.DSPServlet] Remote
exception while deleting java.rmi.RemoteException: Exception while commiting Tx
: 3:efdbedc9111bd8d6; nested exception is:
javax.transaction.SystemException: Timeout during commit processing

Start server side stack trace:
java.rmi.RemoteException: Exception while commiting Tx : 3:efdbedc9111bd8d6; nes
ted exception is:
javax.transaction.SystemException: Timeout during commit processing
javax.transaction.SystemException: Timeout during commit processing
at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(Se
rverTransactionImpl.java:265)
at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTran
sactionImpl.java:208)
at weblogic.ejb20.internal.BaseEJBObject.postInvoke(BaseEJBObject.java:2
78)
at com.hns.iag.dbsp.ejb.user.DBSPUserManagerBean_ymjd1a_EOImpl.deleteDBS
PUser(DBSPUserManagerBean_ymjd1a_EOImpl.java:812)
at com.hns.iag.dbsp.ejb.user.DBSPUserManagerBean_ymjd1a_EOImpl_WLSkel.in
voke(Unknown Source)
at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:15
9)
at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteR
ef.java:262)
at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteR
ef.java:229)
at com.hns.iag.dbsp.ejb.user.DBSPUserManagerBean_ymjd1a_EOImpl_WLStub.de
leteDBSPUser(Unknown Source)
at com.hns.iag.dbsp.servlets.DSPServlet.doDeleteUser(DSPServlet.java:114
9)
at com.hns.iag.dbsp.servlets.DSPServlet.service(DSPServlet.java:131)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run
(ServletStubImpl.java:1058)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:401)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:306)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
n.run(WebAppServletContext.java:5412)
at weblogic.security.service.SecurityServiceManager.runAs(SecurityServic
eManager.java:744)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
rvletContext.java:3086)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
pl.java:2544)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)
End server side stack trace

*************************************************************************************

At the same time the trace on another weblogic instance hosting Session Bean 2
is as follows
It continues after specified time .....
*************************************************************************************
<Apr 21, 2002 9:20:26 PM IST> <Error> <JTA> <110200> <User [guest] is not authorized
to invoke startCommit on a transaction branch.>
<Apr 21, 2002 9:20:56 PM IST> <Error> <JTA> <110200> <User [guest] is not author
ized to invoke startCommit on a transaction branch.>
<Apr 21, 2002 9:20:58 PM IST> <Error> <JTA> <110201> <User [guest] is not author
ized to invoke startRollback on a transaction branch.>
<Apr 21, 2002 9:21:07 PM IST> <Error> <JTA> <110201> <User [guest] is not author
ized to invoke startRollback on a transaction branch.>

*************************************************************************************

Thanks,
Kumar

0 个新帖子