Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

has anybody encountered this transaction exception

 
krithika desai
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
We are using weblogic server6.1 sp3.
We have 2 weblogic instances running on different machines. WL1 is looking up a remote bean on WL2 and executing a method.
We have commands that execute the business logic. There is a session facade that
does the job of just returning the result( basically value objects)
From log files i can see that the command has executed successfuly. It has returned the value objects that it got from WL2(the other weblogic server).
The exception occurs when the Session bean is in the process of transferring data to the UI business delegate that called it in the first place. I mean it's occuring within the WL1 jvm.
from the trace i can make out that "saepnexp02+147.243.5.11:7001" is
WL2. It's up and running.
---------------trace--------------------------------------------------------------------
<Apr 25, 2003 8:57:48 AM EEST> <Error> <EJB> <Exception during commit of
transac
tion Name=[EJB
com.i2.iquote.server.service.api.ejb.DataControllerBean.getQuoteH
eadersFromServer(com.i2.iquote.server.service.api.obj.CustomerID,com.i2.iquote.s
erver.service.api.obj.PersonID)],Xid=159:2475fce37f28edb9(21830202),Status=Rolli
ng Back. [Reason=javax.transaction.SystemException: SubCoordinator
'saepnexp02+1
47.243.5.11:7001+mydomain+' not
available],numRepliesOwedMe=0,numRepliesOwedOthe
rs=0,seconds since begin=121,seconds
left=0,SCInfo[mydomain+myserver]=(state=rol
ledback),SCInfo[mydomain+saepnexp02]=(state=rolling-back),properties=({weblogic.
transaction.name=[EJB
com.i2.iquote.server.service.api.ejb.DataControllerBean.ge
tQuoteHeadersFromServer(com.i2.iquote.server.service.api.obj.CustomerID,com.i2.i
quote.server.service.api.obj.PersonID)]}),OwnerTransactionManager=ServerTM[Serve
rCoordinatorDescriptor=(CoordinatorURL=myserver+172.21.203.178:7001+mydomain+,
R
esources={})],CoordinatorURL=myserver+172.21.203.178:7001+mydomain+):
javax.tran
saction.SystemException: SubCoordinator
'saepnexp02+147.243.5.11:7001+mydomain+'
not available
at
weblogic.transaction.internal.TransactionImpl.abort(TransactionImpl.j
ava:924)
at
weblogic.transaction.internal.ServerSCInfo.startPrePrepareAndChain(Se
rverSCInfo.java:125)
at
weblogic.transaction.internal.ServerSCInfo.startPrePrepareAndChain(Se
rverSCInfo.java:115)
at
weblogic.transaction.internal.ServerTransactionImpl.localPrePrepareAn
dChain(ServerTransactionImpl.java:979)
at
weblogic.transaction.internal.ServerTransactionImpl.globalPrePrepare(
ServerTransactionImpl.java:1503)
at
weblogic.transaction.internal.ServerTransactionImpl.internalCommit(Se
rverTransactionImpl.java:215)
at
weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTran
sactionImpl.java:189)
at
weblogic.ejb20.internal.BaseEJBObject.postInvoke(BaseEJBObject.java:2
72)
at
com.i2.iquote.server.service.api.ejb.DataControllerBean_duxhfk_EOImpl
.getQuoteHeadersFromServer(DataControllerBean_duxhfk_EOImpl.java:7451)
at
com.i2.iquote.ui.api.QuoteBusinessDelegate.getQuoteHeadersFromServer(
QuoteBusinessDelegate.java:617)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic