[jboss-user] [Beginner's Corner] New message: "Re: Port already in use: 1098 - URGENT"

Sashi Kanth do-not-reply at jboss.com
Fri Feb 19 17:03:45 EST 2010


User development,

A new message was posted in the thread "Port already in use: 1098 - URGENT":

http://community.jboss.org/message/527378#527378

Author  : Sashi Kanth
Profile : http://community.jboss.org/people/rockey007

Message:
--------------------------------------------------------------
I'm using Windows XP, IDE Eclipse, JBoss 5.1.0.GA. I tried to different softwares to check which process is using this port. But no software listed that port 1098 is used. Its may be not some process is using it, something went wrong. For example if modify below file port value
 
C:\jboss-5.1.0\server\default\conf\bindingservice.beans\META-INF\bindings-jboss-beans.xml
FROM
          <bean class="org.jboss.services.binding.ServiceBindingMetadata">
               <property name="serviceName">jboss:service=Naming</property>
               <property name="bindingName">RmiPort</property>
               <property name="port">*1098*</property>
               <property name="description">Socket Naming service uses to receive RMI requests from client proxies</property>
            </bean>
 
TO
         <bean class="org.jboss.services.binding.ServiceBindingMetadata">
               <property name="serviceName">jboss:service=Naming</property>
               <property name="bindingName">RmiPort</property>
               <property name="port">*10980*</property>
               <property name="description">Socket Naming service uses to receive RMI requests from client proxies</property>
            </bean>
 
Then JBoss startup exceptions says...
 
14:01:43,261 ERROR [AbstractKernelController] Error installing to Start: name=jboss:service=Naming state=Create mode=Manual requiredState=Installed
 
java.rmi.server.ExportException: Port already in use: *10980*;
<rest of the stack trace goes here....>
 
So I'm guessing in fact there wasnt any other process holding this port. Something went wrong with JBoss that throws this exception

--------------------------------------------------------------

To reply to this message visit the message page: http://community.jboss.org/message/527378#527378




More information about the jboss-user mailing list