~ubuntu-branches/ubuntu/lucid/tomcat6/lucid

« back to all changes in this revision

Viewing changes to bin/catalina.bat

  • Committer: Bazaar Package Importer
  • Author(s): Mathias Gug, Iulian Udrea
  • Date: 2009-06-09 12:35:19 UTC
  • mfrom: (1.2.1 upstream) (2.1.4 sid)
  • Revision ID: james.westby@ubuntu.com-20090609123519-7owjbso5ttnka6ur
Tags: 6.0.20-1ubuntu1
[ Iulian Udrea ]
* Merge from debian unstable (LP: #385262), remaining changes:
  - debian/control, debian/rules: Use default-jdk to build
  - debian/control: Run using default-jre-headless by default

Show diffs side-by-side

added added

removed removed

Lines of Context:
61
61
rem                   and JPDA_SUSPEND are ignored. Thus, all required jpda
62
62
rem                   options MUST be specified. The default is:
63
63
rem
64
 
rem                   -Xdebug -Xrunjdwp:transport=%JPDA_TRANSPORT%,
 
64
rem                   -agentlib:jdwp=transport=%JPDA_TRANSPORT%,
65
65
rem                       address=%JPDA_ADDRESS%,server=y,suspend=%JPDA_SUSPEND%
66
66
rem
67
 
rem $Id: catalina.bat 656834 2008-05-15 21:04:04Z markt $
 
67
rem   LOGGING_CONFIG  (Optional) Override Tomcat's logging config file
 
68
rem                   Example (all one line)
 
69
rem                   set LOGGING_CONFIG="-Djava.util.logging.config.file=%CATALINA_BASE%\conf\logging.properties"
 
70
rem
 
71
rem   LOGGING_MANAGER (Optional) Override Tomcat's logging manager 
 
72
rem                   Example (all one line)
 
73
rem                   set LOGGING_CONFIG="-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager"
 
74
rem
 
75
rem
 
76
rem
 
77
rem $Id: catalina.bat 750920 2009-03-06 14:43:19Z markt $
68
78
rem ---------------------------------------------------------------------------
69
79
 
70
80
rem Guess CATALINA_HOME if not defined
114
124
set CATALINA_TMPDIR=%CATALINA_BASE%\temp
115
125
:gotTmpdir
116
126
 
117
 
if not exist "%CATALINA_BASE%\conf\logging.properties" goto noJuli
118
 
set JAVA_OPTS=%JAVA_OPTS% -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.util.logging.config.file="%CATALINA_BASE%\conf\logging.properties"
119
 
:noJuli
 
127
if not "%LOGGING_CONFIG%" == "" goto noJuliConfig
 
128
set LOGGING_CONFIG=-Dnop
 
129
if not exist "%CATALINA_BASE%\conf\logging.properties" goto noJuliConfig
 
130
set LOGGING_CONFIG=-Djava.util.logging.config.file="%CATALINA_BASE%\conf\logging.properties"
 
131
:noJuliConfig
 
132
set JAVA_OPTS=%JAVA_OPTS% %LOGGING_CONFIG%
 
133
 
 
134
if not "%LOGGING_MANAGER%" == "" goto noJuliManager
 
135
set LOGGING_MANAGER=-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
 
136
:noJuliManager
 
137
set JAVA_OPTS=%JAVA_OPTS% %LOGGING_MANAGER%
120
138
 
121
139
rem ----- Execute The Requested Command ---------------------------------------
122
140
 
140
158
if not ""%1"" == ""jpda"" goto noJpda
141
159
set JPDA=jpda
142
160
if not "%JPDA_TRANSPORT%" == "" goto gotJpdaTransport
143
 
set JPDA_TRANSPORT=dt_shmem
 
161
set JPDA_TRANSPORT=dt_socket
144
162
:gotJpdaTransport
145
163
if not "%JPDA_ADDRESS%" == "" goto gotJpdaAddress
146
 
set JPDA_ADDRESS=jdbconn
 
164
set JPDA_ADDRESS=8000
147
165
:gotJpdaAddress
148
166
if not "%JPDA_SUSPEND%" == "" goto gotJpdaSuspend
149
167
set JPDA_SUSPEND=n