5 Replies Latest reply on Apr 6, 2009 4:15 AM by Andrew Dinn

    A Question about Baframework

    Andrey Bukhman Newbie

      Hi.
      I try to start your programm BAFRAMEWORK.
      I clicked Initialise data (they were initialised), but then i try
      to start Business Activity and i recieve a mistake:
      Exception thrown:
      VersionMismatch[html] and so on


      23:52:54,921 INFO [HotelService] processRequest()
      23:52:54,937 INFO [HotelService] Current state: 1
      23:52:54,937 INFO [HotelService] Business Activity request: true
      23:52:54,937 INFO [HotelService] Method name: startBA
      23:52:54,937 INFO [HotelService] Parameters: null
      23:52:54,937 INFO [HotelService] Starting Business Activity
      23:52:55,906 INFO [JaxWSClientHeaderContextProcessor] handleOutbound
      23:53:05,265 INFO [JaxWSServerHeaderContextProcessor] handleInbound
      23:53:06,765 INFO [HotelImpl] resetView()
      23:53:06,781 INFO [JaxWSServerHeaderContextProcessor] handleOutbound
      23:53:07,093 INFO [JaxWSClientHeaderContextProcessor] handleInbound
      23:53:07,093 INFO [JaxWSClientHeaderContextProcessor] handleOutbound
      23:53:08,296 INFO [JaxWSServerHeaderContextProcessor] handleInbound
      23:53:08,343 INFO [JaxWSServerHeaderContextProcessor] handleOutbound
      23:53:08,343 INFO [JaxWSClientHeaderContextProcessor] handleInbound
      23:53:09,078 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:182)
      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:619)
      23:53:09,359 ERROR [STDERR] com.arjuna.wst.SystemException: VersionMismatch[html]
      23:53:09,437 ERROR [STDERR] at com.arjuna.mwlabs.wst.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:274)
      23:53:09,437 ERROR [STDERR] at com.arjuna.mwlabs.wst.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:108)
      23:53:09,437 ERROR [STDERR] at com.arjuna.mwlabs.wst.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:98)
      23:53:09,437 ERROR [STDERR] at com.jboss.ba.demo.client.HotelService.startBusinessActivity(Unknown Source)
      23:53:11,562 ERROR [STDERR] at com.jboss.ba.demo.client.HotelService.processRequest(Unknown Source)
      23:53:11,562 ERROR [STDERR] at com.jboss.ba.demo.client.HotelService.doGet(Unknown Source)
      23:53:11,562 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
      23:53:11,562 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      23:53:11,562 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      23:53:11,562 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      23:53:11,562 ERROR [STDERR] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
      23:53:11,562 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      23:53:11,562 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      23:53:11,562 ERROR [STDERR] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
      23:53:11,562 ERROR [STDERR] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
      23:53:11,562 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
      23:53:11,562 ERROR [STDERR] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
      23:53:11,562 ERROR [STDERR] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      23:53:11,562 ERROR [STDERR] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      23:53:11,562 ERROR [STDERR] at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
      23:53:11,562 ERROR [STDERR] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      23:53:11,562 ERROR [STDERR] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
      23:53:11,562 ERROR [STDERR] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
      23:53:11,562 ERROR [STDERR] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
      23:53:11,562 ERROR [STDERR] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
      23:53:11,562 ERROR [STDERR] at java.lang.Thread.run(Thread.java:619)


      May be someone had such a mistake?

      Thanks

        • 1. Re: A Question about Baframework
          Mark Little Master

          Do not post user-level questions to the Design Forum. I have deleted that post.

          • 2. Re: A Question about Baframework
            Andrew Dinn Master

            Which versions of the BA framework, JBossTS code and App Server have you used?

            • 3. Re: A Question about Baframework
              Andrey Bukhman Newbie

              I used the BA Framework 0.2.1.GA , jboss-4.2.3.GA, jbossts-full-4.2.3.SP5

              • 4. Re: A Question about Baframework
                Andrey Bukhman Newbie

                Hi.
                I try to start a programm BAFRAMEWORK.
                I use Eclipse.
                I clicked Initialise data (they were initialised), but then i try
                to start Business Activity and i recieve a mistake:
                Exception thrown:
                VersionMismatch[html] and so on:


                23:52:54,921 INFO [HotelService] processRequest()
                23:52:54,937 INFO [HotelService] Current state: 1
                23:52:54,937 INFO [HotelService] Business Activity request: true
                23:52:54,937 INFO [HotelService] Method name: startBA
                23:52:54,937 INFO [HotelService] Parameters: null
                23:52:54,937 INFO [HotelService] Starting Business Activity
                23:52:55,906 INFO [JaxWSClientHeaderContextProcessor] handleOutbound
                23:53:05,265 INFO [JaxWSServerHeaderContextProcessor] handleInbound
                23:53:06,765 INFO [HotelImpl] resetView()
                23:53:06,781 INFO [JaxWSServerHeaderContextProcessor] handleOutbound
                23:53:07,093 INFO [JaxWSClientHeaderContextProcessor] handleInbound
                23:53:07,093 INFO [JaxWSClientHeaderContextProcessor] handleOutbound
                23:53:08,296 INFO [JaxWSServerHeaderContextProcessor] handleInbound
                23:53:08,343 INFO [JaxWSServerHeaderContextProcessor] handleOutbound
                23:53:08,343 INFO [JaxWSClientHeaderContextProcessor] handleInbound
                23:53:09,078 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:182)
                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:619)
                23:53:09,359 ERROR [STDERR] com.arjuna.wst.SystemException: VersionMismatch[html]
                23:53:09,437 ERROR [STDERR] at com.arjuna.mwlabs.wst.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:274)
                23:53:09,437 ERROR [STDERR] at com.arjuna.mwlabs.wst.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:108)
                23:53:09,437 ERROR [STDERR] at com.arjuna.mwlabs.wst.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:98)
                23:53:09,437 ERROR [STDERR] at com.jboss.ba.demo.client.HotelService.startBusinessActivity(Unknown Source)
                23:53:11,562 ERROR [STDERR] at com.jboss.ba.demo.client.HotelService.processRequest(Unknown Source)
                23:53:11,562 ERROR [STDERR] at com.jboss.ba.demo.client.HotelService.doGet(Unknown Source)
                23:53:11,562 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
                23:53:11,562 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
                23:53:11,562 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
                23:53:11,562 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                23:53:11,562 ERROR [STDERR] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
                23:53:11,562 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                23:53:11,562 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                23:53:11,562 ERROR [STDERR] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
                23:53:11,562 ERROR [STDERR] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
                23:53:11,562 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
                23:53:11,562 ERROR [STDERR] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
                23:53:11,562 ERROR [STDERR] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
                23:53:11,562 ERROR [STDERR] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
                23:53:11,562 ERROR [STDERR] at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
                23:53:11,562 ERROR [STDERR] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
                23:53:11,562 ERROR [STDERR] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
                23:53:11,562 ERROR [STDERR] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
                23:53:11,562 ERROR [STDERR] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
                23:53:11,562 ERROR [STDERR] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
                23:53:11,562 ERROR [STDERR] at java.lang.Thread.run(Thread.java:619)


                May be someone had such a mistake?

                Thanks

                I use BA Framework 0.2.1.GA , jboss-4.2.3.GA, jbossts-full-4.2.3.SP5

                • 5. Re: A Question about Baframework
                  Andrew Dinn Master

                  This is a known bug in JBossTS 4.2.3.SP5. Upgrade to SP7 or SP8 and it should work ok.