2 Replies Latest reply on Oct 5, 2002 12:37 PM by Juha Lindfors

    Help with running JProbe and JBoss

    Tejas Newbie

      Hi,
      I am not sure if this question is for this forum, just trying my luck.

      JBoss and JProbe are running on the same machine with WinNT as OS. My application(EJBs) on JBoss runs fine without JProbe. When I run JProbe Profiler, the console window comes up and routine JBoss startup messages are printed, but then this exception comes up :

      2:19:37,655 INFO [ClientUserTransactionService] Starting
      2:19:37,756 INFO [ClientUserTransactionService] Started
      2:19:37,766 INFO [CachedConnectionManager] Starting
      2:19:37,826 INFO [CachedConnectionManager] Started
      2:19:37,836 INFO [EARDeployer] Starting
      2:19:37,846 INFO [MainDeployer] Adding deployer: org.jboss.deployment.EARDeplo
      er@941f7
      2:19:37,856 INFO [EARDeployer] Started
      2:19:37,866 INFO [JRMPInvoker] Starting
      2:19:37,966 ERROR [JRMPInvoker] Failed
      ava.rmi.server.ExportException: Port already in use: 4444; nested exception is:

      java.net.BindException: Address in use: JVM_Bind
      ava.net.BindException: Address in use: JVM_Bind
      at java.net.PlainSocketImpl.socketBind(Native Method)
      at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:447)
      at java.net.ServerSocket.(ServerSocket.java:165)
      at java.net.ServerSocket.(ServerSocket.java:77)
      at sun.rmi.transport.proxy.RMIDirectSocketFactory.createServerSocket(RMI
      irectSocketFactory.java:25)
      at sun.rmi.transport.proxy.RMIMasterSocketFactory.createServerSocket(RMI
      asterSocketFactory.java:307)
      at sun.rmi.transport.tcp.TCPEndpoint.newServerSocket(TCPEndpoint.java:55
      )
      at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:217)
      at sun.rmi.transport.tcp.TCPTransport.exportObject(TCPTransport.java:171

      at sun.rmi.transport.tcp.TCPEndpoint.exportObject(TCPEndpoint.java:314)
      at sun.rmi.transport.LiveRef.exportObject(LiveRef.java:114)
      at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:12
      )
      at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:10
      )
      at java.rmi.server.UnicastRemoteObject.exportObject(UnicastRemoteObject.
      ava:273)
      at java.rmi.server.UnicastRemoteObject.exportObject(UnicastRemoteObject.
      ava:204)
      at org.jboss.invocation.jrmp.server.JRMPInvoker.exportCI(JRMPInvoker.jav
      :410)
      at org.jboss.invocation.jrmp.server.JRMPInvoker.start(JRMPInvoker.java:2
      1)
      at java.lang.reflect.Method.invoke(Native Method)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
      Dispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl
      er.java:967)
      at $Proxy0.start(Unknown Source)
      at org.jboss.system.ServiceController.start(ServiceController.java:396)
      at java.lang.reflect.Method.invoke(Native Method)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
      Dispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
      at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
      at $Proxy3.start(Unknown Source)
      at org.jboss.deployment.SARDeployer.start(SARDeployer.java:249)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:802)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:616)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:580)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:564)
      at java.lang.reflect.Method.invoke(Native Method)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
      Dispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
      at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:324)
      at org.jboss.system.server.ServerImpl.start(ServerImpl.java:221)
      at org.jboss.Main.boot(Main.java:142)
      at org.jboss.Main$1.run(Main.java:375)
      at java.lang.Thread.run(Thread.java:479)
      2:19:38,377 WARN [ServiceController] Problem starting service jboss:service=in
      oker,type=jrmp
      ava.rmi.ServerException: Could not bind JRMP invoker; nested exception is:
      java.rmi.server.ExportException: Port already in use: 4444; nested excep
      ion is:
      java.net.BindException: Address in use: JVM_Bind
      ava.rmi.server.ExportException: Port already in use: 4444; nested exception is:

      java.net.BindException: Address in use: JVM_Bind
      ava.net.BindException: Address in use: JVM_Bind
      at java.net.PlainSocketImpl.socketBind(Native Method)
      at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:447)
      at java.net.ServerSocket.(ServerSocket.java:165)
      at java.net.ServerSocket.(ServerSocket.java:77)
      at sun.rmi.transport.proxy.RMIDirectSocketFactory.createServerSocket(RMI
      irectSocketFactory.java:25)
      at sun.rmi.transport.proxy.RMIMasterSocketFactory.createServerSocket(RMI
      asterSocketFactory.java:307)
      at sun.rmi.transport.tcp.TCPEndpoint.newServerSocket(TCPEndpoint.java:55
      )
      at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:217)
      at sun.rmi.transport.tcp.TCPTransport.exportObject(TCPTransport.java:171

      at sun.rmi.transport.tcp.TCPEndpoint.exportObject(TCPEndpoint.java:314)
      at sun.rmi.transport.LiveRef.exportObject(LiveRef.java:114)
      at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:12
      )
      at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:10
      )
      at java.rmi.server.UnicastRemoteObject.exportObject(UnicastRemoteObject.
      ava:273)
      at java.rmi.server.UnicastRemoteObject.exportObject(UnicastRemoteObject.
      ava:204)
      at org.jboss.invocation.jrmp.server.JRMPInvoker.exportCI(JRMPInvoker.jav
      :410)
      at org.jboss.invocation.jrmp.server.JRMPInvoker.start(JRMPInvoker.java:2
      1)
      at java.lang.reflect.Method.invoke(Native Method)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
      Dispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl
      er.java:967)
      at $Proxy0.start(Unknown Source)
      at org.jboss.system.ServiceController.start(ServiceController.java:396)
      at java.lang.reflect.Method.invoke(Native Method)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
      Dispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
      at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
      at $Proxy3.start(Unknown Source)
      at org.jboss.deployment.SARDeployer.start(SARDeployer.java:249)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:802)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:616)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:580)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:564)
      at java.lang.reflect.Method.invoke(Native Method)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
      Dispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
      at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:324)
      at org.jboss.system.server.ServerImpl.start(ServerImpl.java:221)
      at org.jboss.Main.boot(Main.java:142)
      at org.jboss.Main$1.run(Main.java:375)
      at java.lang.Thread.run(Thread.java:479)
      2:19:38,777 INFO [LocalInvoker] Starting
      2:19:38,797 INFO [LocalInvoker] Started
      2:19:38,807 INFO [URLDeploymentScanner] Starting
      2:19:38,857 INFO [MainDeployer] Starting deployment of package: file:/D:/JBoss
      server/default/deploy/http-invoker.sar/
      2:19:39,508 INFO [MainDeployer] deployment waiting for deployer: file:/D:/JBos
      /server/default/deploy/http-invoker.sar/invoker.war/
      2:19:39,688 INFO [HttpInvoker] Creating
      2:19:39,698 INFO [HttpInvoker] Created
      2:19:39,708 INFO [HttpInvoker] Starting
      2:19:39,779 INFO [HttpInvoker] Started
      2:19:39,789 INFO [MainDeployer] Deployed package: file:/D:/JBoss/server/defaul
      /deploy/http-invoker.sar/
      2:19:39,809 INFO [MainDeployer] Starting deployment of package: file:/D:/JBoss
      server/default/deploy/jbossweb.sar/
      2:19:41,471 WARN [MainDeployer] The manifest entry in file:/D:/JBoss/server/de
      ault/deploy/jbossweb.sar/org.mortbay.jetty.jar references URL file:/D:/JBoss/se

      Can anyone help on this please.

      Many Thanks,
      Tejas