I wanted to setup production and dev environment on the same machine. As both are using different database instances and I was deploying EJB application, so I couldn't use the same server and deploy two applicatione with different context roots as EJB jndi names were conflicting.
I copied jboss server dir structure and given some other name. I changed properties as needed.
I run new instance of jboss using following command which will save you from port conflicts.
run -Djboss.service.binding.set=ports-01
The above command will use port 8180 (http) and 8543 (https).
There is another way which is bit difficult i.e. change ports in various xml files.
Thank,
Anand
No comments:
Post a Comment