10 Replies Latest reply on Jul 22, 2011 2:14 PM by Kurt Stam

    JBoss 4.9 jUDDI question

    Anton Che Newbie

      Hi all!

      We're evaluating JBoss ESB for our project - and the question is - What we have to do in order to be able to use jUDDI service (after launching fresh installation of JBoss ESB)?

      Unfortunataly there aren't a lot of info we found regarding JUDDI support..

      Is jUDDI available by default? If not how to enable it?

        • 1. Re: JBoss 4.9 jUDDI question
          Tom Cunningham Master

          If you take a look at the Services Guide (http://docs.jboss.org/jbossesb/docs/4.9/manuals/html/Services_Guide/index.html), there is a lot of information regarding jUDDI support within JBoss ESB.    "jUDDI" is available by default, but if you are referring to the UDDI web service APIs, you have to install the juddiv3.war in 4.9.      If you install 4.10 onto either AS 5 or AS6, you should get that for free.

          • 2. Re: JBoss 4.9 jUDDI question
            Anton Che Newbie

            Tim, thanks a lot for your advice, but...)

            I've read the Service Guide and still have few question:

            1. As far as i understand if i need to enable access through SOAP i need to change manually  transport setting and enable SOAP support

            2. To install jUDDI.war - means just copying it to JBoss ESB jbossesb.sar folder?

            3.  "If you install 4.10 onto either AS 5 or AS6" - i meant fresh installation of only JBossESB package. Does it work in that case? Do i need to install AS to enable jUDDI support?

            • 3. Re: JBoss 4.9 jUDDI question
              Tom Cunningham Master

              Anton Che wrote:

               

              Tim, thanks a lot for your advice, but...)

              I've read the Service Guide and still have few question:

              1. As far as i understand if i need to enable access through SOAP i need to change manually  transport setting and enable SOAP support

              2. To install jUDDI.war - means just copying it to JBoss ESB jbossesb.sar folder?

              3.  "If you install 4.10 onto either AS 5 or AS6" - i meant fresh installation of only JBossESB package. Does it work in that case? Do i need to install AS to enable jUDDI support?

               

               

              1. On the client side, yes, if you want to use SOAP to contact jUDDI you want to change your uddi.xml settings to use the WS endpoints. 

               

              2. I would suggest copying it to server/<profile>/deploy

               

              3.  I'm not sure what you are saying here.     Are you saying that you are using the AS 4.2.3 based jbossesb-server?      Part of using the ESB is installing it to the app server, whether you use the preconfigured and stripped down jbossesb-server which is based off AS 4.2.3, or you use JBoss AS 5/6?    What are you currently using?

               

              My suggestion for this, if you can choose, would be to use 5.1.0.GA with ESB 4.10.      juddiv3.war will be installed a part of the ESB installation in that scenario.

              • 4. Re: JBoss 4.9 jUDDI question
                Anton Che Newbie

                I used just jbossesb-server-4.9.zip.

                So as far as i understand it uses AS 4.2

                 

                So, in case of proposed by you scenario (5.1.0 GA + ESB 4.10) i will have access to web-services API by default without any preconfiguration (

                 

                http://localhost:8080/juddi/inquiry will be accesible) ?

                 

                Thanks for you help

                 

                • 5. Re: JBoss 4.9 jUDDI question
                  Tom Cunningham Master

                  Anton Che wrote:

                   

                  So, in case of proposed by you scenario (5.1.0 GA + ESB 4.10) i will have access to web-services API by default without any preconfiguration (

                   

                  http://localhost:8080/juddi/inquiry will be accesible) ?

                   

                  Thanks for you help

                   

                   

                  Yes, exactly - although I think the endpoint might be at a different location, and you'll have to take that into account when crafting your uddi.xml.     Once you've got everything installed on top of 5.1.0.GA, pull up http://localhost:8080/jbossws and check "View a List of Deployed Services" to see what the endpoint addresses are.

                  • 6. Re: JBoss 4.9 jUDDI question
                    Anton Che Newbie

                    Tom,

                    1. I deployed jUDDI.war to server/<profile>/deploy. and got an error "jdbc/juddiDB has no valid JNDI binding. Check the jboss-web/resource-ref"  (JBossESB 4.9)

                    2. JBoss ESB 4.10  http://localhost:8080/jbossws - i see only mine services, nothing regarding UDDI

                     

                    What i do wrong?

                    • 7. Re: JBoss 4.9 jUDDI question
                      Tom Cunningham Master

                      Couple of things :

                       

                      - there's no need for you to deploy the juddi.war, it should be doing it for you

                      - if you are using JDK 1.6, make sure you are using jboss-5.1.0.GA-jdk6.zip

                      - as long as you follow step 3 in the getting started guide (http://docs.jboss.org/jbossesb/docs/4.10/manuals/html/Getting_Started_Guide/index.html) - the changing your deployment.properties and then ant deploy, you should be set.    Ignore steps 3.1 and 3.2 for now.

                      • 8. Re: JBoss 4.9 jUDDI question
                        Anton Che Newbie

                        Tom,

                        1. i thought jBoss ESB 4.9 doesn't contain jUDDI.war so i need to deploy it by myself

                        2. jBoss ESB 4.9 relies on 4.2.3.GA

                        3. JBoss 4.10 uses GA 5.1 but the question was that after unpackin&running JBoss ESB 4.10 i don't see http://localhost:8080/jbossws jUDDI API

                        • 9. Re: JBoss 4.9 jUDDI question
                          Tom Cunningham Master

                          Anton,

                           

                          This probably isn't going to work on 4.2.3.GA without modification, and I haven't tried this on ESB 4.9.    Please download the 5.1.0 AS - jboss-5.1.0.GA.zip (or jboss-5.1.0.GA-jdk6.zip if you are using jdk6) and install to that using JBoss ESB 4.10.      The ESB 4.10 esb-server is still using 4.2.3.GA, so that will not work either - you really need to download 5.1.0.GA AS from the jboss website.

                           

                          --Tom

                          • 10. Re: JBoss 4.9 jUDDI question
                            Kurt Stam Master

                            Hi Anton,

                             

                            The jbossesb-server-4.10.zip download does not seem to have the juddiv3.war deployed. However if you get the jbossesb-4.10.zip and deploy

                            that to jbossas-5.1.0.GA than this *does* have the juddiv3.war. After startup you should the jUDDI welcome page at:

                            http://localhost:8080/juddiv3/ and you should see the webservice endpoints at http://localhost:8080/jbossws/services.

                             

                            Hope this clears things up.

                             

                            --Kurt