Christopher Schultz wrote:
export -s JAVA_OPTS="-Dos400.awt.native=true
-Djava.awt.headless=true -Xms256m -Xmx512m"

In my catalina.sh script.

FYI it is recommended to customize catalina.sh by creating a setenv.sh
script and using that. That way, you don't have to play games with
updating catalina.sh when a new release comes out.

We're doing the equivalent with ADDENVVAR statements (and CPYENVVAR(*YES) on the SBMJOB statement) in the CL program that launches the script (that way, we don't even have to bother with a setenv.sh).

And I agree, Tomcat won't run at all on an AS/400 without those environment variables being set *somewhere* for the CATALINA job.

--
JHHL

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to