3 Replies Latest reply on Nov 3, 2015 8:54 AM by wdfink

    how can run 2 node (default , node1) on different ports (8070,8090)

    babakbardia

      Hi

       

      i have copy new /jboss-4.0.2 on my redhat server i want use othe port number (i changed port number from 8080 to 8070  in server.xml on this path /usr/local/jboss-4.0.2/server/default/deploy/jbossweb-tomcat55.sar ) then  i run default port with this command :

      ./run.sh - c default

       

      now default command work on this port

       

      http://localhost:8070

       

      then i want add new node to jboss :

      create a copy from default not and paste with new name node1 in this path: /usr/local/jboss-4.0.2/server

      now i have 2 node:  default and node1

      now in node1 such as above i change port number in server.xml file from 8080 to 8090

      then i run node1 with this commnd:

       

      ./run.sh -c node1

       

      when i get ps -ef | grep java

       

      it show both of nodes are up but when i type:

      http://localhost:8090

       

      no page appear just a blank white page appear

       

      what is my problem ?

       

      how can i run node1 on port 8090 ?

       

      i read many articles but most of them not work

       

      Best regards

      Babak