1 Reply Latest reply on Mar 9, 2010 3:04 AM by a ns

    Jboss EJB AIX socket issue

    a ns Newbie

      Hello, this is Nagasai. I am using jboss 4.2.1.GA in AIX 5.3 with jdk 1.5. I am getting an error in EJB during startup of jboss. The exception is:

       

      010-02-26 20:16:00,604 DEBUG [org.jboss.system.ServiceController] Starting dependent components for: jboss.aop:service=AspectDeployer dependent components: [ObjectName: jboss.remoting:type=Connector,name=DefaultEjb3Connector,handler=ejb3
        State: CREATED
        I Depend On:
          jboss.aop:service=AspectDeployer
      , ObjectName: jboss.ejb3:service=EJB3Deployer
        State: CONFIGURED
        I Depend On:
          jboss.aop:service=AspectDeployer
          jboss.ejb:service=EJBDeployer
          jboss.ejb3:service=JarsIgnoredForScanning
      ]
      2010-02-26 20:16:00,604 DEBUG [org.jboss.system.ServiceController] starting service jboss.remoting:type=Connector,name=DefaultEjb3
      Connector,handler=ejb3
      2010-02-26 20:16:00,604 DEBUG [org.jboss.remoting.transport.Connector] Handler supplied is not an object name.
      2010-02-26 20:16:00,606 DEBUG [org.jboss.remoting.ServerInvoker] SocketServerInvoker[UNINITIALIZED] added org.jboss.aspects.remoti
      ng.AOPRemotingInvocationHandler@29e629e6 for subsystem 'AOP'
      2010-02-26 20:16:00,606 DEBUG [org.jboss.remoting.transport.socket.SocketServerInvoker] SocketServerInvoker[UNINITIALIZED] startin
      g
      2010-02-26 20:16:00,606 ERROR [org.jboss.remoting.transport.socket.SocketServerInvoker] Error starting ServerSocket.  Bind port: 3873, bind address: /192.168.1.101
      2010-02-26 20:16:00,608 ERROR [org.jboss.remoting.transport.Connector] Error starting connector.
      java.net.BindException: The socket name is not available on this system.
              at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:415)
              at java.net.ServerSocket.bind(ServerSocket.java:331)
              at java.net.ServerSocket.<init>(ServerSocket.java:197)
              at javax.net.DefaultServerSocketFactory.createServerSocket(ServerSocketFactory.java:2)
              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)

       

      I have tried putting JAVA_OPTS="-Djava.net.preferIPv4Stack=true $JAVA_OPTS" in run.sh

       

      If anyone knows the solution, please suggest your views..