1 2 Previous Next 17 Replies Latest reply on Aug 23, 2007 12:40 PM by darek_p

    Problems with quickstart webservice_bpel

    darek_p

      Hi
      I am trying to deploy quickstart webservice_bpel but I got the following error:

      2007-08-02 16:22:16,845 ERROR [org.jboss.deployment.scanner.URLDeploymentScanner] Incomplete Deployment listing:
      
      --- MBeans waiting for other MBeans ---
      ObjectName: jboss.esb:deployment=Quickstart_webservice_bpel.esb
       State: FAILED
       Reason: java.lang.RuntimeException: org.jboss.soa.esb.listeners.lifecycle.ManagedLifecycleException: Unexpected exception while instantiating managed instance
       I Depend On:
       jboss.esb:deployment=soap.esb
       jboss.esb:service=SoapUIClientService
       jboss.esb:deployment=smooks.esb
       jboss.esb.quickstart.destination:service=Queue,name=quickstart_webservice_bpel_gw
       jboss.esb.quickstart.destination:service=Queue,name=quickstart_webservice_bpel_esb
       jboss.esb.quickstart.destination:service=Queue,name=quickstart_webservice_bpel_esb_reply
      
      --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
      ObjectName: jboss.esb:deployment=Quickstart_webservice_bpel.esb
       State: FAILED
       Reason: java.lang.RuntimeException: org.jboss.soa.esb.listeners.lifecycle.ManagedLifecycleException: Unexpected exception while instantiating managed instance
       I Depend On:
       jboss.esb:deployment=soap.esb
       jboss.esb:service=SoapUIClientService
       jboss.esb:deployment=smooks.esb
       jboss.esb.quickstart.destination:service=Queue,name=quickstart_webservice_bpel_gw
       jboss.esb.quickstart.destination:service=Queue,name=quickstart_webservice_bpel_esb
       jboss.esb.quickstart.destination:service=Queue,name=quickstart_webservice_bpel_esb_reply
      


      I have installed (on Windows) all required components according to me in this order:
      1) jboss-4.2.0.GA
      and into messaging server
      2) jboss-messaging-1.3.0.GA: ant -f release-admin.xml
      3) jbossws-native-2.0.0.GA: ant deploy-jboss42 (what for is build.bat ? it doesn?t work)
      4) jbossesb-4.2MR3: ant deploy
      5) jbossesb-4.2MR3: ant deployIntros
      6) webservice_bpel: ant deploy -> ERROR

      Thanks in advance for help
      Darek


        • 1. Re: Problems with quickstart webservice_bpel
          burrsutter

          Can you first test webservice_producer and webservice_consumer1?

          Those are subsets of the functionality found in webservice_bpel which has a lot of moving parts. You will need to pull consumer out of SVN.

          webservice_bpel also requires that you install/configure the right version of Active Endpoints as well.

          • 2. Re: Problems with quickstart webservice_bpel
            darek_p

            I have just deployed and tested webservice_producer and it works. Where can I find webservice_consumer1?

            I have ActiveBPEL version 2.1 (1473). Link http://localhost:18080/BpelAdmin/ gives me the Administartion tool.

            • 4. Re: Problems with quickstart webservice_bpel
              darek_p

              webservcie_consumer1 example works fine. I have even tested the Webservice with soapUI. It seams to be the problem only with webservice_bpel example.

              • 5. Re: Problems with quickstart webservice_bpel
                darek_p

                Hi Burr

                Do you have any further suggestions about fixing the issue with webservice_bpel example?

                Darek

                • 6. Re: Problems with quickstart webservice_bpel
                  marklittle

                  Tom Fennelly did the work around AE integration. Hopefully he can lend a hand when he gets back form vacation (tomorrow).

                  • 7. Re: Problems with quickstart webservice_bpel
                    tfennelly

                    I'll have a look at this guys. Will be back when I've something to report.

                    • 8. Re: Problems with quickstart webservice_bpel
                      darek_p

                      Any news, or the issue is really so difficult.

                      • 9. Re: Problems with quickstart webservice_bpel
                        tfennelly

                        Sorry for the delay on this Darek.

                        I've just gone through this on the latest code in SVN and it failed to reproduce this issue there. I'm in the process of downloading the MR3 release and will come back with my findings there.

                        Again Darek, sorry about the delay on this.

                        • 10. Re: Problems with quickstart webservice_bpel
                          tfennelly

                           

                          "tfennelly" wrote:
                          I'm in the process of downloading the MR3 release and will come back with my findings there.


                          OK, so I downloaded MR3,
                          1. installed a clean AS (4.2.0GA),
                          2. patched it with JBossWS 2.0.0GA (native)
                          3. added the JAXB Intros to JBossWS ('ant deployIntros')
                          4. started the AS
                          5. deployed and ran the quickstart (end to end)

                          So, I failed to produce this issue again Darek. Did you restart the AS after patching it? I didn't see that in the original list you posted.

                          • 11. Re: Problems with quickstart webservice_bpel
                            tfennelly

                            Of course I forgot to mention that I deployed the ESB onto the AS :-)

                            • 12. Re: Problems with quickstart webservice_bpel
                              darek_p

                              Thanks Tom for checking it out but we must make at least one step in differently. To execute all examples I followed the steps discribed e.g. in the following posting: http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4059129#4059129 You don't write anything about messaging. I have created a brand new installation and performed the following steps, but the result is as previous:
                              1. Install JBoss-4.2.0.GA
                              a. unzip C:\INSTALL\JBoss\jboss-4.2.0.GA.zip into C:\Programs\JBoss
                              2. Install JBoss messaging
                              a. unzip C:\INSTALL\JBoss\jboss-messaging-1.3.0.GA.zip into C:\Programs\JBoss
                              b. create and run install.bat in C:\Programs\JBoss\jboss-messaging-1.3.0.GA\util
                              set JAVA_HOME=C:\Programme\java\jdk1.5.0_11
                              set JAVA_HOME=C:\Programs\Java\jdk1.6.0_02
                              set JBOSS_HOME=C:\Programs\JBoss\jboss-4.2.0.GA
                              ant -f release-admin.xml > log.txt
                              3. Install JBossWS
                              a. unzip C:\INSTALL\JBoss\jbossws-native-2.0.0.GA.zip into C:\Programs\JBoss
                              b. ant.properties
                              jboss42.home=C:/Programs/JBoss/jboss-4.2.0.GA
                              jbossws.integration.target=jboss42
                              jboss.server.instance=messaging
                              c. create and rune my_build.bat
                              set JAVA_HOME=C:\Programs\Java\jdk1.6.0_02
                              ant deploy-jboss42 > log.txt
                              4. Install JBoss ESB 4.2
                              a. unzip C:\INSTALL\JBoss\jbossesb-4.2MR3.zip into C:\Programs\JBoss\jbossesb-4.2MR3
                              b. copy install\deployment.properties.example install\deployment.properties
                              c. install\deployment.properties
                              org.jboss.esb.server.home=C:/Programs/JBoss/jboss-4.2.0.GA
                              org.jboss.esb.server.config=messaging
                              org.jboss.esb.tomcat.home=C:/Programme/Apache Software Foundation/Tomcat 5.5
                              d. create and run install\install.bat
                              set JAVA_HOME=C:\Programs\Java\jdk1.6.0_02
                              set JBOSS_HOME=C:\Programs\JBoss\jboss-4.2.0.GA
                              ant deploy > deploy_log.txt
                              e. create and run install\install_intros.bat
                              set JAVA_HOME=C:\Programs\Java\jdk1.6.0_02
                              set JBOSS_HOME=C:\Programs\JBoss\jboss-4.2.0.GA
                              ant deployIntros > intros_log.txt
                              5. Run platform
                              a. run JBoss
                              create and run run_messaging.bat
                              JAVA_HOME=C:\Programs\Java\jdk1.6.0_02
                              .\run.bat -c messaging
                              6. start Tomcat Service
                              'Customer' and 'OrderProcess' BPEL processes are already deployed.
                              7. deploy webservice_bpel
                              The same error as in my first post

                              Have I missed a step? Wrong version? I have checked almost all of the other examples, and they work.

                              Darek

                              • 13. Re: Problems with quickstart webservice_bpel
                                tfennelly

                                Hi Darek.

                                So JBossMessage should (in theory (tm) ;-) ) have nothing to do with this quickstart - it should work with either. So, if you could start again and skip the JBossMessageing install (stick with JBossMQ) for now. This will at least tell us is thre something funny in the quickstart re JBossMQ/JBossMessaging.

                                You're using a non "default" server instance. Can you try from a clean AS and just use the default for now?

                                Which version of the JDK are you using? Looking at what you posted there, yer using 1.6. It needs to be 1.5. We obviously don't have this set prominently enough in the docs.

                                • 14. Re: Problems with quickstart webservice_bpel
                                  darek_p

                                  Hi Tom

                                  I have repeated the procedure with the following changes:
                                  1. JDK 1.5.0_12
                                  2. I skipped the step JBoss messaging (and creating messaging server)
                                  3. consequently I used "default" server

                                  The same error. Just in case I have checked helloworld and webservice_producer and they work.

                                  What else can I check?

                                  Darek

                                  1 2 Previous Next