DO NOT REPLY [Bug 44463] New: - GUI deploy in manager webapp fails due to missing common-io dependency

2008-02-21 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=44463.
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=44463

   Summary: GUI deploy in manager webapp fails due to missing
common-io dependency
   Product: Tomcat 5
   Version: 5.5.25
  Platform: All
OS/Version: All
Status: NEW
  Severity: normal
  Priority: P2
 Component: Webapps:Manager
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


This bug is for 5.5.26 which is still missing in the version list of bugzilla.

When deploying a webapp via the deploy upload in the manager webapp gui the
following exception gets thrown:

java.lang.NoClassDefFoundError:
org/apache/commons/io/output/DeferredFileOutputStream

org.apache.commons.fileupload.DefaultFileItemFactory.createItem(DefaultFileItemFactory.java:103)

org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:350)

org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:302)

org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:166)
javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

This is due to a missing dependency of commons-fileupload.

Between TC 5.5.25 and 5.5.26 commons-fileupload has been updated from version
1.0 to 1.2. commons-fileupload unbundled some commons-io classes between 1.0 and
1.1, so we need to bundle commons-io with the manager webapp.

Problem can be fixed by including commons-io version 1.4 in the manager webapp.

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



[PROPOSAL] Add rev to changelog.xml

2008-02-21 Thread Filip Hanik - Dev Lists
since we have the ability to add fixbz number/fix to changelog, 
wouldn't it be nice to be able to add revsvn rev number/rev and 
automatically link changes to the actual commit


Filip

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



svn commit: r629848 - in /tomcat/tc6.0.x/trunk: STATUS.txt java/org/apache/catalina/core/ApplicationContext.java webapps/docs/changelog.xml

2008-02-21 Thread fhanik
Author: fhanik
Date: Thu Feb 21 08:13:48 2008
New Revision: 629848

URL: http://svn.apache.org/viewvc?rev=629848view=rev
Log:
fix regression

Modified:
tomcat/tc6.0.x/trunk/STATUS.txt
tomcat/tc6.0.x/trunk/java/org/apache/catalina/core/ApplicationContext.java
tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml

Modified: tomcat/tc6.0.x/trunk/STATUS.txt
URL: 
http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/STATUS.txt?rev=629848r1=629847r2=629848view=diff
==
--- tomcat/tc6.0.x/trunk/STATUS.txt (original)
+++ tomcat/tc6.0.x/trunk/STATUS.txt Thu Feb 21 08:13:48 2008
@@ -92,11 +92,6 @@
   convention was never really discussed either)
   -1: 
   
-* Allow ServletContext.getResource(noslash/resource) (regression)
-  http://svn.apache.org/viewvc?view=revrevision=627743 
(ApplicationContext.java)
-  +1: fhanik, markt, remm
-  -1: 
-
 * Fix ArrayIndexOutOfBoundsException when empty URL is requested
   http://svn.apache.org/viewvc?rev=627883view=rev
   +1: markt

Modified: 
tomcat/tc6.0.x/trunk/java/org/apache/catalina/core/ApplicationContext.java
URL: 
http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/java/org/apache/catalina/core/ApplicationContext.java?rev=629848r1=629847r2=629848view=diff
==
--- tomcat/tc6.0.x/trunk/java/org/apache/catalina/core/ApplicationContext.java 
(original)
+++ tomcat/tc6.0.x/trunk/java/org/apache/catalina/core/ApplicationContext.java 
Thu Feb 21 08:13:48 2008
@@ -52,6 +52,7 @@
 import org.apache.tomcat.util.buf.CharChunk;
 import org.apache.tomcat.util.buf.MessageBytes;
 import org.apache.tomcat.util.http.mapper.MappingData;
+import org.apache.catalina.Globals;
 
 
 /**
@@ -453,9 +454,12 @@
 public URL getResource(String path)
 throws MalformedURLException {
 
-if (path == null || !path.startsWith(/)) {
+if (path == null)
 throw new 
MalformedURLException(sm.getString(applicationContext.requestDispatcher.iae, 
path));
-}
+
+if (!path.startsWith(/)  Globals.STRICT_SERVLET_COMPLIANCE)
+throw new 
MalformedURLException(sm.getString(applicationContext.requestDispatcher.iae, 
path));
+
 
 path = normalize(path);
 if (path == null)
@@ -507,9 +511,12 @@
 public InputStream getResourceAsStream(String path) {
 
 path = normalize(path);
-if (path == null || !path.startsWith(/))
+if (path == null)
 return (null);
 
+if (!path.startsWith(/)  Globals.STRICT_SERVLET_COMPLIANCE)
+return null;
+
 DirContext resources = context.getResources();
 if (resources != null) {
 try {

Modified: tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml
URL: 
http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml?rev=629848r1=629847r2=629848view=diff
==
--- tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml (original)
+++ tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml Thu Feb 21 08:13:48 2008
@@ -35,6 +35,10 @@
 section name=Tomcat 6.0.17 (remm)
   subsection name=Catalina
 changelog
+  update
+ServletContext.getResource(noslash/resource) only requires forward 
slash if STRICT_SERVLET_COMPLIANCE
+flag is set to true. This mimics the behavior of 6.0.15 and earlier. 
(fhanik)
+  /update
   fix
 bug44337/bug:   Dir listing crashes if no readme-file present 
(funkman)
   /fix
@@ -45,14 +49,14 @@
   /subsection
   subsection name=Coyote
 changelog
-  update   
+  update
 Fix NIO/SSL live lock during client disconnect (fhanik)
   /update
 /changelog
   /subsection
   subsection name=Cluster
 changelog
-  update   
+  update
 Fix session replication dead lock during non sticky load balancing 
(fhanik)
   /update
 /changelog
@@ -127,10 +131,10 @@
   subsection name=Catalina
 changelog
   fix
-Fix ManagerServlet.expireSessions throws Exceptions as iterate longer 
+Fix ManagerServlet.expireSessions throws Exceptions as iterate longer
 session lists at production servers. (pero)
   /fix
-  fixbug38131/bug: WatchedResource doesn't work if app is outside 
host appbase webapps. 
+  fixbug38131/bug: WatchedResource doesn't work if app is outside 
host appbase webapps.
 Patch provided by Peter Lynch (pero)
   /fix
   updateAdd -Dorg.apache.catalina.tribes.dns_lookups=false as default. 
The ability to turn off reverse DNS lookups for membership.(fhanik)/update
@@ -157,7 +161,7 @@
 bug43675/bug: Fix a possible logging related classloader leak.
 (markt)
   /fix
-  fixbug43687/bug Remove conditional headers on Form Auth replay, 
+  fixbug43687/bug Remove conditional headers on Form Auth replay,
since the UA 

svn commit: r629843 - in /tomcat/trunk: java/org/apache/catalina/tribes/transport/nio/NioReceiver.java test/org/apache/catalina/tribes/test/channel/TestUdpPackages.java

2008-02-21 Thread fhanik
Author: fhanik
Date: Thu Feb 21 08:06:17 2008
New Revision: 629843

URL: http://svn.apache.org/viewvc?rev=629843view=rev
Log:
modify test code to report more info
avoid concurrency during closedown

Modified:
tomcat/trunk/java/org/apache/catalina/tribes/transport/nio/NioReceiver.java

tomcat/trunk/test/org/apache/catalina/tribes/test/channel/TestUdpPackages.java

Modified: 
tomcat/trunk/java/org/apache/catalina/tribes/transport/nio/NioReceiver.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/tribes/transport/nio/NioReceiver.java?rev=629843r1=629842r2=629843view=diff
==
--- tomcat/trunk/java/org/apache/catalina/tribes/transport/nio/NioReceiver.java 
(original)
+++ tomcat/trunk/java/org/apache/catalina/tribes/transport/nio/NioReceiver.java 
Thu Feb 21 08:06:17 2008
@@ -281,7 +281,7 @@
 // get an iterator over the set of selected keys
 Iterator it = selector.selectedKeys().iterator();
 // look at each key in the selected set
-while (it.hasNext()) {
+while (it.hasNext()  selector!=null) {
 SelectionKey key = (SelectionKey) it.next();
 // Is a new connection coming in?
 if (key.isAcceptable()) {
@@ -310,7 +310,7 @@
 }
 
 // remove key from selected set, it's been handled
-it.remove();
+if (selector!=null) it.remove();
 }
 } catch (java.nio.channels.ClosedSelectorException cse) {
 // ignore is normal at shutdown or stop listen socket

Modified: 
tomcat/trunk/test/org/apache/catalina/tribes/test/channel/TestUdpPackages.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/test/org/apache/catalina/tribes/test/channel/TestUdpPackages.java?rev=629843r1=629842r2=629843view=diff
==
--- 
tomcat/trunk/test/org/apache/catalina/tribes/test/channel/TestUdpPackages.java 
(original)
+++ 
tomcat/trunk/test/org/apache/catalina/tribes/test/channel/TestUdpPackages.java 
Thu Feb 21 08:06:17 2008
@@ -104,9 +104,9 @@
 try {
 long start = System.currentTimeMillis();
 for (int i = 0; i  msgCount; i++) {
-int cnt = counter.addAndGet(1);
+int cnt = counter.getAndAdd(1);
 channel1.send(new Member[] 
{channel2.getLocalMember(false)}, 
Data.createRandomData(1024,cnt),Channel.SEND_OPTIONS_UDP);
-Thread.currentThread().sleep(10);
+//Thread.currentThread().sleep(10);
 }
 System.out.println(Thread[+this.getName()+] sent 
+msgCount+ messages in +(System.currentTimeMillis()-start)+ ms.);
 }catch ( Exception x ) {



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



Re: [PROPOSAL] Add rev to changelog.xml

2008-02-21 Thread Filip Hanik - Dev Lists

jean-frederic clere wrote:

Filip Hanik - Dev Lists wrote:
since we have the ability to add fixbz number/fix to changelog, 
wouldn't it be nice to be able to add revsvn rev number/rev


Sure.


and automatically link changes to the actual commit


How?

rev627743/rev
becomes
http://svn.apache.org/viewvc?view=revrevision=627743
through XSL transformation

Filip


Cheers

Jean-Frederic



Filip

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






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



DO NOT REPLY [Bug 44454] - busy count reported in mod_jk inflated, causes incorrect balancing

2008-02-21 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=44454.
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=44454





--- Additional Comments From [EMAIL PROTECTED]  2008-02-21 08:45 ---
Yeah, the relationship between M, V, and the Busy is correct (which is to say
that V is inflated).

-- 
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: [PROPOSAL] Add rev to changelog.xml

2008-02-21 Thread jean-frederic clere

Filip Hanik - Dev Lists wrote:
since we have the ability to add fixbz number/fix to changelog, 
wouldn't it be nice to be able to add revsvn rev number/rev


Sure.

and 
automatically link changes to the actual commit


How?

Cheers

Jean-Frederic



Filip

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



svn commit: r629872 - /tomcat/trunk/PROPOSALS.txt

2008-02-21 Thread fhanik
Author: fhanik
Date: Thu Feb 21 09:07:01 2008
New Revision: 629872

URL: http://svn.apache.org/viewvc?rev=629872view=rev
Log:
two proposals

Modified:
tomcat/trunk/PROPOSALS.txt

Modified: tomcat/trunk/PROPOSALS.txt
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/PROPOSALS.txt?rev=629872r1=629871r2=629872view=diff
==
--- tomcat/trunk/PROPOSALS.txt (original)
+++ tomcat/trunk/PROPOSALS.txt Thu Feb 21 09:07:01 2008
@@ -71,3 +71,6 @@
 ==
  - implement payloadChange(...) event on membership listener
  
+* Make OSGi Bundles of each jar
+
+* Include tomcat-juli and tomcat-juli-adapters as an add on package when doing 
a release



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



Re: [PROPOSAL] Add rev to changelog.xml

2008-02-21 Thread Filip Hanik - Dev Lists

jean-frederic clere wrote:

Filip Hanik - Dev Lists wrote:

jean-frederic clere wrote:

Filip Hanik - Dev Lists wrote:
since we have the ability to add fixbz number/fix to changelog, 
wouldn't it be nice to be able to add revsvn rev number/rev


Sure.


and automatically link changes to the actual commit


How?

rev627743/rev
becomes
http://svn.apache.org/viewvc?view=revrevision=627743
through XSL transformation


Euh... My question was how to get the 627743 automatically as I can't 
guess it while committing.
no, a person enters it just like one enters bug numbers, it  can't be 
in the same commit, but  it makes the  changelog very attractive


Filip



Cheers

Jean-Frederic



Filip


Cheers

Jean-Frederic



Filip

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






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






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



Re: [PROPOSAL] Add rev to changelog.xml

2008-02-21 Thread jean-frederic clere

Filip Hanik - Dev Lists wrote:

jean-frederic clere wrote:

Filip Hanik - Dev Lists wrote:
since we have the ability to add fixbz number/fix to changelog, 
wouldn't it be nice to be able to add revsvn rev number/rev


Sure.


and automatically link changes to the actual commit


How?

rev627743/rev
becomes
http://svn.apache.org/viewvc?view=revrevision=627743
through XSL transformation


Euh... My question was how to get the 627743 automatically as I can't 
guess it while committing.


Cheers

Jean-Frederic



Filip


Cheers

Jean-Frederic



Filip

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






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



svn commit: r629873 - /tomcat/trunk/PROPOSALS.txt

2008-02-21 Thread fhanik
Author: fhanik
Date: Thu Feb 21 09:07:42 2008
New Revision: 629873

URL: http://svn.apache.org/viewvc?rev=629873view=rev
Log:
source jars for maven repo

Modified:
tomcat/trunk/PROPOSALS.txt

Modified: tomcat/trunk/PROPOSALS.txt
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/PROPOSALS.txt?rev=629873r1=629872r2=629873view=diff
==
--- tomcat/trunk/PROPOSALS.txt (original)
+++ tomcat/trunk/PROPOSALS.txt Thu Feb 21 09:07:42 2008
@@ -74,3 +74,5 @@
 * Make OSGi Bundles of each jar
 
 * Include tomcat-juli and tomcat-juli-adapters as an add on package when doing 
a release
+
+* Generate source jars for each maven jar posted



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



Re: [PROPOSAL] Add rev to changelog.xml

2008-02-21 Thread jean-frederic clere

Filip Hanik - Dev Lists wrote:

jean-frederic clere wrote:

Filip Hanik - Dev Lists wrote:

jean-frederic clere wrote:

Filip Hanik - Dev Lists wrote:
since we have the ability to add fixbz number/fix to changelog, 
wouldn't it be nice to be able to add revsvn rev number/rev


Sure.


and automatically link changes to the actual commit


How?

rev627743/rev
becomes
http://svn.apache.org/viewvc?view=revrevision=627743
through XSL transformation


Euh... My question was how to get the 627743 automatically as I can't 
guess it while committing.
no, a person enters it just like one enters bug numbers, it  can't be 
in the same commit, but  it makes the  changelog very attractive


Sure that is a very interesting information.

Cheers

Jean-frederic



Filip



Cheers

Jean-Frederic



Filip


Cheers

Jean-Frederic



Filip

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






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






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



Re: [PROPOSAL] Add rev to changelog.xml

2008-02-21 Thread Filip Hanik - Dev Lists

David Jencks wrote:

If you were using JIRA then including the JIRA number in the commit message 
would be sufficient to link the issue to the commits.  You can see a listing of 
which files were changed in each commit and link to svn so you can see what was 
changed.

e.g. 


https://issues.apache.org/jira/browse/GERONIMO-3417

(click on all)
  
very nice, but we're still on bugzilla (not that we couldn't switch, but 
thats not part of this proposal)


Filip

david jencks

- Original Message 
From: Filip Hanik - Dev Lists [EMAIL PROTECTED]
To: Tomcat Developers List dev@tomcat.apache.org
Sent: Thursday, February 21, 2008 8:10:36 AM
Subject: [PROPOSAL] Add rev to changelog.xml


since 
we 
have 
the 
ability 
to 
add 
fixbz 
number/fix 
to 
changelog, 
wouldn't 
it 
be 
nice 
to 
be 
able 
to 
add 
revsvn 
rev 
number/rev 
and 
automatically 
link 
changes 
to 
the 
actual 
commit


Filip

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



  



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



Re: DO NOT REPLY [Bug 40317] - mod_jk, mixed up response if request contains http status 304 - resources with Content-Length 0

2008-02-21 Thread Jim Jagielski


On Feb 19, 2008, at 1:35 PM, Bill Barker wrote:





-Original Message-
From: Rainer Jung [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 19, 2008 1:32 AM
To: Tomcat Developers List
Subject: Re: DO NOT REPLY [Bug 40317] - mod_jk, mixed up
response if request contains http status 304 - resources with
Content-Length  0

Hi Bill,

why do we close this as duplicate?

The other bug has been closed as not a mod_jk bug, but in this case
the user gave evidence, that the might be something broken in
the TC AJP
connector. So shouldn't we keep this one open and only change
the component.



If it isn't mod_jk's job to sanitize the HTTP output, then it  
certainly
isn't the job of the AJP connector ;).  The AJP connector has no  
reason to

even know that httpd received the request via HTTP.

It's possible that there is a bug with DefaultServlet that creates 304
responses with a Content-Length, but I doubt it.





Appears to me that the AJP connector is borked... Will look.

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



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

2008-02-21 Thread fhanik
Author: fhanik
Date: Thu Feb 21 09:58:59 2008
New Revision: 629896

URL: http://svn.apache.org/viewvc?rev=629896view=rev
Log:
add comment about prop name

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=629896r1=629895r2=629896view=diff
==
--- tomcat/tc6.0.x/trunk/STATUS.txt (original)
+++ tomcat/tc6.0.x/trunk/STATUS.txt Thu Feb 21 09:58:59 2008
@@ -89,7 +89,7 @@
   http://svn.apache.org/viewvc?view=revrevision=627743 (ServerCookie.java)
   +1: fhanik, markt
   +0: remm (the property name is inconsistent with what has been used 
recently, but that
-  convention was never really discussed either)
+  convention was never really discussed either) fhanik: the propperty name 
is the same as everywhere else
   -1: 
   
 * Fix ArrayIndexOutOfBoundsException when empty URL is requested



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



svn commit: r630006 - in /tomcat/trunk/webapps/docs: project.xml status.xml

2008-02-21 Thread markt
Author: markt
Date: Thu Feb 21 13:36:18 2008
New Revision: 630006

URL: http://svn.apache.org/viewvc?rev=630006view=rev
Log:
As per http://marc.info/?l=tomcat-devm=120303263525849w=2, remove status page 
and point to wiki.

Removed:
tomcat/trunk/webapps/docs/status.xml
Modified:
tomcat/trunk/webapps/docs/project.xml

Modified: tomcat/trunk/webapps/docs/project.xml
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/project.xml?rev=630006r1=630005r2=630006view=diff
==
--- tomcat/trunk/webapps/docs/project.xml (original)
+++ tomcat/trunk/webapps/docs/project.xml Thu Feb 21 13:36:18 2008
@@ -29,7 +29,7 @@
 
 menu name=Links
 item name=Docs Home href=index.html/
-item name=FAQ   href=http://tomcat.apache.org/faq; 
/
+item name=FAQ   
href=http://wiki.apache.org/tomcat/FAQ; /
 /menu
 
 menu name=User Guide
@@ -77,7 +77,7 @@
 menu name=Apache Tomcat Development
 item name=Building  href=building.html/
 item name=Changelog href=changelog.html/
-item name=Statushref=status.html/
+item name=Status
href=http://wiki.apache.org/tomcat/TomcatVersions/
 item name=Developershref=developers.html/
 item name=Architecture  href=architecture/index.html /
 item name=Functional Specs. href=funcspecs/index.html/



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



[Tomcat Wiki] Update of TomcatVersions by markt

2008-02-21 Thread Apache Wiki
Dear Wiki user,

You have subscribed to a wiki page or wiki category on Tomcat Wiki for change 
notification.

The following page has been changed by markt:
http://wiki.apache.org/tomcat/TomcatVersions

The comment on the change is:
Update support status after discussion on the dev list.

--
- = Draft =
- Need to resolve TBDs. Specifically:
-  * Do we want to continue to provide support (currently only security fixes) 
for 3.3.x?
-* markt: Suggest we drop all support for 3.x
-  * If yes, who is release manager for 3.3.x?
-  * If no, do we want to remove 3.3.x from the main download page?
-* markt: Yes, if it is agreed to drop support for it
-  * What level of support do we want to provide for 5.5.x?
-* markt: Bug fixes and security fixes, no enhancements
- 
  = Overview =
  This page provides a high-level view of each of the past, current and planned 
major Tomcat versions.
  
+ The way Apache is structured and governed it is impossible to say that there 
will be no further enhancements, bug fixes or releases for a given version. 
Therefore, rather than use No in the tables below Highly unlikely has been 
used. That said, highly unlikely means exactly that and users of versions that 
are highly unlikely to see another release, even for security fixes, should 
consider moving to a later version.
+ 
+ It is anticipated that releases will be provided for a maximum of 3 major 
versions at any one time. It is currently planned that the last Tomcat 4.1.x 
release will occur no later than June 2009. However, there are currently no 
firm plans for Tomcat 7 therefore, depending on demand, Tomcat 4.1.x releases 
may continue beyond June 2009.
+  
  = Tomcat 3.3.x =
  ||Spec versions:||Servlet 2.2, JSP 1.1||
  ||Stable:||Yes||
- ||Enhancements:||No||
- ||Bug Fixes:||No||
- ||Security Fixes:||TBD - currently yes||
+ ||Enhancements:||Highly unlikely||
+ ||Bug Fixes:||Highly unlikely||
+ ||Security Fixes:||Highly unlikely||
+ ||Releases:||Highly unlikely||
+ ||Release Manager:||Bill Barker (billbarker)||
  ||Process:||RTC||
- ||Listed on download pages||Yes||
+ ||Listed on download pages||No||
- ||Release Manager:||???||
  
  = Tomcat 4.1.x =
  ||Spec versions:||Servlet 2.3, JSP 1.2||
  ||Stable:||Yes||
- ||Enhancements:||No||
+ ||Enhancements:||Unlikely||
- ||Bug Fixes:||Yes||
+ ||Bug Fixes:||Unlikely||
  ||Security Fixes:||Yes||
+ ||Releases:||As required until at least June 2009. Driven by security fixes||
+ ||Release Manager:||Mark Thomas (markt)||
  ||Process:||RTC||
  ||Listed on download pages||Yes||
- ||Release Manager:||Mark Thomas (markt)||
+ 
  
  = Tomcat 5.5.x =
  ||Spec versions:||Servlet 2.4, JSP 2.0||
  ||Stable:||Yes||
- ||Enhancements:||TBD - currently ???||
+ ||Enhancements:||Unlikely||
  ||Bug Fixes:||Yes||
  ||Security Fixes:||Yes||
+ ||Releases:||Yes||
+ ||Release Manager:||Filip Hanik (fhanik)||
  ||Process:||RTC||
  ||Listed on download pages||Yes||
- ||Release Manager:||Filip Hanik (fhanik)||
  
  = Tomcat 6.0.x =
  ||Spec versions:||Servlet 2.5, JSP 2.1||
  ||Stable:||Yes||
- ||Enhancements:||TBD - currently Yes||
- ||Bug Fixes:||TBD - currently Yes||
+ ||Enhancements:||Yes||
+ ||Bug Fixes:||Yes||
- ||Security Fixes:||TBD - currently Yes||
+ ||Security Fixes:||Yes||
+ ||Releases:||Yes||
+ ||Release Manager:||Remy Maucherat (remm)||
  ||Process:||RTC||
  ||Listed on download pages||Yes||
- ||Release Manager:||Remy Maucherat (remm)||
  
  = Tomcat 6.2.x =
  ||Spec versions:||Servlet 2.5, JSP 2.1||
@@ -66, +65 @@

   * 6.x plus
   * http://svn.apache.org/repos/asf/tomcat/trunk/NOTES-FOR-TOMCAT-7.txt
   * TBD - additional features will be added to the above file
+  * Anything from 
http://svn.apache.org/repos/asf/tomcat/trunk/NOTES-FOR-TOMCAT-6.2.txt that 
doesn't make it into 6.x
  
  = Unsupported versions =
  The following versions are no longer supported. The source is still available 
from SVN and both source and binary downloads are available from the archives.

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



DO NOT REPLY [Bug 43878] - Tag-file classes get loaded for each JSP - perm gen space problem

2008-02-21 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=43878.
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=43878


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||WONTFIX




--- Additional Comments From [EMAIL PROTECTED]  2008-02-21 14:00 ---
This patch has been sat in the proposals list for a few weeks and hasn't
gathered much interest.

Remy commented that the use case is very close to the pre-compilation one which
likely explains why there isn't much support for the patch.

On this basis I marking this bug as WONTFIX on the grounds pre-compilation
achieves pretty much the same result.

You are of course, free to use the patch in your own environment if it is useful
to you. I have included a link to my improved patch for this below:
http://svn.apache.org/viewvc?rev=616563view=rev

-- 
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: r630018 - /tomcat/tc6.0.x/trunk/STATUS.txt

2008-02-21 Thread markt
Author: markt
Date: Thu Feb 21 14:00:42 2008
New Revision: 630018

URL: http://svn.apache.org/viewvc?rev=630018view=rev
Log:
Withdraw 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=630018r1=630017r2=630018view=diff
==
--- tomcat/tc6.0.x/trunk/STATUS.txt (original)
+++ tomcat/tc6.0.x/trunk/STATUS.txt Thu Feb 21 14:00:42 2008
@@ -33,15 +33,6 @@
   -1: remm: I believe it would need specific support for certain managers. 
Interested users
 could use their own extended manager instead.
 
-* Fix http://issues.apache.org/bugzilla/show_bug.cgi?id=43878
-  Use a single class loader when not reloading JSPs and tag files to reduce 
perm
-  gen usage.
-  http://svn.apache.org/viewvc?rev=616563view=rev
-  +1: markt
-  +0: remm: The patch will now no longer blow up with the background reloading 
thread,
-but the use case intersects with precompilation, so it's probably 
not very useful.
-  -1:
-
 * Remove old TLS code
   http://svn.apache.org/viewvc?rev=616894view=rev
   +1: markt



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



svn commit: r630019 - in /tomcat/trunk/java/org/apache/jasper: JspCompilationContext.java compiler/JspRuntimeContext.java

2008-02-21 Thread markt
Author: markt
Date: Thu Feb 21 14:02:50 2008
New Revision: 630019

URL: http://svn.apache.org/viewvc?rev=630019view=rev
Log:
Revert r616563 which was a fix for bug 43878 that has now been marked as 
WONTFIX.

Modified:
tomcat/trunk/java/org/apache/jasper/JspCompilationContext.java
tomcat/trunk/java/org/apache/jasper/compiler/JspRuntimeContext.java

Modified: tomcat/trunk/java/org/apache/jasper/JspCompilationContext.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/jasper/JspCompilationContext.java?rev=630019r1=630018r2=630019view=diff
==
--- tomcat/trunk/java/org/apache/jasper/JspCompilationContext.java (original)
+++ tomcat/trunk/java/org/apache/jasper/JspCompilationContext.java Thu Feb 21 
14:02:50 2008
@@ -34,6 +34,7 @@
 import org.apache.jasper.compiler.JspUtil;
 import org.apache.jasper.compiler.Localizer;
 import org.apache.jasper.compiler.ServletWriter;
+import org.apache.jasper.servlet.JasperLoader;
 import org.apache.jasper.servlet.JspServletWrapper;
 
 /**
@@ -175,7 +176,11 @@
 
 public ClassLoader getJspLoader() {
 if( jspLoader == null ) {
-jspLoader = rctxt.getJspLoader(baseUrl, getClassLoader());
+jspLoader = new JasperLoader
+(new URL[] {baseUrl},
+getClassLoader(),
+rctxt.getPermissionCollection(),
+rctxt.getCodeSource());
 }
 return jspLoader;
 }

Modified: tomcat/trunk/java/org/apache/jasper/compiler/JspRuntimeContext.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/jasper/compiler/JspRuntimeContext.java?rev=630019r1=630018r2=630019view=diff
==
--- tomcat/trunk/java/org/apache/jasper/compiler/JspRuntimeContext.java 
(original)
+++ tomcat/trunk/java/org/apache/jasper/compiler/JspRuntimeContext.java Thu Feb 
21 14:02:50 2008
@@ -38,7 +38,6 @@
 import org.apache.jasper.Options;
 import org.apache.jasper.runtime.JspFactoryImpl;
 import org.apache.jasper.security.SecurityClassLoad;
-import org.apache.jasper.servlet.JasperLoader;
 import org.apache.jasper.servlet.JspServletWrapper;
 import org.apache.juli.logging.Log;
 import org.apache.juli.logging.LogFactory;
@@ -156,7 +155,6 @@
 private ServletContext context;
 private Options options;
 private URLClassLoader parentClassLoader;
-private JasperLoader jspLoader;
 private PermissionCollection permissionCollection;
 private CodeSource codeSource;
 private String classpath;
@@ -316,26 +314,6 @@
  */
 public String getClassPath() {
 return classpath;
-}
-
-
-/**
- * Obtain the classloader to use when loading JSP resources. In development
- * mode or when running background compilations, each JSP has a separate
- * classloader to enable easy re-loading of modified JSPs. If not in
- * development mode, a single loader is used to reduce perm gen usage when
- * many JSPs all use the same handful of tags.
- */
-public URLClassLoader getJspLoader(URL baseUrl, ClassLoader parent) {
-if (options.getDevelopment() || lastCheck  -1) {
-return new JasperLoader(new URL[] {baseUrl}, parent,
-permissionCollection, codeSource);
-}
-if (jspLoader == null) {
-jspLoader = new JasperLoader(new URL[] {baseUrl}, parent,
-permissionCollection, codeSource);
-}
-return jspLoader;
 }
 
 



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



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

2008-02-21 Thread markt
Author: markt
Date: Thu Feb 21 14:23:30 2008
New Revision: 630028

URL: http://svn.apache.org/viewvc?rev=630028view=rev
Log:
Propose some doc updates.

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=630028r1=630027r2=630028view=diff
==
--- tomcat/tc6.0.x/trunk/STATUS.txt (original)
+++ tomcat/tc6.0.x/trunk/STATUS.txt Thu Feb 21 14:23:30 2008
@@ -105,3 +105,14 @@
   +1: jfclere, fhanik
   -1:
 
+* Point to Wiki for latest status and remove very out of date status page from
+  docs
+  http://svn.apache.org/viewvc?rev=630006view=rev
+  +1: markt
+  -1:
+
+* Update docs. Correct version number, paths and use of $CATALINA_HOME vs.
+  $CATALINA_BASE
+  http://svn.apache.org/viewvc?rev=630013view=rev
+  +1: markt
+  -1:



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



svn commit: r630034 - in /tomcat/tc6.0.x/trunk: java/org/apache/jasper/JspCompilationContext.java java/org/apache/jasper/compiler/Compiler.java java/org/apache/jasper/compiler/TagFileProcessor.java we

2008-02-21 Thread markt
Author: markt
Date: Thu Feb 21 14:42:00 2008
New Revision: 630034

URL: http://svn.apache.org/viewvc?rev=630034view=rev
Log:
Fix for bug 43741. Correctly handle dependencies for tag files in JARs.

Modified:
tomcat/tc6.0.x/trunk/java/org/apache/jasper/JspCompilationContext.java
tomcat/tc6.0.x/trunk/java/org/apache/jasper/compiler/Compiler.java
tomcat/tc6.0.x/trunk/java/org/apache/jasper/compiler/TagFileProcessor.java
tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml

Modified: tomcat/tc6.0.x/trunk/java/org/apache/jasper/JspCompilationContext.java
URL: 
http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/java/org/apache/jasper/JspCompilationContext.java?rev=630034r1=630033r2=630034view=diff
==
--- tomcat/tc6.0.x/trunk/java/org/apache/jasper/JspCompilationContext.java 
(original)
+++ tomcat/tc6.0.x/trunk/java/org/apache/jasper/JspCompilationContext.java Thu 
Feb 21 14:42:00 2008
@@ -284,9 +284,29 @@
 
 
 public URL getResource(String res) throws MalformedURLException {
-return context.getResource(canonicalURI(res));
+URL result = null;
+
+if (res.startsWith(/META-INF/)) {
+// This is a tag file packaged in a jar that is being compiled
+URL jarUrl = tagFileJarUrls.get(res);
+if (jarUrl == null) {
+jarUrl = tagFileJarUrl;
+}
+if (jarUrl != null) {
+result = new URL(jarUrl.toExternalForm() + res.substring(1));
+}
+} else if (res.startsWith(jar:file:)) {
+// This is a tag file packaged in a jar that is being checked
+// for a dependency
+result = new URL(res);
+
+} else {
+result = context.getResource(canonicalURI(res));
+}
+return result;
 }
 
+
 public Set getResourcePaths(String path) {
 return context.getResourcePaths(canonicalURI(path));
 }
@@ -559,7 +579,7 @@
 
 public void compile() throws JasperException, FileNotFoundException {
 createCompiler();
-if (isPackagedTagFile || jspCompiler.isOutDated()) {
+if (jspCompiler.isOutDated()) {
 try {
 jspCompiler.removeGeneratedFiles();
 jspLoader = null;

Modified: tomcat/tc6.0.x/trunk/java/org/apache/jasper/compiler/Compiler.java
URL: 
http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/java/org/apache/jasper/compiler/Compiler.java?rev=630034r1=630033r2=630034view=diff
==
--- tomcat/tc6.0.x/trunk/java/org/apache/jasper/compiler/Compiler.java 
(original)
+++ tomcat/tc6.0.x/trunk/java/org/apache/jasper/compiler/Compiler.java Thu Feb 
21 14:42:00 2008
@@ -23,6 +23,7 @@
 import java.io.OutputStreamWriter;
 import java.io.PrintWriter;
 import java.io.UnsupportedEncodingException;
+import java.net.JarURLConnection;
 import java.net.URL;
 import java.net.URLConnection;
 import java.util.Iterator;
@@ -384,7 +385,12 @@
 return false;
 }
 URLConnection uc = jspUrl.openConnection();
-jspRealLastModified = uc.getLastModified();
+if (uc instanceof JarURLConnection) {
+jspRealLastModified =
+((JarURLConnection) uc).getJarEntry().getTime();
+} else {
+jspRealLastModified = uc.getLastModified();
+}
 uc.getInputStream().close();
 } catch (Exception e) {
 return true;
@@ -435,9 +441,15 @@
 return true;
 }
 
-URLConnection includeUconn = includeUrl.openConnection();
-long includeLastModified = includeUconn.getLastModified();
-includeUconn.getInputStream().close();
+URLConnection iuc = includeUrl.openConnection();
+long includeLastModified = 0;
+if (iuc instanceof JarURLConnection) {
+includeLastModified =
+((JarURLConnection) iuc).getJarEntry().getTime();
+} else {
+includeLastModified = iuc.getLastModified();
+}
+iuc.getInputStream().close();
 
 if (includeLastModified  targetLastModified) {
 return true;

Modified: 
tomcat/tc6.0.x/trunk/java/org/apache/jasper/compiler/TagFileProcessor.java
URL: 
http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/java/org/apache/jasper/compiler/TagFileProcessor.java?rev=630034r1=630033r2=630034view=diff
==
--- tomcat/tc6.0.x/trunk/java/org/apache/jasper/compiler/TagFileProcessor.java 
(original)
+++ tomcat/tc6.0.x/trunk/java/org/apache/jasper/compiler/TagFileProcessor.java 
Thu Feb 21 14:42:00 2008
@@ -619,9 +619,18 @@
 TagFileInfo tagFileInfo = 

DO NOT REPLY [Bug 43741] - .tag files in a .tar recompiled for each .jsp -- extremely slow (with fix)

2008-02-21 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=43741.
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=43741


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED




--- Additional Comments From [EMAIL PROTECTED]  2008-02-21 14:42 ---
This has been committed to 6.0.x and will be in 6.0.17 onwards.

-- 
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: r630035 - /tomcat/tc6.0.x/trunk/STATUS.txt

2008-02-21 Thread markt
Author: markt
Date: Thu Feb 21 14:43:13 2008
New Revision: 630035

URL: http://svn.apache.org/viewvc?rev=630035view=rev
Log:
This this been committed.

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=630035r1=630034r2=630035view=diff
==
--- tomcat/tc6.0.x/trunk/STATUS.txt (original)
+++ tomcat/tc6.0.x/trunk/STATUS.txt Thu Feb 21 14:43:13 2008
@@ -61,12 +61,6 @@
   +0: remm: do we really want to fix these sort of bugs ?
   -1:
 
-* Fix http://issues.apache.org/bugzilla/show_bug.cgi?id=43741
-  Correctly handle dependencies on tags in JARs
-  http://svn.apache.org/viewvc?rev=618481view=rev
-  +1: markt, remm, fhanik
-  -1:
-
 * ExtendedAccessLogValve cs-uri not print empty querystring
   http://svn.apache.org/viewvc?rev=620778view=rev
   +1: pero,funkman,markt



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



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

2008-02-21 Thread markt
Author: markt
Date: Thu Feb 21 14:47:09 2008
New Revision: 630039

URL: http://svn.apache.org/viewvc?rev=630039view=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=630039r1=630038r2=630039view=diff
==
--- tomcat/tc6.0.x/trunk/STATUS.txt (original)
+++ tomcat/tc6.0.x/trunk/STATUS.txt Thu Feb 21 14:47:09 2008
@@ -92,11 +92,12 @@
   http://svn.apache.org/viewvc?view=revrevision=602114
   http://svn.apache.org/viewvc?view=revrevision=601795
   +1: jfclere, fhanik
+  +0: markt - should really be added to the docs as well
   -1:
 
 * Add tests for the cookie parsing and use package 
org.apache.catalina.tomcat.util.http
   http://people.apache.org/~jfclere/patches/test_cookies.patch2
-  +1: jfclere, fhanik
+  +1: jfclere, fhanik, markt
   -1:
 
 * Point to Wiki for latest status and remove very out of date status page from



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



DO NOT REPLY [Bug 44455] - Error when using sendRedirect with a mailto as a redirect url

2008-02-21 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=44455.
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=44455


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||DUPLICATE




--- Additional Comments From [EMAIL PROTECTED]  2008-02-21 14:50 ---
5.0.x is no longer supported. This issue has been fixed in 4.1.x, 5.5.x and 
6.0.x.

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

-- 
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 18147] - Using HttpServletResponse.sendRedirect() with a mailto loses the 'to' information

2008-02-21 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=18147.
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=18147


[EMAIL PROTECTED] changed:

   What|Removed |Added

 CC||[EMAIL PROTECTED]




--- Additional Comments From [EMAIL PROTECTED]  2008-02-21 14:50 ---
*** Bug 44455 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]



DO NOT REPLY [Bug 44423] - invalid duplicate listeners warning

2008-02-21 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=44423.
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=44423


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED




--- Additional Comments From [EMAIL PROTECTED]  2008-02-21 15:04 ---
This has now been fixed in 6.0.x and will be in 6.0.17 onwards.

For the record, apart from the extra log messages being annoying, this will not
cause an app any problems.

-- 
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: r630043 - /tomcat/tc6.0.x/trunk/STATUS.txt

2008-02-21 Thread remm
Author: remm
Date: Thu Feb 21 15:05:29 2008
New Revision: 630043

URL: http://svn.apache.org/viewvc?rev=630043view=rev
Log:
- Votes.

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=630043r1=630042r2=630043view=diff
==
--- tomcat/tc6.0.x/trunk/STATUS.txt (original)
+++ tomcat/tc6.0.x/trunk/STATUS.txt Thu Feb 21 15:05:29 2008
@@ -36,14 +36,16 @@
 * Remove old TLS code
   http://svn.apache.org/viewvc?rev=616894view=rev
   +1: markt
-  -1: remm: I don't see the point of backporting these API changing cleanups
+  +0: remm: I don't see the point of backporting these API changing cleanups
 (markt) This is not an API change. It is just removing the TLS code
 that has never been included in a 6.0.x src or bin release
+   It's my fault for not building it in then. I'm not sure this is 
intentional,
+   but I am ok with the change.
 
 * Modify NIo connector to use JSSE SSL implementation directly
   http://svn.apache.org/viewvc?rev=616896view=rev
   +1: markt
-  -1: remm: I don't see the point of backporting these API changing cleanups
+  +1: remm: ok
 (markt) This is not an API change. It is preparation for an API
 change which will now be in a future release. The method
 that needs to be removed will now be marked as deprecated
@@ -80,6 +82,7 @@
   +1: fhanik, markt
   +0: remm (the property name is inconsistent with what has been used 
recently, but that
   convention was never really discussed either) fhanik: the propperty name 
is the same as everywhere else
+  I posted about that: could have its own property in addition to the 
strict thing, and the field should be uppercase 
   -1: 
   
 * Fix ArrayIndexOutOfBoundsException when empty URL is requested



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



DO NOT REPLY [Bug 44435] - Inaccuracies in the ISO-8859-1 character encoder

2008-02-21 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=44435.
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=44435


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID




--- Additional Comments From [EMAIL PROTECTED]  2008-02-21 15:01 ---
Ignore my comment about strict compliance. This works for me on a clean
installation. Note I see the following on stdout:
Response: org.apache.catalina.connector.ResponseFacade
Encoding: ISO-8859-1
PrintWriter: org.apache.catalina.connector.CoyoteWriter

Looks like
org.acegisecurity.context.HttpSessionContextIntegrationFilter$OnRedirectUpdateSessionResponseWrapper
is causing problems.

-- 
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 44468] New: - org.apache.jasper.JasperException: Unable to compile class for JSP

2008-02-21 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=44468.
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=44468

   Summary: org.apache.jasper.JasperException: Unable to compile
class for JSP
   Product: Tomcat 5
   Version: 5.5.17
  Platform: Macintosh
OS/Version: Mac OS X 10.4
Status: NEW
  Severity: blocker
  Priority: P1
 Component: Jasper
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


Hi 

I created a new jsp project and tried to lunch, I am getting following error.
I am using mac os 10.4.11 and java version 1.5.0_05
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_05-84)
Java HotSpot(TM) Client VM (build 1.5.0_05-51, mixed mode, sharing)

Could you please assist me in resolving the following error:

org.apache.jasper.JasperException: Unable to compile class for JSP

Generated servlet error:
The method handlePageException(Exception) in the type PageContext is not
applicable for the arguments (Throwable)



org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:375)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
root cause

org.apache.jasper.JasperException: Unable to compile class for JSP

Generated servlet error:
The method handlePageException(Exception) in the type PageContext is not
applicable for the arguments (Throwable)



org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84)

org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:328)

org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:414)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:297)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:276)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:264)

org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:563)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:303)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

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



How to modify default tomcat http header property Server: Apache-Coyote/1.1 ?

2008-02-21 Thread Hanks Wang (hanwan)
Hi all,
 
I deployed a servlet in Tomcat which response to all http post requests,
and I composed the response data by HttpServletResponse object.
 
But I found Tomcat will generate a default http header property in the
response: Server: Apache-Coyote/1.1
 
So my question is : Is there a way to change the http header value? eg:
change it to Server: For-Test
 
I try to use below method: 
response.setHeader(Server, For-Test);
 
Then the http header becomes to:
Server: Apache-Coyote/1.1
Server: For-test
 
But the Apache-Coyote/1.1 still there.  So how can I delete it or
modify it? Thanks!
 
B.R
Han
 


DO NOT REPLY [Bug 44468] - org.apache.jasper.JasperException: Unable to compile class for JSP

2008-02-21 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=44468.
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=44468


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID




--- Additional Comments From [EMAIL PROTECTED]  2008-02-21 23:23 ---
Bugzilla is not a support forum. Please use the users list.
http://tomcat.apache.org/lists.html

-- 
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: How to modify default tomcat http header property Server: Apache-Coyote/1.1 ?

2008-02-21 Thread Mark Thomas

Hanks Wang (hanwan) wrote:

So my question is : Is there a way to change the http header value? eg:
change it to Server: For-Test


Please do not cross-post to the users and the dev list.

Mark

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



RE: How to modify default tomcat http header property Server: Apache-Coyote/1.1 ?

2008-02-21 Thread Hanks Wang (hanwan)
Sorry for that Mark, So do I need resend the mail to single list?

Thanks
han

 

-Original Message-
From: Mark Thomas [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 22, 2008 3:26 PM
To: Tomcat Developers List
Subject: Re: How to modify default tomcat http header property Server:
Apache-Coyote/1.1 ?

Hanks Wang (hanwan) wrote:
 So my question is : Is there a way to change the http header value?
eg:
 change it to Server: For-Test

Please do not cross-post to the users and the dev list.

Mark

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