"Halas, Miroslav" wrote:
>
> Hi Jonas team,
>
> can you please explain what can cause error like this. Thanks a lot,
>
> Miro Halas
>
> Cannot enlist XAResource:javax.transaction.SystemException: Cannot send XA
> start:javax.transaction.xa.XAException: XA START: mixed transactions
> Connection will not be enlisted in a transaction
> java.sql.SQLException: Cannot enlist XAResource
> System Exception in business method:javax.ejb.EJBException
> System Exception in business method:javax.ejb.EJBException
> System Exception raised by request:
> javax.ejb.EJBException
> XAResource ---> rollback: XA START without XA END
> WARNING: Connection not closed by caller
It seems that you have opened a connection and you forgot to close it.
Jonas connection management works weel only if all connections are closed
by caller. This is requiered for the connection pool.
> System Exception in business method:javax.ejb.EJBException
> java.rmi.RemoteException: RuntimeException thrown by an enterprise Bean;
> nested exception is:
> javax.ejb.EJBException
> javax.ejb.EJBException
> at
> com.compuware.cgf.beans.session.SessionTrackingControllerBean.login(SessionT
> rackingControllerBean.java:224)
> at
> com.compuware.cgf.beans.session.JOnAScom_compuware_cgf_beans_session_Session
> TrackingControllerRemote.login(JOnAScom_compuware_cgf_beans_session_SessionT
> rackingControllerRemote.java:37)
> at
> com.compuware.cgf.servlets.session.LoginServlet.verifyLogin(LoginServlet.jav
> a:393)
> at
> com.compuware.cgf.servlets.session.SessionServlet.service(SessionServlet.jav
> a:268)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at
> com.mortbay.HTTP.Handler.Servlet.ServletHolder.handle(ServletHolder.java:474
> )
> at
> com.mortbay.HTTP.Handler.Servlet.ServletHandler.handle(ServletHandler.java:4
> 30)
> at
> com.mortbay.HTTP.Handler.Servlet.ServletHandler.handle(ServletHandler.java:2
> 86)
> at com.mortbay.HTTP.HandlerContext.handle(HandlerContext.java:1087)
> at com.mortbay.HTTP.HttpServer.service(HttpServer.java:662)
> at com.mortbay.HTTP.HttpConnection.service(HttpConnection.java:457)
> at com.mortbay.HTTP.HttpConnection.handle(HttpConnection.java:317)
> at
> com.mortbay.HTTP.SocketListener.handleConnection(SocketListener.java:99)
> at com.mortbay.Util.ThreadedServer.handle(ThreadedServer.java:254)
> at
> com.mortbay.Util.ThreadPool$PoolThreadRunnable.run(ThreadPool.java:601)
> at java.lang.Thread.run(Thread.java:484)
> ----
> To unsubscribe, send email to [EMAIL PROTECTED] and
> include in the body of the message "unsubscribe jonas-users".
> For general help, send email to [EMAIL PROTECTED] and
> include in the body of the message "help".
--
Philippe Durieux ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Bull - 1 rue de Provence - 38432 Echirolles Cedex France
[EMAIL PROTECTED]
-> Download our EJBServer at http://www.evidian.com/ejb <-
----
To unsubscribe, send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe jonas-users".
For general help, send email to [EMAIL PROTECTED] and
include in the body of the message "help".