Java.net.BindException:Address already in Use:jvm_bind

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.