0 Replies Latest reply on Jul 5, 2017 5:50 AM by Siew Keng Lim

    Is it possible to run 2 appclient at the same time?

    Siew Keng Lim Newbie

      Hi

       

      Is it possible to run 2 appclient process at the same time? I tried run both together but one of the program always fail with the error below. Must the appclient do deployment each time we run the program? Can i skip the deployment process? there is not much documentation i can find regarding appclient.

       

      [jacorb.orb.iiop] (MSC service thread 1-3) could not create server socket port: 3628 host: /127.0.0.1: java.net.BindException: Address already in use

      at java.net.PlainSocketImpl.socketBind(Native Method) [rt.jar:1.7.0_67]

      at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:376) [rt.jar:1.7.0_67]

      at java.net.ServerSocket.bind(ServerSocket.java:376) [rt.jar:1.7.0_67]

      at java.net.ServerSocket.<init>(ServerSocket.java:237) [rt.jar:1.7.0_67]

      at org.jacorb.orb.factory.DefaultServerSocketFactory.createServerSocket(DefaultServerSocketFactory.java:49) [jacorb-2.3.2.redhat-6.jar:2.3.2.redhat-6]

      at org.jacorb.orb.iiop.IIOPListener$Acceptor.createServerSocket(IIOPListener.java:572) [jacorb-2.3.2.redhat-6.jar:2.3.2.redhat-6]

      at org.jacorb.orb.iiop.IIOPListener$Acceptor.init(IIOPListener.java:417) [jacorb-2.3.2.redhat-6.jar:2.3.2.redhat-6]

      at org.jacorb.orb.iiop.IIOPListener.configure(IIOPListener.java:163) [jacorb-2.3.2.redhat-6.jar:2.3.2.redhat-6]

      at org.jacorb.orb.etf.FactoriesBase.newInstance(FactoriesBase.java:125) [jacorb-2.3.2.redhat-6.jar:2.3.2.redhat-6]

      at org.jacorb.orb.etf.FactoriesBase.create_listener(FactoriesBase.java:74) [jacorb-2.3.2.redhat-6.jar:2.3.2.redhat-6]

      at org.jacorb.orb.BasicAdapter.configure(BasicAdapter.java:102) [jacorb-2.3.2.redhat-6.jar:2.3.2.redhat-6]

      at org.jacorb.orb.ORB.getRootPOA(ORB.java:1036) [jacorb-2.3.2.redhat-6.jar:2.3.2.redhat-6]

      at org.jacorb.orb.ORB.resolve_initial_references(ORB.java:1307) [jacorb-2.3.2.redhat-6.jar:2.3.2.redhat-6]

      at org.jboss.as.jacorb.service.CorbaPOAService.start(CorbaPOAService.java:153) [jboss-as-jacorb-7.3.4.Final-redhat-1.jar:7.3.4.Final-redhat-1]

      at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]

      at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]

      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_67]

      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_67]

      at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_67]

       

      ERROR [org.jboss.msc.service.fail] (MSC service thread 1-3) MSC000001: Failed to start service jboss.jacorb.poa-service.rootpoa: org.jboss.msc.service.StartException in service jboss.jacorb.poa-service.rootpoa: org.omg.CORBA.INITIALIZE: Could not create server socket (3628): java.net.BindException: Address already in use

      at org.jboss.as.jacorb.service.CorbaPOAService.start(CorbaPOAService.java:155)

      at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]

      at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]

      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_67]

      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_67]

      at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_67]

      Caused by: org.omg.CORBA.INITIALIZE: Could not create server socket (3628): java.net.BindException: Address already in use

      at org.jacorb.orb.iiop.IIOPListener$Acceptor.createServerSocket(IIOPListener.java:580)

      at org.jacorb.orb.iiop.IIOPListener$Acceptor.init(IIOPListener.java:417)

      at org.jacorb.orb.iiop.IIOPListener.configure(IIOPListener.java:163)

      at org.jacorb.orb.etf.FactoriesBase.newInstance(FactoriesBase.java:125)

      at org.jacorb.orb.etf.FactoriesBase.create_listener(FactoriesBase.java:74)

      at org.jacorb.orb.BasicAdapter.configure(BasicAdapter.java:102)

      at org.jacorb.orb.ORB.getRootPOA(ORB.java:1036)

      at org.jacorb.orb.ORB.resolve_initial_references(ORB.java:1307)

      at org.jboss.as.jacorb.service.CorbaPOAService.start(CorbaPOAService.java:153)

       

      Thanks