• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Unable to add Apache Tomcat server in server and settings

 
Prateek Mishra
Greenhorn
Posts: 5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 112
Java Oracle
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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...
 
Prateek Mishra
Greenhorn
Posts: 5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 112
Java Oracle
  • 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Prateek Mishra
Greenhorn
Posts: 5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks swetha, i tried as you told and it worked.
 
Swetha Bhagavathula
Ranch Hand
Posts: 112
Java Oracle
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am thankful to JavaRanch..
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic