Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

I'm getting Error when fetching data from the database (J2EE - MSAcess - EJB)  RSS feed

 
Mahesh K Uma
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Server side I'm getting these exceptions::

java.lang.IllegalStateException: Wrong XA State: 0
at com.sun.jts.jta.TransactionState.beforeCompletion(TransactionState.ja
va:112)
at com.sun.jts.jta.TransactionManagerImpl$SynchronizationListener.before
Completion(TransactionManagerImpl.java:464)
at com.sun.jts.jta.SynchronizationImpl.before_completion(Synchronization
Impl.java:48)
at com.sun.jts.CosTransactions.RegisteredSyncs.distributeBefore(Register
edSyncs.java:109)
at com.sun.jts.CosTransactions.TopCoordinator.beforeCompletion(TopCoordi
nator.java:2289)
at com.sun.jts.CosTransactions.CoordinatorTerm.commit(CoordinatorTerm.ja
va:230)
at com.sun.jts.CosTransactions.TerminatorImpl.commit(TerminatorImpl.java
:208)
at com.sun.jts.CosTransactions.CurrentImpl.commit(CurrentImpl.java:386)
at com.sun.jts.jta.TransactionManagerImpl.commit(TransactionManagerImpl.
java:208)
at com.sun.enterprise.distributedtx.J2EETransactionManagerImpl.commit(J2
EETransactionManagerImpl.java:395)
at com.sun.ejb.containers.BaseContainer.completeNewTx(BaseContainer.java
:1044)
at com.sun.ejb.containers.BaseContainer.postInvokeTx(BaseContainer.java:
869)
at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:31
8)
at Service.HTMLEJB_EJBObjectImpl.ConvertToHtml(HTMLEJB_EJBObjectImpl.jav
a:23)
at Service._HTMLEJB_EJBObjectImpl_Tie._invoke(Unknown Source)
at com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispatchToServant(Ge
nericPOAServerSC.java:397)
at com.sun.corba.ee.internal.POA.GenericPOAServerSC.internalDispatch(Gen
ericPOAServerSC.java:136)
at com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispatch(GenericPOAS
erverSC.java:97)
at com.sun.corba.ee.internal.iiop.ORB.process(ORB.java:227)
at com.sun.corba.ee.internal.iiop.LocalClientRequestImpl.invoke(LocalCli
entRequestImpl.java:90)
at com.sun.corba.ee.internal.POA.GenericPOAClientSC.invoke(GenericPOACli
entSC.java:111)
at com.sun.corba.ee.internal.POA.GenericPOAClientSC.invoke(GenericPOACli
entSC.java:183)
at org.omg.CORBA.portable.ObjectImpl._invoke(ObjectImpl.java:248)
at Service._HTML_Stub.ConvertToHtml(Unknown Source)
at Service.HtmlBean.processRequest(HtmlBean.java:129)
at _0005cHtml_0002ejspHtml_jsp_5._jspService(_0005cHtml_0002ejspHtml_jsp
_5.java:101)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:130)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:868)
at org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspSer
vlet.java:159)
at org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:2
43)
at org.apache.jasper.runtime.JspServlet.service(JspServlet.java:348)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:868)
at org.apache.tomcat.core.ServiceInvocationHandler.method(ServletWrapper
.java:621)
at org.apache.tomcat.core.ServletWrapper.handleInvocation(ServletWrapper
.java:529)
at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.ja
va:373)
at org.apache.tomcat.core.Context.handleRequest(Context.java:648)
at org.apache.tomcat.server.ConnectionHandler.run(ConnectionHandler.java
:205)
[This message has been edited by Mahesh K Uma (edited December 20, 2000).]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!