DO NOT REPLY [Bug 43080] - Suspicious url pattern warning logged to wrong webapp

2007-08-10 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=43080


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|WONTFIX |




--- Additional Comments From [EMAIL PROTECTED]  2007-08-10 00:31 ---
If it cannot get the logger for the proper webapp then why does it log into some
other webapp? At least it should log into catalina.out.

This is a serious issue.

If proper logging is impossible then the whole verification should be removed,
it is useless like this IMHO.

(Not to mention that it is broken -- that's a different bug report. But that
shows that no one really used this information ever.)

-- 
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 43080] - Suspicious url pattern warning logged to wrong webapp

2007-08-10 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=43080


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||WONTFIX




--- Additional Comments From [EMAIL PROTECTED]  2007-08-10 00:18 ---
This class is using a static logger, and has no efficient way to access the
webapp logger.

-- 
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 43080] - Suspicious url pattern warning logged to wrong webapp

2007-08-10 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=43080





--- Additional Comments From [EMAIL PROTECTED]  2007-08-10 10:30 ---
Marius, do you have a test case that easily generates these log messages?

-- 
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]



Re: Bugzilla configuration

2007-08-10 Thread Rainer Jung

Looks good, thanks!

Yoav Shapira wrote:

Hey,

On 8/9/07, Yoav Shapira <[EMAIL PROTECTED]> wrote:

On 7/30/07, Rainer Jung <[EMAIL PROTECTED]> wrote:

OK, you are right. We certainly can drop some of them. Maybe the
following list is better?

Catalina
Cluster
Connectors
Documentation
Jasper
Native:Integration
Native:JK
Native:Packaging
Servlet & JSP API
Webapps:Examples
Webapps:Manager
Others

Seems reasonable.  If no one objects, I'll go create these.


OK, done.

Yoav


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



Re: Bugzilla configuration

2007-08-10 Thread Yoav Shapira
Hey,

On 8/9/07, Yoav Shapira <[EMAIL PROTECTED]> wrote:
> On 7/30/07, Rainer Jung <[EMAIL PROTECTED]> wrote:
> > OK, you are right. We certainly can drop some of them. Maybe the
> > following list is better?
> >
> > Catalina
> > Cluster
> > Connectors
> > Documentation
> > Jasper
> > Native:Integration
> > Native:JK
> > Native:Packaging
> > Servlet & JSP API
> > Webapps:Examples
> > Webapps:Manager
> > Others
>
> Seems reasonable.  If no one objects, I'll go create these.

OK, done.

Yoav

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



DO NOT REPLY [Bug 43080] - Suspicious url pattern warning logged to wrong webapp

2007-08-10 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=43080





--- Additional Comments From [EMAIL PROTECTED]  2007-08-10 10:43 ---
AFAIK you only need:
- URL patterns like "/foo/*" in you web.xml
- debug level logging

If you have several web apps the log events may show up in the wrong web app log
file, don't know how to trigger that.

See also bug 43079

-- 
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]



Rolling 5.5.25?

2007-08-10 Thread Filip Hanik - Dev Lists

Is there enough interest to see a 5.5.25 release?
5.5.24 never happened as there we're not enough votes.

Filip

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



Re: Rolling 5.5.25?

2007-08-10 Thread Yoav Shapira
Hey,

On 8/10/07, Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote:
> Is there enough interest to see a 5.5.25 release?
> 5.5.24 never happened as there we're not enough votes.

I think it's worth doing, for the security fixes alone.

Yoav

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



Re: Rolling 5.5.25?

2007-08-10 Thread Rainer Jung

Yes, I would test and vote this time.

Concerning the timing: we could allow some pending changes for a week or 
so, before proceeding to tag.


Filip, thanks for RM :)

Rainer

Yoav Shapira wrote:

Hey,

On 8/10/07, Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote:

Is there enough interest to see a 5.5.25 release?
5.5.24 never happened as there we're not enough votes.


I think it's worth doing, for the security fixes alone.

Yoav


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



svn commit: r564720 - in /tomcat/site/trunk: docs/download-connectors.html xdocs/download-connectors.xml

2007-08-10 Thread rjung
Author: rjung
Date: Fri Aug 10 12:07:05 2007
New Revision: 564720

URL: http://svn.apache.org/viewvc?view=rev&rev=564720
Log:
Update JK download page for release.

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

Modified: tomcat/site/trunk/docs/download-connectors.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/download-connectors.html?view=diff&rev=564720&r1=564719&r2=564720
==
--- tomcat/site/trunk/docs/download-connectors.html (original)
+++ tomcat/site/trunk/docs/download-connectors.html Fri Aug 10 12:07:05 2007
@@ -224,9 +224,7 @@
 
 
 
-JK 1.2 (
-WARNING: Release 1.2.24 has been withdrawn.
-) 
+JK 1.2
 
 
 
@@ -236,18 +234,18 @@
 
 
 
-JK
 1.2.23 Source Release tar.gz (e.g. Unix, Linux, Mac OS)
+JK
 1.2.25 Source Release tar.gz (e.g. Unix, Linux, Mac OS)
 
 
-[http://www.apache.org/dist/tomcat/tomcat-connectors/jk/source/jk-1.2.23/tomcat-connectors-1.2.23-src.tar.gz.asc";>pgp]
+[http://www.apache.org/dist/tomcat/tomcat-connectors/jk/source/jk-1.2.25/tomcat-connectors-1.2.25-src.tar.gz.asc";>pgp]
 
 
 
 
-JK
 1.2.23 Source Release zip (e.g. Windows)
+JK
 1.2.25 Source Release zip (e.g. Windows)
 
 
-[http://www.apache.org/dist/tomcat/tomcat-connectors/jk/source/jk-1.2.23/tomcat-connectors-1.2.23-src.zip.asc";>pgp]
+[http://www.apache.org/dist/tomcat/tomcat-connectors/jk/source/jk-1.2.25/tomcat-connectors-1.2.25-src.zip.asc";>pgp]
 
 
 

Modified: tomcat/site/trunk/xdocs/download-connectors.xml
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/xdocs/download-connectors.xml?view=diff&rev=564720&r1=564719&r2=564720
==
--- tomcat/site/trunk/xdocs/download-connectors.xml (original)
+++ tomcat/site/trunk/xdocs/download-connectors.xml Fri Aug 10 12:07:05 2007
@@ -26,17 +26,17 @@
 
 
 
-JK 1.2 (WARNING: Release 1.2.24 has been withdrawn.) 
+JK 1.2
 
 
 Source (please choose the 
correct format for your platform)
-JK
 1.2.23 Source Release tar.gz (e.g. Unix, Linux, Mac OS)
-[http://www.apache.org/dist/tomcat/tomcat-connectors/jk/source/jk-1.2.23/tomcat-connectors-1.2.23-src.tar.gz.asc";>pgp]
+JK
 1.2.25 Source Release tar.gz (e.g. Unix, Linux, Mac OS)
+[http://www.apache.org/dist/tomcat/tomcat-connectors/jk/source/jk-1.2.25/tomcat-connectors-1.2.25-src.tar.gz.asc";>pgp]
 
 
 
-JK
 1.2.23 Source Release zip (e.g. Windows)
-[http://www.apache.org/dist/tomcat/tomcat-connectors/jk/source/jk-1.2.23/tomcat-connectors-1.2.23-src.zip.asc";>pgp]
+JK
 1.2.25 Source Release zip (e.g. Windows)
+[http://www.apache.org/dist/tomcat/tomcat-connectors/jk/source/jk-1.2.25/tomcat-connectors-1.2.25-src.zip.asc";>pgp]
 
 
 



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



Re: Rolling 5.5.25?

2007-08-10 Thread Filip Hanik - Dev Lists
ok, I will schedule the 5.5.25 tag next Friday, 1pm (13.00) Mountain 
Time (GMT-7).


Filip

Rainer Jung wrote:

Yes, I would test and vote this time.

Concerning the timing: we could allow some pending changes for a week 
or so, before proceeding to tag.


Filip, thanks for RM :)

Rainer

Yoav Shapira wrote:

Hey,

On 8/10/07, Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote:

Is there enough interest to see a 5.5.25 release?
5.5.24 never happened as there we're not enough votes.


I think it's worth doing, for the security fixes alone.

Yoav


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






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



[RESULT][VOTE] Releasing Tomcat Connectors 1.2.25

2007-08-10 Thread Rainer Jung
We received five stable votes (Mladen, Jim, Peter, Günter and me) and no 
other votes.


I'm now starting to publish the release.

Thanks for supporting this release.

Regards,

Rainer

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



Re: [VOTE] Releasing Tomcat Connectors 1.2.25

2007-08-10 Thread Rainer Jung

I'm closing the vote with my own vote:


Apache Tomcat Connectors 1.2.25 is:

[X] Stable - no major issues, no regressions
[ ] Beta - at least one significant issue -- tell us what it is
[ ] Alpha - multiple significant issues -- tell us what they are


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



svn commit: r564727 - in /tomcat/trunk: java/org/apache/catalina/tribes/tipis/AbstractReplicatedMap.java test/org/apache/catalina/tribes/demos/MapDemo.java

2007-08-10 Thread fhanik
Author: fhanik
Date: Fri Aug 10 12:39:17 2007
New Revision: 564727

URL: http://svn.apache.org/viewvc?view=rev&rev=564727
Log:
fix state synchronization problems

Modified:

tomcat/trunk/java/org/apache/catalina/tribes/tipis/AbstractReplicatedMap.java
tomcat/trunk/test/org/apache/catalina/tribes/demos/MapDemo.java

Modified: 
tomcat/trunk/java/org/apache/catalina/tribes/tipis/AbstractReplicatedMap.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/tribes/tipis/AbstractReplicatedMap.java?view=diff&rev=564727&r1=564726&r2=564727
==
--- 
tomcat/trunk/java/org/apache/catalina/tribes/tipis/AbstractReplicatedMap.java 
(original)
+++ 
tomcat/trunk/java/org/apache/catalina/tribes/tipis/AbstractReplicatedMap.java 
Fri Aug 10 12:39:17 2007
@@ -247,7 +247,7 @@
 null, 
 null, 
 channel.getLocalMember(false),
-new Member[0]);
+null);
 if ( channel.getMembers().length > 0 ) {
 //send a ping, wait for all nodes to reply
 Response[] resp = rpcChannel.send(channel.getMembers(), 
@@ -295,7 +295,7 @@
 protected void broadcast(int msgtype, boolean rpc) throws ChannelException 
{
 //send out a map membership message, only wait for the first reply
 MapMessage msg = new MapMessage(this.mapContextName, msgtype,
-false, null, null, null, 
channel.getLocalMember(false), new Member[0]);
+false, null, null, null, 
channel.getLocalMember(false), null);
 if ( rpc) {
 Response[] resp = rpcChannel.send(channel.getMembers(), msg, 
rpcChannel.FIRST_REPLY, (channelSendOptions),rpcTimeout);
 for (int i = 0; i < resp.length; i++) {
@@ -484,13 +484,13 @@
 
 //map init request
 if (mapmsg.getMsgType() == mapmsg.MSG_INIT) {
-mapmsg.setBackUpNodes(wrap(channel.getLocalMember(false)));
+mapmsg.setPrimary(channel.getLocalMember(false));
 return mapmsg;
 }
 
 //map start request
 if (mapmsg.getMsgType() == mapmsg.MSG_START) {
-mapmsg.setBackUpNodes(wrap(channel.getLocalMember(false)));
+mapmsg.setPrimary(channel.getLocalMember(false));
 mapMemberAdded(sender);
 return mapmsg;
 }
@@ -720,6 +720,7 @@
 Map.Entry e = (Map.Entry) i.next();
 MapEntry entry = (MapEntry) super.get(e.getKey());
 if (entry.isPrimary() && inSet(member,entry.getBackupNodes())) {
+System.out.println("[1] Primary choosing a new backup");
 try {
 Member[] backup = publishEntryInfo(entry.getKey(), 
entry.getValue());
 entry.setBackupNodes(backup);
@@ -728,6 +729,7 @@
 log.error("Unable to relocate[" + entry.getKey() + "] to a 
new backup node", x);
 }
 } else if (member.equals(entry.getPrimary())) {
+System.out.println("[2] Primary disappeared");
 entry.setPrimary(null);
 } //end if
 
@@ -737,18 +739,21 @@
  entry.getBackupNodes().length == 1 &&
  entry.getBackupNodes()[0].equals(member) ) {
 //remove proxies that have no backup nor primaries
+System.out.println("[3] Removing orphaned proxy");
 i.remove();
-} else if ( entry.isBackup() &&
+} else if ( entry.getPrimary() == null &&
+entry.isBackup() &&
 entry.getBackupNodes()!=null && 
 entry.getBackupNodes().length == 1 &&
 
entry.getBackupNodes()[0].equals(channel.getLocalMember(false)) ) {
 try {
+System.out.println("[4] Backup becoming primary");
 entry.setPrimary(channel.getLocalMember(false));
 entry.setBackup(false);
 entry.setProxy(false);
 Member[] backup = publishEntryInfo(entry.getKey(), 
entry.getValue());
 entry.setBackupNodes(backup);
-mapOwner.objectMadePrimay(entry.getKey(),entry.getValue());
+if ( mapOwner!=null ) 
mapOwner.objectMadePrimay(entry.getKey(),entry.getValue());
 
 } catch (ChannelException x) {
 log.error("Unable to relocate[" + entry.getKey() + "] to a 
new backup node", x);

Modified: tomcat/trunk/test/org/apache/catalina/tribes/demos/MapDemo.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/test/org/apache/catalina/tribes/demos/MapDemo.java?view=diff&rev=564727&r

svn commit: r564728 - in /tomcat/tc6.0.x/trunk: java/org/apache/catalina/tribes/tipis/AbstractReplicatedMap.java test/org/apache/catalina/tribes/demos/MapDemo.java

2007-08-10 Thread fhanik
Author: fhanik
Date: Fri Aug 10 12:41:34 2007
New Revision: 564728

URL: http://svn.apache.org/viewvc?view=rev&rev=564728
Log:
backport from trunk rev 564727

Modified:

tomcat/tc6.0.x/trunk/java/org/apache/catalina/tribes/tipis/AbstractReplicatedMap.java
tomcat/tc6.0.x/trunk/test/org/apache/catalina/tribes/demos/MapDemo.java

Modified: 
tomcat/tc6.0.x/trunk/java/org/apache/catalina/tribes/tipis/AbstractReplicatedMap.java
URL: 
http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/java/org/apache/catalina/tribes/tipis/AbstractReplicatedMap.java?view=diff&rev=564728&r1=564727&r2=564728
==
--- 
tomcat/tc6.0.x/trunk/java/org/apache/catalina/tribes/tipis/AbstractReplicatedMap.java
 (original)
+++ 
tomcat/tc6.0.x/trunk/java/org/apache/catalina/tribes/tipis/AbstractReplicatedMap.java
 Fri Aug 10 12:41:34 2007
@@ -247,7 +247,7 @@
 null, 
 null, 
 channel.getLocalMember(false),
-new Member[0]);
+null);
 if ( channel.getMembers().length > 0 ) {
 //send a ping, wait for all nodes to reply
 Response[] resp = rpcChannel.send(channel.getMembers(), 
@@ -295,7 +295,7 @@
 protected void broadcast(int msgtype, boolean rpc) throws ChannelException 
{
 //send out a map membership message, only wait for the first reply
 MapMessage msg = new MapMessage(this.mapContextName, msgtype,
-false, null, null, null, 
channel.getLocalMember(false), new Member[0]);
+false, null, null, null, 
channel.getLocalMember(false), null);
 if ( rpc) {
 Response[] resp = rpcChannel.send(channel.getMembers(), msg, 
rpcChannel.FIRST_REPLY, (channelSendOptions),rpcTimeout);
 for (int i = 0; i < resp.length; i++) {
@@ -484,13 +484,13 @@
 
 //map init request
 if (mapmsg.getMsgType() == mapmsg.MSG_INIT) {
-mapmsg.setBackUpNodes(wrap(channel.getLocalMember(false)));
+mapmsg.setPrimary(channel.getLocalMember(false));
 return mapmsg;
 }
 
 //map start request
 if (mapmsg.getMsgType() == mapmsg.MSG_START) {
-mapmsg.setBackUpNodes(wrap(channel.getLocalMember(false)));
+mapmsg.setPrimary(channel.getLocalMember(false));
 mapMemberAdded(sender);
 return mapmsg;
 }
@@ -720,6 +720,7 @@
 Map.Entry e = (Map.Entry) i.next();
 MapEntry entry = (MapEntry) super.get(e.getKey());
 if (entry.isPrimary() && inSet(member,entry.getBackupNodes())) {
+System.out.println("[1] Primary choosing a new backup");
 try {
 Member[] backup = publishEntryInfo(entry.getKey(), 
entry.getValue());
 entry.setBackupNodes(backup);
@@ -728,6 +729,7 @@
 log.error("Unable to relocate[" + entry.getKey() + "] to a 
new backup node", x);
 }
 } else if (member.equals(entry.getPrimary())) {
+System.out.println("[2] Primary disappeared");
 entry.setPrimary(null);
 } //end if
 
@@ -737,18 +739,21 @@
  entry.getBackupNodes().length == 1 &&
  entry.getBackupNodes()[0].equals(member) ) {
 //remove proxies that have no backup nor primaries
+System.out.println("[3] Removing orphaned proxy");
 i.remove();
-} else if ( entry.isBackup() &&
+} else if ( entry.getPrimary() == null &&
+entry.isBackup() &&
 entry.getBackupNodes()!=null && 
 entry.getBackupNodes().length == 1 &&
 
entry.getBackupNodes()[0].equals(channel.getLocalMember(false)) ) {
 try {
+System.out.println("[4] Backup becoming primary");
 entry.setPrimary(channel.getLocalMember(false));
 entry.setBackup(false);
 entry.setProxy(false);
 Member[] backup = publishEntryInfo(entry.getKey(), 
entry.getValue());
 entry.setBackupNodes(backup);
-mapOwner.objectMadePrimay(entry.getKey(),entry.getValue());
+if ( mapOwner!=null ) 
mapOwner.objectMadePrimay(entry.getKey(),entry.getValue());
 
 } catch (ChannelException x) {
 log.error("Unable to relocate[" + entry.getKey() + "] to a 
new backup node", x);

Modified: 
tomcat/tc6.0.x/trunk/test/org/apache/catalina/tribes/demos/MapDemo.java
URL: 
http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/test/org/apa

svn commit: r564729 - /tomcat/trunk/java/org/apache/catalina/tribes/tipis/AbstractReplicatedMap.java

2007-08-10 Thread fhanik
Author: fhanik
Date: Fri Aug 10 12:43:46 2007
New Revision: 564729

URL: http://svn.apache.org/viewvc?view=rev&rev=564729
Log:
oops, no one was supposed to know that I still debug with System.out

Modified:

tomcat/trunk/java/org/apache/catalina/tribes/tipis/AbstractReplicatedMap.java

Modified: 
tomcat/trunk/java/org/apache/catalina/tribes/tipis/AbstractReplicatedMap.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/tribes/tipis/AbstractReplicatedMap.java?view=diff&rev=564729&r1=564728&r2=564729
==
--- 
tomcat/trunk/java/org/apache/catalina/tribes/tipis/AbstractReplicatedMap.java 
(original)
+++ 
tomcat/trunk/java/org/apache/catalina/tribes/tipis/AbstractReplicatedMap.java 
Fri Aug 10 12:43:46 2007
@@ -720,7 +720,7 @@
 Map.Entry e = (Map.Entry) i.next();
 MapEntry entry = (MapEntry) super.get(e.getKey());
 if (entry.isPrimary() && inSet(member,entry.getBackupNodes())) {
-System.out.println("[1] Primary choosing a new backup");
+if (log.isDebugEnabled()) log.debug("[1] Primary choosing a 
new backup");
 try {
 Member[] backup = publishEntryInfo(entry.getKey(), 
entry.getValue());
 entry.setBackupNodes(backup);
@@ -729,7 +729,7 @@
 log.error("Unable to relocate[" + entry.getKey() + "] to a 
new backup node", x);
 }
 } else if (member.equals(entry.getPrimary())) {
-System.out.println("[2] Primary disappeared");
+if (log.isDebugEnabled()) log.debug("[2] Primary disappeared");
 entry.setPrimary(null);
 } //end if
 
@@ -739,7 +739,7 @@
  entry.getBackupNodes().length == 1 &&
  entry.getBackupNodes()[0].equals(member) ) {
 //remove proxies that have no backup nor primaries
-System.out.println("[3] Removing orphaned proxy");
+if (log.isDebugEnabled()) log.debug("[3] Removing orphaned 
proxy");
 i.remove();
 } else if ( entry.getPrimary() == null &&
 entry.isBackup() &&
@@ -747,7 +747,7 @@
 entry.getBackupNodes().length == 1 &&
 
entry.getBackupNodes()[0].equals(channel.getLocalMember(false)) ) {
 try {
-System.out.println("[4] Backup becoming primary");
+if (log.isDebugEnabled()) log.debug("[4] Backup becoming 
primary");
 entry.setPrimary(channel.getLocalMember(false));
 entry.setBackup(false);
 entry.setProxy(false);



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



svn commit: r564730 - /tomcat/tc6.0.x/trunk/java/org/apache/catalina/tribes/tipis/AbstractReplicatedMap.java

2007-08-10 Thread fhanik
Author: fhanik
Date: Fri Aug 10 12:45:04 2007
New Revision: 564730

URL: http://svn.apache.org/viewvc?view=rev&rev=564730
Log:
backport

Modified:

tomcat/tc6.0.x/trunk/java/org/apache/catalina/tribes/tipis/AbstractReplicatedMap.java

Modified: 
tomcat/tc6.0.x/trunk/java/org/apache/catalina/tribes/tipis/AbstractReplicatedMap.java
URL: 
http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/java/org/apache/catalina/tribes/tipis/AbstractReplicatedMap.java?view=diff&rev=564730&r1=564729&r2=564730
==
--- 
tomcat/tc6.0.x/trunk/java/org/apache/catalina/tribes/tipis/AbstractReplicatedMap.java
 (original)
+++ 
tomcat/tc6.0.x/trunk/java/org/apache/catalina/tribes/tipis/AbstractReplicatedMap.java
 Fri Aug 10 12:45:04 2007
@@ -720,7 +720,7 @@
 Map.Entry e = (Map.Entry) i.next();
 MapEntry entry = (MapEntry) super.get(e.getKey());
 if (entry.isPrimary() && inSet(member,entry.getBackupNodes())) {
-System.out.println("[1] Primary choosing a new backup");
+if (log.isDebugEnabled()) log.debug("[1] Primary choosing a 
new backup");
 try {
 Member[] backup = publishEntryInfo(entry.getKey(), 
entry.getValue());
 entry.setBackupNodes(backup);
@@ -729,7 +729,7 @@
 log.error("Unable to relocate[" + entry.getKey() + "] to a 
new backup node", x);
 }
 } else if (member.equals(entry.getPrimary())) {
-System.out.println("[2] Primary disappeared");
+if (log.isDebugEnabled()) log.debug("[2] Primary disappeared");
 entry.setPrimary(null);
 } //end if
 
@@ -739,7 +739,7 @@
  entry.getBackupNodes().length == 1 &&
  entry.getBackupNodes()[0].equals(member) ) {
 //remove proxies that have no backup nor primaries
-System.out.println("[3] Removing orphaned proxy");
+if (log.isDebugEnabled()) log.debug("[3] Removing orphaned 
proxy");
 i.remove();
 } else if ( entry.getPrimary() == null &&
 entry.isBackup() &&
@@ -747,7 +747,7 @@
 entry.getBackupNodes().length == 1 &&
 
entry.getBackupNodes()[0].equals(channel.getLocalMember(false)) ) {
 try {
-System.out.println("[4] Backup becoming primary");
+if (log.isDebugEnabled()) log.debug("[4] Backup becoming 
primary");
 entry.setPrimary(channel.getLocalMember(false));
 entry.setBackup(false);
 entry.setProxy(false);



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



[ANN] Apache Tomcat JK 1.2.25 Web Server Connector released

2007-08-10 Thread Rainer Jung

The Apache Tomcat team is pleased to announce the immediate availability
of version 1.2.25 of the Apache Tomcat Connectors.

It contains connectors, which allow a web server such as Apache HTTPD,
Microsoft IIS and Sun Web Server to act as a front end to the Tomcat web
application server.

This version contains several enhancements and fixes a number of minor
bugs of the previous versions.

See http://tomcat.apache.org/connectors-doc/miscellaneous/changelog.html
for a complete list of changes.

Source distribtions can be downloaded from an Apache Software Foundation
mirror at:

http://tomcat.apache.org/download-connectors.cgi

Binary distributions for a number of different operating systems and
web servers can be downloaded from an Apache Software Foundation mirror at:

http://tomcat.apache.org/download-connectors.cgi

Syncing the release to the download mirrors might take up to 48 hours.

Documentation for using Apache Tomcat Connectors can be found at:

http://tomcat.apache.org/connectors-doc/

Thank you,

-- The Apache Tomcat Team


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



svn commit: r564768 - /tomcat/trunk/java/org/apache/coyote/http11/Http11NioProcessor.java

2007-08-10 Thread fhanik
Author: fhanik
Date: Fri Aug 10 14:07:46 2007
New Revision: 564768

URL: http://svn.apache.org/viewvc?view=rev&rev=564768
Log:
Fix the comet recycle sync issue, will think of another solution some other 
time, for now this solves the problem


Modified:
tomcat/trunk/java/org/apache/coyote/http11/Http11NioProcessor.java

Modified: tomcat/trunk/java/org/apache/coyote/http11/Http11NioProcessor.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/coyote/http11/Http11NioProcessor.java?view=diff&rev=564768&r1=564767&r2=564768
==
--- tomcat/trunk/java/org/apache/coyote/http11/Http11NioProcessor.java 
(original)
+++ tomcat/trunk/java/org/apache/coyote/http11/Http11NioProcessor.java Fri Aug 
10 14:07:46 2007
@@ -989,6 +989,16 @@
 localName = null;
 remotePort = -1;
 localPort = -1;
+//fix the synchronization scenario due to 
+//dual comet flags.
+//while the response/request
+//might already be recycled, this circumvents the bug
+//and should not be an expensive operation
+//however, this is a TODO and FIXME
+//as it would be better coordinate the recycling of the 
request/response
+//instead
+response.recycle();
+request.recycle();
 }
 
 



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



svn commit: r564735 - /tomcat/container/tc5.5.x/webapps/host-manager/WEB-INF/classes/org/apache/catalina/hostmanager/LocalStrings.properties

2007-08-10 Thread fhanik
Author: fhanik
Date: Fri Aug 10 12:49:03 2007
New Revision: 564735

URL: http://svn.apache.org/viewvc?view=rev&rev=564735
Log:
Missing string

Modified:

tomcat/container/tc5.5.x/webapps/host-manager/WEB-INF/classes/org/apache/catalina/hostmanager/LocalStrings.properties

Modified: 
tomcat/container/tc5.5.x/webapps/host-manager/WEB-INF/classes/org/apache/catalina/hostmanager/LocalStrings.properties
URL: 
http://svn.apache.org/viewvc/tomcat/container/tc5.5.x/webapps/host-manager/WEB-INF/classes/org/apache/catalina/hostmanager/LocalStrings.properties?view=diff&rev=564735&r1=564734&r2=564735
==
--- 
tomcat/container/tc5.5.x/webapps/host-manager/WEB-INF/classes/org/apache/catalina/hostmanager/LocalStrings.properties
 (original)
+++ 
tomcat/container/tc5.5.x/webapps/host-manager/WEB-INF/classes/org/apache/catalina/hostmanager/LocalStrings.properties
 Fri Aug 10 12:49:03 2007
@@ -57,3 +57,4 @@
 
 statusServlet.title=Server Status
 statusServlet.complete=Complete Server Status
+hostManagerServlet.noHost=FAIL - Host {0} not found.
\ No newline at end of file



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



DO NOT REPLY [Bug 43079] - pattern verification broken

2007-08-10 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=43079





--- Additional Comments From [EMAIL PROTECTED]  2007-08-10 14:43 ---
Also, if possible, in the log message you may want to point to the servlet 2.4
documentation, since this is what tomcat 5.5 supports. Currently it is pointing
to a servlet 2.3 pdf document.

-- 
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 43079] - pattern verification broken

2007-08-10 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=43079





--- Additional Comments From [EMAIL PROTECTED]  2007-08-10 14:33 ---
Created an attachment (id=20640)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=20640&action=view)
Patch to SecurityCollection.java to fix the Suspicious warning messages

I tested this on tc5.5x without and there were decent number of errant warnings
for any '/*' patterns. This patch removed them.

-- 
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 43009] - Reported exception is not original cause of problem

2007-08-10 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=43009





--- Additional Comments From [EMAIL PROTECTED]  2007-08-10 17:05 ---
Yes. This shouldn't be a problem.

-- 
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]