7 Replies Latest reply on Dec 15, 2003 6:55 AM by Adrian Brock

    ra for oracle

    jaejong kim Newbie

      I am using Oracle custom Objects,So I need to get OracleConnection and to support Xa-transaction.

      Thanks any sample or how to extend jbosscx for this use-case.

        • 1. Re: ra for oracle
          Adrian Brock Master

          Maybe you can do this is an Oracle specific rar?

          With jboss you have to use jboss specific code

          import org.jboss.resource.adapter.jdbc.WrapperConnection;
          Connection c = ds.getConnection();
          WrapperConnection wc = (WrapperConnection) c;
          OracleConnection oc = (OracleConnection) wc.getUnderlyingConnection();

          Be careful what you do with the underlying connection
          otherwise you will break the pool.

          Regards,
          Adrian

          • 2. Re: ra for oracle
            jaejong kim Newbie

            Thanks adrian for your concern.

            In jboss3.0.4, I use OracleConnection.
            And now I port to jboss3.2.X for XMBean.

            But I wonder that underlying connection
            from WrapperConnection can support same effects
            as OracleConnection in 3.0.4 exceptionally in regard to transaction span across EJBS.

            Can I use underlying connection in BMP
            to span transactions across EJBS and EBJ CALLS?

            • 3. Re: ra for oracle
              Adrian Brock Master

              What do you mean by "span transactions across ejbs"?

              Regards,
              Adrian

              • 4. Re: ra for oracle
                jaejong kim Newbie


                The "span transactions across ejbs" means
                expend transaction boundry between EJBS as
                follows.

                I maintain transaction with stateful session ejb(SFSB) by bean managed transaction.

                The client call SFSB then SFSB call another EJBs.
                SFSB has many dependent EJBS(some Session beans and some Entity beans).

                The clients calls SFSB as many as they need and
                these calls are managed as just one transaction
                within SFSB.

                • 5. Re: ra for oracle
                  Adrian Brock Master

                  This is supported in 3.2 using <track-connection-by-tx>

                  Regards,
                  Adrian

                  • 6. Re: ra for oracle
                    jaejong kim Newbie

                    Thanks adrian very much.

                    I've got test with following confog

                    <xa-datasource>
                    <jndi-name>OraXaDB</jndi-name>
                    <track-connection-by-tx>true</track-connection-by-tx>
                    <isSameRM-override-value>false</isSameRM-override-value>
                    <xa-datasource-class>oracle.jdbc.xa.client.OracleXADataSource</xa-datasource-class>
                    <!-- xa-datasource-property name="URL">jdbc:oracle:oci8:@tc</xa-datasource-property -->
                    <xa-datasource-property name="URL">jdbc:oracle:thin:@192.168.0.20:1521:TMS</xa-datasource-property>
                    <xa-datasource-property name="User">user</xa-datasource-property>
                    <xa-datasource-property name="Password">pass</xa-datasource-property>
                    <exception-sorter-class-name>org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter</exception-sorter-class-name>
                    </xa-datasource>


                    But I got follow error message

                    2003-12-14 09:49:35,304 WARN [org.jboss.tm.TransactionImpl] XAException: tx=TransactionImpl:XidImpl [FormatId=257, GlobalId=jjkim.trabi.co.kr//525, BranchQual=] errorCode=XAER_NOTA
                    oracle.jdbc.xa.OracleXAException
                    at oracle.jdbc.xa.OracleXAResource.checkError(OracleXAResource.java:1160)
                    at oracle.jdbc.xa.client.OracleXAResource.end(OracleXAResource.java:471)
                    at org.jboss.resource.adapter.jdbc.xa.XAManagedConnection.end(XAManagedConnection.java:146)
                    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(TxInterceptorCMT.java:369)
                    at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:301)
                    at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:104)
                    at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:117)
                    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:322)
                    at org.jboss.ejb.Container.invoke(Container.java:674)
                    at sun.reflect.GeneratedMethodAccessor139.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:549)
                    at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:101)
                    at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:83)
                    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 $Proxy250.getUdtListData(Unknown Source)
                    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                    at java.lang.reflect.Method.invoke(Method.java:324)
                    at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:260)
                    at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:207)
                    at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:357)
                    at org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:135)
                    at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:94)
                    at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:109)
                    at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:271)
                    at org.apache.velocity.Template.merge(Template.java:296)
                    at org.apache.velocity.app.Velocity.mergeTemplate(Velocity.java:492)
                    at org.apache.velocity.app.Velocity.mergeTemplate(Velocity.java:461)
                    at org.apache.turbine.services.velocity.TurbineVelocityService.decodeRequest(TurbineVelocityService.java:384)
                    at org.apache.turbine.services.velocity.TurbineVelocityService.handleRequest(TurbineVelocityService.java:278)
                    at org.apache.turbine.services.velocity.TurbineVelocity.handleRequest(TurbineVelocity.java:107)
                    at org.apache.turbine.modules.screens.VelocityScreen.buildTemplate(VelocityScreen.java:151)
                    at org.apache.turbine.modules.screens.TemplateScreen.doBuild(TemplateScreen.java:130)
                    at org.apache.turbine.modules.Screen.build(Screen.java:99)
                    at org.apache.turbine.modules.ScreenLoader.eval(ScreenLoader.java:129)
                    at org.apache.turbine.modules.layouts.VelocityOnlyLayout.doBuild(VelocityOnlyLayout.java:98)
                    at org.apache.turbine.modules.Layout.build(Layout.java:91)
                    at org.apache.turbine.modules.LayoutLoader.exec(LayoutLoader.java:123)
                    at org.apache.turbine.modules.pages.DefaultPage.doBuild(DefaultPage.java:169)
                    at org.apache.turbine.modules.Page.build(Page.java:90)
                    at org.apache.turbine.modules.PageLoader.exec(PageLoader.java:123)
                    at org.apache.turbine.Turbine.doGet(Turbine.java:563)
                    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
                    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
                    at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:360)
                    at org.mortbay.jetty.servlet.WebApplicationHandler$Chain.doFilter(WebApplicationHandler.java:342)
                    at kr.co.trabi.web.JaasManager$Filter.doFilter(JaasManager.java:292)
                    at org.mortbay.jetty.servlet.WebApplicationHandler$Chain.doFilter(WebApplicationHandler.java:334)
                    at kr.co.trabi.web.TrabiSignOnFilter.doFilter(TrabiSignOnFilter.java:188)
                    at org.mortbay.jetty.servlet.WebApplicationHandler$Chain.doFilter(WebApplicationHandler.java:334)
                    at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:286)
                    at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:558)
                    at org.mortbay.http.HttpContext.handle(HttpContext.java:1714)
                    at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:507)
                    at org.mortbay.http.HttpContext.handle(HttpContext.java:1664)
                    at org.mortbay.http.HttpServer.service(HttpServer.java:863)
                    at org.jboss.jetty.Jetty.service(Jetty.java:460)
                    at org.mortbay.http.HttpConnection.service(HttpConnection.java:775)
                    at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:939)
                    at org.mortbay.http.HttpConnection.handle(HttpConnection.java:792)
                    at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:201)
                    at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:289)
                    at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:455)
                    2003-12-14 09:49:35,327 ERROR [org.jboss.ejb.plugins.LogInterceptor] TransactionRolledbackException, causedBy:
                    oracle.jdbc.xa.OracleXAException
                    at oracle.jdbc.xa.OracleXAResource.checkError(OracleXAResource.java:1160)
                    at oracle.jdbc.xa.client.OracleXAResource.end(OracleXAResource.java:471)
                    at org.jboss.resource.adapter.jdbc.xa.XAManagedConnection.end(XAManagedConnection.java:146)
                    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(TxInterceptorCMT.java:369)
                    at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:301)
                    at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:104)
                    at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:117)
                    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:322)
                    at org.jboss.ejb.Container.invoke(Container.java:674)
                    at sun.reflect.GeneratedMethodAccessor139.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:549)
                    at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:101)
                    at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:83)
                    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 $Proxy250.getUdtListData(Unknown Source)
                    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                    at java.lang.reflect.Method.invoke(Method.java:324)
                    at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:260)
                    at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:207)
                    at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:357)
                    at org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:135)
                    at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:94)
                    at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:109)
                    at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:271)
                    at org.apache.velocity.Template.merge(Template.java:296)
                    at org.apache.velocity.app.Velocity.mergeTemplate(Velocity.java:492)
                    at org.apache.velocity.app.Velocity.mergeTemplate(Velocity.java:461)
                    at org.apache.turbine.services.velocity.TurbineVelocityService.decodeRequest(TurbineVelocityService.java:384)
                    at org.apache.turbine.services.velocity.TurbineVelocityService.handleRequest(TurbineVelocityService.java:278)
                    at org.apache.turbine.services.velocity.TurbineVelocity.handleRequest(TurbineVelocity.java:107)
                    at org.apache.turbine.modules.screens.VelocityScreen.buildTemplate(VelocityScreen.java:151)
                    at org.apache.turbine.modules.screens.TemplateScreen.doBuild(TemplateScreen.java:130)
                    at org.apache.turbine.modules.Screen.build(Screen.java:99)
                    at org.apache.turbine.modules.ScreenLoader.eval(ScreenLoader.java:129)
                    at org.apache.turbine.modules.layouts.VelocityOnlyLayout.doBuild(VelocityOnlyLayout.java:98)
                    at org.apache.turbine.modules.Layout.build(Layout.java:91)
                    at org.apache.turbine.modules.LayoutLoader.exec(LayoutLoader.java:123)
                    at org.apache.turbine.modules.pages.DefaultPage.doBuild(DefaultPage.java:169)
                    at org.apache.turbine.modules.Page.build(Page.java:90)
                    at org.apache.turbine.modules.PageLoader.exec(PageLoader.java:123)
                    at org.apache.turbine.Turbine.doGet(Turbine.java:563)
                    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
                    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
                    at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:360)
                    at org.mortbay.jetty.servlet.WebApplicationHandler$Chain.doFilter(WebApplicationHandler.java:342)
                    at kr.co.trabi.web.JaasManager$Filter.doFilter(JaasManager.java:292)
                    at org.mortbay.jetty.servlet.WebApplicationHandler$Chain.doFilter(WebApplicationHandler.java:334)
                    at kr.co.trabi.web.TrabiSignOnFilter.doFilter(TrabiSignOnFilter.java:188)
                    at org.mortbay.jetty.servlet.WebApplicationHandler$Chain.doFilter(WebApplicationHandler.java:334)
                    at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:286)
                    at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:558)
                    at org.mortbay.http.HttpContext.handle(HttpContext.java:1714)
                    at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:507)
                    at org.mortbay.http.HttpContext.handle(HttpContext.java:1664)
                    at org.mortbay.http.HttpServer.service(HttpServer.java:863)
                    at org.jboss.jetty.Jetty.service(Jetty.java:460)
                    at org.mortbay.http.HttpConnection.service(HttpConnection.java:775)
                    at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:939)
                    at org.mortbay.http.HttpConnection.handle(HttpConnection.java:792)
                    at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:201)
                    at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:289)
                    at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:455)
                    2003-12-14 09:49:35,375 ERROR [STDERR] org.jboss.tm.JBossTransactionRolledbackException: null; nested exception is:
                    oracle.jdbc.xa.OracleXAException; - nested throwable: (oracle.jdbc.xa.OracleXAException)
                    2003-12-14 09:49:35,380 ERROR [STDERR] at org.jboss.ejb.plugins.TxInterceptorCMT.endTransaction(TxInterceptorCMT.java:394)
                    2003-12-14 09:49:35,381 ERROR [STDERR] at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:301)
                    2003-12-14 09:49:35,381 ERROR [STDERR] at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:104)
                    2003-12-14 09:49:35,382 ERROR [STDERR] at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:117)
                    2003-12-14 09:49:35,383 ERROR [STDERR] at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)
                    2003-12-14 09:49:35,383 ERROR [STDERR] at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
                    2003-12-14 09:49:35,384 ERROR [STDERR] at org.jboss.ejb.StatelessSessionContainer.internalInvoke(StatelessSessionContainer.java:322)
                    2003-12-14 09:49:35,385 ERROR [STDERR] at org.jboss.ejb.Container.invoke(Container.java:674)
                    2003-12-14 09:49:35,385 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor139.invoke(Unknown Source)
                    2003-12-14 09:49:35,386 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                    2003-12-14 09:49:35,387 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:324)
                    2003-12-14 09:49:35,387 ERROR [STDERR] at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
                    2003-12-14 09:49:35,388 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
                    2003-12-14 09:49:35,389 ERROR [STDERR] at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:101)
                    2003-12-14 09:49:35,389 ERROR [STDERR] at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:83)
                    2003-12-14 09:49:35,390 ERROR [STDERR] at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46)
                    2003-12-14 09:49:35,391 ERROR [STDERR] at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:45)
                    2003-12-14 09:49:35,392 ERROR [STDERR] at org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:100)
                    2003-12-14 09:49:35,392 ERROR [STDERR] at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:85)
                    2003-12-14 09:49:35,393 ERROR [STDERR] at $Proxy250.getUdtListData(Unknown Source)
                    2003-12-14 09:49:35,394 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                    2003-12-14 09:49:35,394 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                    2003-12-14 09:49:35,395 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                    2003-12-14 09:49:35,396 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:324)
                    2003-12-14 09:49:35,396 ERROR [STDERR] at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:260)
                    2003-12-14 09:49:35,397 ERROR [STDERR] at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:207)
                    2003-12-14 09:49:35,398 ERROR [STDERR] at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:357)
                    2003-12-14 09:49:35,399 ERROR [STDERR] at org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:135)
                    2003-12-14 09:49:35,399 ERROR [STDERR] at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:94)
                    2003-12-14 09:49:35,400 ERROR [STDERR] at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:109)
                    2003-12-14 09:49:35,401 ERROR [STDERR] at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:271)
                    2003-12-14 09:49:35,401 ERROR [STDERR] at org.apache.velocity.Template.merge(Template.java:296)
                    2003-12-14 09:49:35,402 ERROR [STDERR] at org.apache.velocity.app.Velocity.mergeTemplate(Velocity.java:492)
                    2003-12-14 09:49:35,403 ERROR [STDERR] at org.apache.velocity.app.Velocity.mergeTemplate(Velocity.java:461)
                    2003-12-14 09:49:35,403 ERROR [STDERR] at org.apache.turbine.services.velocity.TurbineVelocityService.decodeRequest(TurbineVelocityService.java:384)
                    2003-12-14 09:49:35,404 ERROR [STDERR] at org.apache.turbine.services.velocity.TurbineVelocityService.handleRequest(TurbineVelocityService.java:278)
                    2003-12-14 09:49:35,405 ERROR [STDERR] at org.apache.turbine.services.velocity.TurbineVelocity.handleRequest(TurbineVelocity.java:107)
                    2003-12-14 09:49:35,406 ERROR [STDERR] at org.apache.turbine.modules.screens.VelocityScreen.buildTemplate(VelocityScreen.java:151)
                    2003-12-14 09:49:35,406 ERROR [STDERR] at org.apache.turbine.modules.screens.TemplateScreen.doBuild(TemplateScreen.java:130)
                    2003-12-14 09:49:35,407 ERROR [STDERR] at org.apache.turbine.modules.Screen.build(Screen.java:99)
                    2003-12-14 09:49:35,408 ERROR [STDERR] at org.apache.turbine.modules.ScreenLoader.eval(ScreenLoader.java:129)
                    2003-12-14 09:49:35,408 ERROR [STDERR] at org.apache.turbine.modules.layouts.VelocityOnlyLayout.doBuild(VelocityOnlyLayout.java:98)
                    2003-12-14 09:49:35,409 ERROR [STDERR] at org.apache.turbine.modules.Layout.build(Layout.java:91)
                    2003-12-14 09:49:35,410 ERROR [STDERR] at org.apache.turbine.modules.LayoutLoader.exec(LayoutLoader.java:123)
                    2003-12-14 09:49:35,410 ERROR [STDERR] at org.apache.turbine.modules.pages.DefaultPage.doBuild(DefaultPage.java:169)
                    2003-12-14 09:49:35,411 ERROR [STDERR] at org.apache.turbine.modules.Page.build(Page.java:90)
                    2003-12-14 09:49:35,412 ERROR [STDERR] at org.apache.turbine.modules.PageLoader.exec(PageLoader.java:123)
                    2003-12-14 09:49:35,412 ERROR [STDERR] at org.apache.turbine.Turbine.doGet(Turbine.java:563)
                    2003-12-14 09:49:35,413 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
                    2003-12-14 09:49:35,414 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
                    2003-12-14 09:49:35,414 ERROR [STDERR] at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:360)
                    2003-12-14 09:49:35,415 ERROR [STDERR] at org.mortbay.jetty.servlet.WebApplicationHandler$Chain.doFilter(WebApplicationHandler.java:342)
                    2003-12-14 09:49:35,416 ERROR [STDERR] at kr.co.trabi.web.JaasManager$Filter.doFilter(JaasManager.java:292)
                    2003-12-14 09:49:35,417 ERROR [STDERR] at org.mortbay.jetty.servlet.WebApplicationHandler$Chain.doFilter(WebApplicationHandler.java:334)
                    2003-12-14 09:49:35,417 ERROR [STDERR] at kr.co.trabi.web.TrabiSignOnFilter.doFilter(TrabiSignOnFilter.java:188)
                    2003-12-14 09:49:35,418 ERROR [STDERR] at org.mortbay.jetty.servlet.WebApplicationHandler$Chain.doFilter(WebApplicationHandler.java:334)
                    2003-12-14 09:49:35,419 ERROR [STDERR] at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:286)
                    2003-12-14 09:49:35,420 ERROR [STDERR] at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:558)
                    2003-12-14 09:49:35,420 ERROR [STDERR] at org.mortbay.http.HttpContext.handle(HttpContext.java:1714)
                    2003-12-14 09:49:35,421 ERROR [STDERR] at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:507)
                    2003-12-14 09:49:35,422 ERROR [STDERR] at org.mortbay.http.HttpContext.handle(HttpContext.java:1664)
                    2003-12-14 09:49:35,422 ERROR [STDERR] at org.mortbay.http.HttpServer.service(HttpServer.java:863)
                    2003-12-14 09:49:35,423 ERROR [STDERR] at org.jboss.jetty.Jetty.service(Jetty.java:460)
                    2003-12-14 09:49:35,424 ERROR [STDERR] at org.mortbay.http.HttpConnection.service(HttpConnection.java:775)
                    2003-12-14 09:49:35,425 ERROR [STDERR] at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:939)
                    2003-12-14 09:49:35,425 ERROR [STDERR] at org.mortbay.http.HttpConnection.handle(HttpConnection.java:792)
                    2003-12-14 09:49:35,426 ERROR [STDERR] at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:201)
                    2003-12-14 09:49:35,427 ERROR [STDERR] at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:289)
                    2003-12-14 09:49:35,428 ERROR [STDERR] at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:455)
                    2003-12-14 09:49:35,429 ERROR [STDERR] Caused by: oracle.jdbc.xa.OracleXAException
                    2003-12-14 09:49:35,429 ERROR [STDERR] at oracle.jdbc.xa.OracleXAResource.checkError(OracleXAResource.java:1160)
                    2003-12-14 09:49:35,430 ERROR [STDERR] at oracle.jdbc.xa.client.OracleXAResource.end(OracleXAResource.java:471)
                    2003-12-14 09:49:35,431 ERROR [STDERR] at org.jboss.resource.adapter.jdbc.xa.XAManagedConnection.end(XAManagedConnection.java:146)
                    2003-12-14 09:49:35,431 ERROR [STDERR] at org.jboss.tm.TransactionImpl.endResource(TransactionImpl.java:1194)
                    2003-12-14 09:49:35,432 ERROR [STDERR] at org.jboss.tm.TransactionImpl.endResources(TransactionImpl.java:1267)
                    2003-12-14 09:49:35,433 ERROR [STDERR] at org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:346)
                    2003-12-14 09:49:35,433 ERROR [STDERR] at org.jboss.ejb.plugins.TxInterceptorCMT.endTransaction(TxInterceptorCMT.java:369)
                    2003-12-14 09:49:35,434 ERROR [STDERR] ... 68 more

                    • 7. Re: ra for oracle
                      Adrian Brock Master

                      Have you set pad=true on the xid factory?

                      Regards,
                      Adrian