0 Replies Latest reply on Apr 28, 2008 5:41 PM by Martin Rostan

    BA Demo not working on JBoss AS 4.2.2

    Martin Rostan Newbie

      Hi,
      I'm trying to run the BA Framework Demo application in a JBoss 4.2.2.GA.
      The first problem I've found is the URL of the HotelService WSDL (caused by the new JBossWS included in 4.2.2), I've fixed it replacing http://localhost:8080/HotelImplService/HotelImpl?wsdl to http://127.0.0.1:8080/bademo-hotel/HotelImpl?wsdl and HotelService to HotelImplService in the service QName

      The next problem I've found is the following exception:

      http-127.0.0.1-8080-1)
      2008-04-28 18:27:18,355 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/xts].[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)
      

      followed by:
      2008-04-28 18:27:18,364 ERROR [STDERR] com.arjuna.wst.SystemException: VersionMismatch[html]
      2008-04-28 18:27:18,365 ERROR [STDERR] at com.arjuna.mwlabs.wst.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:274)
      2008-04-28 18:27:18,365 ERROR [STDERR] at com.arjuna.mwlabs.wst.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:108)
      2008-04-28 18:27:18,365 ERROR [STDERR] at com.arjuna.mwlabs.wst.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:98)
      2008-04-28 18:27:18,365 ERROR [STDERR] at com.jboss.ba.demo.client.HotelService.startBusinessActivity(Unknown Source)
      2008-04-28 18:27:18,365 ERROR [STDERR] at com.jboss.ba.demo.client.HotelService.processRequest(Unknown Source)
      2008-04-28 18:27:18,365 ERROR [STDERR] at com.jboss.ba.demo.client.HotelService.doGet(Unknown Source)
      


      Any ideas?

      I've tried installing the latest JBoss Transaction version, but the same error, maybe is a problem related to the JBossWS version.

      Thanks in advance,
      Martin