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 2012/01/28 07:51:25 UTC

DO NOT REPLY [Bug 52548] New: service.bat fails to set catalina.base and catalina.home due to apparent procrun bug

https://issues.apache.org/bugzilla/show_bug.cgi?id=52548

             Bug #: 52548
           Summary: service.bat fails to set catalina.base and
                    catalina.home due to apparent procrun bug
           Product: Tomcat 7
           Version: 7.0.25
          Platform: PC
            Status: NEW
          Severity: minor
          Priority: P2
         Component: Integration
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: chuck.caldarale@unisys.com
    Classification: Unclassified


Created attachment 28221
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=28221
diff -u patch for service.bat against 7.0.25

It appears that procrun 1.0.8 is not handling ++JvmOptions properly, instead
treating it as --JvmOptions.  This results in only the last use of JvmOptions
being retained in the registry, causing the settings for catalina.base and
catalina.home to be lost when applied by the service.bat script.  Attached is a
diff -u patch for service.bat 7.0.25 to work around the problem; it has the
unfortunate effect of making the lines rather long.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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


DO NOT REPLY [Bug 52548] service.bat fails to set catalina.base and catalina.home due to apparent procrun bug

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52548

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         OS/Version|                            |All

--- Comment #1 from Mark Thomas <ma...@apache.org> 2012-01-28 21:00:37 UTC ---
Thanks for the analysis and the patch.

https://issues.apache.org/jira/browse/DAEMON-237 has been raised for the
procrun bug. If that doesn't get fixed before the next 7.0.x release we'll go
with the patch provided.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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


DO NOT REPLY [Bug 52548] service.bat fails to set catalina.base and catalina.home due to apparent procrun bug

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52548

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|Integration                 |Native:Packaging
            Version|7.0.25                      |6.0.35
            Product|Tomcat 7                    |Tomcat 6
   Target Milestone|---                         |default

--- Comment #2 from Mark Thomas <ma...@apache.org> 2012-02-15 15:01:58 UTC ---
Fixed in trunk and 7.0.x and will be included in 7.0.26 onwards by upgrading to
Daemon 1.0.9.

The same upgrade has been proposed for 6.0.x and 5.5.x but note that 5.5.x is
not affected by this bug since it currently uses Daemon 1.0.7.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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


DO NOT REPLY [Bug 52548] service.bat fails to set catalina.base and catalina.home due to apparent procrun bug

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52548

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #28221|0                           |1
           is patch|                            |
  Attachment #28221|application/octet-stream    |text/plain
          mime type|                            |

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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


DO NOT REPLY [Bug 52548] service.bat fails to set catalina.base and catalina.home due to apparent procrun bug

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52548

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #3 from Mark Thomas <ma...@apache.org> 2012-02-17 18:10:25 UTC ---
Fixed in 6.0.x and will be included in 6.0.36 onwards.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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