I just double checked my app and I am closing senders, sessions and connections where
appropriate... and yet I am still getting XAExceptions like this:
WARN TxCapsule [SocketListener-1] (MailingManager) XAException: tx=XidImpl
[FormatId=257, GlobalId=eng-ecr3a//21, BranchQual=] errorCode=XAER_RMERR
javax.transaction.xa.XAException
at com.swiftmq.jms.XAResourceImpl.start(XAResourceImpl.java:121)
at org.jboss.tm.TxCapsule.startResource(TxCapsule.java:1090)
at org.jboss.tm.TxCapsule.enlistResource(TxCapsule.java:623)
at org.jboss.tm.TransactionImpl.enlistResource(TransactionImpl.java:111)
at
org.jboss.pool.connector.BaseConnectionManager$XAListener.enlist(BaseConnectionManager.java:592)
at
org.jboss.pool.connector.BaseConnectionManager$XAListener.register(BaseConnectionManager.java:601)
at
org.jboss.pool.connector.XAConnectionManager.allocateConnection(XAConnectionManager.java:95)
at
org.jboss.jms.ra.JmsSessionFactoryImpl.createQueueSession(JmsSessionFactoryImpl.java:125)
at
com.boldfish.does.mailing.service.internal.MailingManagerEJB.enqueueStartJob(MailingManagerEJB.java:130)
at
com.boldfish.does.mailing.service.internal.MailingManagerEJB.enqueueCreateJob(MailingManagerEJB.java:230)
at
com.boldfish.does.mailing.service.internal.MailingManagerEJB.createMailing(MailingManagerEJB.java:253)
at java.lang.reflect.Method.invoke(Native Method)
at
org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:572)
at
org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:67)
at
org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:97)
at
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:154)
at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:63)
at
org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:129)
at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:168)
at
org.jboss.ejb.StatelessSessionContainer.invoke(StatelessSessionContainer.java:282)
at
org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker.invoke(JRMPContainerInvoker.java:445)
at
org.jboss.ejb.plugins.jrmp.interfaces.GenericProxy.invokeContainer(GenericProxy.java:339)
at
org.jboss.ejb.plugins.jrmp.interfaces.StatelessSessionProxy.invoke(StatelessSessionProxy.java:123)
at $Proxy9.createMailing(Unknown Source)
at
com.boldfish.does.listener.xmlrpc.MailingHandler.createMailing(MailingHandler.java:977)
at
com.boldfish.does.listener.xmlrpc.MailingHandler.uploadEndOfPostedList(MailingHandler.java:763)
at java.lang.reflect.Method.invoke(Native Method)
at com.boldfish.xmlrpc.handler.DynamicHandler.execute(DynamicHandler.java:126)
at com.boldfish.xmlrpc.handler.DynamicHandler.execute(DynamicHandler.java:81)
at com.boldfish.xmlrpc.handler.NestedHandler.execute(NestedHandler.java:79)
at
com.boldfish.xmlrpc.handler.XmlRpcHandlerAdapter.execute(XmlRpcHandlerAdapter.java:56)
at org.apache.xmlrpc.XmlRpcServer$Worker.execute(XmlRpcServer.java)
at org.apache.xmlrpc.XmlRpcServer.execute(XmlRpcServer.java)
at org.apache.xmlrpc.XmlRpcServer.execute(XmlRpcServer.java)
at com.boldfish.xmlrpc.handler.servlet.XRServlet.doPost(XRServlet.java:205)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.boldfish.xmlrpc.handler.servlet.XRServlet.service(XRServlet.java:127)
at com.mortbay.Jetty.Servlet.ServletHolder.handle(ServletHolder.java:488)
at com.mortbay.Jetty.Servlet.ServletHandler.handle(ServletHandler.java:537)
at com.mortbay.Jetty.Servlet.ServletHandler.handle(ServletHandler.java:366)
at com.mortbay.HTTP.HandlerContext.handle(HandlerContext.java:956)
at com.mortbay.HTTP.HandlerContext.handle(HandlerContext.java:913)
at com.mortbay.HTTP.HttpServer.service(HttpServer.java:718)
at com.mortbay.HTTP.HttpConnection.service(HttpConnection.java:547)
at com.mortbay.HTTP.HttpConnection.handle(HttpConnection.java:365)
at com.mortbay.HTTP.SocketListener.handleConnection(SocketListener.java:107)
at com.mortbay.Util.ThreadedServer.handle(ThreadedServer.java:294)
at com.mortbay.Util.ThreadPool$PoolThreadRunnable.run(ThreadPool.java:613)
at java.lang.Thread.run(Thread.java:484)
Note this is in a pre 3.0 container... I will try running the same app in the 3.0 RC,
but that is going to be a pain, since I have to reconfig everything (and unsar jetty
and others so that I can config everything as I could in 2.4.x & pre-3.0.
I posted a question on the SwiftMQ forums, but if someone here could tell me what
XAER_RMERR might mean that would be helpful.
Note too that this application will work fine with the JMS RA and JBossMQ...
--jason
* * *
View thread online: http://jboss.org/forums/thread.jsp?forum=66&thread=13848
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development