I set up necessary env vars (JAVA_HOME, CATALINA_HOME), and java/bin is already in the path.. have done Tomcat setup many times before, but now just need to know on what alternate port no. I can run it..

for this setting, Connector port="8080", tired port no. 8181... but Tomcat won't start up (console appears very briefly then disappears when I hit that startup.bat....)

thank you....

force
—
2013-01-02T22:48:37Z —
#2

Take a look here:http://stackoverflow.com/questions/4756039/how-to-change-the-port-of-tomcat-from-8080-to-80

Run it from the command line to see the error message, or look in the logs folder, tomcat will tell you what the issue is.

Run netstat -a to see what is listening on your server there.

IIRC you just need to change the first one, you probably aren't running ajp.

maya90
—
2013-01-03T14:46:08Z —
#4

well, the "issue" was I just needed to know WHAT no. to use for port, since couldn't use 8080.. so read solution other person posted, last night at home.. so just for the hell of it, tried it at home, changed to port 8007, it worked fine.. but here, did the same, thing, changed port to 8007, Tomcat won't start up, so following yr suggestion navigated to tomcat/bin/ in DOS shell and ran startup.bat from there, got the following:

JAVA_HOME is not mentioned here.. only JRE_HOME, but I did not set that var... I set JAVA_HOME to C:\Program Files\Java\jdk1.6.0_33\

another DOS window opened very briefly then closed... server is still not running.. have it on port 8007 now...

thank you....

wwb_99
—
2013-01-03T19:21:29Z —
#5

Did you look at the logs?

The doubled slash in the classpath might be a problem too.

You might also need to run as administrator, the tomcat setup we have is on pre-modern versions of windows.

maya90
—
2013-01-03T20:57:50Z —
#6

CLASSPATH is not an env var set in Windows... that's an internal Tomcat thing.. I searched for "bootstrap.jar" in all of Tomcat, found in some XML files, but nowhere with two back-slashes in front of "bootstrap.jar".. so where is that 2nd back-slash being added?

(in all the years I've been working with Tomcat I've never set classpath env var...)

not sure what you mean by "run as administrator".... (I do have admin privileges on this machine, but not sure what you mean..)

thank you...

wwb_99
—
2013-01-03T21:57:37Z —
#7

Windows has UAC which prevents even administrative users from writing files in protected places.

Looking at your paths I think I might see the problem --- try installing tomcat outside of program files and see what happens. It is probably trying to write log files there and dying.

maya90
—
2013-01-07T14:29:34Z —
#8

oh man.... thank you for yr response.. now am running it on c: drive... this is what I get when run startup.bat in DOS shell: