I don't think jboss is freezing your pc. You can look for deadlocks with a thread dump (ctrl-break on windows, ctrl-\ on linux).
Do you have Pad set to true in the xid factory? david jencks On 2003.03.30 07:06 Marco Tedone wrote: > Hi, > > I'm running on Jboss rc2 a session bean which simply get a Connection to > Oracle via an XADatasource registered in the JNDI namespace as > java:/XAOracleDS > > As you can see from the result (at the bottom) the Session bean gets > executed (I just made an 'Hello World' a little bit more sophisticated), > meaning that the connection with the database has been established, but > then > I get the WARN about an oracle.jdbc.xa.OracleXAException, which > completely > freezes my PC (it's not a matter of memory, as I'm running 1 Gb of RAM > and > the used resources are at the warning moment around 600Mb. > > Any idea? > > Thanks, Marco > > 12:55:44,352 INFO [STDOUT] Oracle > 12:55:44,352 INFO [STDOUT] Hello EJB > 12:55:44,402 WARN [TransactionImpl] XAException: > tx=TransactionImpl:XidImpl > [Fo > rmatId=257, GlobalId=jemos//9, BranchQual=] errorCode=XAER_NOTA > oracle.jdbc.xa.OracleXAException > at > oracle.jdbc.xa.OracleXAResource.checkError(OracleXAResource.java:1157 > ) > at > oracle.jdbc.xa.client.OracleXAResource.end(OracleXAResource.java:450) > > at > org.jboss.resource.adapter.jdbc.xa.XAManagedConnection.end(XAManagedC > onnection.java:123) > at > org.jboss.tm.TransactionImpl.endResource(TransactionImpl.java:1194) > at > org.jboss.tm.TransactionImpl.endResources(TransactionImpl.java:1267) > at org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:346) > at > org.jboss.ejb.plugins.TxInterceptorCMT.endTransaction(TxInterceptorCM > T.java:367) > at > org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxIntercep > torCMT.java:253) > at > org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:1 > 04) > at > org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:208) > at > org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFacto > ryFinderInterceptor.java:154) > at > org.jboss.ejb.StatefulSessionContainer.internalInvoke(StatefulSession > Container.java:410) > at org.jboss.ejb.Container.invoke(Container.java:652) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. > java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces > sorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:324) > at > org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea > nDispatcher.java:284) > at > org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549) > at > org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java: > 338) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. > java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces > sorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:324) > at > sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261) > at sun.rmi.transport.Transport$1.run(Transport.java:148) > at java.security.AccessController.doPrivileged(Native Method) > at sun.rmi.transport.Transport.serviceCall(Transport.java:144) > at > sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:4 > 60) > at > sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport > .java:701) > at java.lang.Thread.run(Thread.java:536) > > > ------------------------------------------------------- > This SF.net email is sponsored by: > The Definitive IT and Networking Event. Be There! > NetWorld+Interop Las Vegas 2003 -- Register today! > http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en > _______________________________________________ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > > ------------------------------------------------------- This SF.net email is sponsored by: The Definitive IT and Networking Event. Be There! NetWorld+Interop Las Vegas 2003 -- Register today! http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
