4 Replies Latest reply on Jul 2, 2013 12:45 AM by mangesh.phadtare

    jboss and datagrid

    mangesh.phadtare

      Am not able to run JBOSS EAP1.6 and datagrid on single host..

       

      there is port conflict between the 2 applications

       

      I have set the IP of the machine in the configuration file... and not running from localhost (127.0.0.1)

        • 1. Re: jboss and datagrid
          wdfink

          Hello Mangesh,

           

          I understand that the question is "how can I resolve the port conflict".

          But with that poor information we can not help.

           

          - What did you change in the configuration

          - how do you start the instances

          • 2. Re: jboss and datagrid
            mangesh.phadtare

            Am trying to run the jboss EAP 6.1 and Jboss datagrid on the single machine at a time..

             

            And we browse to configuration Directory as shown below

             

            jboss-eap -> standalone -> configuration -> standalone.xml

             

            In above mentioned standalone.xml file i changed the 127.0.0.1 to my host machine IP...

             

            but the port no are similar for the EAP and datagrid in their respective configuration file..

             

            i start the instance by running the  ./standalone.sh file in the bin folder of the datagrid server

            • 3. Re: jboss and datagrid
              wdfink

              You might not change the configuration or the ip, you can use -b IP -bmanagement IP as parameter for standalone.sh

               

              But if you start JDG and EAP on the same system with the same IP address you will run into port conflicts as both use the same subsystems and ports.

              You might have a look to the bottom of standalone.xml.

               

              A simple way is to add a port-offset by giving the parameter -Djboss.socket.binding.port-offset=100 to start one instance.

              In that case you can add the offset for all connections (i.e. 9990=>10990 management, 11222=>11322 hotrod).

              • 4. Re: jboss and datagrid
                mangesh.phadtare

                its working ....

                 

                Thanks and regards,

                MAngesh Phadtare