This week's book giveaway is in the General Computing forum.
We're giving away four copies of Learning Regular Expressions and have Ben Forta on-line!
See this thread for details.
Win a copy of Learning Regular Expressions this week in the General Computing forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

setting tomcat5.5 server in eclipse  RSS feed

 
Ranch Hand
Posts: 386
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have downloaded tomcat5.5, windows services installer under "core"

When I run windows services installer it creates "C:\Program Files\Apache Software Foundation" path.

Is this installation dir for tomcat or is it "C:\Program Files\Apache Software Foundation\Tomcat 5.5\common\classes" as thats where class files are kept for java class files to be run using tomcat ?

I have to setup tomcat server for eclipse and I am not sure what path shall I put in that field.
When I provide value in the field as "C:\Program Files\Apache Software Foundation\Tomcat 5.5\common\classes " , I am getting error "The Tomcat installation directory is not valid. It is missing expected file or folder common/i18n."
When I provide value in the field as "C:\Program Files\Apache Software Foundation\Tomcat 5.5" , I dont get this error but when I go to Add and Remove section, I dont have any selection to choose from. If I close the wizard without making a selection and then run server, I get an error message asking to setup the server.
Please let me know what path shall I provide as installation dir

Thanks
 
Ranch Hand
Posts: 82
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The Tomcat installation dir for eclipse usually is the Tomcat base dir, in your case: C:\Program Files\Apache Software Foundation\Tomcat 5.5
You can only add / remove projects in the wizard if you have any eclipse web projects active in your current workspace. You are not forced to make one though in order to setup Tomcat for eclipse.
I'm not sure but maybe eclipse doesn't like the windows service version of tomcat. Eclipse tries to start and shutdown tomcat by itself. Perhaps the service version is missing the startup and shutdown scripts needed?

I recommend downloading the non-windows-serivce version of Tomcat, unpack it into a directory and use that one for eclipse.
I doubt that eclipse knows how to "net start ..." and "net stop ..." a windows service
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!