GeeCON Prague 2014*
The moose likes IDEs, Version Control and other tools and the fly likes Servers In Netbeans or Eclipse Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Servers In Netbeans or Eclipse" Watch "Servers In Netbeans or Eclipse" New topic
Author

Servers In Netbeans or Eclipse

roshan laddu
Greenhorn

Joined: Aug 27, 2008
Posts: 9
Is possible to install and configure Sun Java Application Server 9.1, Tomcat 6.0, Jboss-web2.1.1.CR3 with Netneans IDE at same time? Can I use these server with eclipse3.2.2.? I want to use them when any of them, is required, by stopping one server and starting another.
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5835
    
    7

Yes you should be able to configure all of these servers in Eclipse at the same time. When deploying/running an application you should be able to specify which one to use. (This should also hold true for NetBeans, but I am not a NetBeans user.)

If you want to run them at the same time, you will have to make certain that their ports do not conflict. For example, both Tomcat and JBossWeb use the same HTTP port (8080), so you will have to configure one of them to use a different HTTP port.

Repeat for every port conflict - I suggest that you resolve the port conflicts outside the IDE before attempting to run within the IDE.


JBoss In Action
roshan laddu
Greenhorn

Joined: Aug 27, 2008
Posts: 9
Thank you Peter Johnson. now you tell me about different port numbers, so I can configure one of them to use a different HTTP port and their ports do not conflict.
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5835
    
    7

For Tomcat and JBossWeb 2.x, the port numbers can be assigned in the file conf/server.xml.
[ September 11, 2008: Message edited by: Peter Johnson ]
 
GeeCON Prague 2014
 
subject: Servers In Netbeans or Eclipse