> -----Original Message-----
> From: James Lampert [mailto:jam...@touchtonecorp.com]
> Sent: Monday, June 18, 2012 4:03 PM
> To: Tomcat Users List
> Subject: Re: Tomcat not starting properly on a customer's AS/400, and I have
> no idea why. Help?
> 
> Found the problem:
> 
> The lines
> > # Java 6 settings if needed
> > export -s
> JAVA_HOME=/QOpenSys/QIBM/ProdData/JavaVM/jdk60/32bit/jre
> > export -s CATALINA_HOME=/wintouch/tomcat
> > export -s JAVA_OPTS="-Dos400.awt.native=true -Djava.awt.headless=true
> -Djava.version=1.6 -Xms256m -Xmx512m"
> (which have been necessary in every AS/400 Tomcat installation I've
> participated in) were missing.
> 
> I've been told that there is a more elegant place to put them than in
> catalina.sh, but I can't remember *where* I was told to put them, and if just
> sticking them in catalina.sh is considered a bad practice, I'd like very much 
> to
> switch to the preferred place for these lines.
> 

On linux I use <CATALINA_BASE>/bin/setenv.sh



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


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

Reply via email to