-
1. Jboss Port 8180 already in use
jbossdon Feb 22, 2011 8:07 AM (in response to jbossdon)Extracts from the Server Log:
2011-02-22 15:05:01,802 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] (main) Error installing to Start: name=jboss:service=WebService state=Create mode=Manual requiredState=Installed
java.lang.Exception: Port 8180 already in use.
at org.jboss.web.WebServer.start(WebServer.java:233)
at org.jboss.web.WebService.startService(WebService.java:322)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:376)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:322)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
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:668)
at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:189)
at $Proxy38.start(Unknown Source)
at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)
at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)
at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction2011-02-22 15:05:01,817 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] (main) Error installing to Real: name=vfsfile:/D:/jboss-5.1.0.GAx64/server/RLLIVE/conf/jboss-service.xml state=PreReal mode=Manual requiredState=Real
org.jboss.deployers.spi.DeploymentException: Error deploying: jboss:service=WebService
at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:118)
at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46)
at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy2011-02-22 15:05:05,122 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] (main) Error installing to PreInstall: name=PostJBossWebMetadataDeployer state=Real
java.lang.NoClassDefFoundError: org/jboss/metadata/web/jboss/JBossWebMetaData
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Unknown Source)
at java.lang.Class.getDeclaredMethods(Unknown Source)
at org.jboss.reflect.plugins.introspection.IntrospectionTypeInfoFactoryImpl.getDeclaredMethods -
2. Jboss Port 8180 already in use
gmkumar2005 Feb 22, 2011 8:15 AM (in response to jbossdon)give some addtional details , which OS are you using , which version of jboss AS,
--kiran.kumar
-
3. Jboss Port 8180 already in use
jbossdon Feb 22, 2011 8:17 AM (in response to gmkumar2005)VM Server MS 2008 64 bit. JBOSS 5.1
-
4. Jboss Port 8180 already in use
gmkumar2005 Feb 22, 2011 9:53 AM (in response to jbossdon)try if u can run tcpview provided by microsoft. It will tell u exactly who is using your port.
http://technet.microsoft.com/en-us/sysinternals/bb897437
If u find that 8180 is used by another program you shutdown or kill using taskmanager.
If you cannot stop the above process - you have an option to change the ports used by jboss
edit the following file to any other port above 1024.
jboss-5.1.0.GA/server/standard/deploy/jbossweb.sar/server.xml
remember to restart jboss after you change server.xml
kiran.kumar
-
5. Jboss Port 8180 already in use
jbossdon Mar 16, 2011 4:39 PM (in response to gmkumar2005)Thanks for your responses. I ran tcpview but port 8180 does not reflect anywhere. Also changed the port to and re-started jboss but then it comes up with the same issue that the new port assigned is in use. Forgot to mention that this Server is a Virtual Server.
-
6. Jboss Port 8180 already in use
peterj Mar 16, 2011 6:50 PM (in response to jbossdon)1) Have you made any changes to the windows/system32/drivers/etc/hosts file?
2) How are you starting JBoss AS? Specifically, are you supplying the -b option?
I ask the above because improperly configured hostname/ipaddress mappings can cause this problem.
3) Are you running a firewall? If so, which one?
-
7. Jboss Port 8180 already in use
gmkumar2005 Mar 18, 2011 6:03 AM (in response to peterj)Check the antivirus software. It seems antirvirus is blocking java from opening a port.