Re: disabling copy of context.xml to conf/Catalina/localhost

2010-06-17 Thread Pid
On 17/06/2010 00:36, Rajeev Verma wrote:
> Hi,
> 
> I am facing a problem which can be solved if I can disable copy of
> context.xml to conf/Catalina/localhost. Is there some setting to do so?
> Thanks for the help.
> 
> Regards,
> Raj
> 

Please don't cross post.

This is a question for the Users List.


p



signature.asc
Description: OpenPGP digital signature


Re: tomcat native - SSL setBIO()

2010-06-17 Thread jean-frederic clere
On 06/16/2010 07:44 PM, Costin Manolache wrote:
> On Tue, Jun 15, 2010 at 11:14 PM, jean-frederic clere 
> wrote:
> 
>> On 06/16/2010 07:08 AM, Mladen Turk wrote:
>>> On 06/16/2010 12:34 AM, Costin Manolache wrote:
 Hi,

 There are some methods in SSLContext to create and use a new BIO. Are
 there
 any examples/tests for this ? I can't find how to attach the BIO to a
 socket, it seems SSL_set_bio is never called, can't figure what
 SSLContext.setBIO() does.

>>>
>>> I'd suggest you forget about those ;)
>>>
>>> SSL BIO allows to write a java code that will SSL use
>>> for read/write to the sockets.
>>> Jean-Frederic created those but cannot tell for what reason.
>>
>> The idea was to use java socket directly to have just the crypto layer
>> done by SSL but tc-native went another way.
>>
> 
> 
> I know - it allows one to use OpenSSL like SSLEngine - without doing the
> network
> IO trough OpenSSL.
> 
> I'm not worried about the 4-5 extra JNI calls - we're talking about slow
> encryption here.
> 
> For tomcat-lite - JSSE is a dead end, there is no way to support SPDY and a
> lot of other
> things are bad/missing ( i.e. most SSL extensions - hostname, session
> tickets, etc ).
> However I want to separate the I/O from the encryption.

May be we should just start another native module so that we don't need
to use APR but only OpenSSL.

Cheers

Jean-Frederic

> 
> 
> 
> 
>>
>>> Probably to allow direct java.sockets via SSL by writing
>>> custom wrapper for SSL Bio (really cannot figure out
>>> why would one wish to go trough 4 JNI callback layers for
>>> making a write, but it's there).
>>> Like you said it wasn't tested, and I was trying to
>>> axe this stuff from version 0.1, but it still hangs there.
>>>
>>> Why would you need that?
>>
>> If not needed we should remove it.
>>
> 
> Well, I think it would be needed - if it would work.
> Tomcat-native can be used for more than the tomcat connector - especially
> since it's now
> easy to install on linux ( apt-get install :-).
> 
> I would guess adding just the SSL_set_bio() would be enough - assuming the
> rest of the
> BIO impl is ok.
> 
> Do you have any test code you used when implementing this ?  I think adding
> the missing pieces
> may be better than trowing it away.
> 
> Costin
> 
> 
>> Cheers
>>
>> Jean-Frederic
>>
>>>
>>>
>>> Regards
>>
>>
>> -
>> To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
>> For additional commands, e-mail: dev-h...@tomcat.apache.org
>>
>>
> 


-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



svn commit: r955508 - /tomcat/tc6.0.x/trunk/STATUS.txt

2010-06-17 Thread kfujino
Author: kfujino
Date: Thu Jun 17 08:47:21 2010
New Revision: 955508

URL: http://svn.apache.org/viewvc?rev=955508&view=rev
Log:
vote

Modified:
tomcat/tc6.0.x/trunk/STATUS.txt

Modified: tomcat/tc6.0.x/trunk/STATUS.txt
URL: 
http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/STATUS.txt?rev=955508&r1=955507&r2=955508&view=diff
==
--- tomcat/tc6.0.x/trunk/STATUS.txt (original)
+++ tomcat/tc6.0.x/trunk/STATUS.txt Thu Jun 17 08:47:21 2010
@@ -135,13 +135,13 @@ PATCHES PROPOSED TO BACKPORT:
 * Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49424
   Avoid NPE if client provides no data with a chunked POST request
   http://svn.apache.org/viewvc?rev=953434&view=rev
-  +1: markt, kkolinko
+  +1: markt, kkolinko, kfujino
   -1: 
 
 * Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49213
   Additional permissions required by Manager app
   http://svn.apache.org/viewvc?view=revision&revision=954435  
-  +1: markt
+  +1: markt, kfujino
   -1: 
 
 * Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49445



-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



svn commit: r955509 - /tomcat/tc5.5.x/trunk/STATUS.txt

2010-06-17 Thread kfujino
Author: kfujino
Date: Thu Jun 17 08:48:07 2010
New Revision: 955509

URL: http://svn.apache.org/viewvc?rev=955509&view=rev
Log:
vote

Modified:
tomcat/tc5.5.x/trunk/STATUS.txt

Modified: tomcat/tc5.5.x/trunk/STATUS.txt
URL: 
http://svn.apache.org/viewvc/tomcat/tc5.5.x/trunk/STATUS.txt?rev=955509&r1=955508&r2=955509&view=diff
==
--- tomcat/tc5.5.x/trunk/STATUS.txt (original)
+++ tomcat/tc5.5.x/trunk/STATUS.txt Thu Jun 17 08:48:07 2010
@@ -59,7 +59,7 @@ PATCHES PROPOSED TO BACKPORT:
   Do not miss Object.notify() wakeup.
   https://issues.apache.org/bugzilla/attachment.cgi?id=25529
   (Easier to review if you ignore whitespaces during the diff)
-  +1: kkolinko, rjung
+  +1: kkolinko, rjung, kfujino
   -1:
 
 * Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49196
@@ -67,7 +67,7 @@ PATCHES PROPOSED TO BACKPORT:
   error-handling JSP page is called directly.
   It is backport of r948057.
   https://issues.apache.org/bugzilla/attachment.cgi?id=25534
-  +1: kkolinko, markt
+  +1: kkolinko, markt, kfujino
   -1: 
 
 * Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=48990#c11
@@ -75,7 +75,7 @@ PATCHES PROPOSED TO BACKPORT:
   to align them with the official ones built on Windows.
   Add support for "skip.installer" property.
   https://issues.apache.org/bugzilla/attachment.cgi?id=25537
-  +1: kkolinko, markt
+  +1: kkolinko, markt, kfujino
   -1:
 
 * Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49445



-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



svn commit: r955527 - /tomcat/trunk/java/org/apache/coyote/http11/AbstractHttp11Protocol.java

2010-06-17 Thread jfclere
Author: jfclere
Date: Thu Jun 17 09:41:19 2010
New Revision: 955527

URL: http://svn.apache.org/viewvc?rev=955527&view=rev
Log:
Typo in previous fix for 44285

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

Modified: tomcat/trunk/java/org/apache/coyote/http11/AbstractHttp11Protocol.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/coyote/http11/AbstractHttp11Protocol.java?rev=955527&r1=955526&r2=955527&view=diff
==
--- tomcat/trunk/java/org/apache/coyote/http11/AbstractHttp11Protocol.java 
(original)
+++ tomcat/trunk/java/org/apache/coyote/http11/AbstractHttp11Protocol.java Thu 
Jun 17 09:41:19 2010
@@ -379,10 +379,10 @@ public abstract class AbstractHttp11Prot
 public String getCrlFile(){ return endpoint.getCrlFile();}
 
 public void setSessionCacheSize(String s){endpoint.setSessionCacheSize(s);}
-public String getSessionCacheSize(){ return 
endpoint.getTruststoreAlgorithm();}
+public String getSessionCacheSize(){ return 
endpoint.getSessionCacheSize();}
 
-public void setSessionTimeout(String 
s){endpoint.setTruststoreAlgorithm(s);}
-public String getSessionTimeout(){ return 
endpoint.getTruststoreAlgorithm();}
+public void setSessionTimeout(String s){endpoint.setSessionTimeout(s);}
+public String getSessionTimeout(){ return endpoint.getSessionTimeout();}
 
 public void setAllowUnsafeLegacyRenegotiation(String s) {
 endpoint.setAllowUnsafeLegacyRenegotiation(s);



-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



Re: tomcat native - SSL setBIO()

2010-06-17 Thread Costin Manolache
On Thu, Jun 17, 2010 at 12:56 AM, jean-frederic clere wrote:

> On 06/16/2010 07:44 PM, Costin Manolache wrote:
> > On Tue, Jun 15, 2010 at 11:14 PM, jean-frederic clere  >wrote:
> >
> >> On 06/16/2010 07:08 AM, Mladen Turk wrote:
> >>> On 06/16/2010 12:34 AM, Costin Manolache wro te:
>  Hi,
> 
>  There are some methods in SSLContext to create and use a new BIO. Are
>  there
>  any examples/tests for this ? I can't find how to attach the BIO to a
>  socket, it seems SSL_set_bio is never called, can't figure what
>  SSLContext.setBIO() does.
> 
> >>>
> >>> I'd suggest you forget about those ;)
> >>>
> >>> SSL BIO allows to write a java code that will SSL use
> >>> for read/write to the sockets.
> >>> Jean-Frederic created those but cannot tell for what reason.
> >>
> >> The idea was to use java socket directly to have just the crypto layer
> >> done by SSL but tc-native went another way.
> >>
> >
> >
> > I know - it allows one to use OpenSSL like SSLEngine - without doing the
> > network
> > IO trough OpenSSL.
> >
> > I'm not worried about the 4-5 extra JNI calls - we're talking about slow
> > encryption here.
> >
> > For tomcat-lite - JSSE is a dead end, there is no way to support SPDY and
> a
> > lot of other
> > things are bad/missing ( i.e. most SSL extensions - hostname, session
> > tickets, etc ).
> > However I want to separate the I/O from the encryption.
>
> May be we should just start another native module so that we don't need
> to use APR but only OpenSSL.
>
>
What do you mean by 'native module' ? I hope not another .so - it's hard
enough to deal with this
one. Build, install, documentations, deb/rpm, etc.

If you mean a separate directory - or just a set of files - that provide
only JNI for OpenSSL, without
dependencies to APR, or with minimal deps - I think it's a great idea.
OpenSSL has its own portability layer, so it doesn't really need APR - but
there is no harm in having both in the same library.

The purpose of tc-native (IMHO) is to allow access to native libraries that
provide better implementation than the Java one, or provide things that are
not available in java. I think the original plan was to have it as a very
thin layer - exposing as closely as possible the native library, up to
pointers and alloc/free.

But short term - either remove BIO if it's broken ( no point on having it if
it can't be used), or better we should fix it and add a test.

It's sad that tcnative, now a separate module, is only used and documented
as a helper for the connectors and not as a general purpose utility people
can use in their own code.


Costin


> Cheers
>
> Jean-Frederic
>
> >
> >
> >
> >
> >>
> >>> Probably to allow direct java.sockets via SSL by writing
> >>> custom wrapper for SSL Bio (really cannot figure out
> >>> why would one wish to go trough 4 JNI callback layers for
> >>> making a write, but it's there).
> >>> Like you said it wasn't tested, and I was trying to
> >>> axe this stuff from version 0.1, but it still hangs there.
> >>>
> >>> Why would you need that?
> >>
> >> If not needed we should remove it.
> >>
> >
> > Well, I think it would be needed - if it would work.
> > Tomcat-native can be used for more than the tomcat connector - especially
> > since it's now
> > easy to install on linux ( apt-get install :-).
> >
> > I would guess adding just the SSL_set_bio() would be enough - assuming
> the
> > rest of the
> > BIO impl is ok.
> >
> > Do you have any test code you used when implementing this ?  I think
> adding
> > the missing pieces
> > may be better than trowing it away.
> >
> > Costin
> >
> >
> >> Cheers
> >>
> >> Jean-Frederic
> >>
> >>>
> >>>
> >>> Regards
> >>
> >>
> >> -
> >> To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
> >> For additional commands, e-mail: dev-h...@tomcat.apache.org
> >>
> >>
> >
>
>


DO NOT REPLY [Bug 49454] New: HTTP Error 500.0 - Internal Server Error

2010-06-17 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=49454

   Summary: HTTP Error 500.0 - Internal Server Error
   Product: Tomcat Connectors
   Version: 1.2.30
  Platform: Other
OS/Version: Windows Server 2008 (Longhorn)
Status: NEW
  Severity: critical
  Priority: P2
 Component: isapi
AssignedTo: dev@tomcat.apache.org
ReportedBy: vika...@gmail.com


Hi,

I completed setting up ISAPI filter on II7, Win2K8 but I am getting below
error:


HTTP Error 500.0 - Internal Server Error
Calling GetFilterVersion on ISAPI filter
"D:\Apps\Tomcat\6.0\bin\isapi_redirect.dll" failed Detailed Error
InformationModule IIS Web Core 
Notification Unknown 
Handler StaticFile 
Error Code 0x80070002 
Requested URL http://localhost:82/ 
Physical Path D:\Apps\XXX\WI_Multi\IISconfig 
Logon Method Not yet determined 
Logon User Not yet determined 

Can you please look into this and provide a solution to fix this.

Thanks,

Vikas

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

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



DO NOT REPLY [Bug 49454] HTTP Error 500.0 - Internal Server Error

2010-06-17 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=49454

Konstantin Kolinko  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID

--- Comment #1 from Konstantin Kolinko  2010-06-17 
10:57:26 EDT ---
http://tomcat.apache.org/bugreport.html#Bugzilla_is_not_a_support_forum

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

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



Re: tomcat native - SSL setBIO()

2010-06-17 Thread jean-frederic clere
On 06/17/2010 04:30 PM, Costin Manolache wrote:
> 
> 
> On Thu, Jun 17, 2010 at 12:56 AM, jean-frederic clere  > wrote:
> 
> On 06/16/2010 07:44 PM, Costin Manolache wrote:
> > On Tue, Jun 15, 2010 at 11:14 PM, jean-frederic clere
> mailto:jfcl...@gmail.com>>wrote:
> >
> >> On 06/16/2010 07:08 AM, Mladen Turk wrote:
> >>> On 06/16/2010 12:34 AM, Costin Manolache wro te:
>  Hi,
> 
>  There are some methods in SSLContext to create and use a new
> BIO. Are
>  there
>  any examples/tests for this ? I can't find how to attach the
> BIO to a
>  socket, it seems SSL_set_bio is never called, can't figure what
>  SSLContext.setBIO() does.
> 
> >>>
> >>> I'd suggest you forget about those ;)
> >>>
> >>> SSL BIO allows to write a java code that will SSL use
> >>> for read/write to the sockets.
> >>> Jean-Frederic created those but cannot tell for what reason.
> >>
> >> The idea was to use java socket directly to have just the crypto
> layer
> >> done by SSL but tc-native went another way.
> >>
> >
> >
> > I know - it allows one to use OpenSSL like SSLEngine - without
> doing the
> > network
> > IO trough OpenSSL.
> >
> > I'm not worried about the 4-5 extra JNI calls - we're talking
> about slow
> > encryption here.
> >
> > For tomcat-lite - JSSE is a dead end, there is no way to support
> SPDY and a
> > lot of other
> > things are bad/missing ( i.e. most SSL extensions - hostname, session
> > tickets, etc ).
> > However I want to separate the I/O from the encryption.
> 
> May be we should just start another native module so that we don't need
> to use APR but only OpenSSL.
> 
> 
> What do you mean by 'native module' ? I hope not another .so - it's hard
> enough to deal with this 
> one. Build, install, documentations, deb/rpm, etc. 

Well the actual tc-native.so depends on APR. I was thinking of something
that depends only on Openssl.

> 
> If you mean a separate directory - or just a set of files - that provide
> only JNI for OpenSSL, without 
> dependencies to APR, or with minimal deps - I think it's a great idea.

yep that would be great.

> OpenSSL has its own portability layer, so it doesn't really need APR -
> but there is no harm in having both in the same library.

That is more packaging issues then development.

> 
> The purpose of tc-native (IMHO) is to allow access to native libraries
> that provide better implementation than the Java one, or provide things
> that are not available in java. I think the original plan was to have it
> as a very thin layer - exposing as closely as possible the native
> library, up to pointers and alloc/free. 
> 
> But short term - either remove BIO if it's broken ( no point on having
> it if it can't be used), or better we should fix it and add a test.

Ok if we think we should go for a possibly thinner layer we should fix
it and provide examples.

Cheers

Jean-Frederic

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



DO NOT REPLY [Bug 49448] tomcat windows service name can't contain spaces

2010-06-17 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=49448

Sebb  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED

--- Comment #1 from Sebb  2010-06-17 11:10:13 EDT ---
This aspect of Tomcat relies on Commons Deamon, see:

http://commons.apache.org/daemon/
and
https://issues.apache.org/jira/browse/DAEMON

Please raise any enhancement requests there.

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

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



svn commit: r955648 - /tomcat/trunk/webapps/docs/security-manager-howto.xml

2010-06-17 Thread kkolinko
Author: kkolinko
Date: Thu Jun 17 15:56:37 2010
New Revision: 955648

URL: http://svn.apache.org/viewvc?rev=955648&view=rev
Log:
Update the doc. It is a followup to r954435

Modified:
tomcat/trunk/webapps/docs/security-manager-howto.xml

Modified: tomcat/trunk/webapps/docs/security-manager-howto.xml
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/security-manager-howto.xml?rev=955648&r1=955647&r2=955648&view=diff
==
--- tomcat/trunk/webapps/docs/security-manager-howto.xml (original)
+++ tomcat/trunk/webapps/docs/security-manager-howto.xml Thu Jun 17 15:56:37 
2010
@@ -352,6 +352,14 @@ grant { 
 };
 
 
+// The Manager application needs access to the following packages to support 
the
+// session display functionality
+grant codeBase "file:${catalina.home}/webapps/manager/-" {
+permission java.lang.RuntimePermission 
"accessClassInPackage.org.apache.catalina";
+permission java.lang.RuntimePermission 
"accessClassInPackage.org.apache.catalina.manager";
+permission java.lang.RuntimePermission 
"accessClassInPackage.org.apache.catalina.manager.util";
+};
+
 // You can assign additional permissions to particular web applications by
 // adding additional "grant" entries here, based on the code base for that
 // application, /WEB-INF/classes/, or /WEB-INF/lib/ jar files.



-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



svn commit: r955655 - in /tomcat/trunk: conf/catalina.policy webapps/docs/security-manager-howto.xml

2010-06-17 Thread kkolinko
Author: kkolinko
Date: Thu Jun 17 16:04:28 2010
New Revision: 955655

URL: http://svn.apache.org/viewvc?rev=955655&view=rev
Log:
Strictly speaking, the webapps are in ${catalina.base}, not .home,
as well as it is shown by examples below those lines in the policy file.

Modified:
tomcat/trunk/conf/catalina.policy
tomcat/trunk/webapps/docs/security-manager-howto.xml

Modified: tomcat/trunk/conf/catalina.policy
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/conf/catalina.policy?rev=955655&r1=955654&r2=955655&view=diff
==
--- tomcat/trunk/conf/catalina.policy (original)
+++ tomcat/trunk/conf/catalina.policy Thu Jun 17 16:04:28 2010
@@ -188,7 +188,7 @@ grant { 
 
 // The Manager application needs access to the following packages to support 
the
 // session display functionality
-grant codeBase "file:${catalina.home}/webapps/manager/-" {
+grant codeBase "file:${catalina.base}/webapps/manager/-" {
 permission java.lang.RuntimePermission 
"accessClassInPackage.org.apache.catalina";
 permission java.lang.RuntimePermission 
"accessClassInPackage.org.apache.catalina.manager";
 permission java.lang.RuntimePermission 
"accessClassInPackage.org.apache.catalina.manager.util";

Modified: tomcat/trunk/webapps/docs/security-manager-howto.xml
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/security-manager-howto.xml?rev=955655&r1=955654&r2=955655&view=diff
==
--- tomcat/trunk/webapps/docs/security-manager-howto.xml (original)
+++ tomcat/trunk/webapps/docs/security-manager-howto.xml Thu Jun 17 16:04:28 
2010
@@ -354,7 +354,7 @@ grant { 
 
 // The Manager application needs access to the following packages to support 
the
 // session display functionality
-grant codeBase "file:${catalina.home}/webapps/manager/-" {
+grant codeBase "file:${catalina.base}/webapps/manager/-" {
 permission java.lang.RuntimePermission 
"accessClassInPackage.org.apache.catalina";
 permission java.lang.RuntimePermission 
"accessClassInPackage.org.apache.catalina.manager";
 permission java.lang.RuntimePermission 
"accessClassInPackage.org.apache.catalina.manager.util";



-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



svn commit: r955656 - /tomcat/tc6.0.x/trunk/STATUS.txt

2010-06-17 Thread kkolinko
Author: kkolinko
Date: Thu Jun 17 16:05:45 2010
New Revision: 955656

URL: http://svn.apache.org/viewvc?rev=955656&view=rev
Log:
vote and proposal

Modified:
tomcat/tc6.0.x/trunk/STATUS.txt

Modified: tomcat/tc6.0.x/trunk/STATUS.txt
URL: 
http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/STATUS.txt?rev=955656&r1=955655&r2=955656&view=diff
==
--- tomcat/tc6.0.x/trunk/STATUS.txt (original)
+++ tomcat/tc6.0.x/trunk/STATUS.txt Thu Jun 17 16:05:45 2010
@@ -141,9 +141,16 @@ PATCHES PROPOSED TO BACKPORT:
 * Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49213
   Additional permissions required by Manager app
   http://svn.apache.org/viewvc?view=revision&revision=954435  
-  +1: markt, kfujino
+  http://svn.apache.org/viewvc?view=revision&revision=955648 (docs)
+  +1: markt, kfujino, kkolinko
   -1: 
 
+  Additional patch:
+  The Manager is in ${catalina.base}.
+  http://svn.apache.org/viewvc?view=revision&revision=955655
+  +1: kkolinko
+  -1:
+
 * Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49445
   The change in session ID is notified to other node. 
   http://svn.apache.org/viewvc?view=revision&revision=955190



-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



svn commit: r955659 - /tomcat/tc5.5.x/trunk/STATUS.txt

2010-06-17 Thread kkolinko
Author: kkolinko
Date: Thu Jun 17 16:09:20 2010
New Revision: 955659

URL: http://svn.apache.org/viewvc?rev=955659&view=rev
Log:
proposal

Modified:
tomcat/tc5.5.x/trunk/STATUS.txt

Modified: tomcat/tc5.5.x/trunk/STATUS.txt
URL: 
http://svn.apache.org/viewvc/tomcat/tc5.5.x/trunk/STATUS.txt?rev=955659&r1=955658&r2=955659&view=diff
==
--- tomcat/tc5.5.x/trunk/STATUS.txt (original)
+++ tomcat/tc5.5.x/trunk/STATUS.txt Thu Jun 17 16:09:20 2010
@@ -83,3 +83,10 @@ PATCHES PROPOSED TO BACKPORT:
   http://svn.apache.org/viewvc?view=revision&revision=955190
   +1: kfujino
   -1:
+
+* Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49424
+  Avoid NPE if client provides no data with a chunked POST request
+  http://svn.apache.org/viewvc?rev=953434&view=rev
+  (by markt)
+  +1: kkolinko
+  -1: 



-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



svn commit: r955665 - in /tomcat/tc6.0.x/trunk: ./ STATUS.txt java/org/apache/catalina/connector/Request.java webapps/docs/changelog.xml

2010-06-17 Thread kkolinko
Author: kkolinko
Date: Thu Jun 17 16:23:22 2010
New Revision: 955665

URL: http://svn.apache.org/viewvc?rev=955665&view=rev
Log:
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49424
Avoid NPE if client provides no data with a chunked POST request

Modified:
tomcat/tc6.0.x/trunk/   (props changed)
tomcat/tc6.0.x/trunk/STATUS.txt
tomcat/tc6.0.x/trunk/java/org/apache/catalina/connector/Request.java
tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml

Propchange: tomcat/tc6.0.x/trunk/
--
--- svn:mergeinfo (original)
+++ svn:mergeinfo Thu Jun 17 16:23:22 2010
@@ -1 +1 @@
-/tomcat/trunk:601180,606992,612607,630314,640888,652744,653247,666232,673796,673820,677910,683969,683982,684001,684081,684234,684269-684270,685177,687503,687645,689402,690781,691392,691805,692748,693378,694992,695053,695311,696780,696782,698012,698227,698236,698613,699427,699634,701355,709294,709811,709816,710063,710066,710125,710205,711126,711600,712461,712467,713953,714002,718360,719119,719124,719602,719626,719628,720046,720069,721040,721286,721708,721886,723404,723738,726052,727303,728032,728768,728947,729057,729567,729569,729571,729681,729809,729815,729934,730250,730590,731651,732859,732863,734734,740675,740684,742677,742697,742714,744160,744238,746321,746384,746425,747834,747863,748344,750258,750291,750921,751286-751287,751289,751295,752323,753039,757335,757774,758249,758365,758596,758616,758664,759074,761601,762868,762929,762936-762937,763166,763183,763193,763228,763262,763298,763302,763325,763599,763611,763654,763681,763706,764985,764997,765662,768335,769979,770716,77
 
0809,770876,772872,776921,776924,776935,776945,777464,777466,777576,777625,778379,778523-778524,781528,781779,782145,782791,783316,783696,783724,783756,783762,783766,783863,783934,784453,784602,784614,785381,785688,785768,785859,786468,786487,786490,786496,786667,787627,787770,787985,789389,790405,791041,791184,791194,791224,791243,791326,791328,791789,792740,793372,793757,793882,793981,794082,794673,794822,795043,795152,795210,795457,795466,797168,797425,797596,797607,802727,802940,804462,804544,804734,805153,809131,809603,810916,810977,812125,812137,812432,813001,813013,813866,814180,814708,814876,815972,816252,817442,817822,819339,819361,820110,820132,820874,820954,821397,828196,828201,828210,828225,828759,830378-830379,830999,831106,831774,831785,831828,831850,831860,832214,832218,833121,833545,834047,835036,835336,836405,881396,881412,883130,883134,883146,883165,883177,883362,883565,884341,885038,885231,885241,885260,885901,885991,886019,888072,889363,889606,889716,8901
 
39,890265,890349-890350,890417,891185-891187,891583,892198,892341,892415,892464,892555,892812,892814,892817,892843,892887,893321,893493,894580,894586,894805,894831,895013,895045,895057,895191,895392,895703,896370,896384,897380-897381,897776,898126,898256,898468,898527,898555,898558,898718,898836,898906,899284,899348,899420,899653,899769-899770,899783,899788,899792,899916,899918-899919,899935,899949,903916,905020,905151,905722,905728,905735,907311,907513,907538,907652,907819,907825,907864,908002,908721,908754,908759,909097,909206,909212,909525,909636,909869,909875,909887,910266,910370,910442,910471,910485,910974,915226,915737,915861,916097,916141,916157,916170,917598,917633,918093,918489,918594,918684,918787,918792,918799,918803,918885,919851,919914,920025,920055,920298,920449,920596,920824,920840,921444,922010,926716,927062,927621,928482,928695,928732,928798,931709,932357,932967,935105,935983,939491,939551,940064,941356,941463,944409,944416,945231,945808,945835,945841,946686
 ,948057,950164,950596,950614,950851,950905,951615
+/tomcat/trunk:601180,606992,612607,630314,640888,652744,653247,666232,673796,673820,677910,683969,683982,684001,684081,684234,684269-684270,685177,687503,687645,689402,690781,691392,691805,692748,693378,694992,695053,695311,696780,696782,698012,698227,698236,698613,699427,699634,701355,709294,709811,709816,710063,710066,710125,710205,711126,711600,712461,712467,713953,714002,718360,719119,719124,719602,719626,719628,720046,720069,721040,721286,721708,721886,723404,723738,726052,727303,728032,728768,728947,729057,729567,729569,729571,729681,729809,729815,729934,730250,730590,731651,732859,732863,734734,740675,740684,742677,742697,742714,744160,744238,746321,746384,746425,747834,747863,748344,750258,750291,750921,751286-751287,751289,751295,752323,753039,757335,757774,758249,758365,758596,758616,758664,759074,761601,762868,762929,762936-762937,763166,763183,763193,763228,763262,763298,763302,763325,763599,763611,763654,763681,763706,764985,764997,765662,768335,769979,770716,77
 
0809,770876,772872,776921,776924,776935,776945,777464,777466,777576,777625,778379,778523-778524,781528,781779,782145,782791,783316,783696,783724,783756,783762,783766,783863,783934,784453,784602,784614,785381,785688,785768,785859,786468,786487,786490,786496,786667,787627,787770,787985,789389,790405,791041,79118

DO NOT REPLY [Bug 49424] Using URL.ChunkedStreamingMode results in HTTP response code: 405

2010-06-17 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=49424

Konstantin Kolinko  changed:

   What|Removed |Added

  Component|Connectors  |Catalina
Version|6.0.26  |5.5.29
Product|Tomcat 6|Tomcat 5
   Target Milestone|default |---

--- Comment #8 from Konstantin Kolinko  2010-06-17 
12:28:37 EDT ---
Proposed for 5.5 as well.

Fixed in 6.0 in r955665 and will be in 6.0.28 and later.
Note, that 6.0.27 does not include the fix.

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

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



svn commit: r955799 - in /tomcat/site/trunk: docs/bugreport.html docs/getinvolved.html xdocs/bugreport.xml xdocs/getinvolved.xml

2010-06-17 Thread kkolinko
Author: kkolinko
Date: Fri Jun 18 00:31:03 2010
New Revision: 955799

URL: http://svn.apache.org/viewvc?rev=955799&view=rev
Log:
Correct links

Modified:
tomcat/site/trunk/docs/bugreport.html
tomcat/site/trunk/docs/getinvolved.html
tomcat/site/trunk/xdocs/bugreport.xml
tomcat/site/trunk/xdocs/getinvolved.xml

Modified: tomcat/site/trunk/docs/bugreport.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/bugreport.html?rev=955799&r1=955798&r2=955799&view=diff
==
--- tomcat/site/trunk/docs/bugreport.html (original)
+++ tomcat/site/trunk/docs/bugreport.html Fri Jun 18 00:31:03 2010
@@ -680,22 +680,22 @@ applies.
 
 
 Report an Apache Tomcat 7 bug
-http://issues.apache.org/bugzilla/enter_bug.cgi?product=Tomcat%207";>
+https://issues.apache.org/bugzilla/enter_bug.cgi?product=Tomcat%207";>
 here.
 Report an Apache Tomcat 6 bug
-http://issues.apache.org/bugzilla/enter_bug.cgi?product=Tomcat%206";>
+https://issues.apache.org/bugzilla/enter_bug.cgi?product=Tomcat%206";>
 here.
 Report an Apache Tomcat 5 bug
-http://issues.apache.org/bugzilla/enter_bug.cgi?product=Tomcat%205";>
+https://issues.apache.org/bugzilla/enter_bug.cgi?product=Tomcat%205";>
 here.
 Report an Apache Tomcat Connectors bug
-http://issues.apache.org/bugzilla/enter_bug.cgi?product=Tomcat%20Connectors";>
+https://issues.apache.org/bugzilla/enter_bug.cgi?product=Tomcat%20Connectors";>
 here.
 Report an Apache Tomcat Native bug
-http://issues.apache.org/bugzilla/enter_bug.cgi?product=Tomcat%20Native";>
+https://issues.apache.org/bugzilla/enter_bug.cgi?product=Tomcat%20Native";>
 here.
 Report an Apache Taglibs bug
-http://issues.apache.org/bugzilla/enter_bug.cgi?product=Taglibs";>
+https://issues.apache.org/bugzilla/enter_bug.cgi?product=Taglibs";>
 here.
 
 

Modified: tomcat/site/trunk/docs/getinvolved.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/getinvolved.html?rev=955799&r1=955798&r2=955799&view=diff
==
--- tomcat/site/trunk/docs/getinvolved.html (original)
+++ tomcat/site/trunk/docs/getinvolved.html Fri Jun 18 00:31:03 2010
@@ -203,7 +203,7 @@ few areas ways in which you can help:Contribute other documentation patches, either for the website or for the
   Apache Tomcat user documentation.
   
-http://issues.apache.org/bugzilla";>Investigate bugs that have
+https://issues.apache.org/bugzilla/";>Investigate bugs that have
   been reported and provide patches where appropriate.
   Help with development for the next release of the Servlet and JSP
   specifications.

Modified: tomcat/site/trunk/xdocs/bugreport.xml
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/xdocs/bugreport.xml?rev=955799&r1=955798&r2=955799&view=diff
==
--- tomcat/site/trunk/xdocs/bugreport.xml (original)
+++ tomcat/site/trunk/xdocs/bugreport.xml Fri Jun 18 00:31:03 2010
@@ -207,22 +207,22 @@ applies.
 
 
 Report an Apache Tomcat 7 bug
-http://issues.apache.org/bugzilla/enter_bug.cgi?product=Tomcat%207";>
+https://issues.apache.org/bugzilla/enter_bug.cgi?product=Tomcat%207";>
 here.
 Report an Apache Tomcat 6 bug
-http://issues.apache.org/bugzilla/enter_bug.cgi?product=Tomcat%206";>
+https://issues.apache.org/bugzilla/enter_bug.cgi?product=Tomcat%206";>
 here.
 Report an Apache Tomcat 5 bug
-http://issues.apache.org/bugzilla/enter_bug.cgi?product=Tomcat%205";>
+https://issues.apache.org/bugzilla/enter_bug.cgi?product=Tomcat%205";>
 here.
 Report an Apache Tomcat Connectors bug
-http://issues.apache.org/bugzilla/enter_bug.cgi?product=Tomcat%20Connectors";>
+https://issues.apache.org/bugzilla/enter_bug.cgi?product=Tomcat%20Connectors";>
 here.
 Report an Apache Tomcat Native bug
-http://issues.apache.org/bugzilla/enter_bug.cgi?product=Tomcat%20Native";>
+https://issues.apache.org/bugzilla/enter_bug.cgi?product=Tomcat%20Native";>
 here.
 Report an Apache Taglibs bug
-http://issues.apache.org/bugzilla/enter_bug.cgi?product=Taglibs";>
+https://issues.apache.org/bugzilla/enter_bug.cgi?product=Taglibs";>
 here.
 
 

Modified: tomcat/site/trunk/xdocs/getinvolved.xml
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/xdocs/getinvolved.xml?rev=955799&r1=955798&r2=955799&view=diff
==
--- tomcat/site/trunk/xdocs/getinvolved.xml (original)
+++ tomcat/site/trunk/xdocs/getinvolved.xml Fri Jun 18 00:31:03 2010
@@ -21,7 +21,7 @@ few areas ways in which you can help:http://wiki.apache.org/tomcat/FrontPage";>Wiki.
   Contribute other documentation patches, either for the website or for the
   Apache Tomcat user documentation.
-  http://issues.apache.org/bugzilla";>Investigate bugs that 
have
+  https://issues.apache.org/bugzilla/";>Investigate bugs that 
have
   been reported and provide patches where appropriate.
   Help with d

svn commit: r955819 - in /tomcat/site/trunk: docs/bugreport.html xdocs/bugreport.xml

2010-06-17 Thread kkolinko
Author: kkolinko
Date: Fri Jun 18 02:45:37 2010
New Revision: 955819

URL: http://svn.apache.org/viewvc?rev=955819&view=rev
Log:
Updated the bug reporting docs:
Rewrote the "not support forum" section.
Rewrote the bug reporting section, added subsections there.

Modified:
tomcat/site/trunk/docs/bugreport.html
tomcat/site/trunk/xdocs/bugreport.xml

Modified: tomcat/site/trunk/docs/bugreport.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/bugreport.html?rev=955819&r1=955818&r2=955819&view=diff
==
--- tomcat/site/trunk/docs/bugreport.html (original)
+++ tomcat/site/trunk/docs/bugreport.html Fri Jun 18 02:45:37 2010
@@ -193,10 +193,12 @@
 
 
 Before you report a bug
-
+
 
 Bugzilla is not a support forum
 
+
+
 
 Resources to help 
resolve Apache Tomcat problems
 
@@ -224,6 +226,12 @@
 Reporting Apache Tomcat bugs
 
 
+How to write a bug report
+
+
+Patches and enhancement 
requests
+
+
 Security Issues
 
 
@@ -264,27 +272,20 @@ wide variety of reasons, and almost all 
 
 Many bugs reported end up not being a bug in the Apache Tomcat code, but are
 due to misconfiguration, problems caused by installed applications, the
-operating system, etc.
+operating system, etc.
+
 
 Before reporting a bug please make every effort to resolve the problem
 yourself.
 
-The remainder of this document points you toward resources you can use to
+
+The remainder of this document points you toward resources you can use to
 resolve the problem you are having.
 
-
-
-
-
-
-
-
-
-
-
-
+
+  
 
-
+
 
 
 
@@ -297,12 +298,36 @@ resolve the problem you are having.
 
 
 
-
 
-Support questions should not be sent to Bugzilla. If you cannot diagnose
-your problem, or if the problem is in your configuration, use the
-mailing lists.
-
+  Bugzilla is a tool to track bug reports and feature requests. It is used
+to organize work on Apache Tomcat projects, so that such issues are not
+forgotten and to document how they were resolved.
+  
+
+  Bugzilla is not a place to ask questions on how to configure your own
+system, or how to interpret some error message that you do not understand.
+  
+
+  If you have any such questions, please use available
+support channels. The most popular one is the
+users mailing list.
+  
+
+  When you have gathered enough information to diagnose your problem,
+and it is indeed a bug that can be fixed in Apache Tomcat, feel
+free to create (or reopen) a Bugzilla issue for it. If you discussed the
+issue on a mailing list, you can add a link to your discussion that can be
+found in mailing list archives.
+  
+  
+
+
+
+
+
+
+
+
 
 
 
@@ -353,7 +378,8 @@ problem you are having before reporting 
 
 Documentation – Review the documentation for the version
   of Apache Tomcat that you are using.  The problem that you are
-  facing may already be addressed in the docs.
+  facing may already be addressed in the docs.  Note, that documentation
+  is searchable.
 
 Logs – The logs which Apache Tomcat generates can be a valuable
   resource when trying to diagnose a problem.  Please review them.
@@ -390,7 +416,7 @@ problem you are having before reporting 
 
 
 It is very likely you are not the first to run into a problem.
-  Others may have already found a solution.  The tomcat-user,
+  Others may have already found a solution.  The tomcat-users,
   taglibs-user or tomcat-dev list archives may contain
   discussions which will help you resolve the problem.
 
@@ -544,6 +570,7 @@ problem you are having before reporting 
 
 
   
+http://tomcat.apache.org/tomcat-7.0-doc/changelog.html";>Tomcat 7.0,
 http://tomcat.apache.org/tomcat-6.0-doc/changelog.html";>Tomcat 6.0,
 http://tomcat.apache.org/tomcat-5.5-doc/changelog.html";>Tomcat 5.5
   
@@ -561,6 +588,7 @@ problem you are having before reporting 
 
 
   
+http://svn.apache.org/repos/asf/tomcat/trunk/webapps/docs/changelog.xml";>Tomcat
 7.0 (trunk),
 http://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml";>Tomcat
 6.0,
 http://svn.apache.org/repos/asf/tomcat/tc5.5.x/trunk/container/webapps/docs/changelog.xml";>Tomcat
 5.5
   
@@ -607,77 +635,6 @@ problem you are having before reporting 
 Please make sure the problem is a bug in Apache Tomcat and not a
 bug in your web application.
 
-Please provide as much information as possible. It is
-very hard to fix a bug if the person looking into the problem cannot
-reproduce it.  Here is a listing of information which should be included:
-
-  Environment details:
-
-  
-Version – Apache Tomcat version, if from a nightly build,
-  version and date of build. Please not only select the version from a
-  list, but also repeat it in the text of your bug report.
-  
-Platform and OS – Hardware platform and operating system
-  Tomcat is runnin