-
1. Re: jboss and datagrid
wdfink Jul 1, 2013 3:02 AM (in response to mangesh.phadtare)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 Jul 1, 2013 6:40 AM (in response to wdfink)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 Jul 1, 2013 10:08 AM (in response to mangesh.phadtare)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 Jul 2, 2013 12:45 AM (in response to wdfink)its working ....
Thanks and regards,
MAngesh Phadtare