You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by jb...@apache.org on 2006/02/15 14:15:07 UTC

svn commit: r378004 - in /cocoon/branches/BRANCH_2_1_X: cocoon.sh status.xml

Author: jbq
Date: Wed Feb 15 05:15:06 2006
New Revision: 378004

URL: http://svn.apache.org/viewcvs?rev=378004&view=rev
Log:
In cocoon.sh, use shell built-in command "exec" to replace sh's process instead
of forking a new process for executing the "java" command, useful for proper
service management

Modified:
    cocoon/branches/BRANCH_2_1_X/cocoon.sh
    cocoon/branches/BRANCH_2_1_X/status.xml

Modified: cocoon/branches/BRANCH_2_1_X/cocoon.sh
URL: http://svn.apache.org/viewcvs/cocoon/branches/BRANCH_2_1_X/cocoon.sh?rev=378004&r1=378003&r2=378004&view=diff
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/cocoon.sh (original)
+++ cocoon/branches/BRANCH_2_1_X/cocoon.sh Wed Feb 15 05:15:06 2006
@@ -140,7 +140,7 @@
 
 # ----- Set Local Variables ( used to minimize cut/paste) ---------------------
 
-JAVA="$JAVA_HOME/bin/java"
+JAVA="exec $JAVA_HOME/bin/java"
 ENDORSED_LIBS="$COCOON_HOME/lib/endorsed"
 ENDORSED="-Djava.endorsed.dirs=$ENDORSED_LIBS"
 PARSER=-Dorg.xml.sax.parser=org.apache.xerces.parsers.SAXParser

Modified: cocoon/branches/BRANCH_2_1_X/status.xml
URL: http://svn.apache.org/viewcvs/cocoon/branches/BRANCH_2_1_X/status.xml?rev=378004&r1=378003&r2=378004&view=diff
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/status.xml (original)
+++ cocoon/branches/BRANCH_2_1_X/status.xml Wed Feb 15 05:15:06 2006
@@ -180,6 +180,11 @@
   <release version="@version@" date="@date@">
 -->
   <release version="2.1.9" date="TBD">
+    <action dev="JBQ" type="fix">
+      In cocoon.sh, use shell built-in command "exec" to replace sh's process
+      instead of forking a new process for executing the "java" command, useful
+      for proper service management
+    </action>
     <action dev="BRD" type="add" >
       CForms: binding: implemented support for a new attribute "jxpath-factory"
       (can be used on any binding element) to change the factory used by JXPath