2 Replies Latest reply on Oct 29, 2008 11:35 PM by richard.qin

    Jopr Server startup problem?

    richard.qin

      I installed Jopr server on centos 5.2 according the wiki:http://www.jboss.org/community/docs/DOC-12828. when I startup the Jopr server, I got the following exception:

      2008-10-27 16:33:46,157 ERROR [org.jboss.remoting.transport.socket.SocketServerInvoker] Error starting ServerSocket. Bind port: 4873, bind address: /202.106.199.36
      2008-10-27 16:33:46,161 ERROR [org.jboss.remoting.transport.Connector] Error starting connector.
      java.net.BindException: Cannot assign requested address
       at java.net.PlainSocketImpl.socketBind(Native Method)
       at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359)
       at java.net.ServerSocket.bind(ServerSocket.java:319)
       at java.net.ServerSocket.<init>(ServerSocket.java:185)
       at javax.net.DefaultServerSocketFactory.createServerSocket(ServerSocketFactory.java:169)
       at org.jboss.remoting.transport.socket.SocketServerInvoker.createServerSocket(SocketServerInvoker.java:264)
       at org.jboss.remoting.transport.socket.SocketServerInvoker.start(SocketServerInvoker.java:193)
       at org.jboss.remoting.transport.Connector.start(Connector.java:322)
       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:995)
       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.GeneratedMethodAccessor5.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)
      
      

      After set jboss.bind.address to non "0.0.0.0" ip address, I got another exception:

      16:38:40,041 ERROR [[/]] Servlet threw load() exception
      java.io.IOException: Can not find a free port for use.
       at org.jboss.remoting.transport.PortUtil.findFreePort(PortUtil.java:114)
       at org.jboss.remoting.ServerInvoker.assignPort(ServerInvoker.java:1045)
       at org.jboss.remoting.ServerInvoker.setup(ServerInvoker.java:944)
       at org.jboss.remoting.ServerInvoker.create(ServerInvoker.java:775)
       at org.jboss.remoting.transport.Connector.init(Connector.java:430)
       at org.jboss.remoting.transport.Connector.create(Connector.java:782)
       at org.rhq.enterprise.communications.ServiceContainer.setupServerConnector(ServiceContainer.java:1186)
       at org.rhq.enterprise.communications.ServiceContainer.start(ServiceContainer.java:546)
       at org.rhq.enterprise.server.core.comm.ServerCommunicationsService.startCommunicationServices(ServerCommunicationsService.java:182)
       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 javax.management.MBeanServerInvocationHandler.invoke(MBeanServerInvocationHandler.java:201)
       at $Proxy345.startCommunicationServices(Unknown Source)
       at org.rhq.enterprise.gui.startup.StartupServlet.startServerCommunicationServices(StartupServlet.java:236)
       at org.rhq.enterprise.gui.startup.StartupServlet.init(StartupServlet.java:89)
      
      

      Any suggestions are appreciated!