12 Replies Latest reply on Jul 18, 2008 4:37 AM by Andrew Dinn

    Demo application fails on

    petitgitan Newbie

      Hi,

      I've just started testing the demo application that uses WS-AT. The application builds successfully, the server is properly set-up. When trying to run the application from the included UI (at http://localhost:8080/xts-demo/) it throws the following warning:

      WARN [JAXRPCClientMetaDataBuilder] Cannot obtain the SEI mapping for: {http://www.jboss.com/jbosstm/xts/demo/Restaurant}IRestaurantService"

      which is then followed by java.lang.IllegalStateException. I noticed that the <jaxrpc-mapping.xml> file is missing such elements as <service-interface-mapping> and <service-endpoint-interface-mapping>. Were these supposed to be generated at some point during the build?

      Below is the stack trace. Help!

      Thanks,
      George

      ********************
      From the server startup log:
      09:19:05,412 WARN [JAXRPCServerMetaDataBuilder] Cannot obtain SEI mapping for: com.arjuna.xts.nightout.services.Restaurant.IRestaurantService
      09:19:05,434 WARN [JAXRPCServerMetaDataBuilder] Cannot obtain SEI mapping for: com.arjuna.xts.nightout.services.Restaurant.IRestaurantServiceBA
      09:19:05,550 WARN [JAXRPCServerMetaDataBuilder] Cannot obtain SEI mapping for: com.arjuna.xts.nightout.services.Theatre.ITheatreService
      09:19:05,558 WARN [JAXRPCServerMetaDataBuilder] Cannot obtain SEI mapping for: com.arjuna.xts.nightout.services.Theatre.ITheatreServiceBA
      09:19:05,591 WARN [JAXRPCServerMetaDataBuilder] Cannot obtain SEI mapping for: com.arjuna.xts.nightout.services.Taxi.ITaxiService
      09:19:05,600 WARN [JAXRPCServerMetaDataBuilder] Cannot obtain SEI mapping for: com.arjuna.xts.nightout.services.Taxi.ITaxiServiceBA

      ***********************

      After attempting to run the transaction:

      09:20:04,832 WARN [JAXRPCClientMetaDataBuilder] Cannot obtain the SEI mapping for: {http://www.jboss.com/jbosstm/xts/demo/Restaurant}IRestaurantService
      09:20:04,870 WARN [EndpointMetaData] Set SEI name after eager initialization
      java.lang.IllegalStateException
      at org.jboss.ws.metadata.umdm.EndpointMetaData.setServiceEndpointInterfaceName(EndpointMetaData.java:214)
      at org.jboss.ws.core.jaxrpc.client.ServiceImpl.getPort(ServiceImpl.java:347)
      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:597)
      at org.jboss.ws.core.jaxrpc.client.ServiceProxy.invoke(ServiceProxy.java:116)
      at $Proxy69.getPort(Unknown Source)
      at com.arjuna.xts.nightout.clients.jboss.BasicClient.getService(BasicClient.java:375)
      at com.arjuna.xts.nightout.clients.jboss.BasicClient.initialise(BasicClient.java:186)
      at com.arjuna.xts.nightout.clients.jboss.BasicClient.doGet(BasicClient.java:214)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
      at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
      at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
      at java.lang.Thread.run(Thread.java:637)
      09:20:04,870 WARN [EndpointMetaData] Loading SEI after eager initialization
      09:20:04,893 WARN [JAXRPCClientMetaDataBuilder] Cannot obtain the SEI mapping for: {http://www.jboss.com/jbosstm/xts/demo/Restaurant}IRestaurantServiceBA
      09:20:04,915 WARN [EndpointMetaData] Set SEI name after eager initialization
      java.lang.IllegalStateException
      at org.jboss.ws.metadata.umdm.EndpointMetaData.setServiceEndpointInterfaceName(EndpointMetaData.java:214)
      at org.jboss.ws.core.jaxrpc.client.ServiceImpl.getPort(ServiceImpl.java:347)
      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:597)
      at org.jboss.ws.core.jaxrpc.client.ServiceProxy.invoke(ServiceProxy.java:116)
      at $Proxy69.getPort(Unknown Source)
      at com.arjuna.xts.nightout.clients.jboss.BasicClient.getService(BasicClient.java:375)
      at com.arjuna.xts.nightout.clients.jboss.BasicClient.initialise(BasicClient.java:187)
      at com.arjuna.xts.nightout.clients.jboss.BasicClient.doGet(BasicClient.java:214)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
      at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
      at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
      at java.lang.Thread.run(Thread.java:637)
      09:20:04,916 WARN [EndpointMetaData] Loading SEI after eager initialization
      09:20:04,932 WARN [JAXRPCClientMetaDataBuilder] Cannot obtain the SEI mapping for: {http://www.jboss.com/jbosstm/xts/demo/Taxi}ITaxiService
      09:20:04,960 WARN [EndpointMetaData] Set SEI name after eager initialization
      java.lang.IllegalStateException
      at org.jboss.ws.metadata.umdm.EndpointMetaData.setServiceEndpointInterfaceName(EndpointMetaData.java:214)
      at org.jboss.ws.core.jaxrpc.client.ServiceImpl.getPort(ServiceImpl.java:347)
      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:597)
      at org.jboss.ws.core.jaxrpc.client.ServiceProxy.invoke(ServiceProxy.java:116)
      at $Proxy69.getPort(Unknown Source)
      at com.arjuna.xts.nightout.clients.jboss.BasicClient.getService(BasicClient.java:375)
      at com.arjuna.xts.nightout.clients.jboss.BasicClient.initialise(BasicClient.java:188)
      at com.arjuna.xts.nightout.clients.jboss.BasicClient.doGet(BasicClient.java:214)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
      at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
      at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
      at java.lang.Thread.run(Thread.java:637)
      09:20:04,961 WARN [EndpointMetaData] Loading SEI after eager initialization
      09:20:05,081 WARN [JAXRPCClientMetaDataBuilder] Cannot obtain the SEI mapping for: {http://www.jboss.com/jbosstm/xts/demo/Taxi}ITaxiServiceBA
      09:20:05,171 WARN [EndpointMetaData] Set SEI name after eager initialization
      java.lang.IllegalStateException
      at org.jboss.ws.metadata.umdm.EndpointMetaData.setServiceEndpointInterfaceName(EndpointMetaData.java:214)
      at org.jboss.ws.core.jaxrpc.client.ServiceImpl.getPort(ServiceImpl.java:347)
      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:597)
      at org.jboss.ws.core.jaxrpc.client.ServiceProxy.invoke(ServiceProxy.java:116)
      at $Proxy69.getPort(Unknown Source)
      at com.arjuna.xts.nightout.clients.jboss.BasicClient.getService(BasicClient.java:375)
      at com.arjuna.xts.nightout.clients.jboss.BasicClient.initialise(BasicClient.java:189)
      at com.arjuna.xts.nightout.clients.jboss.BasicClient.doGet(BasicClient.java:214)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
      at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
      at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
      at java.lang.Thread.run(Thread.java:637)
      09:20:05,171 WARN [EndpointMetaData] Loading SEI after eager initialization
      09:20:05,202 WARN [JAXRPCClientMetaDataBuilder] Cannot obtain the SEI mapping for: {http://www.jboss.com/jbosstm/xts/demo/Theatre}ITheatreService
      09:20:05,249 WARN [EndpointMetaData] Set SEI name after eager initialization
      java.lang.IllegalStateException
      at org.jboss.ws.metadata.umdm.EndpointMetaData.setServiceEndpointInterfaceName(EndpointMetaData.java:214)
      at org.jboss.ws.core.jaxrpc.client.ServiceImpl.getPort(ServiceImpl.java:347)
      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:597)
      at org.jboss.ws.core.jaxrpc.client.ServiceProxy.invoke(ServiceProxy.java:116)
      at $Proxy69.getPort(Unknown Source)
      at com.arjuna.xts.nightout.clients.jboss.BasicClient.getService(BasicClient.java:375)
      at com.arjuna.xts.nightout.clients.jboss.BasicClient.initialise(BasicClient.java:190)
      at com.arjuna.xts.nightout.clients.jboss.BasicClient.doGet(BasicClient.java:214)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
      at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
      at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
      at java.lang.Thread.run(Thread.java:637)
      09:20:05,250 WARN [EndpointMetaData] Loading SEI after eager initialization
      09:20:05,273 WARN [JAXRPCClientMetaDataBuilder] Cannot obtain the SEI mapping for: {http://www.jboss.com/jbosstm/xts/demo/Theatre}ITheatreServiceBA
      09:20:05,302 WARN [EndpointMetaData] Set SEI name after eager initialization
      java.lang.IllegalStateException
      at org.jboss.ws.metadata.umdm.EndpointMetaData.setServiceEndpointInterfaceName(EndpointMetaData.java:214)
      at org.jboss.ws.core.jaxrpc.client.ServiceImpl.getPort(ServiceImpl.java:347)
      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:597)
      at org.jboss.ws.core.jaxrpc.client.ServiceProxy.invoke(ServiceProxy.java:116)
      at $Proxy69.getPort(Unknown Source)
      at com.arjuna.xts.nightout.clients.jboss.BasicClient.getService(BasicClient.java:375)
      at com.arjuna.xts.nightout.clients.jboss.BasicClient.initialise(BasicClient.java:191)
      at com.arjuna.xts.nightout.clients.jboss.BasicClient.doGet(BasicClient.java:214)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
      at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
      at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
      at java.lang.Thread.run(Thread.java:637)
      09:20:05,303 WARN [EndpointMetaData] Loading SEI after eager initialization
      09:20:05,310 INFO [STDOUT] CLIENT: obtaining userTransaction...
      09:20:05,311 INFO [STDOUT] CLIENT: starting the transaction...
      09:20:05,492 ERROR [[HTTP SOAP Service Multiplexor Servlet]] Servlet.service() for servlet HTTP SOAP Service Multiplexor Servlet threw exception
      java.io.IOException: javax.xml.stream.XMLStreamException: [com.arjuna.webservices.wsaddr.AddressingContext_1] - Addressing context is not valid
      at com.arjuna.webservices.soap.SoapMessageBase.output(SoapMessageBase.java:87)
      at com.arjuna.webservices.transport.http.HttpServiceMultiplexorServlet.doPost(HttpServiceMultiplexorServlet.java:177)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
      at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
      at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
      at java.lang.Thread.run(Thread.java:637)
      09:20:05,498 INFO [STDOUT] CLIENT: problem:
      09:20:05,498 INFO [STDOUT] com.arjuna.wst.SystemException: VersionMismatch[html]
      09:20:05,498 INFO [STDOUT] at com.arjuna.mwlabs.wst.at.remote.UserTransactionImple.startTransaction(UserTransactionImple.java:232)
      09:20:05,499 INFO [STDOUT] at com.arjuna.mwlabs.wst.at.remote.UserTransactionImple.begin(UserTransactionImple.java:105)
      09:20:05,499 INFO [STDOUT] at com.arjuna.mwlabs.wst.at.remote.UserTransactionImple.begin(UserTransactionImple.java:95)
      09:20:05,499 INFO [STDOUT] at com.arjuna.xts.nightout.clients.jboss.BasicClient.testAtomicTransaction(BasicClient.java:275)
      09:20:05,499 INFO [STDOUT] at com.arjuna.xts.nightout.clients.jboss.BasicClient.doGet(BasicClient.java:230)
      09:20:05,499 INFO [STDOUT] at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
      09:20:05,499 INFO [STDOUT] at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      09:20:05,499 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      09:20:05,499 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      09:20:05,499 INFO [STDOUT] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
      09:20:05,499 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      09:20:05,499 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      09:20:05,499 INFO [STDOUT] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
      09:20:05,499 INFO [STDOUT] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
      09:20:05,499 INFO [STDOUT] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
      09:20:05,499 INFO [STDOUT] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
      09:20:05,499 INFO [STDOUT] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      09:20:05,499 INFO [STDOUT] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      09:20:05,499 INFO [STDOUT] at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
      09:20:05,500 INFO [STDOUT] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      09:20:05,500 INFO [STDOUT] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
      09:20:05,500 INFO [STDOUT] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
      09:20:05,500 INFO [STDOUT] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
      09:20:05,500 INFO [STDOUT] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
      09:20:05,500 INFO [STDOUT] at java.lang.Thread.run(Thread.java:637)

        • 1. Re: Demo application fails on
          Jonathan Halliday Master

          > Help!

          Say please :-) And tell us what versions of JBossAS and XTS you are using.

          • 2. Re: Demo application fails on
            petitgitan Newbie

            Here's the version info:

            JBossAS:
            Version: 4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221140)
            Version Name: Trinity
            Built on: October 22 2007

            XTS:
            JBOSSTS_4_2_3_SP5

            JBoss Web Services - Native:
            Version: jbossws-3.0.1-native-2.0.4.GA

            Help, PLEAZE

            • 3. Re: Demo application fails on
              Andrew Dinn Master

              I don't think you can get this version of the demo to work using the 3.0.1 release of JBossWS. It was only built and tested on JBossAS 4.0.* with the bundled WS release. JBossWS 3.0.1 introduces a whole lot of new stuff which is probably causing it to fail. So, firstly, reinstall a vanilla AS 4.2.2.

              Also, you will need to upgrade the JBossTS release to 4.2.3.SP7 or better still 4.3.0 as there is a stream buffering issue with XTS on AS 4.2.2 which will stop it working.

              If you have to use the new JBossWS native release then you probably need to use one of the AS 5 releases with JBossTS 4.4. Unfortunately, AS.5.0.0.CR1 has introduced some regressions which are stopping the 4.4. XTS code from deploying correctly. There are workarounds which allow it to run but they are a pain so I woudl recommend sticking to the old AS and WS code.

              • 4. Re: Demo application fails on
                petitgitan Newbie

                Thanks for the tips. I've been working along those lines since your previous reply (vanilla AS 4.2.2., JBossTS 4.3.GA). Unfortunately, the build scripts need a lot of work. There's only one download for 4.3 (at http://www.jboss.org/jbosstm/downloads/), and the build.xml files reference folders that do not exist in the download, and have several other problems. I hope to be in a position to try the demo app again today. Please let me know if some of the build problems have been known or resolved in another download.

                Many thanks,
                George

                • 5. Re: Demo application fails on
                  Jonathan Halliday Master

                  Specifics on what's broken in the build scripts, please.

                  • 6. Re: Demo application fails on
                    petitgitan Newbie

                    Just one example: the xts-build.xml file (in the demo directory) refers to "${xts.home}/lib" and "${lib.dir}/ext". However, these directories do not exist in the JBossTS 4.3.GA distribution. I had to create them manually and guess the jars that should have existed there.

                    I ran each build script in the distribution, starting from the outermost directory and going in. I assumed that some of the missing directories might get created by one of those build scripts, but that didn't happen.

                    Unfortunately I didn't keep a log of the changes I had to make, but there were too many of them. In some cases, a build.xml would reference a property that doesn't exist within the file, or the shell script would use a target name that doesn't exist. The documentation is very sparse and in a number of places is inaccurate. I'm building this on a Mac, and Ant doesn't support the "environment" property on a Mac, which means all the env variables (e.g. JBOSS_HOME) were invisible within the build scripts.

                    I hope I'll get it to run. At his point, the build has succeeded, but the deployment to the server is missing some jars, and I'm getting there by trial and error.

                    It seems that there has been a couple thousand downloads of 4.3.GA, has anyone reported issues with the build process?

                    Thanks,
                    George

                    • 7. Re: Demo application fails on
                      petitgitan Newbie

                      OK -- I got the app to start on JBoss without errors. When I exercise the demo client (http://localhost:8080/xts-demo), it throws an UnsupportedOperationException, below is the full stack trace.

                      ***********************

                      10:22:56,845 INFO [STDOUT] CLIENT: obtaining userTransaction...
                      10:22:56,846 INFO [STDOUT] CLIENT: starting the transaction...
                      10:22:57,155 INFO [STDOUT] CLIENT: transaction ID= AtomicTransactionIdentifier: urn:-776772d6:de8a:487e2e3f:33
                      10:22:57,156 INFO [STDOUT] CLIENT: calling business Web Services...
                      10:22:57,169 INFO [STDOUT] CLIENT: problem:
                      10:22:57,169 INFO [STDOUT] javax.xml.ws.WebServiceException: java.lang.UnsupportedOperationException: setProperty must be overridden by all subclasses of SOAPMessage
                      10:22:57,170 INFO [STDOUT] at org.jboss.ws.core.jaxws.client.ClientImpl.handleRemoteException(ClientImpl.java:317)
                      10:22:57,170 INFO [STDOUT] at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:255)
                      10:22:57,170 INFO [STDOUT] at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:164)
                      10:22:57,170 INFO [STDOUT] at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:150)
                      10:22:57,170 INFO [STDOUT] at $Proxy78.bookSeats(Unknown Source)
                      10:22:57,170 INFO [STDOUT] at com.jboss.jbosstm.xts.demo.client.BasicClient.testAtomicTransaction(BasicClient.java:459)
                      10:22:57,170 INFO [STDOUT] at com.jboss.jbosstm.xts.demo.client.BasicClient.doGet(BasicClient.java:408)
                      10:22:57,170 INFO [STDOUT] at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
                      10:22:57,170 INFO [STDOUT] at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
                      10:22:57,170 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
                      10:22:57,170 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                      10:22:57,170 INFO [STDOUT] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
                      10:22:57,170 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                      10:22:57,170 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                      10:22:57,170 INFO [STDOUT] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
                      10:22:57,170 INFO [STDOUT] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
                      10:22:57,170 INFO [STDOUT] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
                      10:22:57,171 INFO [STDOUT] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
                      10:22:57,171 INFO [STDOUT] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
                      10:22:57,171 INFO [STDOUT] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
                      10:22:57,171 INFO [STDOUT] at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
                      10:22:57,171 INFO [STDOUT] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
                      10:22:57,171 INFO [STDOUT] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
                      10:22:57,171 INFO [STDOUT] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
                      10:22:57,171 INFO [STDOUT] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
                      10:22:57,171 INFO [STDOUT] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
                      10:22:57,171 INFO [STDOUT] at java.lang.Thread.run(Thread.java:637)
                      10:22:57,171 INFO [STDOUT] Caused by: java.lang.UnsupportedOperationException: setProperty must be overridden by all subclasses of SOAPMessage
                      10:22:57,171 INFO [STDOUT] at javax.xml.soap.SOAPMessage.setProperty(SOAPMessage.java:441)
                      10:22:57,171 INFO [STDOUT] at org.jboss.ws.core.soap.SOAPMessageImpl.(SOAPMessageImpl.java:67)
                      10:22:57,171 INFO [STDOUT] at org.jboss.ws.core.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:161)
                      10:22:57,171 INFO [STDOUT] at org.jboss.ws.core.CommonSOAP11Binding.createMessage(CommonSOAP11Binding.java:59)
                      10:22:57,171 INFO [STDOUT] at org.jboss.ws.core.CommonSOAPBinding.bindRequestMessage(CommonSOAPBinding.java:156)
                      10:22:57,172 INFO [STDOUT] at org.jboss.ws.core.CommonClient.invoke(CommonClient.java:289)
                      10:22:57,172 INFO [STDOUT] at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:243)
                      10:22:57,172 INFO [STDOUT] ... 25 more

                      • 8. Re: Demo application fails on
                        Andrew Dinn Master

                         


                        Just one example: the xts-build.xml file (in the demo directory) refers to "${xts.home}/lib" and "${lib.dir}/ext". However, these directories do not exist in the JBossTS 4.3.GA distribution. I had to create them manually and guess the jars that should have existed there.


                        Hmm, here is line 75 of XTS/demo/xts-build.xml from the tagged 4.3GA svn tree



                        Don't know what happened to your tree but it is definitely set here.

                        Your problem may be to do with how you are building the demo. You should not need to look at nor edit XTS/demo/.xts-build.xml nor anything else in XTWS/demo. The files in XTS/demo are unprocessed sources which are used when building the installed XTS tree. This is placed in directory XTS/xts-install. You actually need to build the demo from directory XTS/xts-install/demo. See the README file in XTS/demo in order to understand how this works.

                        • 9. Re: Demo application fails on
                          Andrew Dinn Master

                          Sorry, the line I quoted got elided by the HTML processor. Here it is again

                           <property name="xts.home" value=".."/>
                          



                          • 10. Re: Demo application fails on
                            Jonathan Halliday Master

                            Ahh, you are getting confused because of starting from a source bundle rather than a binary. The scripts work fine, provided they are used in the right context. First run the build to go from source to binary, then run the build for the demo app. Don't try to build the demo direct from the source tree.

                            ant jta
                            cd XTS
                            ant install
                            cd xts-install/demo
                            then follow the instructions in the BUILDING file.

                            • 11. Re: Demo application fails on
                              petitgitan Newbie

                              Thanks, this worked! The only change I had to make is to the $env.jboss_home (as this is not supported on the Mac).

                              The last two steps (ant install, cd xts-install/demo) aren't documented in any of the "readme" or instruction files. Too bad, really. That's good work made to look bad by the packaging.

                              Thanks again,
                              George

                              • 12. Re: Demo application fails on
                                Andrew Dinn Master

                                 


                                The last two steps (ant install, cd xts-install/demo) aren't documented in any of the "readme" or instruction files. Too bad, really. That's good work made to look bad by the packaging.


                                Yes, the initial build step for the XTS tree should have been documented in the ArjunaJTS/INSTALL instructions. This step is explained in the README in XTS/demo. This omission has been corrected in the JBossTS 4.4.CR1 release where both ArjunaJTS/INSTALL and ArjunaJTA/INSTALL make this step clear.

                                The INSTALL file does point you at the trailmap in the INSTALL tree. I suggest you take a look at this if you have not already done so.