Changeset 2079
- Timestamp:
- Mar 15, 2006, 11:02:14 AM (17 years ago)
- Location:
- trunk/doc
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/installation.html
r2060 r2079 217 217 <p> 218 218 <i>Tomcat</i> <br> 219 Download and install tomcat 5. 0.* or 5.5.*,219 Download and install tomcat 5.5.15 or later, 220 220 available from <a 221 221 href=http://jakarta.apache.org/tomcat/>http://jakarta.apache.org/tomcat/</a>. 222 We have tested BASE with 5.0.30 and 5.5.7, but later version should 223 also work. The versions we have tested use a built in Java 1.4 224 compiler, to make it work with Java 1.5 read and follow the 225 instructions in: 226 <code>base-2.0RC1/doc/tomcat_with_java_1.5.txt</code>. 222 We are now recommending everyone to run a late 5.5 release since 223 the trick described in <a 224 href=http://lev.thep.lu.se/trac/base/browser/trunk/doc/tomcat_with_java_1.5.txt>doc/tomcat_with_java_1.5.txt</a> is not needed anymore. 225 226 We have previously tested BASE with tomcat releases 5.0.30 and 227 5.5.7. However, these versions use a built in Java 1.4 compiler, 228 to make it work with Java 1.5 read and follow the instructions in 229 <a 230 href=http://lev.thep.lu.se/trac/base/browser/trunk/doc/tomcat_with_java_1.5.txt>doc/tomcat_with_java_1.5.txt</a> 227 231 </p> 228 232 … … 233 237 <code>CATALINA_OPTS</code> to <code>-server</code>. It is also a good idea 234 238 to specify the maximum allowed memory to use: <code>-server -Xmx500m</code> 235 sets it to 500 megabytes. For more information about Tomcat options see 236 <a href="http://www.chemaxon.com/jchem/doc/admin/tomcat.html">http://www.chemaxon.com/jchem/doc/admin/tomcat.html</a> 239 sets it to 500 megabytes. Basically add the next line close to the 240 top of the <code>catalina.sh</code> script that comes with tomcat 241 (diectory <code>bin</code>): 242 <pre> 243 CATALINA_OPTS="-server -Xmx500m" 244 </pre> 245 </p> 246 247 <p> 248 For more information about Tomcat options see 249 <a 250 href="http://www.chemaxon.com/jchem/doc/admin/tomcat.html">http://www.chemaxon.com/jchem/doc/admin/tomcat.html</a>. 237 251 </p> 238 252 -
trunk/doc/tomcat_with_java_1.5.txt
r732 r2079 1 $Id$ 2 3 Copyright (C) 2005 Nicklas Nordborg 4 Copyright (C) 2006 Jari Häkkinen 5 6 This file is part of BASE - BioArray Software Environment. Available 7 at http://base.thep.lu.se/ 8 9 BASE is free software; you can redistribute it and/or modify it under 10 the terms of the GNU General Public License as published by the Free 11 Software Foundation; either version 2 of the License, or (at your 12 option) any later version. 13 14 BASE is distributed in the hope that it will be useful, but WITHOUT 15 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 16 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 17 for more details. 18 19 You should have received a copy of the GNU General Public License 20 along with this program; if not, write to the Free Software 21 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, 22 USA. 23 24 1 25 2 26 How to configure Tomcat to use Java 1.5 3 27 ======================================= 4 28 5 The new Tomcat 5.5 comes with it's own compiler, which is not 6 Java 1.5 compatible. Here are the instructions to replace the 7 built-in compiler with Sun's compiler. 29 The below trick is not needed for later Tomcat 5.5 releases. We have 30 succesfully installed, and use, a non-modified Tomcat version 5.5.15 31 with BASE. If you use release 5.5.15 or later you can safely skip the 32 rest of this file. 33 34 The new Tomcat 5.5 (and older tomcat 5) comes with it's own compiler, 35 which is not Java 1.5 compatible. Here are the instructions to replace 36 the built-in compiler with Sun's compiler. 8 37 9 38 It requires that you have downloaded and installed Java 1.5 SDK
Note: See TracChangeset
for help on using the changeset viewer.