This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes has anybody encountered this transaction exception Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "has anybody encountered this transaction exception" Watch "has anybody encountered this transaction exception" New topic
Author

has anybody encountered this transaction exception

krithika desai
Ranch Hand

Joined: Apr 02, 2003
Posts: 33
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)


thanks,<br />krithika
 
GeeCON Prague 2014
 
subject: has anybody encountered this transaction exception