5 Replies Latest reply on Sep 19, 2008 5:40 AM by sanjoa

    Can't Install JBossESB

    stedou

      hi,

      I've been trying to install the JBoss ESB for the last few days with no success. I have read the documentation and followed the steps with no luck. I have done the following:

      1) Installed AS 4.2.2 GA through GEMS 1.2.1 CR4
      2) During installation I selected all default options.
      3) Downloaded JBoss ESB 4.4
      4) Modified the install properties and run ant
      5) Build appears to work with no errors
      6) Fix the path in login-config.xml for messaging-users.xml and messaging-roles.xml
      7) Copy jboss-remoting.jar version 2.2.2 SP2 into default/lib
      8) Start the Jboss AS

      What happens is the following:

      I reveive a re-occurring exception regarding the JMS provider which does not seem to be up.

      09:58:42,960 ERROR [JmsActivation] Unable to reconnect org.jboss.resource.adapter.jms.inflow.JmsActivationSpec@1cc75cb(r
      lbackQueue isTopic=false tx=true durable=false reconnect=10 provider=java:/DefaultJMSProvider user=null maxMessages=1 mi
      e.adapter.jms.inflow.dlq.GenericDLQHandler DLQJndiName=queue/DLQ DLQUser=null DLQMaxResent=5)
      javax.naming.CommunicationException: Could not obtain connection to any of these urls: 127.0.0.1:1100 and discovery fail
      ption is java.net.SocketTimeoutException: Receive timed out] [Root exception is javax.naming.CommunicationException: Fai
      navailableException: Failed to connect to server 127.0.0.1:1100 [Root exception is java.net.ConnectException: Connection
       at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1562)
       at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:634)
       at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:627)
       at javax.naming.InitialContext.lookup(InitialContext.java:351)
       at org.jboss.util.naming.Util.lookup(Util.java:215)
       at org.jboss.resource.adapter.jms.inflow.dlq.AbstractDLQHandler.setupDLQDestination(AbstractDLQHandler.java:106)
       at org.jboss.resource.adapter.jms.inflow.dlq.AbstractDLQHandler.setup(AbstractDLQHandler.java:82)
       at org.jboss.resource.adapter.jms.inflow.dlq.JBossMQDLQHandler.setup(JBossMQDLQHandler.java:48)
       at org.jboss.resource.adapter.jms.inflow.JmsActivation.setupDLQ(JmsActivation.java:369)
       at org.jboss.resource.adapter.jms.inflow.JmsActivation.setup(JmsActivation.java:315)
       at org.jboss.resource.adapter.jms.inflow.JmsActivation.handleFailure(JmsActivation.java:259)
       at org.jboss.resource.adapter.jms.inflow.JmsActivation$SetupActivation.run(JmsActivation.java:639)
       at org.jboss.resource.work.WorkWrapper.execute(WorkWrapper.java:204)
       at org.jboss.util.threadpool.BasicTaskWrapper.run(BasicTaskWrapper.java:275)
       at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:756)
       at java.lang.Thread.run(Thread.java:595)
      Caused by: javax.naming.CommunicationException: Failed to connect to server 127.0.0.1:1100 [Root exception is javax.nami
       exception is java.net.ConnectException: Connection refused: connect]]


      Can anyone help?

      Thanks Stephen

        • 1. Re: Can't Install JBossESB
          tfennelly

          Try getting the ESB Server up and first i.e. forget about the App Server for now. The ESB Server is preconfigured with JBM. It sounds like you've missed something in the JBM upgrade on the App Server.

          • 2. Re: Can't Install JBossESB
            stedou

            hi,

            Thanks for your quick reply. We have managed to get a 'pre-packed' server up with ESB but if we are going to use the ESB in production we will need to install and configure existing JBOSS AS servers. This means I need to know the exact steps for installation. We don't want to setup a special server just for the ESB.

            Is this a database problem with JBM or configuration? Where should I be looking?

            Thanks
            Stephen

            • 3. Re: Can't Install JBossESB
              tfennelly

              In that case, what I'd do is forget completely about JBossESB initially and just concentrate on patching the As with JBM. The JBM documentation has detailed instructions for doing this. Use JBM v1.4.

              Once you're satisfied that your AS is properly patched with JBM (starts with no errors - maybe even try one of the JBM examples etc etc), then install the ESB on top of the AS as per the ESB install instructions.

              • 4. Re: Can't Install JBossESB
                stedou

                hi,

                Thing is when I install 4.4.2 GA there are a number of messaging options, messaging, JBoss Message Queue, etc.. Not sure what I should chose. I want the simplest possible.

                Any idea which version I should be patching JBM to?

                Thanks
                Stephen

                • 5. Re: Can't Install JBossESB
                  sanjoa