7 Replies Latest reply on Nov 30, 2007 8:51 AM by Pavel Kadlec

    I can not redeploy webservice_producer

    Pavel Kadlec Novice

      Hello, I can not redeploy webservice_producer. I got exception


      13:06:43,917 INFO [CoyoteInvoker] Using org.apache.coyote.http11.Http11AprProtocol for http (coyote) invoker protocol handler.
      13:06:43,928 ERROR [Http11AprProtocol] Error initializing endpoint
      java.lang.Exception: Socket bind failed: [98] Address already in use
      at org.apache.tomcat.util.net.AprEndpoint.init(AprEndpoint.java:612)
      at org.apache.coyote.http11.Http11AprProtocol.init(Http11AprProtocol.java:121)
      at org.jboss.remoting.transport.coyote.CoyoteInvoker.start(CoyoteInvoker.java:235)
      at org.jboss.remoting.transport.Connector.start(Connector.java:322)
      at org.jboss.soa.esb.listeners.gateway.JBossRemotingGatewayListener.startJBRServer(JBossRemotingGatewayListener.java:249)
      at org.jboss.soa.esb.listeners.gateway.JBossRemotingGatewayListener.doStart(JBossRemotingGatewayListener.java:221)
      at org.jboss.soa.esb.listeners.lifecycle.AbstractManagedLifecycle.start(AbstractManagedLifecycle.java:169)
      at org.jboss.soa.esb.listeners.lifecycle.ManagedLifecycleController.startInstances(ManagedLifecycleController.java:177)
      at org.jboss.soa.esb.listeners.lifecycle.ManagedLifecycleController.start(ManagedLifecycleController.java:70)
      at org.jboss.soa.esb.listeners.config.JBoss4ESBDeployment.startService(JBoss4ESBDeployment.java:83)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
      at $Proxy0.start(Unknown Source)
      at org.jboss.system.ServiceController.start(ServiceController.java:417)
      at org.jboss.system.ServiceController.start(ServiceController.java:435)
      at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
      at $Proxy4.start(Unknown Source)
      at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1015)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
      at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
      at $Proxy9.deploy(Unknown Source)
      at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:274)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225)
      13:06:43,931 ERROR [CoyoteInvoker] Error starting protocol handler. Bind port: 8765, bind address: localhost
      java.lang.Exception: Socket bind failed: [98] Address already in use
      at org.apache.tomcat.util.net.AprEndpoint.init(AprEndpoint.java:612)
      at org.apache.coyote.http11.Http11AprProtocol.init(Http11AprProtocol.java:121)
      at org.jboss.remoting.transport.coyote.CoyoteInvoker.start(CoyoteInvoker.java:235)
      at org.jboss.remoting.transport.Connector.start(Connector.java:322)
      at org.jboss.soa.esb.listeners.gateway.JBossRemotingGatewayListener.startJBRServer(JBossRemotingGatewayListener.java:249)
      at org.jboss.soa.esb.listeners.gateway.JBossRemotingGatewayListener.doStart(JBossRemotingGatewayListener.java:221)
      at org.jboss.soa.esb.listeners.lifecycle.AbstractManagedLifecycle.start(AbstractManagedLifecycle.java:169)
      at org.jboss.soa.esb.listeners.lifecycle.ManagedLifecycleController.startInstances(ManagedLifecycleController.java:177)
      at org.jboss.soa.esb.listeners.lifecycle.ManagedLifecycleController.start(ManagedLifecycleController.java:70)
      at org.jboss.soa.esb.listeners.config.JBoss4ESBDeployment.startService(JBoss4ESBDeployment.java:83)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
      at $Proxy0.start(Unknown Source)
      at org.jboss.system.ServiceController.start(ServiceController.java:417)
      at org.jboss.system.ServiceController.start(ServiceController.java:435)
      at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
      at $Proxy4.start(Unknown Source)
      at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1015)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
      at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
      at $Proxy9.deploy(Unknown Source)
      at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:274)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225)
      13:06:43,933 ERROR [Connector] Error starting connector.
      java.io.IOException: Socket bind failed: [98] Address already in use
      at org.jboss.remoting.transport.coyote.CoyoteInvoker.start(CoyoteInvoker.java:244)
      at org.jboss.remoting.transport.Connector.start(Connector.java:322)
      at org.jboss.soa.esb.listeners.gateway.JBossRemotingGatewayListener.startJBRServer(JBossRemotingGatewayListener.java:249)
      at org.jboss.soa.esb.listeners.gateway.JBossRemotingGatewayListener.doStart(JBossRemotingGatewayListener.java:221)
      at org.jboss.soa.esb.listeners.lifecycle.AbstractManagedLifecycle.start(AbstractManagedLifecycle.java:169)
      at org.jboss.soa.esb.listeners.lifecycle.ManagedLifecycleController.startInstances(ManagedLifecycleController.java:177)
      at org.jboss.soa.esb.listeners.lifecycle.ManagedLifecycleController.start(ManagedLifecycleController.java:70)
      at org.jboss.soa.esb.listeners.config.JBoss4ESBDeployment.startService(JBoss4ESBDeployment.java:83)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
      at $Proxy0.start(Unknown Source)
      at org.jboss.system.ServiceController.start(ServiceController.java:417)
      at org.jboss.system.ServiceController.start(ServiceController.java:435)
      at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
      at $Proxy4.start(Unknown Source)
      at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1015)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
      at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
      at $Proxy9.deploy(Unknown Source)
      at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:274)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225)
      13:06:44,208 INFO [JDBCDataStore] Generated token 'authToken:3864B150-9CE1-11DC-B150-D4FF459AD2F3' for user: 'jbossesb/JBoss ESB User'
      13:06:44,219 INFO [DeleteBindingFunction] Publisher 'jbossesb' deleted BindingTemplate with key: 3805C870-9CE1-11DC-8870-B47701575476
      13:06:44,233 WARN [ServiceController] Problem starting service jboss.esb:deployment=webservice_producer.esb
      org.jboss.soa.esb.listeners.lifecycle.ManagedLifecycleException: Unable to start Remoting Listener instsance org.jboss.soa.esb.listeners.gateway.JBossRemotingGatewayListener
      at org.jboss.soa.esb.listeners.gateway.JBossRemotingGatewayListener.startJBRServer(JBossRemotingGatewayListener.java:254)
      at org.jboss.soa.esb.listeners.gateway.JBossRemotingGatewayListener.doStart(JBossRemotingGatewayListener.java:221)
      at org.jboss.soa.esb.listeners.lifecycle.AbstractManagedLifecycle.start(AbstractManagedLifecycle.java:169)
      at org.jboss.soa.esb.listeners.lifecycle.ManagedLifecycleController.startInstances(ManagedLifecycleController.java:177)
      at org.jboss.soa.esb.listeners.lifecycle.ManagedLifecycleController.start(ManagedLifecycleController.java:70)
      at org.jboss.soa.esb.listeners.config.JBoss4ESBDeployment.startService(JBoss4ESBDeployment.java:83)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
      at $Proxy0.start(Unknown Source)
      at org.jboss.system.ServiceController.start(ServiceController.java:417)
      at org.jboss.system.ServiceController.start(ServiceController.java:435)
      at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
      at $Proxy4.start(Unknown Source)
      at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1015)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
      at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
      at $Proxy9.deploy(Unknown Source)
      at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:274)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225)
      Caused by: java.io.IOException: Socket bind failed: [98] Address already in use
      at org.jboss.remoting.transport.coyote.CoyoteInvoker.start(CoyoteInvoker.java:244)
      at org.jboss.remoting.transport.Connector.start(Connector.java:322)
      at org.jboss.soa.esb.listeners.gateway.JBossRemotingGatewayListener.startJBRServer(JBossRemotingGatewayListener.java:249)
      ... 53 more


      It seems like the undeploying of webservice_producer does not close openned sockets. I use JBossAS 4.2.1.GA, JBossESB 4.2.1.GA

      Thanks for help

      Pavel

        • 1. Re: I can not redeploy webservice_producer
          Tom Fennelly Master

          A few suggestions...

          Do you have another .esb deployed that's using the jbr-listener? If so, are they both trying to use the same port?

          Assuming you have no other JBoss AS/ESBServer instances running... can you check see what else is using those ports?

          • 2. Re: I can not redeploy webservice_producer
            Pavel Kadlec Novice

            Hello,


            Do you have another .esb deployed that's using the jbr-listener?

            No, I don't.


            Assuming you have no other JBoss AS/ESBServer instances running... can you check see what else is using those ports?


            I have checked my ports with netstat. These are my outputs....

            The quickstart (jbr-listener) uses ports 8888 (socket) and 8765 (http).

            Before I run JBoss, neither 8888 nor 8765 is used
            localhost:~$ su root
            Password:
            localhost:/home/pavlos# netstat -lnp
            Active Internet connections (servers only)
            Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
            tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 1467/portmap
            tcp 0 0 127.0.0.1:50000 0.0.0.0:* LISTEN 1718/hpiod
            tcp 0 0 127.0.0.1:50002 0.0.0.0:* LISTEN 1723/python
            tcp 0 0 0.0.0.0:52211 0.0.0.0:* LISTEN 1486/rpc.statd
            tcp 0 0 0.0.0.0:26964 0.0.0.0:* LISTEN 2268/skype
            tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 1735/cupsd
            tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 1783/sendmail: acce
            tcp 0 0 :::22 :::* LISTEN 1765/sshd
            udp 0 0 0.0.0.0:32768 0.0.0.0:* 1486/rpc.statd
            udp 0 0 0.0.0.0:32769 0.0.0.0:* 1942/avahi-daemon:
            udp 0 0 127.0.0.1:32771 0.0.0.0:* 2268/skype
            udp 0 0 0.0.0.0:32772 0.0.0.0:* 2268/skype
            udp 0 0 0.0.0.0:814 0.0.0.0:* 1486/rpc.statd
            udp 0 0 0.0.0.0:68 0.0.0.0:* 1394/dhclient
            udp 0 0 0.0.0.0:26964 0.0.0.0:* 2268/skype
            udp 0 0 0.0.0.0:5353 0.0.0.0:* 1942/avahi-daemon:
            udp 0 0 0.0.0.0:111 0.0.0.0:* 1467/portmap
            udp 0 0 0.0.0.0:631 0.0.0.0:* 1735/cupsd
            udp 0 0 :::32770 :::* 1942/avahi-daemon:
            


            Then I started JBoss. After JBoss started, neither 8888 nor 8765 is used. JBoss's PID is 6402.
            localhost:/home/pavlos# netstat -lnp
            Active Internet connections (servers only)
            Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
            tcp 0 0 127.0.0.1:3457 0.0.0.0:* LISTEN 6402/java
            tcp 0 0 127.0.0.1:3873 0.0.0.0:* LISTEN 6402/java
            tcp 0 0 0.0.0.0:39201 0.0.0.0:* LISTEN 6402/java
            tcp 0 0 127.0.0.1:3458 0.0.0.0:* LISTEN 6402/java
            tcp 0 0 0.0.0.0:59717 0.0.0.0:* LISTEN 6402/java
            tcp 0 0 0.0.0.0:43496 0.0.0.0:* LISTEN 6402/java
            tcp 0 0 127.0.0.1:8009 0.0.0.0:* LISTEN 6402/java
            tcp 0 0 127.0.0.1:4457 0.0.0.0:* LISTEN 6402/java
            tcp 0 0 127.0.0.1:1098 0.0.0.0:* LISTEN 6402/java
            tcp 0 0 127.0.0.1:1099 0.0.0.0:* LISTEN 6402/java
            tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 1467/portmap
            tcp 0 0 127.0.0.1:8080 0.0.0.0:* LISTEN 6402/java
            tcp 0 0 127.0.0.1:50000 0.0.0.0:* LISTEN 1718/hpiod
            tcp 0 0 127.0.0.1:5457 0.0.0.0:* LISTEN 6402/java
            tcp 0 0 127.0.0.1:50002 0.0.0.0:* LISTEN 1723/python
            tcp 0 0 127.0.0.1:8083 0.0.0.0:* LISTEN 6402/java
            tcp 0 0 0.0.0.0:52211 0.0.0.0:* LISTEN 1486/rpc.statd
            tcp 0 0 0.0.0.0:26964 0.0.0.0:* LISTEN 2268/skype
            tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 1735/cupsd
            tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 1783/sendmail: acce
            tcp 0 0 127.0.0.1:4444 0.0.0.0:* LISTEN 6402/java
            tcp 0 0 0.0.0.0:48988 0.0.0.0:* LISTEN 6402/java
            tcp 0 0 127.0.0.1:4445 0.0.0.0:* LISTEN 6402/java
            tcp 0 0 127.0.0.1:4446 0.0.0.0:* LISTEN 6402/java
            tcp 0 0 :::22 :::* LISTEN 1765/sshd
            tcp 0 0 :::8443 :::* LISTEN 6402/java
            udp 0 0 0.0.0.0:32768 0.0.0.0:* 1486/rpc.statd
            udp 0 0 0.0.0.0:32769 0.0.0.0:* 1942/avahi-daemon:
            udp 0 0 127.0.0.1:32771 0.0.0.0:* 2268/skype
            udp 0 0 0.0.0.0:32772 0.0.0.0:* 2268/skype
            udp 0 0 0.0.0.0:814 0.0.0.0:* 1486/rpc.statd
            udp 0 0 0.0.0.0:68 0.0.0.0:* 1394/dhclient
            udp 0 0 0.0.0.0:26964 0.0.0.0:* 2268/skype
            udp 0 0 0.0.0.0:5353 0.0.0.0:* 1942/avahi-daemon:
            udp 0 0 0.0.0.0:111 0.0.0.0:* 1467/portmap
            udp 0 0 0.0.0.0:631 0.0.0.0:* 1735/cupsd
            udp 0 0 :::32770 :::* 1942/avahi-daemon:
            


            Then I deployed the quickstart webservice_producer. After deploying, both ports, 8888 and 8765, are occupied.
            Active Internet connections (servers only)
            Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
            tcp 0 0 127.0.0.1:3457 0.0.0.0:* LISTEN 6402/java
            tcp 0 0 127.0.0.1:3873 0.0.0.0:* LISTEN 6402/java
            tcp 0 0 0.0.0.0:39201 0.0.0.0:* LISTEN 6402/java
            tcp 0 0 127.0.0.1:3458 0.0.0.0:* LISTEN 6402/java
            tcp 0 0 0.0.0.0:59717 0.0.0.0:* LISTEN 6402/java
            tcp 0 0 0.0.0.0:43496 0.0.0.0:* LISTEN 6402/java
            tcp 0 0 127.0.0.1:8009 0.0.0.0:* LISTEN 6402/java
            tcp 0 0 127.0.0.1:4457 0.0.0.0:* LISTEN 6402/java
            tcp 0 0 127.0.0.1:1098 0.0.0.0:* LISTEN 6402/java
            tcp 0 0 127.0.0.1:1099 0.0.0.0:* LISTEN 6402/java
            tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 1467/portmap
            tcp 0 0 127.0.0.1:8080 0.0.0.0:* LISTEN 6402/java
            tcp 0 0 127.0.0.1:50000 0.0.0.0:* LISTEN 1718/hpiod
            tcp 0 0 127.0.0.1:5457 0.0.0.0:* LISTEN 6402/java
            tcp 0 0 127.0.0.1:50002 0.0.0.0:* LISTEN 1723/python
            tcp 0 0 127.0.0.1:8083 0.0.0.0:* LISTEN 6402/java
            tcp 0 0 0.0.0.0:52211 0.0.0.0:* LISTEN 1486/rpc.statd
            tcp 0 0 0.0.0.0:26964 0.0.0.0:* LISTEN 2268/skype
            tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 1735/cupsd
            tcp 0 0 127.0.0.1:8888 0.0.0.0:* LISTEN 6402/java
            tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 1783/sendmail: acce
            tcp 0 0 127.0.0.1:4444 0.0.0.0:* LISTEN 6402/java
            tcp 0 0 0.0.0.0:48988 0.0.0.0:* LISTEN 6402/java
            tcp 0 0 127.0.0.1:8765 0.0.0.0:* LISTEN 6402/java
            tcp 0 0 127.0.0.1:4445 0.0.0.0:* LISTEN 6402/java
            tcp 0 0 127.0.0.1:4446 0.0.0.0:* LISTEN 6402/java
            tcp 0 0 :::22 :::* LISTEN 1765/sshd
            tcp 0 0 :::8443 :::* LISTEN 6402/java
            udp 0 0 0.0.0.0:32768 0.0.0.0:* 1486/rpc.statd
            udp 0 0 0.0.0.0:32769 0.0.0.0:* 1942/avahi-daemon:
            udp 0 0 127.0.0.1:32771 0.0.0.0:* 2268/skype
            udp 0 0 0.0.0.0:32772 0.0.0.0:* 2268/skype
            udp 0 0 0.0.0.0:814 0.0.0.0:* 1486/rpc.statd
            udp 0 0 0.0.0.0:68 0.0.0.0:* 1394/dhclient
            udp 0 0 0.0.0.0:26964 0.0.0.0:* 2268/skype
            udp 0 0 0.0.0.0:5353 0.0.0.0:* 1942/avahi-daemon:
            udp 0 0 0.0.0.0:111 0.0.0.0:* 1467/portmap
            udp 0 0 0.0.0.0:631 0.0.0.0:* 1735/cupsd
            udp 0 0 :::32770 :::* 1942/avahi-daemon:
            


            Then I undeployed the quickstart webservice_producer.
            Active Internet connections (servers only)
            Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
            tcp 0 0 127.0.0.1:3457 0.0.0.0:* LISTEN 6402/java
            tcp 0 0 127.0.0.1:3873 0.0.0.0:* LISTEN 6402/java
            tcp 0 0 0.0.0.0:39201 0.0.0.0:* LISTEN 6402/java
            tcp 0 0 127.0.0.1:3458 0.0.0.0:* LISTEN 6402/java
            tcp 0 0 0.0.0.0:59717 0.0.0.0:* LISTEN 6402/java
            tcp 0 0 0.0.0.0:43496 0.0.0.0:* LISTEN 6402/java
            tcp 0 0 127.0.0.1:8009 0.0.0.0:* LISTEN 6402/java
            tcp 0 0 127.0.0.1:4457 0.0.0.0:* LISTEN 6402/java
            tcp 0 0 127.0.0.1:1098 0.0.0.0:* LISTEN 6402/java
            tcp 0 0 127.0.0.1:1099 0.0.0.0:* LISTEN 6402/java
            tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 1467/portmap
            tcp 0 0 127.0.0.1:8080 0.0.0.0:* LISTEN 6402/java
            tcp 0 0 127.0.0.1:50000 0.0.0.0:* LISTEN 1718/hpiod
            tcp 0 0 127.0.0.1:5457 0.0.0.0:* LISTEN 6402/java
            tcp 0 0 127.0.0.1:50002 0.0.0.0:* LISTEN 1723/python
            tcp 0 0 127.0.0.1:8083 0.0.0.0:* LISTEN 6402/java
            tcp 0 0 0.0.0.0:52211 0.0.0.0:* LISTEN 1486/rpc.statd
            tcp 0 0 0.0.0.0:26964 0.0.0.0:* LISTEN 2268/skype
            tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 1735/cupsd
            tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 1783/sendmail: acce
            tcp 0 0 127.0.0.1:4444 0.0.0.0:* LISTEN 6402/java
            tcp 0 0 0.0.0.0:48988 0.0.0.0:* LISTEN 6402/java
            tcp 0 0 127.0.0.1:8765 0.0.0.0:* LISTEN -
            tcp 0 0 127.0.0.1:4445 0.0.0.0:* LISTEN 6402/java
            tcp 0 0 127.0.0.1:4446 0.0.0.0:* LISTEN 6402/java
            tcp 0 0 :::22 :::* LISTEN 1765/sshd
            tcp 0 0 :::8443 :::* LISTEN 6402/java
            udp 0 0 0.0.0.0:32768 0.0.0.0:* 1486/rpc.statd
            udp 0 0 0.0.0.0:32769 0.0.0.0:* 1942/avahi-daemon:
            udp 0 0 127.0.0.1:32771 0.0.0.0:* 2268/skype
            udp 0 0 0.0.0.0:32772 0.0.0.0:* 2268/skype
            udp 0 0 0.0.0.0:814 0.0.0.0:* 1486/rpc.statd
            udp 0 0 0.0.0.0:68 0.0.0.0:* 1394/dhclient
            udp 0 0 0.0.0.0:26964 0.0.0.0:* 2268/skype
            udp 0 0 0.0.0.0:5353 0.0.0.0:* 1942/avahi-daemon:
            udp 0 0 0.0.0.0:111 0.0.0.0:* 1467/portmap
            udp 0 0 0.0.0.0:631 0.0.0.0:* 1735/cupsd
            udp 0 0 :::32770 :::* 1942/avahi-daemon:
            


            As you can see, there is no 8888 port used, but the port 8765 is used. There is written
            tcp 0 0 127.0.0.1:8765 0.0.0.0:* LISTEN -
            


            I will include JBoss output as well
            11:32:44,542 INFO [Server] JBoss (MX MicroKernel) [4.2.1.GA (build: SVNTag=JBoss_4_2_1_GA date=200707131605)] Started in 2m:10s:272ms
            11:39:27,499 INFO [JBoss4ESBDeployer] create esb service, webservice_producer.esb
            11:39:27,587 INFO [QueueService] Queue[/queue/quickstart_webservice_producer_gw] started, fullSize=200000, pageSize=2000, downCacheSize=2000
            11:39:27,671 INFO [QueueService] Queue[/queue/quickstart_webservice_producer_esb] started, fullSize=200000, pageSize=2000, downCacheSize=2000
            11:39:27,839 INFO [QueueService] Queue[/queue/quickstart_webservice_producer_esb_reply] started, fullSize=200000, pageSize=2000, downCacheSize=2000
            11:39:29,271 INFO [JDBCDataStore] Generated token 'authToken:328BAB40-9D9E-11DC-AB40-B349A23FCC8A' for user: 'jbossesb/JBoss ESB User'
            11:39:33,481 INFO [CoyoteInvoker] Using org.apache.coyote.http11.Http11AprProtocol for http (coyote) invoker protocol handler.
            11:39:33,498 INFO [Http11AprProtocol] Initializing Coyote HTTP/1.1 on http-localhost%2F127.0.0.1-8765
            11:39:33,769 INFO [Http11AprProtocol] Starting Coyote HTTP/1.1 on http-localhost%2F127.0.0.1-8765
            11:39:33,770 INFO [JBossRemotingGatewayListener] JBoss Remoting Gateway listener 'Http-Gateway' started.
            11:39:33,915 INFO [JDBCDataStore] Generated token 'authToken:354FD450-9D9E-11DC-9450-89EAF82330C0' for user: 'jbossesb/JBoss ESB User'
            11:39:33,999 INFO [JBossRemotingGatewayListener] JBoss Remoting Gateway listener 'Socket-Gateway' started.
            11:39:34,123 INFO [JDBCDataStore] Generated token 'authToken:356D9580-9D9E-11DC-9580-D9CFE548BB23' for user: 'jbossesb/JBoss ESB User'
            11:39:34,215 INFO [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.
            11:39:34,364 INFO [TomcatDeployer] deploy, ctxPath=/webservice_producer, warUrl=.../tmp/deploy/tmp55660webservice_producer.esb-contents/webservice_producer-exp.war/
            11:39:34,724 INFO [JAXBIntrosCustomizationsDeployer] [/webservice_producer] No JAXB Introductions Configurations specified (META-INF/jaxb-intros.xml).
            11:39:35,039 INFO [WSDLFilePublisher] WSDL published to: file:/home/pavlos/jboss-4.2.1.GA/server/messaging/data/wsdl/webservice_producer.esb/webservice_producer.war/GoodbyeWorldWSService55661.wsdl
            11:39:35,357 INFO [BasicEndpointRegistry] register: jboss.ws:context=webservice_producer,endpoint=GoodbyeWorldWS
            11:39:35,365 INFO [LifecycleHandlerImpl] WebService started: http://127.0.0.1:8080/webservice_producer/GoodbyeWorldWS
            
            
            
            11:43:16,005 INFO [TomcatDeployer] undeploy, ctxPath=/webservice_producer, warUrl=.../tmp/deploy/tmp55660webservice_producer.esb-contents/webservice_producer-exp.war/
            11:43:16,017 INFO [LifecycleHandlerImpl] WebService stopped: http://127.0.0.1:8080/webservice_producer/GoodbyeWorldWS
            11:43:16,018 INFO [BasicEndpointRegistry] remove: jboss.ws:context=webservice_producer,endpoint=GoodbyeWorldWS
            11:43:17,799 INFO [JDBCDataStore] Generated token 'authToken:BABFD540-9D9E-11DC-9540-D94F6FD93C83' for user: 'jbossesb/JBoss ESB User'
            11:43:17,928 INFO [DeleteBindingFunction] Publisher 'jbossesb' deleted BindingTemplate with key: 3571B430-9D9E-11DC-B430-A68487FAAB11
            11:43:18,032 INFO [JBossRemotingGatewayListener] JBoss Remoting Gateway listener 'Socket-Gateway' stopped.
            11:43:18,717 INFO [JDBCDataStore] Generated token 'authToken:BB4CD300-9D9E-11DC-9300-C5EA02802D5E' for user: 'jbossesb/JBoss ESB User'
            11:43:18,836 INFO [DeleteBindingFunction] Publisher 'jbossesb' deleted BindingTemplate with key: 35524550-9D9E-11DC-8550-FA15F1BB404D
            11:43:18,837 INFO [Http11AprProtocol] Stopping Coyote HTTP/1.1 on http-localhost%2F127.0.0.1-8765
            11:43:18,934 INFO [JBossRemotingGatewayListener] JBoss Remoting Gateway listener 'Http-Gateway' stopped.
            11:43:19,330 INFO [JDBCDataStore] Generated token 'authToken:BBAC0A00-9D9E-11DC-8A00-9A7AF41EB661' for user: 'jbossesb/JBoss ESB User'
            11:43:19,339 INFO [DeleteBindingFunction] Publisher 'jbossesb' deleted BindingTemplate with key: 328D8000-9D9E-11DC-8000-854E6FCE0FB4
            11:43:19,553 INFO [QueueService] Queue[/queue/quickstart_webservice_producer_esb_reply] stopped
            11:43:19,556 INFO [QueueService] Queue[/queue/quickstart_webservice_producer_esb] stopped
            11:43:19,560 INFO [QueueService] Queue[/queue/quickstart_webservice_producer_gw] stopped
            


            • 3. Re: I can not redeploy webservice_producer
              Tom Fennelly Master

              Thanks for the info Pavel.

              Looks as though there's a undeploy disconnect issue there for sure. I created a JIRA to track it: JBESB-1378.

              Can you check for the following info log after the undeploy: "JBoss Remoting Gateway listener 'XXX' stopped" (where XXX will be the name jbr-listener config).

              • 4. Re: I can not redeploy webservice_producer
                Tom Fennelly Master

                Sorry... posted too soon there. I can actually see that log in your last post...

                1:43:18,837 INFO [Http11AprProtocol] Stopping Coyote HTTP/1.1 on http-localhost%2F127.0.0.1-8765
                11:43:18,934 INFO [JBossRemotingGatewayListener] JBoss Remoting Gateway listener 'Http-Gateway' sto
                pped.
                


                Hmmm :-) This will be an interesting one. As you can see from that log, the JBoss Remoting Coyote (http) invoker logged that is was stopping the instance on port 8765 (the one that's left open after your undeploy).

                • 5. Re: I can not redeploy webservice_producer
                  Pavel Kadlec Novice

                  Yes, it's weird. I don't know what the hyphen in

                  tcp 0 0 127.0.0.1:8765 0.0.0.0:* LISTEN -
                  


                  means. What process listens on that port???

                  Maybe it's not jboss esb related bug and it's only my (os?) problem, don't know:-) I use JBoss-4.2.1.GA, JBossESB-4.2.1.GA, JBossWS-2.0.0.GA, JBossRemoting-2.2.2.SP2, JBossMessaging-1.3.0.GA. In the evening, I am going to try the quickstart on my other computer (at home), so I will let you know, if it's ok or not.....

                  • 6. Re: I can not redeploy webservice_producer
                    Pavel Kadlec Novice

                    One small info that I have forgot to mention......

                    When I stop JBoss, the port 8765 is released. So it must be hold by JBoss.....

                    • 7. Re: I can not redeploy webservice_producer
                      Pavel Kadlec Novice

                      Hello,

                      when I enable Apache APR, then it throws exception above. When I don't use APR, everything is OK.

                      I use APR 1.2.11 on Fedora 8....