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 2014/08/08 13:45:10 UTC
[Bug 56829] New: do not override _RUNJAVA and _RUNJDB environment
variables if already defined
https://issues.apache.org/bugzilla/show_bug.cgi?id=56829
Bug ID: 56829
Summary: do not override _RUNJAVA and _RUNJDB environment
variables if already defined
Product: Tomcat 6
Version: 6.0.41
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P2
Component: Catalina
Assignee: dev@tomcat.apache.org
Reporter: neeme.praks@eesti.ee
Created attachment 31888
--> https://issues.apache.org/bugzilla/attachment.cgi?id=31888&action=edit
patch
I'm integrating LiveRebel (http://liverebel.com) with Tomcat. I need a clean
way how to get Tomcat scripts to start LiveRebel agent instead of Tomcat (the
agent will be responsible for starting Tomcat).
Currently we are patching Tomcat scripts (catalina.sh/bat and
setclasspath.sh/bat); however, that is messy, as every time user updates
Tomcat, those changes get overwritten.
Instead, I would like to change the "java" executable that Tomcat scripts use
to start Tomcat.
My current solution is to set _RUNJAVA environment variable in
CATALINA_BASE/bin/setenv.sh/bat and then patch
CATALINA_HOME/bin/setclasspath.sh/bat not to override the setting if already
set (see the attached patch).
This solution is also described here:
http://zeroturnaround.com/forums/topic/trouble-setting-up-live-rebel-with-tomcat-on-ubuntu/#post-45253
--
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
[Bug 56829] do not override _RUNJAVA and _RUNJDB environment
variables if already defined
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56829
Mark Thomas <ma...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #2 from Mark Thomas <ma...@apache.org> ---
This has been fixed in 6.0.x for 6.0.42 onwards.
--
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
[Bug 56829] do not override _RUNJAVA and _RUNJDB environment
variables if already defined
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56829
--- Comment #1 from Mark Thomas <ma...@apache.org> ---
Fixed in 8.0.x for 8.0.11 onwards and in 7.0.x for 7.0.56 onwards.
I modified the patch slightly so setclasspath.sh handled java and jdb
separately.
The modified patch has been proposed for 6.0.x.
--
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