开发者

How to run the Glassfish v2.1.1 and Glassfish v3.1 at the same time on the same machine?

I have 2 projects in development; one of them deployed into the Glassfish v2.1.1, other one into Glassfish v3.1. I want to run both servers at the same time. For this, changed the default ports of Glassfish v2.1.1, 8080 and 8181 to 9090 and 9191 respectively from domain.xml. But when I started the v2.1.1 (while v3.开发者_如何学C1 is running) from Netbeans 7.0, having "java.net.BindException: Address already in use" exception. The question is on the topic. Your suggestion is appreciated.

Thanks.

Edit : Forgot to mention that I am on Ubuntu 10.10 if it makes a sense.


It sounds like you still need to change the Glassfish settings in NetBeans.

How to run the Glassfish v2.1.1 and Glassfish v3.1 at the same time on the same machine?


Are you sure you covered all the ports Glassfish can use? How about the MQ client, do you have it enabled for example?

Try running netstat -ab to see which ports are still allocated to the Glassfish instance.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜