• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Tim Cooke
  • Jeanne Boyarsky
  • Liutauras Vilda
Sheriffs:
  • Frank Carver
  • Henry Wong
  • Ron McLeod
Saloon Keepers:
  • Tim Moores
  • Frits Walraven
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Himai Minh

setting tomcat5.5 server in eclipse

 
Ranch Hand
Posts: 386
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
So you made a portal in time and started grabbing people. This tiny ad thinks that's rude:
Garden Master Course kickstarter
https://coderanch.com/t/754577/Garden-Master-kickstarter
reply
    Bookmark Topic Watch Topic
  • New Topic