FreeBSD Bugzilla – Attachment 124919 Details for
Bug 168442
www/tomcat7: tomcat7 startup script have to wait more than 10 seconds for production servers
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.10 KB, created by
Bruno Ribeiro da Silva
on 2012-05-29 20:30:02 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Bruno Ribeiro da Silva
Created:
2012-05-29 20:30:02 UTC
Size:
1.10 KB
patch
obsolete
>--- a/tomcat7 2012-05-29 16:20:57.000000000 -0300 >+++ b/tomcat7 2012-05-29 16:21:02.000000000 -0300 >@@ -54,6 +54,10 @@ > # Set to "" by default. > # Java VM args to use. > # >+# tomcat7_wait (str): >+# Set to "120" by default. >+# Set the wait time for tomcat service initialization in seconds (min 10). >+# > # You may symlink this script with other names to run multiple > # instances of tomcat7 with different configurations. > # >@@ -89,6 +93,7 @@ > eval "_tomcat_logging_config=\${${name}_logging_config:-'${_tomcat_catalina_base}/conf/logging.properties'}" > eval "_tomcat_classpath=\${${name}_classpath:-''}" > eval "_tomcat_java_opts=\${${name}_java_opts:-''}" >+eval "_tomcat_wait=\${${name}_wait:-'120'}" > > pidfile="/var/run/${name}.pid" > >@@ -102,7 +107,7 @@ > -server \ > -user ${_tomcat_catalina_user} \ > -pidfile '${pidfile}' \ >- -wait 10 \ >+ -wait '${_tomcat_wait}' \ > -outfile '${_tomcat_stdout}' \ > -errfile '${_tomcat_stderr}' \ > -classpath '/usr/local/apache-tomcat-7.0/bin/bootstrap.jar:/usr/local/share/java/classes/commons-daemon.jar:/usr/local/apache-tomcat-7.0/bin/tomcat-juli.jar${_tomcat_classpath}' \
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 168442
: 124919