You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2003/04/14 22:20:38 UTC

DO NOT REPLY [Bug 19011] New: - Java startup params

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19011>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19011

Java startup params

           Summary: Java startup params
           Product: Tomcat 4
           Version: 4.1.24
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: john.sisson@net-linx.com


1. catalina_opts
could you enhance the windows catalina.bat to test for the environment 
variable 'catalina_opts_script' and <execute> that so that any fancy setting 
can be carefully written and under control of the setlocal/endlocal (and 
thereby idempotent); ideally this should chain ';' separated scripts.

2. testing
we use the following in all our java launch scripts
  rem =====
  set _X_ECHO=
  if not ""%_echo"" == """" set _X_ECHO=@echo ::
  ...
  %_X_ECHO% %STARTJAVA% ......
  rem =====
now "cmd>set _echo=t" gives a param listing of the startup that is immediately 
reversible.

3. classpath
?? why do you use "-classpath xxx" rather than the more formal "-
Djava.class.path=yyy", as the latter is in synch with the rest of your setup. 
We use both java.class.path and java.ext.dirs (this is a nitpick but...)

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