This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes IDEs, Version Control and other tools and the fly likes Unable to add Apache Tomcat server in server and settings Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Unable to add Apache Tomcat server in server and settings" Watch "Unable to add Apache Tomcat server in server and settings" New topic
Author

Unable to add Apache Tomcat server in server and settings

Prateek Mishra
Greenhorn

Joined: Jul 18, 2012
Posts: 5
Using netbeans ide and installed apache with it only, yet on creating a new project there isn't any apache tomcat server showing in server and settings box. It only shows gall fish server 3.1.2.
I tried adding it creating a new instance but still nothing happened as expected.

I am surely new to using ide and java too.
Swetha Bhagavathula
Ranch Hand

Joined: Jan 04, 2011
Posts: 112

Prateek Mishra wrote:Using netbeans ide and installed apache with it only, yet on creating a new project there isn't any apache tomcat server showing in server and settings box. It only shows gall fish server 3.1.2.
I tried adding it creating a new instance but still nothing happened as expected.

I am surely new to using ide and java too.


hai.. well that mistake you did is ,you didn't notice while installing netbeans that Netbeans provide :
1) web server (with tomcat-depends upon the version of netbeans you use ex:for netbeans 7 we get Apache Tomcat 7.x)
2)Application server (with GlassFish //same verison depends on the IDE version)..


The thing you ned to do is while installing please click on "customise" button.. then happily you use use tomcat with installed netbeans....if you get error while configuring external <tomcat_home\bin> while adding to server tab... enjoy the benefits of IDE...


SCJP5
Prateek Mishra
Greenhorn

Joined: Jul 18, 2012
Posts: 5
Thank you, it worked but i have to uncheck the other one then only it gets installed, am i missing something.
Swetha Bhagavathula
Ranch Hand

Joined: Jan 04, 2011
Posts: 112

Prateek Mishra wrote: it worked but i have to uncheck the other one then only it gets installed, am i missing something.


can you please mention noun instead of pronoun.. "it"-->indicates?

what i say is :
if you already intalled tomcat (not that is given by Netbeans) in your PC then go to Run cmd-->type "servies.msc" try to change the startup typ as "manual". for Apache Tomcat,otherwise you get clashes with the tomcat you are getting with netbeans.
Then try to install(select the chekboxes of GlassFish and Apache Tomcat) that are provided by Netbeans.......
if still you feel,you are unable ,please copy the screen of the error that you are facing in paint and try to attach to this forum.. let us see what the error you are facing actually... go ahead
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5838
    
    7

After you install NetBeans, it is easy to add additional app servers. In NetBeans, go to Tools | Servers, and then in the dialog box that shows up click Add Server and go through the dialog steps.


JBoss In Action
Prateek Mishra
Greenhorn

Joined: Jul 18, 2012
Posts: 5
Thanks swetha, i tried as you told and it worked.
Swetha Bhagavathula
Ranch Hand

Joined: Jan 04, 2011
Posts: 112

I am thankful to JavaRanch..
 
 
subject: Unable to add Apache Tomcat server in server and settings