[JBoss-user] [JCA/JBoss] - Re: JBossLocalXAException

2004-05-10 Thread tkvarenes
Yes, the connection was closed. I'm trying to find out why? 
Can the warning about XA_UNKNOWN tell me anything? Could it be that the MS SQL server 
does not supprot the XA protocol? Does anyone know if that is something one can turn 
on/off in the MS SQL server? Are there any other hint in the stack trace, of why the 
connection was closed?


-Trond

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3834388#3834388

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834388


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: JBossLocalXAException

2004-05-10 Thread tkvarenes
This should be the full trace:

2004-05-10 15:29:20,740 DEBUG [tcms.facade.ActorsFacadeSession] 
insertCompany({comId=null comType=CUS comArea= comCode=ttt comName=ttt comAddress= 
comPhoneNo= comFaxNo= comEmailAddress= comUrlAddress= comTelexNo=null 
comTermsOfPayment=null comCustomsProcedureNo=null comBankAccountNo=null 
comPostAccountNo=null comDescription=null})
2004-05-10 15:29:20,740 DEBUG [tcms.data.trim.actors.CompanyCMP$Proxy] ejbCreate()
2004-05-10 15:29:20,786 DEBUG [tcms.util.TcmsApplicationException] 
ErrorCode:   1.01.0002
Arguments:   
javax.ejb.CreateException: Expected one affected row but update returned0 for id=null
2004-05-10 15:29:20,880 WARN  [org.jboss.tm.TransactionImpl] XAException: 
tx=TransactionImpl:XidImpl [FormatId=257, GlobalId=cphjlapp//4617, BranchQual=] 
errorCode=XA_UNKNOWN(0)
org.jboss.resource.connectionmanager.JBossLocalXAException: could not commit local tx; 
- nested throwable: (org.jboss.resource.JBossResourceException: SQLException; - nested 
throwable: (java.sql.SQLException: [TDS Driver]Connection was closed from the SQL 
Server site or network at header (0)))
at 
org.jboss.resource.connectionmanager.TxConnectionManager$LocalXAResource.commit(TxConnectionManager.java:755)
at org.jboss.tm.TransactionImpl.commitResources(TransactionImpl.java:1593)
at org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:375)
at 
org.jboss.ejb.plugins.TxInterceptorCMT.endTransaction(TxInterceptorCMT.java:398)
at 
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:277)
at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:128)
at 
org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:118)
at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)
at 
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
at 
org.jboss.ejb.StatelessSessionContainer.internalInvoke(StatelessSessionContainer.java:331)
at org.jboss.ejb.Container.invoke(Container.java:700)
at sun.reflect.GeneratedMethodAccessor127.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at 
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:101)
at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:90)
at 
org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46)
at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:45)
at 
org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:100)
at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:85)
at $Proxy589.insertCompany(Unknown Source)
at tcms.service.ActorsEJBDelegate.insertCompany(ActorsEJBDelegate.java:292)
at com.tcms.refdata.CompanyExecute.doSave(CompanyExecute.java:123)
at com.tcms.refdata.CompanyAction.perform(CompanyAction.java:78)
at org.apache.struts.action.Action.execute(Action.java:420)
at 
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at 
org.jboss.web.tomcat.security.JBossSecurityMgrRealm.invoke(JBossSecurityMgrRealm.java:220)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at 

[JBoss-user] [JCA/JBoss] - Re: JBossLocalXAException

2004-05-10 Thread [EMAIL PROTECTED]
Seems pretty obvious to me, either your database or network closed the connection:
Connection was closed from the SQL Server site or network at header (0))) 

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3834322#3834322

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834322


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: JBossLocalXAException

2004-05-07 Thread [EMAIL PROTECTED]
Can you post the TRACE logging mentioned in the READ THIS FIRST

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3834109#3834109

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834109


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user