In the MyEclipse, start JBoss4.2.3, there is an address binding exception, in the server.xml changed 8080 port number, also no use, as reported this error?
22:38:09,766 WARN [ServiceController] problem starting service Jboss.mq:service=invocationlayer,type=uil2
Java.net.BindException:Address already in Use:jvm_bind
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:170)
At Org.jboss.mq.il.uil2.UILServerILService.startService (uilserverilservice.java:225)
At Org.jboss.system.ServiceMBeanSupport.jbossInternalStart (servicembeansupport.java:289)
---MBeans waiting for other MBeans---
Objectname:jboss.mq:service=invocationlayer,type=uil2
State:failed
Reason:java.net.BindException:Address already in Use:jvm_bind
I Depend on:
Jboss.mq:service=invoker
---MBEANS that is the ROOT cause of the problem---
Objectname:jboss.mq:service=invocationlayer,type=uil2
State:failed
Reason:java.net.BindException:Address already in Use:jvm_bind
I Depend on:
Jboss.mq:service=invoker
Solution:
1.
You see the error hint, not referring to the Web port being occupied, is the JMS port being accounted for,
Change the JMS port
\deploy\jms\uil2-service.xml file
<mbean code= "Org.jboss.mq.il.uil2.UILServerILService"
Name= "Jboss.mq:service=invocationlayer,type=uil2" >
<attribute name= "Serverbindport" >8093</attribute>
</mbean>
2.
Duplicate startup items, occupying the same port and address
Java.net.BindException:Address already in Use:jvm_bind