• 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
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

Cannot start Tomcat

 
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

But now I am trying to start tomcat by using this command inside the bin directory startup. But it is not starting. Instead it is showing the error

The CATALINA_HOME environment variable is not defined correctly
This environment variable is needed to run this program

Earlier, my CATALINA_HOME was D:\apache-tomcat-8.0.9-windows-x64\apache-tomcat-8.0.9; (not working on this also)

And now it is D:\apache-tomcat-8.0.9-windows-x64\apache-tomcat-8.0.9\bin;

The interesting thing is that earlier it worked but now it isn't. I also restarted the system but to no effect.

Please help someone.

Thanks in advance
 
Bartender
Posts: 1810
28
jQuery Netbeans IDE Eclipse IDE Firefox Browser MySQL Database Chrome Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Remove the \bin from the end of that entry. The home directory is usually the topmost directory of the application.
 
sahin sarkar
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

sahin sarkar wrote:

Earlier, my CATALINA_HOME was D:\apache-tomcat-8.0.9-windows-x64\apache-tomcat-8.0.9; (not working on this also)

 
Saloon Keeper
Posts: 28718
211
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Remove the semicolon from the end of your path variable definition statement.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic