[jboss-user] [JBoss Getting Started Documentation] - Re: Reserve Jboss port in window OS during startup

visolvejboss do-not-reply at jboss.com
Tue Dec 19 23:23:43 EST 2006


Hello,

Check whether any of the windows process using the ports 1098 and 1099 using the following command at the command prompt.

>netstat -b

It will display all the process which are running under windows with their port numbers. If any of the process, using the above ports and if that process is not necessary, stop that process before starting the jboss.

Or else,

You can change the port numbers of services that are using 1098 and 1099 by configuring as follows.

Uncomment the following lines in the file jboss-service.xml.

 >cd <JBOSS_HOME>/server/default/conf/jboss-service.xml
  | 
  |    187     <mbean code="org.jboss.services.binding.ServiceBindingManager"
  |    188       name="jboss.system:service=ServiceBindingManager">
  |    189       <attribute name="ServerName">ports-01</attribute>
  |    190       <attribute name="StoreURL">${jboss.home.url}/docs/examples/binding-manager/sample-bindings.xml</attribute>
  |    191       <attribute name="StoreFactoryClassName">
  |    192         org.jboss.services.binding.XMLServicesStoreFactory
  |    193       </attribute>
  |    194     </mbean>
  | 

Now, the JBoss Services runs under different ports.

Hope, This might help you.


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995194#3995194

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995194



More information about the jboss-user mailing list