i have installed tomcat 6.0.20 today,after trying to run (startup.bat) at http://localhost:8080 it does not run
so i tried to change the connector port(in server.xml) but nothing happened , neither did i get a log message .
i have read somewhere to check the error by running catalina so i did and got the message below at command prompt :
according to error, JAVA_HOME should point to JDK , but path given is E:\Program Files\Java\jdk1.6.0_14 where it went wrong
morever i have set JAVA_HOME environment variable by
tomcat installed in : C drive
jdk installed in : E drive
so where lies the error everything is set to work ???
explain briefly
Do Right , Fear No Man
Misha Ver
Ranch Hand
Joined: Mar 03, 2008
Posts: 470
posted
0
Windows restart may help
tushar panda
Ranch Hand
Joined: Feb 16, 2009
Posts: 133
posted
0
Misha Ver wrote:Windows restart may help
still same problem , restarting didn't help .
Kees Jan Koster
Ranch Hand
Joined: Mar 31, 2009
Posts: 222
posted
0
Dear tushar,
Check that you have set JAVA_HOME with quotes, because of the space in the path name. Thus:
C:\> SET JAVA_HOME="E:\Program Files\Java\jdk1.6.0_14"