[MacPorts] #27298: tomcat6 @6.0.29 cannot start using tomcatctl, must use startup.sh
MacPorts
noreply at macports.org
Mon Jan 17 16:54:25 PST 2011
#27298: tomcat6 @6.0.29 cannot start using tomcatctl, must use startup.sh
------------------------------------+---------------------------------------
Reporter: portigs@… | Owner: ricci@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.9.2
Keywords: jsvc | Port: tomcat6
------------------------------------+---------------------------------------
Comment(by info@…):
Replying to [comment:4 kevin.barnard@…]:
> Replying to [comment:3 portigs@…]:
>
> Add the following option to jsvc options line 115 in tomcatctl
> {{{
> -jvm server
> }}}
>
> no need to change the filesystem. Hope that helps
10.6.5
This worked for me as well, with tomcat6 @6.0.29, OS 10.6.5
Here's a patch.
{{{
diff --git a/tomcatctl.dist b/tomcatctl
index c441e0f..eb31fc8 100755
--- a/tomcatctl.dist
+++ b/tomcatctl
@@ -123,6 +123,7 @@ start()
-Dcatalina.base="$CATALINA_BASE" \
-Djava.io.tmpdir="$CATALINA_TMPDIR" \
-Djava.endorsed.dirs="$JAVA_ENDORSED_DIRS" \
+ -jvm server \
org.apache.catalina.startup.Bootstrap "$@" start
# Wait for it to really start
}}}
--
Ticket URL: <https://trac.macports.org/ticket/27298#comment:6>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list