Re: error in connecting MYSQL database (Too many connections error)

2006-08-10 Thread Mark Thomas
prakash shanmugam wrote:
> hai all,
> 
>  i have one major issue in my project..

This question belongs on the users list.

users is for questions about developing applications that are hosted
on Tomcat.

dev is for developing Tomcat.

Mark

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



Re: URLRewriteFilter

2006-08-10 Thread Jerome Jar

yeah, very cool stuff. I'm using version 2.5.2 for the BSD license of
this version.

2006/8/10, Yoav Shapira <[EMAIL PROTECTED]>:

Hi,
I'm sorry I lost the original thread, or I'd respond there, but I
believe someone (Bill B?) asked about this earlier today: a
mod_rewrite-like Java filter, http://tuckey.org/urlrewrite/ .

Yoav

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





--
"Houston, we have a problem."

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



I wand to help in development of Tomcat

2006-08-10 Thread NorthDragon NorthDragon

Hi!
I want to take part in development of Tomcat.
I study source code and read some mail discussion.
How can I work on resolving some bugs or something like that.
Thank you for answers.
Nikolay.

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



Re: I wand to help in development of Tomcat

2006-08-10 Thread Yoav Shapira

Nikolay,
You can see the open issues (bugs, enhancement requests) at
http://issues.apache.org/bugzilla/buglist.cgi?query_format=specific&order=relevance+desc&bug_status=__open__&product=Tomcat+5&content=.
Pick anything you want to work on and submit patches against that
issue.

For technical guidelines on patch format, SVN access, etc, please see
http://www.apache.org/dev/ especially the "Committers and
Contributors" section.

For more guidelines on getting involved in general, please see
http://jakarta.apache.org/site/getinvolved.html.

Yoav

On 8/10/06, NorthDragon NorthDragon <[EMAIL PROTECTED]> wrote:

Hi!
I want to take part in development of Tomcat.
I study source code and read some mail discussion.
How can I work on resolving some bugs or something like that.
Thank you for answers.
Nikolay.

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



I am unable to unsubscribe

2006-08-10 Thread bobby _

Hi
i subscribed to the Tomcat group about 8 months ago. I no longer wish to 
recieve the emails, and have tried, many times, the recommended method for 
unsubscribing. However i am still getting dozens of emails a day.
Please could somebody take me off the list, as my mailbox is effectively 
being spammed now!

thanks
Rob



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



Re: I am unable to unsubscribe

2006-08-10 Thread William A. Rowe, Jr.
Blame your provider; we've finally determined that hotmail is eating your
unsubscribe requests - this is specific to hotmail accounts and you are
far from the only one experiencing this problem.

In any case you've been unsubscribed and should receive only one copy of
this note.  The current thinking is to at least generate a warning to anyone
trying to subscribe from hotmail, if not ban them completely.

bobby _ wrote:
> Hi
> i subscribed to the Tomcat group about 8 months ago. I no longer wish to
> recieve the emails, and have tried, many times, the recommended method
> for unsubscribing. However i am still getting dozens of emails a day.
> Please could somebody take me off the list, as my mailbox is effectively
> being spammed now!
> thanks


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



DO NOT REPLY [Bug 37852] - Security constraint where role name defined as any ("*") deny access at all

2006-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=37852





--- Additional Comments From [EMAIL PROTECTED]  2006-08-10 17:38 ---
It doesn't look fixed to me. I'm getting 403 errors with Tomcat 5.5.17 in an 
app that works just fine with Tomcat 5.5.9.


-- 
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 37852] - Security constraint where role name defined as any ("*") deny access at all

2006-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=37852





--- Additional Comments From [EMAIL PROTECTED]  2006-08-10 19:22 ---
it cause of this change
http://issues.apache.org/bugzilla/show_bug.cgi?id=15570
if you use *, you still need to define all the roles in web.xml,
* refers to the roles in web.xml, not the ones specified in the security realm

-- 
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 40226] New: - SSL Connector does not respond when Tomcat 5.5 installed with Apache Tomcat Native library

2006-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=40226

   Summary: SSL Connector does not respond when Tomcat 5.5 installed
with Apache Tomcat Native library
   Product: Tomcat 5
   Version: 5.5.17
  Platform: PC
OS/Version: Windows XP
Status: NEW
  Severity: major
  Priority: P2
 Component: Native:Integration
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: [EMAIL PROTECTED]


I recently installed Apache Tomcat 5.5.17 in two PC computers running a Windows
XP environment. In both installations I've selected Apache Tomcat Native 
library. 

When I tried to activate SSL support, servers doesn't failed in initialization,
but they doesn't respond to any request on SSL port (Client browser was sending
the SSL Client Hello, but server idles).

I have reinstalled Tomcat without Native library in both PC's. Now SSL works
correctly.

Thank you for your developing effort.

  Marcos Garcia Chillon

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



Digest Authenticator realm name is clear text right?

2006-08-10 Thread Jalali, Alex
Hi, Is this is a bug with tomcat or adobe Acrobat in digest auth?
 
I have created an Authenticator extending the AuthenticatorBase. 
 
When I send this in the header:
 
>>> WWW-Authenticate: Digest realm="My realm name", qop="auth",
nonce="...
 
Other clients return something like this with realm name in clear text.
 
 >>> Authorization: Digest username="user", realm=""My realm name""
...
 
But adobe Acrobat (using its upload review tool to publish to a webdav
server) returns with a response header that has, I guess encrypted the
realm name like this
 
>>> Authorization: Digest username="user",
realm=""f6b755878fd52d631b890b"" ...
 
I looked at the AuthenticatorBase in different functions and it seems
that it expects the realm name to be plain text and doesn't check for
anything like this. in fact if it can not parse the realm name it uses
the server to get that. 
 
At the end the calculation comparing server digestValue with client do
not match.
 
So I guess my question is should tomcat check this in its Authenticator?
should it do anything if the realm name returned by the client does not
match that of what's on the server? or this is just a bug with acrobat?
 
 
Thanks,
 
Alex
 
 
 


Working on mod_jk

2006-08-10 Thread Rodrigo Ramele

Hello Tomcat dev:

Suse 9.2, Apache 2.2.3, mod_jk 1.2.15

I am changing the way mod_jk transfer request to different workers (tomcat
instances) in a balanced worker keeping track of the link between session
and worker, and I need to use some kind of shared memory inside mod_jk.  (I
need to share a hashtable).  Could you please give me a clue on which set of
Apache API calls I could use to do it ?

Thank you very much 


DO NOT REPLY [Bug 40227] New: - Tomcat 5.5.17 setclasspath.sh does not set CLASSPATH correctly

2006-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=40227

   Summary: Tomcat 5.5.17 setclasspath.sh does not set CLASSPATH
correctly
   Product: Tomcat 5
   Version: 5.5.17
  Platform: PC
OS/Version: Linux
Status: NEW
  Severity: normal
  Priority: P5
 Component: Catalina
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: [EMAIL PROTECTED]


The setclasspath.sh does not set CLASSPATH because of an "if" statement:
" Set standard CLASSPATH
if [ "$1" = "debug" -o "$1" = "javac" ] ; then
  CLASSPATH="$JAVA_HOME"/lib/tools.jar
fi"

We start tomcat with the command:
service tomcat start

So the $1 is loaded with "start" when setclasspath.sh is run. I think a change 
in startup.sh is needed because of the change introduced by patch generated in 
the bug 39194, where Jason Brittain stated that now the command to start tomcat 
is:
$CATALINA_HOME/bin/catalina.sh javac start
But startup.sh still calls $CATALINA_HOME/bin/catalina.sh start
So classpath is not set with tools.jar by setclasspath.sh.

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



svn commit: r430526 - in /tomcat/tc6.0.x/trunk/java/org/apache: coyote/http11/InternalNioOutputBuffer.java tomcat/util/net/NioEndpoint.java

2006-08-10 Thread fhanik
Author: fhanik
Date: Thu Aug 10 13:54:37 2006
New Revision: 430526

URL: http://svn.apache.org/viewvc?rev=430526&view=rev
Log:
fixed imports and removed not needed log message

Modified:

tomcat/tc6.0.x/trunk/java/org/apache/coyote/http11/InternalNioOutputBuffer.java
tomcat/tc6.0.x/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java

Modified: 
tomcat/tc6.0.x/trunk/java/org/apache/coyote/http11/InternalNioOutputBuffer.java
URL: 
http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/java/org/apache/coyote/http11/InternalNioOutputBuffer.java?rev=430526&r1=430525&r2=430526&view=diff
==
--- 
tomcat/tc6.0.x/trunk/java/org/apache/coyote/http11/InternalNioOutputBuffer.java 
(original)
+++ 
tomcat/tc6.0.x/trunk/java/org/apache/coyote/http11/InternalNioOutputBuffer.java 
Thu Aug 10 13:54:37 2006
@@ -18,6 +18,7 @@
 
 import java.io.IOException;
 import java.nio.ByteBuffer;
+import java.nio.channels.SelectionKey;
 
 import org.apache.coyote.ActionCode;
 import org.apache.coyote.OutputBuffer;
@@ -27,11 +28,9 @@
 import org.apache.tomcat.util.buf.MessageBytes;
 import org.apache.tomcat.util.http.HttpMessages;
 import org.apache.tomcat.util.http.MimeHeaders;
-import org.apache.tomcat.util.res.StringManager;
-import java.nio.channels.SelectionKey;
-import org.apache.tomcat.util.net.NioEndpoint;
-import java.nio.channels.Selector;
 import org.apache.tomcat.util.net.NioChannel;
+import org.apache.tomcat.util.net.NioEndpoint;
+import org.apache.tomcat.util.res.StringManager;
 
 /**
  * Output buffer.

Modified: tomcat/tc6.0.x/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java
URL: 
http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java?rev=430526&r1=430525&r2=430526&view=diff
==
--- tomcat/tc6.0.x/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java 
(original)
+++ tomcat/tc6.0.x/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java Thu 
Aug 10 13:54:37 2006
@@ -557,7 +557,6 @@
 }
 
 // Start poller threads
-log.info("Creating poller threads:"+pollerThreadCount);
 pollers = new Poller[pollerThreadCount];
 for (int i = 0; i < pollerThreadCount; i++) {
 pollers[i] = new Poller();



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



DO NOT REPLY [Bug 40226] - SSL Connector does not respond when Tomcat 5.5 installed with Apache Tomcat Native library

2006-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=40226


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID




--- Additional Comments From [EMAIL PROTECTED]  2006-08-10 20:53 ---
Bugzilla is not a support forum, try to first read the documentation on APR as
native is configured differently than tomcat, than post your questions to the
tomcat user mailing list.

-- 
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: Working on mod_jk

2006-08-10 Thread Jean-frederic Clere

Rodrigo Ramele wrote:


Hello Tomcat dev:

Suse 9.2, Apache 2.2.3, mod_jk 1.2.15

I am changing the way mod_jk transfer request to different workers 
(tomcat

instances) in a balanced worker keeping track of the link between session
and worker, and I need to use some kind of shared memory inside mod_jk.


How do you decide to that a session has timeout? (Guessing that session 
means jsessionid identified sessions).


Cheers

Jean-Frederic


(I
need to share a hashtable).  Could you please give me a clue on which 
set of

Apache API calls I could use to do it ?

Thank you very much 




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



DO NOT REPLY [Bug 40135] - error-page and exception-type is not working properly

2006-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=40135





--- Additional Comments From [EMAIL PROTECTED]  2006-08-10 23:52 ---
I've encountered the same problem. Either setting error-code (e.g. 500) or
exception-type (java.lang.Trowable) doesn't work. Always the Tomcat std. error
page. appears.

-- 
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 40135] - error-page and exception-type is not working properly

2006-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=40135





--- Additional Comments From [EMAIL PROTECTED]  2006-08-11 00:26 ---
It works fine with java.lang.Exception though.

-- 
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: Working on mod_jk

2006-08-10 Thread Rodrigo Ramele

Hello Jean, !
Thanks for answeringI didn't explain myself very well.  I meant: I need
to keep track each one of the JSESSIONID  and the worker  where the
'Set-Cookie' header comes from, so when a new Request with this cookie
arrives again (from the browser) i would properly redirect it to the correct
worker, where the tomcat that created this cookies is connected.  It is
impossible for me to use sticky_session or session replication, because I am
using an Enhydra Framework inside Tomcat and it handles the session itself.
So, I need some kind of "Spanning Tree" scheme.  Now I am using the file
system to store the hashtable and I want to know if I could use some kind of
shared memory inside Apache ...

On 8/10/06, Jean-frederic Clere <[EMAIL PROTECTED]> wrote:


Rodrigo Ramele wrote:

> Hello Tomcat dev:
>
> Suse 9.2, Apache 2.2.3, mod_jk 1.2.15
>
> I am changing the way mod_jk transfer request to different workers
> (tomcat
> instances) in a balanced worker keeping track of the link between
session
> and worker, and I need to use some kind of shared memory inside mod_jk.

How do you decide to that a session has timeout? (Guessing that session
means jsessionid identified sessions).

Cheers

Jean-Frederic

> (I
> need to share a hashtable).  Could you please give me a clue on which
> set of
> Apache API calls I could use to do it ?
>
> Thank you very much 
>


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