| Author |
problem setting JAVA_OPTS
|
vik ar
Ranch Hand
Joined: Jul 31, 2009
Posts: 104
|
|
Hi. I'm trying to set JAVA_OPTS in catalina.bat as follows:
However when I double click startup.bat a command window opens and shuts immediately???
|
 |
William Brogden
Author and all-around good cowpoke
Rancher
Joined: Mar 22, 2000
Posts: 12271
|
|
You need to execute startup.bat from an open command prompt to see what is happening.
If another window opens and closes immediately you should change the last executable line of startup.bat from
to
so that catalina.bat will run in the same window and thus show the real error.
bill
|
Java Resources at www.wbrogden.com
|
 |
vik ar
Ranch Hand
Joined: Jul 31, 2009
Posts: 104
|
|
ok thanks bill. after doing what you said I am getting:
Please note when I do not add JAVA_OPTS tomcat starts up fine.
|
 |
Tim Holloway
Saloon Keeper
Joined: Jun 25, 2001
Posts: 14491
|
|
|
Try replacing all the backslashes in your directory paths with "real" (forward) slashes. Backslash in Unix/Java is an escape character, so it's usually safer (and more conventient) to code filepaths in Unix form even when running Windows.
|
Customer surveys are for companies who didn't pay proper attention to begin with.
|
 |
 |
|
|
subject: problem setting JAVA_OPTS
|
|
|