You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by jf...@apache.org on 2003/01/03 17:59:08 UTC
cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/core StandardEngine.java
jfclere 2003/01/03 08:59:08
Modified: catalina/src/share/org/apache/catalina/core
StandardEngine.java
Log:
Allow to use the system property to set the JvmRoute.
Revision Changes Path
1.2 +9 -4 jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/core/StandardEngine.java
Index: StandardEngine.java
===================================================================
RCS file: /home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/core/StandardEngine.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- StandardEngine.java 18 Jul 2002 16:48:12 -0000 1.1
+++ StandardEngine.java 3 Jan 2003 16:59:08 -0000 1.2
@@ -104,6 +104,11 @@
super();
pipeline.setBasic(new StandardEngineValve());
+ /* Set the jmvRoute using the system property jvmRoute */
+ try {
+ setJvmRoute(System.getProperty("jvmRoute"));
+ } catch(Exception ex) {
+ }
}
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/core
StandardEngine.java
Posted by Glenn Nielsen <gl...@mail.more.net>.
Please create property names which are in a package,
i.e. org.apache.ajp.jvmRoute instead of jvmRoute. Then it is easier
to grant or prevent access to the property using the SecurityManager
PropertyPermission.
Thanks,
Glenn
jfclere@apache.org wrote:
> jfclere 2003/01/03 08:59:08
>
> Modified: catalina/src/share/org/apache/catalina/core
> StandardEngine.java
> Log:
> Allow to use the system property to set the JvmRoute.
>
> Revision Changes Path
> 1.2 +9 -4 jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/core/StandardEngine.java
>
> Index: StandardEngine.java
> ===================================================================
> RCS file: /home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/core/StandardEngine.java,v
> retrieving revision 1.1
> retrieving revision 1.2
> diff -u -r1.1 -r1.2
> --- StandardEngine.java 18 Jul 2002 16:48:12 -0000 1.1
> +++ StandardEngine.java 3 Jan 2003 16:59:08 -0000 1.2
> @@ -104,6 +104,11 @@
>
> super();
> pipeline.setBasic(new StandardEngineValve());
> + /* Set the jmvRoute using the system property jvmRoute */
> + try {
> + setJvmRoute(System.getProperty("jvmRoute"));
> + } catch(Exception ex) {
> + }
>
> }
>
>
>
>
>
> --
> To unsubscribe, e-mail: <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
--
----------------------------------------------------------------------
Glenn Nielsen glenn@more.net | /* Spelin donut madder |
MOREnet System Programming | * if iz ina coment. |
Missouri Research and Education Network | */ |
----------------------------------------------------------------------
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>