XTS demo and webMethods
persabi Oct 29, 2007 11:25 PMWe are attempting to run the XTS demo from JBossts_4_2_3_SP7 within the webMethods 7 container. (I know it's suggested that webmethods 5 is used).
I've changed the package structure to suit wm7 and the latest glue, deployed the package and activated/loaded it successfully within the wm container. The JSP loads ok, but clicking the submit fails with the following stack trace in wm.
... CLIENT: obtaining userTransaction... CLIENT: starting the transaction... CLIENT: problem: com.arjuna.wst.SystemException: java.lang.NullPointerException at com.arjuna.mwlabs.wst.at.remote.UserTransactionImple.startTransaction (UserTransactionImple.java:236) at com.arjuna.mwlabs.wst.at.remote.UserTransactionImple.begin(UserTransa ctionImple.java:105) at com.arjuna.mwlabs.wst.at.remote.UserTransactionImple.begin(UserTransa ctionImple.java:95) at com.arjuna.xts.nightout.clients.webmethods.BasicClient.testAtomicTran saction(BasicClient.java:247) at com.arjuna.xts.nightout.clients.webmethods.BasicClient.doGet(BasicCli ent.java:207) at javax.servlet.http.HttpServlet.service(HttpServlet.java:689) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl icationFilterChain.java:237) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF ilterChain.java:157) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV alve.java:214) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv eContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav a:520) at org.apache.catalina.core.StandardContextValve.invokeInternal(Standard ContextValve.java:198) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV alve.java:152) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv eContext.java:104) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica torBase.java:462) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv eContext.java:102) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav a:520) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j ava:137) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv eContext.java:104) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j ava:118) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv eContext.java:102) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav a:520) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal ve.java:109) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv eContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav a:520) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929) at com.wm.app.b2b.server.web.ISConnector.invoke(ISConnector.java:285) at com.wm.app.b2b.server.web.WebContainer.process(WebContainer.java:183) at com.wm.app.b2b.server.Dispatch.run(Dispatch.java:312) at com.wm.util.pool.PooledThread.run(PooledThread.java:105) at java.lang.Thread.run(Thread.java:595)
Jbossts is running in standalone with the following output, but I don't think it's actually doing much.
C:\Java\JBOSSTS_4_2_3_SP7\bin>rem Environment variable JAVA_HOME set to "C:\webMethods7\jvm\win150" Environment variable JBOSSTS_HOME set to "C:\Java\JBOSSTS_4_2_3_SP7" Setting up environment [ base configuration loaded from classpath orb.properties ] [ configuration jacorb loaded from file C:/Java/JBOSSTS_4_2_3_SP7/jacorb_2_1\etc \jacorb.properties ] [ configuration jacorb loaded from classpath] [30-10-2007 09:58:40:673] jacorb.orb:INFO: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ JacORB V 2.2.2, www.jacorb.org (C) The JacORB project 1-Jun-2005 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [30-10-2007 09:58:40:845] jacorb.orb.intercept:INFO: InterceptorManager started with 1 SIs, 1 CIs and 1 IORIs [30-10-2007 09:58:41:142] jacorb.poa:INFO: oid: 00 15 1B 38 32 22 2A 32 01 02 0F ...82"*2... object is activated [30-10-2007 09:58:41:455] jacorb.orb.giop:INFO: ClientConnectionManager: created new conn to target 172.21.6.57:1295 **checking 0 **registering** Ready [30-10-2007 09:58:41:455] jacorb.orb:INFO: ORB run
I don't see how we are configuring the package within wm to tell it to use jbossts standalone (no place to specify host/port).
Anyone have any ideas?
Ultimately, we would like to explore the idea of an orchestrated/coordinated CICS transaction and participating web services in webmethods, enabled using jboss transaction (XTS). This transaction context needs to be propogated to wm and a separate application server using JTA. I think the transaction bridging would help out here. Any thoughts from the community?
Thanks
Vance