3 Replies Latest reply on Nov 3, 2006 1:16 PM by bobsmith

    ESB Test Example -

    bobsmith

      I get an error starting JBoss when trying to run the ESB Test Example from the Getting Started Guide. I drop a ".inp" file into the input folder and the file is copied correctly but, not surprisingly, I got an exception when it was trying to send a notification - due to JBoss not running I guess.

      However, when I try to start JBoss I get a deployment exception around the properties-service.xml in the deploy folder. The problem is the URLList - I'm not sure what it should be set to but this:

       <attribute name="URLList">
       http://localhost:8080/jbossEsb.properties,
       ./conf/jbossEsb.properties
       </attribute>
      

      results in an exception:
      Problem configuring service jboss:type=Service,name=SystemProperties
      org.jboss.deployment.DeploymentException: Exception setting attribute javax.management.Attribute@60029d on mbean jboss:type=Service,name=SystemProperties; - nested throwable: (java.net.ConnectException: Connection refused: connect)
       at org.jboss.system.ServiceConfigurator.setAttribute(ServiceConfigurator.java:698)
      ...
      Caused by: java.net.ConnectException: Connection refused: connect
      ...
      

      I installed JBoss4.0.4 using jboss-4.0.4.GA-Patch1-installer.jar (selected esb3.0 as the InstallType, as instructed by the ESB Getting Started Guide).
      I have installed the binary version of ESB (jbossesb-4.0Beta1MP1.zip), following the instructions in the readme.txt therein. I am trying to run the Test Example from the Getting Started Guide, so I amended the jbossEsb.properties in my JBoss/server//conf folder to:
      org.jboss.soa.esb.mail.smtp.host=<ip of my mail provider>
      org.jboss.soa.esb.mail.smtp.user= <valid email account>
      org.jboss.soa.esb.mail.smtp.password=<correct password>
      org.jboss.soa.esb.mail.smtp.port=587 (should I set this to 25?)
      org.jboss.soa.esb.objStore.configfile=file:///C:/<my esb installation>/docs/samples/TestJBossESB/conf/ObjStoreExample.xml

      Anyone know what I've got wrong?

      Thanks
      Bob

        • 1. Re: ESB Test Example -
          bobsmith

          Sorry about the bad subject line, I posted before completing it. I was going to put:
          ESB Test Example - JBoss error deploying properties-service.xml.

          • 2. Re: ESB Test Example -
            arvinder

            Are you able to resolve the url http://localhost:8080/jbossEsb.properties ?

            I am not sure why you have http://localhost:8080/jbossEsb.properties as part of the attribute value. I don't remember seeing it configured this way. Can you remove this value and see what happens?

            • 3. Re: ESB Test Example - JBoss error deploying properties-serv
              bobsmith

              Thanks for your reply. I had copied the commented out URIList entry from the properties-service.xml that came in the jar - they had read:

               <attribute name="URLList">
               http://somehost/some-location.properties,
               ./conf/somelocal.properties
               </attribute>
              

              rather than follow the instructions in step 2 of the ESB binary distribution Readme.txt which stated:
              Edit the properties-service.xml in your <JBOSS_HOME>/server/all/deploy directory and add the following attribute entry:
               <attribute name="URLList">
               ./conf/jbossEsb.properties
               </attribute>
              

              JBoss starts without error when I corrected this. Thanks for your help.

              Cheers,
              Bob