Changeset 2079


Ignore:
Timestamp:
Mar 15, 2006, 11:02:14 AM (16 years ago)
Author:
Jari Häkkinen
Message:

Fixes #130. The tomcat fix is not needed anymore, updated documentation.

Location:
trunk/doc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/installation.html

    r2060 r2079  
    217217  <p>
    218218    <i>Tomcat</i> <br>
    219     Download and install tomcat 5.0.* or 5.5.*,
     219    Download and install tomcat 5.5.15 or later,
    220220    available from <a
    221221    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>
    227231  </p>
    228232 
     
    233237    <code>CATALINA_OPTS</code> to <code>-server</code>. It is also a good idea
    234238    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>.
    237251  </p>
    238252
  • trunk/doc/tomcat_with_java_1.5.txt

    r732 r2079  
     1$Id$
     2
     3Copyright (C) 2005 Nicklas Nordborg
     4Copyright (C) 2006 Jari Häkkinen
     5
     6This file is part of BASE - BioArray Software Environment.  Available
     7at http://base.thep.lu.se/
     8
     9BASE is free software; you can redistribute it and/or modify it under
     10the terms of the GNU General Public License as published by the Free
     11Software Foundation; either version 2 of the License, or (at your
     12option) any later version.
     13
     14BASE is distributed in the hope that it will be useful, but WITHOUT
     15ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
     16FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
     17for more details.
     18
     19You should have received a copy of the GNU General Public License
     20along with this program; if not, write to the Free Software
     21Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
     22USA.
     23
     24
    125
    226How to configure Tomcat to use Java 1.5
    327=======================================
    428
    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.
     29The below trick is not needed for later Tomcat 5.5 releases. We have
     30succesfully installed, and use, a non-modified Tomcat version 5.5.15
     31with BASE. If you use release 5.5.15 or later you can safely skip the
     32rest of this file.
     33
     34The new Tomcat 5.5 (and older tomcat 5) comes with it's own compiler,
     35which is not Java 1.5 compatible. Here are the instructions to replace
     36the built-in compiler with Sun's compiler.
    837
    938It requires that you have downloaded and installed Java 1.5 SDK
Note: See TracChangeset for help on using the changeset viewer.