JavaTM Web Services Developer Pack Home
ant
build toolWhen the Java WSDP is installed, the JAVA_HOME
and CATALINA_HOME
environment variables are set in JWSDP_HOME/bin/setenv.sh
(Unix) or JWSDP_HOME/bin/setenv.bat
(Windows) to the current locations of
the J2SE SDK and the Java WSDP. The start scripts in JWSDP_HOME/bin
call setenv
. If you change your J2SE SDK installation you will need to update setenv
to reflect the correct location.
To use the scripts:
JWSDP_HOME
to the installation directory.
JWSDP_HOME/bin
to the front of your path so that the Java WSDP scripts are used instead of any other installations.
The Tomcat start script (JWSDP_HOME/bin/catalina.[sh/bat]
) supports a CATALINA_OPTS
environment variable that can be used to pass on things
like system property settings or memory allocations to the JVM that will run Tomcat and the JPDA_OPTS
environment variable for passing debugging options for the JPDA debugger (if you invoke catalina debug
).
In order to successfully set these variables, you must do them in setenv
;
the environment values are not inherited from the shell environment. Note that the syntax for
Unix and Windows is different.
For example,
Unix: set CATALINA_OPTS="-Dhttp.proxyHost=webcache -Dhttp.proxyPort=8080"
Windows: set CATALINA_OPTS=-Dhttp.proxyHost=webcache -Dhttp.proxyPort=8080
"Out of environment space" error on Win95, Win98, and WinME
This error occurs if you do not have enough memory in the MS-DOS environment to set an environment variable. To eliminate this error, increase the default memory for the MS-DOS environment by performing the following steps:
SHELL=C:\COMMAND.COM /E:4096 /P