tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <ma...@apache.org>
Subject Re: Tomcat not starting properly on a customer's AS/400, and I have no idea why. Help?
Date Mon, 18 Jun 2012 21:03:48 GMT
On 18/06/2012 22:02, James Lampert wrote:
> 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.

Create setenv.sh and put them in there.

Mark

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


Mime
View raw message