aspose file tools*
The moose likes Tomcat and the fly likes starting up of tomcat in windows 7 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "starting up of tomcat in windows 7" Watch "starting up of tomcat in windows 7" New topic
Author

starting up of tomcat in windows 7

kiran kumar reddy
Ranch Hand

Joined: Jun 28, 2012
Posts: 94

tomcat is working fine in windows xp for me. for now i have to work in windows 7 so i cant make it start ie. tomcat in windows 7. i downloaded apache-tomcat-6.0.35 and extract that in my c drive and i have java installed in my windows 7 when i tried to start tomcat, one command windows just flashes up for a milli sec and will gone. how can i start/run tomcat in windows 7.
li lianghong
Greenhorn

Joined: May 03, 2012
Posts: 11
check the JAVA_HOME and CATALINA_HOME was setted!
Karn Kumar
Ranch Hand

Joined: Aug 06, 2009
Posts: 146

Hi Kiran,


Please check your JAVA_HOME as li lianghong suggested , sometime back i also got same issue .

This may accure because my java was installed in the "C:\program files\java" . So in the startup.bat even though i have given set JAVA_HOME="C:\Program Files\jdk1.6.0_24" it was not able to take it. One observation i found in my friends system is , Java was in C:\Java6\jdk1.6.0_24" So it was working fine with set JAVA_HOME="C:\Java6\jdk1.6.0_24". So the issue may be directory name with space.
Finally i commented set JAVA_HOME="C:\Program Files\jdk1.6.0_24" and set it in system environment variables and now it is working fine.


Thanks....

- Chetan
kiran kumar reddy
Ranch Hand

Joined: Jun 28, 2012
Posts: 94

li lianghong wrote:check the JAVA_HOME and CATALINA_HOME was setted!


thank you it worked
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: starting up of tomcat in windows 7