Request 292 was acted upon.
_________________________________________________________________________

         URL: https://rt.openpkg.org/id/292
      Ticket: [OpenPKG #292]
     Subject: File rc.tomcat has environment attributes inconsistent with 'tomcat.sh 
env'
  Requestors: [EMAIL PROTECTED]
       Queue: openpkg
       Owner: ms
      Status: open
 Transaction: Ticket creado por ms
        Time: Mie. Nov. 26 15:17:19 2003
_________________________________________________________________________

Tomcat contains a control script 'tomcat.sh' which takes 'env' as a parameter. This 
returns the working classpath as well as other variables. This should closely match 
what is returned by OpenPKG's 'rc tomcat env'. Other rc file sections like %start, 
%stop, and %restart require Tomcat's java environment variables as well. Maybe even 
the control script should be called from within the rc file.

$TOMCAT_HOME/bin/tomcat.sh (start|run|stop|enableAdmin|estart|env|jspc)
  start            - start tomcat in the background
  start -security  -   use a SecurityManager when starting
  start -noout     -   redirect stdout/stderr to $TOMCAT_HOME/logs/stdout.log
  start -wait      -   wait until tomcat is initialized before returning
  start -help      -   more options
                         (config, debug, estart, home, install, jkconf, sandbox)
  run              - start tomcat in the foreground
  run -security    -   use a SecurityManager when starting
  stop             - stop tomcat
  stop -force      -   stop tomcat with the 'kill' command if necessary
  stop -help       -   more options
                         (ajpid, host, home, pass, port)
  enableAdmin      - Trust the admin web application,
                     i.e. rewrites conf/apps-admin.xml with trusted="true"
  estart           - Start Tomcat using the/your EmbededTomcat class which
                     uses a hardcoded set of modules
  env              - set CLASSPATH and TOMCAT_HOME env. variables
  jspc             - run jsp pre compiler

-- 
Michael Schloh v. Bennewitz
OpenPKG Developer
[EMAIL PROTECTED]

______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
Developer Communication List                   [EMAIL PROTECTED]

Reply via email to