Re: Non-http connector in 5.5

2006-10-07 Thread Remy Maucherat

Subramanian, Ganesh wrote:

Hi,
 
I would like to extend the tomcat servlet framework to SIP protocol (JSR 116). I can see several mail threads with the similar topic in the mailing list archives. Most of them seem to work with Tomcat 4.x and insists in implementing the 'org.apache.coyote.ProtocolHandler'. But that alone is not sufficient to support the Sip Protocol. I should be able to use my own Connector class to create Request/Response objects (SipRequest/SipResponse). Tomcat 4.x allowed us to specify the name of the class implementing the Connector interface, but in Tomcat 5.5 this interface has been removed and the 'org.apache.catalina.connector.Connector' class has been hardcoded in the source.
 
Please let me how we can specify/use custom Connector class? 


SIP is different, so actually what you need to do is buid a separate 
servlet container which will be tied to Catalina only at the 
StandardContext level.


I am still very interested in SIP (which allows bidirectional 
communication without the big hack that is comet), personally.


Rémy

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



svn commit: r453989 - /tomcat/connectors/trunk/jk/xdocs/config/apache.xml

2006-10-07 Thread rjung
Author: rjung
Date: Sat Oct  7 12:22:58 2006
New Revision: 453989

URL: http://svn.apache.org/viewvc?view=rev&rev=453989
Log:
Fixed Documentation error found by Jeff Johnson.

Modified:
tomcat/connectors/trunk/jk/xdocs/config/apache.xml

Modified: tomcat/connectors/trunk/jk/xdocs/config/apache.xml
URL: 
http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/xdocs/config/apache.xml?view=diff&rev=453989&r1=453988&r2=453989
==
--- tomcat/connectors/trunk/jk/xdocs/config/apache.xml (original)
+++ tomcat/connectors/trunk/jk/xdocs/config/apache.xml Sat Oct  7 12:22:58 2006
@@ -589,7 +589,7 @@
   # and exclude static content.
   
 SetHandler jakarta-servlet
-SetEnvIf REQUEST_URI ^/apps/([^/]*)/ JK_WORKER_NAME $1
+SetEnvIf REQUEST_URI ^/apps/([^/]*)/ JK_WORKER_NAME=$1
 SetEnvIf REQUEST_URI ^/apps/([^/]*)/static no-jk
   
 



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



Re: SetEnvIf example in docs missing "="

2006-10-07 Thread Rainer Jung
Thanks for the hint. I fixed it. Unfortunately SetEnv takes a space and 
SetEnvIf an equals sign. That's were I broke the doc.


Jeff Johnson wrote:
It took me a while to figure out why the example at the very bottom of 
http://tomcat.apache.org/connectors-doc/config/apache.html kept throwing

an error like this:
[2006-10-06 14:05:06] [10200:7072] [info]  jk_handler::mod_jk.c (2071): Could 
not find a worker for worker name=1

I finally figure out that instead of this:
SetEnvIf REQUEST_URI ^/apps/([^/]*)/ JK_WORKER_NAME $1

it should be this:
SetEnvIf REQUEST_URI ^/apps/([^/]*)/ JK_WORKER_NAME=$1

Awesome feature by the way, as well as the new ability to log which real 
workers the load balancer sends the requests to via apache logging!


Yes, I hope a lot of people will start to use it.


Thanks!


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



svn commit: r453994 - /tomcat/connectors/trunk/jk/xdocs/config/apache.xml

2006-10-07 Thread rjung
Author: rjung
Date: Sat Oct  7 12:29:03 2006
New Revision: 453994

URL: http://svn.apache.org/viewvc?view=rev&rev=453994
Log:
Adding doc for the forgotten log notes of the load balancer.

Modified:
tomcat/connectors/trunk/jk/xdocs/config/apache.xml

Modified: tomcat/connectors/trunk/jk/xdocs/config/apache.xml
URL: 
http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/xdocs/config/apache.xml?view=diff&rev=453994&r1=453993&r2=453994
==
--- tomcat/connectors/trunk/jk/xdocs/config/apache.xml (original)
+++ tomcat/connectors/trunk/jk/xdocs/config/apache.xml Sat Oct  7 12:29:03 2006
@@ -234,6 +234,8 @@
   Load-Balancer: 
Bytes transferred for the first worker tried
   Load-Balancer: Error 
count for the first worker tried
   Load-Balancer: Busy 
count for the first worker tried
+  Load-Balancer: 
Activation state for the first worker tried
+  Load-Balancer: Error 
state for the first worker tried
   Load-Balancer: Name of 
the last worker tried
   Load-Balancer: Type of 
the last worker tried
   Load-Balancer: Access 
count for the last worker tried
@@ -241,6 +243,8 @@
   Load-Balancer: 
Bytes transferred for the last worker tried
   Load-Balancer: Error 
count for the last worker tried
   Load-Balancer: Busy count 
for the last worker tried
+  Load-Balancer: 
Activation state for the last worker tried
+  Load-Balancer: Error 
state for the last worker tried
 
 
 



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



[RESULT] [VOTE] Tomcat 4.1.34 Stability

2006-10-07 Thread Mark Thomas
The votes were as follows:
Mark Thomas+1
Yoav Shapira   +1
Remy Maucherat +1
Peter Rossbach +1

The vote therefore passes. I'll update the web site and send out an
announcement.

Mark


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



svn commit: r454015 - in /tomcat/site/trunk: docs/download-41.html docs/index.html xdocs/download-41.xml xdocs/index.xml

2006-10-07 Thread markt
Author: markt
Date: Sat Oct  7 13:37:49 2006
New Revision: 454015

URL: http://svn.apache.org/viewvc?view=rev&rev=454015
Log:
Update after 4.1.34 was voted stable.

Modified:
tomcat/site/trunk/docs/download-41.html
tomcat/site/trunk/docs/index.html
tomcat/site/trunk/xdocs/download-41.xml
tomcat/site/trunk/xdocs/index.xml

Modified: tomcat/site/trunk/docs/download-41.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/download-41.html?view=diff&rev=454015&r1=454014&r2=454015
==
--- tomcat/site/trunk/docs/download-41.html (original)
+++ tomcat/site/trunk/docs/download-41.html Sat Oct  7 13:37:49 2006
@@ -3,16 +3,16 @@
 
 
 Apache Tomcat - Apache Tomcat 4 Downloads
-
+
 
-
-
+
+
 
 
 
 
 http://tomcat.apache.org/";>
-
+
 
 
 
@@ -23,28 +23,28 @@
 
 
 http://www.apache.org/";>
-http://www.apache.org/images/asf-logo.gif"; />
+http://www.apache.org/images/asf-logo.gif"; align="right" alt="Apache 
Logo" border="0"/>
 
 
 
 
 
-http://www.google.com/search";>
-
-
-
+http://www.google.com/search"; method="get">
+
+
+
 
 
-
+
 
 
 
-
+
 
 
 
 
-
+
 
 Apache Tomcat
 
@@ -155,11 +155,11 @@
 
 
 
-
-
+
+
 
 
-
+
 
 Tomcat 4 Downloads
 
@@ -185,14 +185,14 @@
 
 
 
-
+
 
 
 
-
+
 
 
-
+
 
 Release Integrity
 
@@ -220,14 +220,14 @@
 
 
 
-
+
 
 
 
-
+
 
 
-
+
 
 Mirrors
 
@@ -243,8 +243,8 @@
  encounter a problem with this mirror, please select another
  mirror.  If all mirrors are failing, there are backup
  mirrors (at the end of the mirrors list) that should be
- available.[if-any logo]
-
+ available.[if-any logo]
+
 [end]
   
   
@@ -260,7 +260,7 @@
[for backup][backup] (backup)[end]
  [end]
  
-
+
 
 
 
@@ -269,16 +269,16 @@
 
 
 
-
+
 
 
 
-
+
 
 
-
-
-4.1.34 (Beta)
+
+
+4.1.34 (Stable)
 
 
 
@@ -287,10 +287,10 @@
 
 
 
-  
+  
 
 
-
+
 
 Binary Distributions
 
@@ -363,14 +363,14 @@
 
 
 
-
+
 
 
 
-  
+  
 
 
-
+
 
 Source Distributions
 
@@ -403,7 +403,7 @@
 
 
 
-
+
 
 
 
@@ -413,158 +413,14 @@
 
 
 
-
+
 
 
 
-
+
 
 
-
-
-4.1.31 (Stable)
-
-
-
-
-
-
-
-
-  
-
-
-
-
-Binary Distributions
-
-
-
-
-
-
-
-
-  Full distributions for JDK 1.2 or later:
-
-  
-zip
-(
-http://www.apache.org/dist/tomcat/tomcat-4/v4.1.31/bin/jakarta-tomcat-4.1.31.zip.md5";>md5
-,
-http://www.apache.org/dist/tomcat/tomcat-4/v4.1.31/bin/jakarta-tomcat-4.1.31.zip.asc";>pgp
-)
-  
-  
-tar.gz
-(
-http://www.apache.org/dist/tomcat/tomcat-4/v4.1.31/bin/jakarta-tomcat-4.1.31.tar.gz.md5";>md5
-,
-http://www.apache.org/dist/tomcat/tomcat-4/v4.1.31/bin/jakarta-tomcat-4.1.31.tar.gz.asc";>pgp
-)
-  
-  
-Windows
 Installer
-(
-http://www.apache.org/dist/tomcat/tomcat-4/v4.1.31/bin/jakarta-tomcat-4.1.31.exe.md5";>md5
-,
-http://www.apache.org/dist/tomcat/tomcat-4/v4.1.31/bin/jakarta-tomcat-4.1.31.exe.asc";>pgp
-)
-  
-
-  
-  Light distributions for JDK 1.4 or later:
-
-  
-zip
-(
-http://www.apache.org/dist/tomcat/tomcat-4/v4.1.31/bin/jakarta-tomcat-4.1.31-LE-jdk14.zip.md5";>md5
-,
-http://www.apache.org/dist/tomcat/tomcat-4/v4.1.31/bin/jakarta-tomcat-4.1.31-LE-jdk14.zip.asc";>pgp
-)
-  
-  
-tar.gz
-(
-http://www.apache.org/dist/tomcat/tomcat-4/v4.1.31/bin/jakarta-tomcat-4.1.31-LE-jdk14.tar.gz.md5";>md5
-,
-http://www.apache.org/dist/tomcat/tomcat-4/v4.1.31/bin/jakarta-tomcat-4.1.31-LE-jdk14.tar.gz.asc";>pgp
-)
-  
-  
-Windows
 Installer
-(
-http://www.apache.org/dist/tomcat/tomcat-4/v4.1.31/bin/jakarta-tomcat-4.1.31-LE-jdk14.exe.md5";>md5
-,
-http://www.apache.org/dist/tomcat/tomcat-4/v4.1.31/bin/jakarta-tomcat-4.1.31-LE-jdk14.exe.asc";>pgp
-)
-  
-
-  
-
-  
-
-
-
-
-
-
-
-
-  
-
-
-
-
-Source Distributions
-
-
-
-
-
-
-
-
-  
-zip
-(
-http://www.apache.org/dist/tomcat/tomcat-4/v4.1.31/src/jakarta-tomcat-4.1.31-src.zip.md5";>md5
-,
-http://www.apache.org/dist/tomcat/tomcat-4/v4.1.31/src/jakarta-tomcat-4.1.31-src.zip.asc";>pgp
-)
-  
-  
-tar.gz
-(
-http://www.apache.org/dist/tomcat/tomcat-4/v4.1.31/src/

DO NOT REPLY [Bug 36922] - setup.sh file mis-advertised and missing

2006-10-07 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=36922


[EMAIL PROTECTED] changed:

   What|Removed |Added

   Severity|minor   |enhancement




--- Additional Comments From [EMAIL PROTECTED]  2006-10-07 13:56 ---
The docs make sense to me but I am also sure they could be improved. To
re-iterate Yoav's comments, if you would like to provide some alternative words
we would be happy to consider them.

Marking as an ehancement.

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

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



DO NOT REPLY [Bug 36663] - setclasspath.bat requires that JAVA_HOME points to a JDK

2006-10-07 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=36663


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEEDINFO|RESOLVED
 Resolution||DUPLICATE




--- Additional Comments From [EMAIL PROTECTED]  2006-10-07 14:13 ---


*** This bug has been marked as a duplicate of 32081 ***

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

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



DO NOT REPLY [Bug 32081] - Wrapper scripts require a JDK to be present.

2006-10-07 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=32081


[EMAIL PROTECTED] changed:

   What|Removed |Added

 CC||[EMAIL PROTECTED]




--- Additional Comments From [EMAIL PROTECTED]  2006-10-07 14:13 ---
*** Bug 36663 has been marked as a duplicate of this bug. ***

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

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