Re: svn commit: r545496 - in /tomcat/container/tc5.5.x: catalina/src/share/org/apache/catalina/mbeans/JMXAdaptorLifecycleListener.java webapps/docs/changelog.xml webapps/docs/monitoring.xml

2007-06-09 Thread Peter Rossbach

HI Filip,


why this implementation break the build? I have testet with jdk 1.5.0  
and made successfull a clean build?


Peter



Am 08.06.2007 um 14:50 schrieb [EMAIL PROTECTED]:


Author: fhanik
Date: Fri Jun  8 05:50:14 2007
New Revision: 545496

URL: http://svn.apache.org/viewvc?view=rev&rev=545496
Log:
undo last minute additions that break the build

Removed:
tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/ 
mbeans/JMXAdaptorLifecycleListener.java

Modified:
tomcat/container/tc5.5.x/webapps/docs/changelog.xml
tomcat/container/tc5.5.x/webapps/docs/monitoring.xml

Modified: tomcat/container/tc5.5.x/webapps/docs/changelog.xml
URL: http://svn.apache.org/viewvc/tomcat/container/tc5.5.x/webapps/ 
docs/changelog.xml?view=diff&rev=545496&r1=545495&r2=545496
== 


--- tomcat/container/tc5.5.x/webapps/docs/changelog.xml (original)
+++ tomcat/container/tc5.5.x/webapps/docs/changelog.xml Fri Jun  8  
05:50:14 2007

@@ -96,11 +96,6 @@
  Allow for a forward/include to call getAttributeNames on  
the Request in a sandbox. (billbarker)

   
   
-39055: Add JMXAdaptorLifecycleListener to start  
JMX Connector with fix naming and data port.
-This feature is needed to have stable remote access as  
your local firewall is activ. The adaptor read all
-standard JMX system properties (- 
Dcom.sun.management.jmxremote). Feature provided by George Lindholm  
and Juergen Herrman (pero)

-  
-  
 And getSession() operation to StandardManager and  
DeltaManager JMX Interface (pero)

   
 

Modified: tomcat/container/tc5.5.x/webapps/docs/monitoring.xml
URL: http://svn.apache.org/viewvc/tomcat/container/tc5.5.x/webapps/ 
docs/monitoring.xml?view=diff&rev=545496&r1=545495&r2=545496
== 


--- tomcat/container/tc5.5.x/webapps/docs/monitoring.xml (original)
+++ tomcat/container/tc5.5.x/webapps/docs/monitoring.xml Fri Jun  8  
05:50:14 2007

@@ -63,21 +63,9 @@
 
 Note:The JSR 160 JMX-Adaptor opens a second data  
protocol port. That is a problem
 when you have installed a local firewall.  However, there is  
at least one possible

-workaround: using a custom JMXConnectorServer.
-Start a JMX Adaptor with fix data port is supported with  
Tomcst 5.5.24 release:

-
-
-...
-
-...
-
-   
-You can use all JMX system properties  
(com.sun.management.jmxremote.xxx) to configure the  
adaptor :-) At your remote jconsole
-call the jmx adaptor with following command jconsole  
service:jmx:rmi://myhost:8084/jndi/rmi://myhost:8083/server
+workaround: using a custom JMXConnectorServer.  The code for  
this is available
+at http://issues.apache.org/bugzilla/show_bug.cgi? 
id=39055" title="Bugzila 39055">Bugzilla 39055.

 
-
-
 Activate JMX MX4J Http Adaptor with Java 1.4:
 
   Install the tomcat compat package
@@ -111,7 +99,7 @@

   
For simple tomcat ant task usage with ant 1.6.x we have  
integrate import and antlib support.
-   antlib support: Copy your catalina-ant.jar from  
$CATALINA_HOME/server/lib to $ANT_HOME/lib.
+   antlibCopy your catalina-ant.jar from $CATALINA_HOME/ 
server/lib to $ANT_HOME/lib.

Following example show the JMX Accessor usage:





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






Re: svn commit: r544401 - in /tomcat/container/tc5.5.x: catalina/src/share/org/apache/catalina/mbeans/JMXAdaptorLifecycleListener.java webapps/docs/changelog.xml webapps/docs/monitoring.xml

2007-06-09 Thread Peter Rossbach

Hi Filip,

I found a simple way to build with Java 1.4.2.

Index: container/catalina/build.xml
===
--- container/catalina/build.xml(revision 545449)
+++ container/catalina/build.xml(working copy)
@@ -613,6 +613,7 @@
   
   
   
+  

 
 
 
@@ -656,7 +657,9 @@
unless="compile.jsse"/>
   
-
+  
+   unless="jdk.1.5.present"/>
+   
 
 
@@ -990,6 +993,7 @@
 
 
 
+

   
 
@@ -1025,6 +1029,7 @@
 
 
 
+

 
 

Peter



Am 08.06.2007 um 14:03 schrieb Filip Hanik - Dev Lists:

I'm gonna pull out your changes Peter, I was supposed to tag, but  
this stuff doesn't build.
We're building Tomcat 5.5 using JDK 1.4.2 (that was the requirement  
passed down to me) and this class uses JDK 1.5 imports RMI SSL  
factory stuff.


Filip

[EMAIL PROTECTED] wrote:

Author: pero
Date: Mon Jun  4 23:19:13 2007
New Revision: 544401

URL: http://svn.apache.org/viewvc?view=rev&rev=544401
Log:
Add JMXAdaptorLifecycleListener to start JMX Connector with fix  
naming and data port. This feature is needed to have stable remote  
access as your local firewall is activ.


Added:
tomcat/container/tc5.5.x/catalina/src/share/org/apache/ 
catalina/mbeans/JMXAdaptorLifecycleListener.java   (with props)

Modified:
tomcat/container/tc5.5.x/webapps/docs/changelog.xml
tomcat/container/tc5.5.x/webapps/docs/monitoring.xml

Added: tomcat/container/tc5.5.x/catalina/src/share/org/apache/ 
catalina/mbeans/JMXAdaptorLifecycleListener.java
URL: http://svn.apache.org/viewvc/tomcat/container/tc5.5.x/ 
catalina/src/share/org/apache/catalina/mbeans/ 
JMXAdaptorLifecycleListener.java?view=auto&rev=544401
= 
=
--- tomcat/container/tc5.5.x/catalina/src/share/org/apache/ 
catalina/mbeans/JMXAdaptorLifecycleListener.java (added)
+++ tomcat/container/tc5.5.x/catalina/src/share/org/apache/ 
catalina/mbeans/JMXAdaptorLifecycleListener.java Mon Jun  4  
23:19:13 2007

@@ -0,0 +1,355 @@




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






svn commit: r545793 - in /tomcat/connectors/trunk/jk/xdocs: ajp/ajpv13a.xml miscellaneous/changelog.xml

2007-06-09 Thread jfclere
Author: jfclere
Date: Sat Jun  9 13:38:06 2007
New Revision: 545793

URL: http://svn.apache.org/viewvc?view=rev&rev=545793
Log:
Add missing stuff.

Modified:
tomcat/connectors/trunk/jk/xdocs/ajp/ajpv13a.xml
tomcat/connectors/trunk/jk/xdocs/miscellaneous/changelog.xml

Modified: tomcat/connectors/trunk/jk/xdocs/ajp/ajpv13a.xml
URL: 
http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/xdocs/ajp/ajpv13a.xml?view=diff&rev=545793&r1=545792&r2=545793
==
--- tomcat/connectors/trunk/jk/xdocs/ajp/ajpv13a.xml (original)
+++ tomcat/connectors/trunk/jk/xdocs/ajp/ajpv13a.xml Sat Jun  9 13:38:06 2007
@@ -179,7 +179,9 @@
   which the servlet container is sending back -- with the terminating \0
   character, the C code can pass around references into a single buffer,
   without copying.  If the \0 was missing, the C code would have to copy
-  things out in order to get its notion of a string.
+  things out in order to get its notion of a string. Note a size of -1
+  (65535) indicates a null string and no data follow the length in this
+  case.
 
 
 
@@ -526,6 +528,8 @@
   ?ssl_session0x09
   ?req_attribute0x0AName (the name of the attribut 
follows)
   ?ssl_key_size0x0B
+  ?secret0x0C
+  ?stored_method0x0D
   are_done0xFFrequest_terminator
 
 

Modified: tomcat/connectors/trunk/jk/xdocs/miscellaneous/changelog.xml
URL: 
http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/xdocs/miscellaneous/changelog.xml?view=diff&rev=545793&r1=545792&r2=545793
==
--- tomcat/connectors/trunk/jk/xdocs/miscellaneous/changelog.xml (original)
+++ tomcat/connectors/trunk/jk/xdocs/miscellaneous/changelog.xml Sat Jun  9 
13:38:06 2007
@@ -41,6 +41,9 @@
   is set during for configure. (rjung)
   
   
+  Change the default value of JkOptions to ForwardURICompatUnparsed. The 
old default value was ForwardURICompat. (jfclere)
+  
+  
   i5/OS (AS/400) V5R4 port where Apache 2.0 modules should now use UTF8. 
(hgomez)
   
   



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r545794 - /tomcat/connectors/trunk/jk/xdocs/miscellaneous/changelog.xml

2007-06-09 Thread jfclere
Author: jfclere
Date: Sat Jun  9 13:41:07 2007
New Revision: 545794

URL: http://svn.apache.org/viewvc?view=rev&rev=545794
Log:
Oops don't want to commit this. Sorry my bad.

Modified:
tomcat/connectors/trunk/jk/xdocs/miscellaneous/changelog.xml

Modified: tomcat/connectors/trunk/jk/xdocs/miscellaneous/changelog.xml
URL: 
http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/xdocs/miscellaneous/changelog.xml?view=diff&rev=545794&r1=545793&r2=545794
==
--- tomcat/connectors/trunk/jk/xdocs/miscellaneous/changelog.xml (original)
+++ tomcat/connectors/trunk/jk/xdocs/miscellaneous/changelog.xml Sat Jun  9 
13:41:07 2007
@@ -41,9 +41,6 @@
   is set during for configure. (rjung)
   
   
-  Change the default value of JkOptions to ForwardURICompatUnparsed. The 
old default value was ForwardURICompat. (jfclere)
-  
-  
   i5/OS (AS/400) V5R4 port where Apache 2.0 modules should now use UTF8. 
(hgomez)
   
   



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: svn commit: r544137 - /tomcat/connectors/trunk/jk/native/common/jk_uri_worker_map.c

2007-06-09 Thread Remy Maucherat

Mark Thomas wrote:

If we re-encoded the uri before sending it to Tomcat that would meet
all of the above requirements wouldn't it?


I don't see how reencoding the URI would be possible: it will mess up 
character encoding, and may not correspond to the original URI.


How does it work in mod_proxy ?

Rémy

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]