You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Christopher Schultz <ch...@christopherschultz.net> on 2012/07/20 18:50:10 UTC

Re:[OT] Tomcat 7.0.25 on an AS/400, V5R4, Another try. Help?

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Pete,

On 7/19/12 8:29 PM, Pete Helgren wrote:
> The error might be a red herring or a show stopper but I also
> have:
> 
> 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.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAlAJjEIACgkQ9CaO5/Lv0PBkHwCffRU2hg1jNcy/zJ9sO7xopbVj
w70AniiXt0bgQjWS4WKpjR58J0Ts/nmb
=DZJb
-----END PGP SIGNATURE-----

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


Re: [OT] Tomcat 7.0.25 on an AS/400, V5R4, Another try. Help?

Posted by James Lampert <ja...@touchtonecorp.com>.
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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org