1 Reply Latest reply on Feb 24, 2012 6:37 AM by wdfink

    Problem with the ports

    rubensosam

      Hi I have the following problem:

       

      'm trying to install jboss but my problem is I have several jboss. I had previously configured jboss 4.2.3 but now migrating to 6.0.0 and changed the philosophy a little.
      I know there have to modify the file jboss / server / default / config / ...service-binding but not really be changed. My port is 8283 but I strip 8080 that is already in use.
      I have to change and where?
      thanks

       

      I change in the service-binding following.

       

           <!-- Remote classloading service -->
              <bean class="org.jboss.services.binding.ServiceBindingMetadata">
                 <property name="serviceName">jboss:service=WebService</property>
                 <property name="port">8283</property> <!--Cambiado 8083-->
                 <property name="description">Socket for dynamic class and resource loading</property>
              </bean>

       

      But i have the next error:

       

      ERROR [AbstractKernelController] Error installing to Start: name=org.jboss.ejb3.RemotingConnector state=Create: java.

      io.IOException: SocketServerInvoker[192.168.1.47:3873] error creating ServerSocket[192.168.1.47:3873]: Address already in use

              at org.jboss.remoting.transport.socket.SocketServerInvoker.createServerSockets(SocketServerInvoker.java:370) [:6.0.0.Final

        • 1. Re: Problem with the ports
          wdfink

          You might simple change the file : server/default/conf/bindingservice.beans/META-INF/bindings-jboss-beans.xml

          that should work.

           

          The easy way is to set the offset in the Port##Bindings section and use '-Djboss.service.binding.set=ports-01'for example.