Re: Shipping tomcat[5|6].exe binaries with .zip distribution

2007-05-12 Thread Henri Gomez

+1

2007/5/11, Mladen Turk <[EMAIL PROTECTED]>:

Hi,

Right now we are only shipping windows 32-bit binaries
inside .zip distro. Can we modify the build so the
zip contains windows 64-bit amd64/emt64 and ia64
binaries as well. It would increase the .zip
only by 200K. I'll also try to modify the service.bat
script so that install detects if the JVM in JAVA_PATH is
64 bit or not.

How that sounds?

Regards,
Mladen.


-
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 27122] - IE plugins cannot access components through Tomcat 5 over SSL

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

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


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|INVALID |




--- Additional Comments From [EMAIL PROTECTED]  2007-05-12 09:51 ---
Reopening this bug - even though strictly speaking Tomcat's behaviour is not
incorrect - because it seems to be a significant and common source of problems,
and is not that easy for the user to diagnose. It occurs with or without SSL,
and in a wider set of circumstances than invoking IE plugins. (My own variation
is that download to a file in IE fails if a content-disposition header is set
and the resource is subject to a security constraint).

The workaround given by Bill Barker is to configure each context:


  


This works but reduces security more than is necessary, as it causes no cache
control headers to be issued at all.

An alternative workaround


  


is better. It causes a header Cache-Control: private to be issued in place of
the default Cache-Control: none and Pragma: no-cache headers. This tells shared
caches not to cache the response, which I think is all that is necessary, while
still allowing downloads to work in IE.

However, neither workaround is a good solution because it makes configuration
more difficult and because it duplicates knowledge of which authenticator is
required between the web.xml and context.xml files.

Therefore I suggest that AuthenticatorBase be changed to put out the
Cache-Control: private header by default. I think this is simply a matter of
changing the securePagesWithPragma field from true to false:

/**
 * Flag to determine if we disable proxy caching with headers incompatible
 * with IE 
 */
protected boolean securePagesWithPragma = true;

Other comments in this source file suggest that IE-incompatible headers are
being issued because there is some unspecified problem with Mozilla when
cache-control: private is used. However I can find no such problem at least with
current versions of Firefox. Since the choice therefore seems to be between
working around a known bug in all versions of IE, and working around a possible
bug in some previous versions of Mozilla that does not affect current Firefox
users, I'd argue that the former is the better thing to do. 


-- 
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: Catalina is burning

2007-05-12 Thread Bill Barker

"Remy Maucherat" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
> http://www.cnn.com/2007/WEATHER/05/11/socal.fire.ap/index.html
>
> :(
>
> (although there are plenty of Catalinas around, the Catalina name in 
> Tomcat refers to that island)
>

http://news.yahoo.com/s/ap/20070512/ap_on_re_us/wildfires

As a followup, it looks like Catalina mostly survived the fire.

> Rémy 




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



svn commit: r537517 - in /tomcat: build/tc5.5.x/RUNNING.txt container/tc5.5.x/catalina/src/bin/catalina.bat container/tc5.5.x/webapps/docs/changelog.xml

2007-05-12 Thread markt
Author: markt
Date: Sat May 12 14:11:17 2007
New Revision: 537517

URL: http://svn.apache.org/viewvc?view=rev&rev=537517
Log:
Fix bug 42401. Provide better JRE/JDK information.

Modified:
tomcat/build/tc5.5.x/RUNNING.txt
tomcat/container/tc5.5.x/catalina/src/bin/catalina.bat
tomcat/container/tc5.5.x/webapps/docs/changelog.xml

Modified: tomcat/build/tc5.5.x/RUNNING.txt
URL: 
http://svn.apache.org/viewvc/tomcat/build/tc5.5.x/RUNNING.txt?view=diff&rev=537517&r1=537516&r2=537517
==
--- tomcat/build/tc5.5.x/RUNNING.txt (original)
+++ tomcat/build/tc5.5.x/RUNNING.txt Sat May 12 14:11:17 2007
@@ -20,8 +20,13 @@
 (1.2) Install the JRE according to the instructions included with the
   release.
 
-(1.3) Set an environment variable named JAVA_HOME to the pathname of
-  the directory into which you installed the JRE, e.g. c:\j2sdk5.0
+(1.3) Set an environment variable named JRE_HOME to the pathname of
+  the directory into which you installed the JRE, e.g. c:\jre5.0
+  or /usr/local/java/jre5.0.
+
+NOTE: You may also use the full JDK rather than just the JRE. In this
+  case set the JAVA_HOME environment variable to the pathname of
+  the directory into which you installed the JDK, e.g. c:\j2sdk5.0
   or /usr/local/java/j2sdk5.0.
 
 

Modified: tomcat/container/tc5.5.x/catalina/src/bin/catalina.bat
URL: 
http://svn.apache.org/viewvc/tomcat/container/tc5.5.x/catalina/src/bin/catalina.bat?view=diff&rev=537517&r1=537516&r2=537517
==
--- tomcat/container/tc5.5.x/catalina/src/bin/catalina.bat (original)
+++ tomcat/container/tc5.5.x/catalina/src/bin/catalina.bat Sat May 12 14:11:17 
2007
@@ -21,7 +21,7 @@
 rem   JAVA_HOME   Must point at your Java Development Kit installation.
 rem   Required to run the with the "debug" argument.
 rem
-rem   JRE_HOMEMust point at your Java Development Kit installation.
+rem   JRE_HOMEMust point at your Java Runtime installation.
 rem   Defaults to JAVA_HOME if empty.
 rem
 rem   JAVA_OPTS   (Optional) Java runtime options used when the "start",

Modified: tomcat/container/tc5.5.x/webapps/docs/changelog.xml
URL: 
http://svn.apache.org/viewvc/tomcat/container/tc5.5.x/webapps/docs/changelog.xml?view=diff&rev=537517&r1=537516&r2=537517
==
--- tomcat/container/tc5.5.x/webapps/docs/changelog.xml (original)
+++ tomcat/container/tc5.5.x/webapps/docs/changelog.xml Sat May 12 14:11:17 2007
@@ -75,6 +75,10 @@
  42361: Handle multi-part forms when saving requests during
  FORM authentication process. Patch provided by Peter Runge. (markt)
   
+  
+ 42401: Update RUNNING.txt with better JRE/JDK information.
+ (markt)
+  
 
   
   



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



svn commit: r537518 - in /tomcat/tc6.0.x/trunk: RUNNING.txt bin/catalina.bat webapps/docs/changelog.xml

2007-05-12 Thread markt
Author: markt
Date: Sat May 12 14:11:40 2007
New Revision: 537518

URL: http://svn.apache.org/viewvc?view=rev&rev=537518
Log:
Fix bug 42401. Provide better JRE/JDK information.

Modified:
tomcat/tc6.0.x/trunk/RUNNING.txt
tomcat/tc6.0.x/trunk/bin/catalina.bat
tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml

Modified: tomcat/tc6.0.x/trunk/RUNNING.txt
URL: 
http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/RUNNING.txt?view=diff&rev=537518&r1=537517&r2=537518
==
--- tomcat/tc6.0.x/trunk/RUNNING.txt (original)
+++ tomcat/tc6.0.x/trunk/RUNNING.txt Sat May 12 14:11:40 2007
@@ -18,9 +18,13 @@
 
 (1.2) Install the JRE according to the instructions included with the
   release.
+(1.3) Set an environment variable named JRE_HOME to the pathname of
+  the directory into which you installed the JRE, e.g. c:\jre5.0
+  or /usr/local/java/jre5.0.
 
-(1.3) Set an environment variable named JAVA_HOME to the pathname of
-  the directory into which you installed the JRE, e.g. c:\j2sdk5.0
+NOTE: You may also use the full JDK rather than just the JRE. In this
+  case set your JAVA_HOME environment variable to the pathname of
+  the directory into which you installed the JDK, e.g. c:\j2sdk5.0
   or /usr/local/java/j2sdk5.0.
 
 

Modified: tomcat/tc6.0.x/trunk/bin/catalina.bat
URL: 
http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/bin/catalina.bat?view=diff&rev=537518&r1=537517&r2=537518
==
--- tomcat/tc6.0.x/trunk/bin/catalina.bat (original)
+++ tomcat/tc6.0.x/trunk/bin/catalina.bat Sat May 12 14:11:40 2007
@@ -21,7 +21,7 @@
 rem   JAVA_HOME   Must point at your Java Development Kit installation.
 rem   Required to run the with the "debug" argument.
 rem
-rem   JRE_HOMEMust point at your Java Development Kit installation.
+rem   JRE_HOMEMust point at your Java Runtime installation.
 rem   Defaults to JAVA_HOME if empty.
 rem
 rem   JAVA_OPTS   (Optional) Java runtime options used when the "start",

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?view=diff&rev=537518&r1=537517&r2=537518
==
--- tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml (original)
+++ tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml Sat May 12 14:11:40 2007
@@ -21,6 +21,10 @@
  42361: Handle multi-part forms when saving requests during
  FORM authentication process. Patch provided by Peter Runge. (markt)
   
+  
+ 42401: Update RUNNING.txt with better JRE/JDK information.
+ (markt)
+  
 
   
 



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



DO NOT REPLY [Bug 42401] - RUNNING.txt has wrong info about required Java environment

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

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


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED




--- Additional Comments From [EMAIL PROTECTED]  2007-05-12 14:12 ---
Actually, A JRE is fine but running text is wrong.

If you are using a JRE you need to set JRE_HOME rather than JAVA_HOME. The docs
have been updated in svn and will be included in the next release.

-- 
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: [VOTE] Release build 6.0.13

2007-05-12 Thread Mark Thomas
Remy Maucherat wrote:
> According to the release process, the 6.0.13 tag is:
> [ ] Broken
> [ ] Alpha
> [ ] Beta
> [X] Stable

Just tested the basics.

Mark

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



DO NOT REPLY [Bug 42375] - Startup error logging is useless

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

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


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||DUPLICATE




--- Additional Comments From [EMAIL PROTECTED]  2007-05-12 15:00 ---


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

-- 
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 41686] - Error logging at startup is unusable

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

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





--- Additional Comments From [EMAIL PROTECTED]  2007-05-12 15:00 ---
*** Bug 42375 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]



Re: Catalina is burning

2007-05-12 Thread William L. Thomson Jr.
On Sat, 2007-05-12 at 14:02 -0700, Bill Barker wrote:
> "Remy Maucherat" <[EMAIL PROTECTED]> wrote in message 
> news:[EMAIL PROTECTED]
> > http://www.cnn.com/2007/WEATHER/05/11/socal.fire.ap/index.html
> >
> > :(
> >
> > (although there are plenty of Catalinas around, the Catalina name in 
> > Tomcat refers to that island)
> >
> 
> http://news.yahoo.com/s/ap/20070512/ap_on_re_us/wildfires
> 
> As a followup, it looks like Catalina mostly survived the fire.

That's because the fire was in CATALINA_BASE, not CATALINA_HOME :)

-- 
William L. Thomson Jr.
Gentoo/Java


signature.asc
Description: This is a digitally signed message part


svn commit: r537529 - in /tomcat: container/tc5.5.x/ current/tc5.5.x/ jasper/tc5.5.x/ servletapi/servlet2.4-jsp2.0-tc5.x/

2007-05-12 Thread markt
Author: markt
Date: Sat May 12 16:27:41 2007
New Revision: 537529

URL: http://svn.apache.org/viewvc?view=rev&rev=537529
Log:
Ignore Eclipse related stuff

Modified:
tomcat/container/tc5.5.x/   (props changed)
tomcat/current/tc5.5.x/   (props changed)
tomcat/jasper/tc5.5.x/   (props changed)
tomcat/servletapi/servlet2.4-jsp2.0-tc5.x/   (props changed)

Propchange: tomcat/container/tc5.5.x/
--
--- svn:ignore (original)
+++ svn:ignore Sat May 12 16:27:41 2007
@@ -1,3 +1,4 @@
 build
 dist
 bin
+.settings

Propchange: tomcat/current/tc5.5.x/
--
--- svn:ignore (added)
+++ svn:ignore Sat May 12 16:27:41 2007
@@ -0,0 +1 @@
+.metadata

Propchange: tomcat/jasper/tc5.5.x/
--
--- svn:ignore (original)
+++ svn:ignore Sat May 12 16:27:41 2007
@@ -1,3 +1,4 @@
 build
 dist
 bin
+.settings

Propchange: tomcat/servletapi/servlet2.4-jsp2.0-tc5.x/
--
--- svn:ignore (original)
+++ svn:ignore Sat May 12 16:27:41 2007
@@ -3,3 +3,4 @@
 dist
 lib
 bin
+.settings



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



svn commit: r537530 - in /tomcat/container/tc5.5.x: catalina/src/share/org/apache/catalina/startup/TldConfig.java webapps/docs/changelog.xml

2007-05-12 Thread markt
Author: markt
Date: Sat May 12 16:28:52 2007
New Revision: 537530

URL: http://svn.apache.org/viewvc?view=rev&rev=537530
Log:
Fix bug 42354. Space sin installation path prevented JARs being scanned for 
TLDs.

Modified:

tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/startup/TldConfig.java
tomcat/container/tc5.5.x/webapps/docs/changelog.xml

Modified: 
tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/startup/TldConfig.java
URL: 
http://svn.apache.org/viewvc/tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/startup/TldConfig.java?view=diff&rev=537530&r1=537529&r2=537530
==
--- 
tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/startup/TldConfig.java
 (original)
+++ 
tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/startup/TldConfig.java
 Sat May 12 16:28:52 2007
@@ -26,6 +26,8 @@
 import java.io.IOException;
 import java.io.ObjectInputStream;
 import java.io.ObjectOutputStream;
+import java.net.URI;
+import java.net.URISyntaxException;
 import java.net.URL;
 import java.net.URLClassLoader;
 import java.util.ArrayList;
@@ -68,9 +70,6 @@
 private static org.apache.commons.logging.Log log=
 org.apache.commons.logging.LogFactory.getLog( TldConfig.class );
 
-private static final String FILE_URL_PREFIX = "file:";
-private static final int FILE_URL_PREFIX_LEN = FILE_URL_PREFIX.length();
-
 
 /*
  * Initializes the set of JARs that are known not to contain any TLDs
@@ -688,7 +687,12 @@
 // This is definitely not as clean as using JAR URLs either
 // over file or the custom jndi handler, but a lot less
 // buggy overall
-File file = new File(urls[i].getFile());
+File file;
+try {
+file = new File(new URI(urls[i].toString()).getPath());
+} catch (URISyntaxException e1) {
+continue;
+}
 try {
 file = file.getCanonicalFile();
 } catch (IOException e) {

Modified: tomcat/container/tc5.5.x/webapps/docs/changelog.xml
URL: 
http://svn.apache.org/viewvc/tomcat/container/tc5.5.x/webapps/docs/changelog.xml?view=diff&rev=537530&r1=537529&r2=537530
==
--- tomcat/container/tc5.5.x/webapps/docs/changelog.xml (original)
+++ tomcat/container/tc5.5.x/webapps/docs/changelog.xml Sat May 12 16:28:52 2007
@@ -72,6 +72,10 @@
 ApplicationDispatcher. (markt)
   
   
+ 42354: Ensure JARs in webapps are scanned for TLDs when the
+ Tomcat installation path contains spaces. (markt)
+  
+  
  42361: Handle multi-part forms when saving requests during
  FORM authentication process. Patch provided by Peter Runge. (markt)
   



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



DO NOT REPLY [Bug 42354] - Web App JAR's are not scanned for TLD's if a space in the path

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

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


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED




--- Additional Comments From [EMAIL PROTECTED]  2007-05-12 16:29 ---
Fixed in svn and will be included in 5.5.24 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: r537531 - /tomcat/container/tc5.5.x/.classpath

2007-05-12 Thread markt
Author: markt
Date: Sat May 12 16:30:16 2007
New Revision: 537531

URL: http://svn.apache.org/viewvc?view=rev&rev=537531
Log:
commons-modeler was updated

Modified:
tomcat/container/tc5.5.x/.classpath

Modified: tomcat/container/tc5.5.x/.classpath
URL: 
http://svn.apache.org/viewvc/tomcat/container/tc5.5.x/.classpath?view=diff&rev=537531&r1=537530&r2=537531
==
--- tomcat/container/tc5.5.x/.classpath (original)
+++ tomcat/container/tc5.5.x/.classpath Sat May 12 16:30:16 2007
@@ -12,7 +12,6 @@



-   



@@ -27,5 +26,6 @@



+   

 



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