Yahoo! Risposta automatica

2004-09-16 Thread cinemotore
VI RINGRAZIAMO PER AVERCI SCRITTO SARA' NOSTRA CURA CONTATTARVI AL PIU' PRESTO. NEL 
FRATTEMPO VI AGGIORNEREMO CON LA NOSTRA NEWSLETTER SULLE NEWS RELATIVE AL CINEMA 
ITALIANO 
 
CORDIALI SALUTI  - MARTA LARI - CHIEF CONTENT MANAGER CINEMOTORE

http://www.cinemotoreonline.net/




Original Message:


X-YahooFilteredBulk: 81.73.226.18
X-Originating-IP: [81.73.226.18]
Return-Path: <[EMAIL PROTECTED]>
Received: from 81.73.226.18  (EHLO yahoo.it) (81.73.226.18)
  by mta326.mail.scd.yahoo.com with SMTP; Thu, 16 Sep 2004 23:49:38 -0700
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: Question
Date: Fri, 17 Sep 2004 08:50:35 +0200
MIME-Version: 1.0
Content-Type: multipart/mixed;
boundary="=_NextPart_000_0016=_NextPart_000_0016"
X-Priority: 3
X-MSMail-Priority: Normal

This is a multi-part message in MIME format.

--=_NextPart_000_0016=_NextPart_000_0016
Content-Type: text/plain;
charset="Windows-1252"
Content-Transfer-Encoding: 7bit

I have attached the sample.

+++ Attachment: No Virus found
+++ Panda AntiVirus - www.pandasoftware.com


--=_NextPart_000_0016=_NextPart_000_0016
Content-Type: applica
_
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com


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



cvs commit: jakarta-tomcat RELEASE-NOTES-3.3.3.txt

2004-09-16 Thread billbarker
billbarker2004/09/16 22:57:52

  Added:   .RELEASE-NOTES-3.3.3.txt
  Log:
  Better late than never ;-).
  
  Revision  ChangesPath
  1.1  jakarta-tomcat/RELEASE-NOTES-3.3.3.txt
  
  Index: RELEASE-NOTES-3.3.3.txt
  ===
Apache Tomcat 3.3.3
===
   Release Notes
   =
  
  $Id: RELEASE-NOTES-3.3.3.txt,v 1.1 2004/09/17 05:57:52 billbarker Exp $
  
  
  This document describes the changes that have been made since the
  release of Tomcat 3.3.2 Final.
  
  =
  Bug Fixes
  =
  
  The release in which the fix appears is indicated in brackets.
  
  Feature Additions:
  
  Bug No.  Description
  
   Added the CoyoteMapper which uses the j-t-c mapper to map requests.
   Potential replacement for SimpleMapper1.
  
  Server:
  
  Bug No.  Description
  
  
  Jasper:
  
  Bug No.  Description
  
  
  Configuration:
  
  Bug No.  Description
  
  
  Connectors:
  
  Bug No.  Description
  
   Disable the use of AJP/1.3 shutdown in the CoyoteConnector by default 
   (at least until it is supported).
  
  
  
  Documentation:
  
  Bug No.  Description
  
  
  
  

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



cvs commit: jakarta-tomcat-connectors/jk/java/org/apache/jk/common HandlerRequest.java

2004-09-16 Thread billbarker
billbarker2004/09/16 21:50:48

  Modified:jk/java/org/apache/jk/common HandlerRequest.java
  Log:
  Require that use of AJP/1.3 shutdown is explictly enabled to function.
  
  No Adapter in any version of Tomcat currently supports a clean shutdown from 
AJP/1.3, so it is better to turn it off (by default) for now.
  
  Fix for Bug #31204
  
  Revision  ChangesPath
  1.39  +25 -6 
jakarta-tomcat-connectors/jk/java/org/apache/jk/common/HandlerRequest.java
  
  Index: HandlerRequest.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-connectors/jk/java/org/apache/jk/common/HandlerRequest.java,v
  retrieving revision 1.38
  retrieving revision 1.39
  diff -u -r1.38 -r1.39
  --- HandlerRequest.java   15 Jun 2004 20:37:11 -  1.38
  +++ HandlerRequest.java   17 Sep 2004 04:50:47 -  1.39
  @@ -251,6 +251,14 @@
   return tomcatAuthentication;
   }
   
  +public void setShutdownEnabled(boolean se) {
  +shutdownEnabled = se;
  +}
  +
  +public boolean getShutdownEnabled() {
  +return shutdownEnabled;
  +}
  +
   public void setTomcatAuthentication(boolean newTomcatAuthentication) {
   tomcatAuthentication = newTomcatAuthentication;
   }
  @@ -324,6 +332,7 @@
   boolean decoded=true;
   boolean tomcatAuthentication=true;
   boolean registerRequests=true;
  +boolean shutdownEnabled=false;
   
   public int invoke(Msg msg, MsgContext ep ) 
   throws IOException
  @@ -399,9 +408,14 @@
if( !ch.isSameAddress(ep) ) {
log.error("Shutdown request not from 'same address' ");
return ERROR;
  - }
  +}
   
  +if( !shutdownEnabled ) {
  +log.warn("Ignoring shutdown request: shutdown not enabled");
  +return ERROR;
  +}
   // forward to the default handler - it'll do the shutdown
  +checkRequest(ep);
   next.invoke( msg, ep );
   
   log.info("Exiting");
  @@ -429,10 +443,7 @@
   
   static int count = 0;
   
  -private int decodeRequest( Msg msg, MsgContext ep, MessageBytes tmpMB )
  -throws IOException
  -{
  -// FORWARD_REQUEST handler
  +private Request checkRequest(MsgContext ep) {
   Request req=(Request)ep.getRequest();
   if( req==null ) {
   req=new Request();
  @@ -440,9 +451,17 @@
   req.setResponse(res);
   ep.setRequest( req );
   if( registerRequests ) {
  - ep.getSource().registerRequest(req, ep, count++);
  +ep.getSource().registerRequest(req, ep, count++);
   }
   }
  +return req;
  +}
  +
  +private int decodeRequest( Msg msg, MsgContext ep, MessageBytes tmpMB )
  +throws IOException
  +{
  +// FORWARD_REQUEST handler
  +Request req = checkRequest(ep);
   
RequestInfo rp = req.getRequestProcessor();
rp.setStage(Constants.STAGE_PARSE);
  
  
  

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



cvs commit: jakarta-tomcat-connectors/jk/java/org/apache/jk/common ChannelSocket.java

2004-09-16 Thread billbarker
billbarker2004/09/16 21:08:53

  Modified:jk/java/org/apache/jk/common ChannelSocket.java
  Log:
  Not all exceptions have a message
  
  Revision  ChangesPath
  1.48  +4 -4  
jakarta-tomcat-connectors/jk/java/org/apache/jk/common/ChannelSocket.java
  
  Index: ChannelSocket.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-connectors/jk/java/org/apache/jk/common/ChannelSocket.java,v
  retrieving revision 1.47
  retrieving revision 1.48
  diff -u -r1.47 -r1.48
  --- ChannelSocket.java5 Jun 2004 05:51:30 -   1.47
  +++ ChannelSocket.java17 Sep 2004 04:08:53 -  1.48
  @@ -679,14 +679,14 @@
   }
   }
   } catch( Exception ex ) {
  -if( ex.getMessage().indexOf( "Connection reset" ) >= 0)
  +String msg = ex.getMessage();
  +if( msg != null && msg.indexOf( "Connection reset" ) >= 0)
   log.debug( "Server has been restarted or reset this connection");
  -else if (ex.getMessage().indexOf( "Read timed out" ) >=0 )
  +else if (msg != null && msg.indexOf( "Read timed out" ) >=0 )
   log.info( "connection timeout reached");
   else
   log.error( "Error, processing connection", ex);
  -}
  -finally {
  +} finally {
/*
 * Whatever happened to this connection (remote closed it, timeout, 
read error)
 * the socket SHOULD be closed, or we may be in situation where the 
webserver
  
  
  

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



DO NOT REPLY [Bug 31266] - RequestUtil.parseCookieHeader not fully RFC 2109 compliant

2004-09-16 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=31266

RequestUtil.parseCookieHeader not fully RFC 2109 compliant

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||WORKSFORME
Summary|RequestUtil.parseCookieHeade|RequestUtil.parseCookieHeade
   |r not fully RFC 2109|r not fully RFC 2109
   |compliant   |compliant



--- Additional Comments From [EMAIL PROTECTED]  2004-09-17 03:34 ---
I know not of this RequestUtil of which you speak.  There is no such class in 
TC 3.3.

Tomcat 3.3.2 parses RFC 2109 Cookie headers just fine for any example I can 
throw at it.  

Feel free to reopen if you have an example of a cookie header that fails to 
parse correctly.

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



cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/startup ContextConfig.java

2004-09-16 Thread luehe
luehe   2004/09/16 18:51:56

  Modified:catalina/src/share/org/apache/catalina/startup
ContextConfig.java
  Log:
  Formatting changes
  
  Revision  ChangesPath
  1.56  +6 -4  
jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/startup/ContextConfig.java
  
  Index: ContextConfig.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/startup/ContextConfig.java,v
  retrieving revision 1.55
  retrieving revision 1.56
  diff -u -r1.55 -r1.56
  --- ContextConfig.java16 Sep 2004 22:21:45 -  1.55
  +++ ContextConfig.java17 Sep 2004 01:51:56 -  1.56
  @@ -421,12 +421,14 @@
   authenticators = new Properties();
   authenticators.load(is);
   } else {
  -
log.error(sm.getString("contextConfig.authenticatorResources"));
  +log.error(sm.getString(
  +"contextConfig.authenticatorResources"));
   ok=false;
   return;
   }
   } catch (IOException e) {
  -log.error(sm.getString("contextConfig.authenticatorResources"), 
e);
  +log.error(sm.getString(
  +"contextConfig.authenticatorResources"), e);
   ok = false;
   return;
   }
  @@ -463,7 +465,7 @@
   if (log.isDebugEnabled()) {
   log.debug(sm.getString(
   "contextConfig.authenticatorConfigured",
  - loginConfig.getAuthMethod()));
  +loginConfig.getAuthMethod()));
   }
   }
   }
  
  
  

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



cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/util CGIProcessEnvironment.java

2004-09-16 Thread amyroh
amyroh  2004/09/16 16:23:37

  Modified:catalina/src/share/org/apache/catalina/util
CGIProcessEnvironment.java
  Log:
  Remove System.out and use commons.logging instead.
  
  Revision  ChangesPath
  1.6   +15 -9 
jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/util/CGIProcessEnvironment.java
  
  Index: CGIProcessEnvironment.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/util/CGIProcessEnvironment.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- CGIProcessEnvironment.java29 Aug 2004 16:46:13 -  1.5
  +++ CGIProcessEnvironment.java16 Sep 2004 23:23:37 -  1.6
  @@ -36,6 +36,11 @@
*/
   
   public class CGIProcessEnvironment extends ProcessEnvironment {
  +
  +
  +private static org.apache.commons.logging.Log log=
  +org.apache.commons.logging.LogFactory.getLog( CGIProcessEnvironment.class );
  +
   /** cgi command's query parameters */
   private Hashtable queryParameters = null;
   
  @@ -340,8 +345,9 @@
   webAppRootDir = webAppRootDir + File.separator
   + cgiPathPrefix;
   }
  -if (debug >= 2) {
  -log("findCGI: start = [" + webAppRootDir
  +
  +if (log.isDebugEnabled()) {
  +log.debug("findCGI: start = [" + webAppRootDir
   + "], pathInfo = [" + pathInfo + "] ");
   }
   File currentLocation = new File(webAppRootDir);
  @@ -349,15 +355,15 @@
   while (!currentLocation.isFile() && dirWalker.hasMoreElements()) {
   currentLocation = new
   File(currentLocation, (String) dirWalker.nextElement());
  -if (debug >= 3) {
  -log("findCGI: traversing to [" + currentLocation + "]");
  +if (log.isDebugEnabled())  {
  +log.debug("findCGI: traversing to [" + currentLocation + "]");
   }
   }
   if (!currentLocation.isFile()) {
   return new String[] { null, null, null, null };
   } else {
  -if (debug >= 2) {
  -log("findCGI: FOUND cgi at [" + currentLocation + "]");
  +if (log.isDebugEnabled())  {
  +log.debug("findCGI: FOUND cgi at [" + currentLocation + "]");
   }
   path = currentLocation.getAbsolutePath();
   name = currentLocation.getName();
  @@ -370,8 +376,8 @@
   scriptname = contextPath + servletPath + cginame;
   }
   }
  -if (debug >= 1) {
  -log("findCGI calc: name=" + name + ", path=" + path
  +if (log.isDebugEnabled())  {
  +log.debug("findCGI calc: name=" + name + ", path=" + path
   + ", scriptname=" + scriptname + ", cginame=" + cginame);
   }
   return new String[] { path, scriptname, cginame, name };
  
  
  

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



cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/naming/resources WARDirContext.java

2004-09-16 Thread amyroh
amyroh  2004/09/16 16:19:55

  Modified:catalina/src/share/org/apache/catalina/ant JMXQueryTask.java
JMXSetTask.java
   catalina/src/share/org/apache/catalina/servlets
WebdavServlet.java
   catalina/src/share/org/apache/catalina/startup Catalina.java
CatalinaProperties.java
   catalina/src/share/org/apache/catalina/util
ProcessEnvironment.java ProcessHelper.java
StringManager.java
   catalina/src/share/org/apache/naming/resources
WARDirContext.java
  Log:
  Remove System.out and use commons.logging instead - part 1.
  
  Revision  ChangesPath
  1.5   +2 -2  
jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/ant/JMXQueryTask.java
  
  Index: JMXQueryTask.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/ant/JMXQueryTask.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- JMXQueryTask.java 29 Aug 2004 16:46:09 -  1.4
  +++ JMXQueryTask.java 16 Sep 2004 23:19:54 -  1.5
  @@ -72,7 +72,7 @@
   public void execute() throws BuildException {
   super.execute();
   String queryString = (query == null) ? "":("?qry="+query);
  -System.out.println ("INFO:Query string is " + queryString); 
  +log("Query string is " + queryString); 
   execute ("/jmxproxy/" + queryString);
   }
   }
  
  
  
  1.5   +2 -2  
jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/ant/JMXSetTask.java
  
  Index: JMXSetTask.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/ant/JMXSetTask.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- JMXSetTask.java   26 May 2004 15:29:30 -  1.4
  +++ JMXSetTask.java   16 Sep 2004 23:19:54 -  1.5
  @@ -108,7 +108,7 @@
   throw new BuildException
   ("Must specify 'bean', 'attribute' and 'value' attributes");
   }
  -System.out.println ("INFO: Setting attribute " + attribute +
  +log("Setting attribute " + attribute +
   " in bean " + bean +
   " to " + value); 
   execute("/jmxproxy/?set=" + bean 
  
  
  
  1.18  +5 -5  
jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/servlets/WebdavServlet.java
  
  Index: WebdavServlet.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/servlets/WebdavServlet.java,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- WebdavServlet.java29 Aug 2004 16:46:12 -  1.17
  +++ WebdavServlet.java16 Sep 2004 23:19:54 -  1.18
  @@ -239,7 +239,7 @@
   
   if (debug > 0) {
   String path = getRelativePath(req);
  -System.out.println("[" + method + "] " + path);
  +log("[" + method + "] " + path);
   }
   
   if (method.equals(METHOD_PROPFIND)) {
  @@ -1483,7 +1483,7 @@
   }
   
   if (debug > 0)
  -System.out.println("Dest path :" + destinationPath);
  +log("Dest path :" + destinationPath);
   
   if ((destinationPath.toUpperCase().startsWith("/WEB-INF")) ||
   (destinationPath.toUpperCase().startsWith("/META-INF"))) {
  @@ -1583,7 +1583,7 @@
String source, String dest) {
   
   if (debug > 1)
  -System.out.println("Copy: " + source + " To: " + dest);
  +log("Copy: " + source + " To: " + dest);
   
   Object object = null;
   try {
  @@ -1758,7 +1758,7 @@
 String path, Hashtable errorList) {
   
   if (debug > 1)
  -System.out.println("Delete:" + path);
  +log("Delete:" + path);
   
   if ((path.toUpperCase().startsWith("/WEB-INF")) ||
   (path.toUpperCase().startsWith("/META-INF"))) {
  
  
  
  1.33  +8 -10 
jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/startup/Catalina.java
  
  Index: Catalina.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/startup/Catalina.java,v
  retrieving revision 1.32
  retrieving revision 1.33
  diff -u -r1.32 -r1.33
  --- Catalina.java 2 Sep 2004 10:05:00 -   1.32
  +++ Catalina.java 16 Sep 2004 23:19:54 -  1.33
  @@ -332,7 +332,8 @@
new SetParentClassLoaderRule(parentCl

DO NOT REPLY [Bug 31269] - Configuration for Java 1.5 is too hairy

2004-09-16 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=31269

Configuration for Java 1.5 is too hairy

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||WONTFIX



--- Additional Comments From [EMAIL PROTECTED]  2004-09-16 22:33 ---
My advice is that you stop using scriplets, and esp Java 5 scriplets, and rely
on the container generating the right code. This way, you won't need funky
options or Java 5 support (which is coming soon to JDT, but is only alpha right
now so it's not the JDT version bundled). Of course, you do what you want.

We won't document using Jikes as it's dead. In memory Java compilers, such as
JDT, are the future.

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



DO NOT REPLY [Bug 31269] New: - Configuration for Java 1.5 is too hairy

2004-09-16 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=31269

Configuration for Java 1.5 is too hairy

   Summary: Configuration for Java 1.5 is too hairy
   Product: Tomcat 5
   Version: Nightly Build
  Platform: PC
OS/Version: Windows XP
Status: NEW
  Severity: Minor
  Priority: Other
 Component: Jasper
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


In order to set up Tomcat 5.5.2 alpha so that it would compile JSPs that
contained Java code with Java 1.5 features, I had to do the following:

1. Specify the Ant compiler in $CATALINA_HOME/conf/web.xml:


jsp
org.apache.jasper.servlet.JspServlet

fork
false


xpoweredBy
false


compiler
modern


compilerTargetVM
1.5

3


2. Drop ant.jar and ant-launcher.jar from a Tomcat 5.0.x distribution into
$CATALINA_HOME/common/lib.

3. Add a command line argument to the Tomcat start up script:

-Djavac.source=1.5

This is a big pain.  Recommendations:

1. Bundle the necessary Ant jars.

2. Add a "compilerSource" parameter to the Jasper configuration parameters. 
Better yet, have a single "source" parameter since cross-compilation is an
unlikely use case.

3. Default the source to 1.5.

4. Document the procedure ala the documentation for using Jikes.

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



cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/startup Embedded.java ContextConfig.java

2004-09-16 Thread luehe
luehe   2004/09/16 15:21:45

  Modified:catalina/src/share/org/apache/catalina/startup Embedded.java
ContextConfig.java
  Log:
  Provide mechanism to override the login-method-to-authenticator mappings
  specified in Authenticators.properties, or provide custom Authenticator
  implementations.
  
  Revision  ChangesPath
  1.22  +40 -1 
jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/startup/Embedded.java
  
  Index: Embedded.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/startup/Embedded.java,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -r1.21 -r1.22
  --- Embedded.java 14 Sep 2004 13:20:03 -  1.21
  +++ Embedded.java 16 Sep 2004 22:21:45 -  1.22
  @@ -21,7 +21,9 @@
   import java.io.File;
   import java.io.IOException;
   import java.net.InetAddress;
  +import java.util.HashMap;
   
  +import org.apache.catalina.Authenticator;
   import org.apache.catalina.Container;
   import org.apache.catalina.Context;
   import org.apache.catalina.Engine;
  @@ -31,6 +33,7 @@
   import org.apache.catalina.LifecycleListener;
   import org.apache.catalina.Loader;
   import org.apache.catalina.Realm;
  +import org.apache.catalina.Valve;
   import org.apache.catalina.connector.Connector;
   import org.apache.catalina.core.StandardContext;
   import org.apache.catalina.core.StandardEngine;
  @@ -150,6 +153,12 @@
   
   
   /**
  + * Custom mappings of login methods to authenticators
  + */
  +protected HashMap authenticators;
  +
  +
  +/**
* Descriptive information about this server implementation.
*/
   protected static final String info =
  @@ -448,6 +457,7 @@
   context.setPath(path);
   
   ContextConfig config = new ContextConfig();
  +config.setCustomAuthenticators(authenticators);
   ((Lifecycle) context).addLifecycleListener(config);
   
   return (context);
  @@ -687,6 +697,35 @@
   log.debug(" Removing this Host");
   host.getParent().removeChild(host);
   
  +}
  +
  +
  +/*
  + * Maps the specified login method to the specified authenticator, allowing
  + * the mappings in org/apache/catalina/startup/Authenticators.properties
  + * to be overridden.
  + *
  + * @param authenticator Authenticator to handle authentication for the
  + * specified login method
  + * @param loginMethod Login method that maps to the specified authenticator
  + *
  + * @throws IllegalArgumentException if the specified authenticator does not
  + * implement the org.apache.catalina.Valve interface
  + */
  +public void addAuthenticator(Authenticator authenticator,
  + String loginMethod) {
  +if (!(authenticator instanceof Valve)) {
  +throw new IllegalArgumentException(
  +sm.getString("authenticator.notInstanceOfValve"));
  +}
  +if (authenticators == null) {
  +synchronized (this) {
  +if (authenticators == null) {
  +authenticators = new HashMap();
  +}
  +}
  +}
  +authenticators.put(loginMethod, authenticator);
   }
   
   
  
  
  
  1.55  +73 -38
jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/startup/ContextConfig.java
  
  Index: ContextConfig.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/startup/ContextConfig.java,v
  retrieving revision 1.54
  retrieving revision 1.55
  diff -u -r1.54 -r1.55
  --- ContextConfig.java16 Sep 2004 15:30:33 -  1.54
  +++ ContextConfig.java16 Sep 2004 22:21:45 -  1.55
  @@ -24,6 +24,7 @@
   import java.io.InputStream;
   import java.net.URL;
   import java.util.Properties;
  +import java.util.Map;
   
   import javax.servlet.ServletContext;
   
  @@ -72,6 +73,13 @@
   
   // - Instance Variables
   
  +
  +/*
  + * Custom mappings of login methods to authenticators
  + */
  +private Map customAuthenticators;
  +
  +
   /**
* The set of Authenticators that we know how to configure.  The key is
* the name of the implemented authentication method, and the value is
  @@ -207,6 +215,17 @@
   }
   
   
  +/**
  + * Sets custom mappings of login methods to authenticators.
  + *
  + * @param customAuthenticators Custom mappings of login methods to
  + * authenticators
  + */
  +public void setCustomAuthenticators(Map customAuthenticators) {
  +this.customAuthenticators = customAuthenticators;
  +}
  +
  +
   // ---

Automated reply from bulletproof@www.bulletproofsoft.com

2004-09-16 Thread bulletproof
BulletProofSoft.com Support Ticket Reply.

DO NOT REPLY TO THIS EMAIL

Please use our Online Support system for faster results to your questions.

You can monitor the status of your ticket online where you can add follow up replies. 

http://www.bulletproofsoft.com/cgi-bin/custquest/quest_desk.cgi

If the URL above splits into two lines, please visit:
http://www.bulletproofsoft.com/support.html 

and click on the Contact Customer Support link


Rest assured we will do our best to respond to your query promptly. 
You will receive a further email notification when one of our technicians has replied.

Tech Support
BulletProofSoft.com

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



cvs commit: jakarta-tomcat-4.0 RELEASE-NOTES-4.1.txt build.properties.default

2004-09-16 Thread markt
markt   2004/09/16 13:31:54

  Modified:.RELEASE-NOTES-4.1.txt build.properties.default
  Log:
  Update build script to use newer jars
  
  Revision  ChangesPath
  1.92  +7 -1  jakarta-tomcat-4.0/RELEASE-NOTES-4.1.txt
  
  Index: RELEASE-NOTES-4.1.txt
  ===
  RCS file: /home/cvs/jakarta-tomcat-4.0/RELEASE-NOTES-4.1.txt,v
  retrieving revision 1.91
  retrieving revision 1.92
  diff -u -r1.91 -r1.92
  --- RELEASE-NOTES-4.1.txt 12 Sep 2004 22:01:55 -  1.91
  +++ RELEASE-NOTES-4.1.txt 16 Sep 2004 20:31:54 -  1.92
  @@ -79,6 +79,12 @@
   [4.1.31] JAF
Upgrade to JAF 1.0.2
   
  +[4.1.31] JavaMail
  + Upgrade to 1.3.1
  +
  +[4.1.31] JTA
  + Upgrade to 1.0.1b
  +
   
   -
   Catalina New Features:
  
  
  
  1.3   +3 -3  jakarta-tomcat-4.0/build.properties.default
  
  Index: build.properties.default
  ===
  RCS file: /home/cvs/jakarta-tomcat-4.0/build.properties.default,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- build.properties.default  30 Aug 2004 19:59:19 -  1.2
  +++ build.properties.default  16 Sep 2004 20:31:54 -  1.3
  @@ -201,7 +201,7 @@
   
   
   # - Java Transaction API (JTA), version 1.0.1 or later -
  -jta.home=${base.path}/jta-1_0_1a
  +jta.home=${base.path}/jta-1_0_1b
   jta.lib=${jta.home}
   jta.jar=${jta.lib}/jta.jar
   
  @@ -214,7 +214,7 @@
   
   
   # - Java Mail, version 1.2 or later -
  -mail.home=${base.path}/javamail-1.2
  +mail.home=${base.path}/javamail-1.3.1
   mail.lib=${mail.home}
   mail.jar=${mail.lib}/mail.jar
   
  
  
  

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



4.1.31 tag Saturday

2004-09-16 Thread Keith Wannamaker
I will be tagging 4.1.31 Saturday in preparation for a 4.1.31 release 
canidate release.

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


cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/authenticator SingleSignOn.java

2004-09-16 Thread luehe
luehe   2004/09/16 11:18:41

  Modified:catalina/src/share/org/apache/catalina/authenticator
SingleSignOn.java
  Log:
  - Removed deregister(String ssoid), because it is no longer needed
(used to be called when session was logged out, which is no longer
supported)
  
  - Replaced call to removeSession(String, Session) with
deregister(String, Session), which is identical, and removed
removeSession(String, Session) because it is no longer needed
  
  Revision  ChangesPath
  1.18  +3 -92 
jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/authenticator/SingleSignOn.java
  
  Index: SingleSignOn.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/authenticator/SingleSignOn.java,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- SingleSignOn.java 29 Aug 2004 16:46:09 -  1.17
  +++ SingleSignOn.java 16 Sep 2004 18:18:41 -  1.18
  @@ -287,24 +287,10 @@
   synchronized (reverse) {
   ssoId = (String) reverse.get(session);
   }
  -if (ssoId == null)
  +if (ssoId == null) {
   return;
  -
  -// Was the session destroyed as the result of a timeout?
  -// If so, we'll just remove the expired session from the
  -// SSO.  If the session was logged out, we'll log out
  -// of all session associated with the SSO.
  -if ((session.getMaxInactiveInterval() > 0)
  -&& (System.currentTimeMillis() - session.getLastAccessedTime() >=
  -session.getMaxInactiveInterval() * 1000)) {
  -removeSession(ssoId, session);
  -} else {
  -// The session was logged out.
  -// Deregister this single session id, invalidating 
  -// associated sessions
  -deregister(ssoId);
   }
  -
  +deregister(ssoId, session);
   }
   
   
  @@ -468,46 +454,6 @@
   
   
   /**
  - * Deregister the specified single sign on identifier, and invalidate
  - * any associated sessions.
  - *
  - * @param ssoId Single sign on identifier to deregister
  - */
  -protected void deregister(String ssoId) {
  -
  -if (container.getLogger().isDebugEnabled())
  -container.getLogger().debug("Deregistering sso id '" + ssoId + "'");
  -
  -// Look up and remove the corresponding SingleSignOnEntry
  -SingleSignOnEntry sso = null;
  -synchronized (cache) {
  -sso = (SingleSignOnEntry) cache.remove(ssoId);
  -}
  -
  -if (sso == null)
  -return;
  -
  -// Expire any associated sessions
  -Session sessions[] = sso.findSessions();
  -for (int i = 0; i < sessions.length; i++) {
  -if (container.getLogger().isTraceEnabled())
  -container.getLogger().trace(" Invalidating session " + sessions[i]);
  -// Remove from reverse cache first to avoid recursion
  -synchronized (reverse) {
  -reverse.remove(sessions[i]);
  -}
  -// Invalidate this session
  -sessions[i].expire();
  -}
  -
  -// NOTE:  Clients may still possess the old single sign on cookie,
  -// but it will be removed on the next request since it is no longer
  -// in the cache
  -
  -}
  -
  -
  -/**
* Attempts reauthentication to the given Realm using
* the credentials associated with the single sign-on session
* identified by argument ssoId.
  @@ -636,39 +582,4 @@
   }
   
   }
  -
  -
  -/**
  - * Remove a single Session from a SingleSignOn.  Called when
  - * a session is timed out and no longer active.
  - *
  - * @param ssoId Single sign on identifier from which to remove the session.
  - * @param session the session to be removed.
  - */
  -protected void removeSession(String ssoId, Session session) {
  -
  -if (container.getLogger().isDebugEnabled())
  -container.getLogger().debug("Removing session " + session.toString() + 
" from sso id " + 
  -ssoId );
  -
  -// Get a reference to the SingleSignOn
  -SingleSignOnEntry entry = lookup(ssoId);
  -if (entry == null)
  -return;
  -
  -// Remove the inactive session from SingleSignOnEntry
  -entry.removeSession(session);
  -
  -// Remove the inactive session from the 'reverse' Map.
  -synchronized(reverse) {
  -reverse.remove(session);
  -}
  -
  -// If there are not sessions left in the SingleSignOnEntry,
  -// deregister the entry.
  -if (entry.findSessions().length == 0) {
  -deregister(ssoId);
  -}
  -}
  -
   }
  
  

DO NOT REPLY [Bug 31267] New: - RequestUtil.parseCookieHeader not fully RFC 2109 compliant

2004-09-16 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=31267

RequestUtil.parseCookieHeader not fully RFC 2109 compliant

   Summary: RequestUtil.parseCookieHeader not fully RFC 2109
compliant
   Product: Tomcat 5
   Version: 5.5.1
  Platform: All
OS/Version: Other
Status: NEW
  Severity: Normal
  Priority: Other
 Component: Catalina
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


This is a duplicate of 31266 because I didn't know how to log a bug against
Tomcat 3 and 5.5.

According to RFC 2109, when sending cookies to the origin server, $Path and
$Domain are optional attributes for the cookie header. The
RequestUtil.parseCookieHeader method does not account for these optional
parameters and could lead to an Illegal Argument Exception being thrown from
javax.servlet.http.Cookie.

The parseCookieHeader method currently tokenizes the cookie header using the ';'
as a delimeter. All name=value pairs are used to create new
javax.servlet.http.Cookie objects. According to javax.servlet.http.Cookie: 

"The name must conform to RFC 2109. That means it can contain only ASCII
alphanumeric characters and cannot contain commas, semicolons, or white space or
begin with a $ character"

ParseCookieHeader should look for the pat and domain keywords for each token and
if found, their values should be added to the last cookie object created using
the setDomain and setPath cookie methods.

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



DO NOT REPLY [Bug 31266] New: - RequestUtil.parseCookieHeader not fully RFC 2109 compliant

2004-09-16 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=31266

RequestUtil.parseCookieHeader not fully RFC 2109 compliant



   Summary: RequestUtil.parseCookieHeader not fully RFC 2109
compliant
   Product: Tomcat 3
   Version: 3.3 Final
  Platform: All
OS/Version: Other
Status: NEW
  Severity: Normal
  Priority: Other
 Component: Servlet
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


According to RFC 2109, when sending cookies to the origin server, $Path and
$Domain are optional attributes for the cookie header. The
RequestUtil.parseCookieHeader method does not account for these optional
parameters and could lead to an Illegal Argument Exception being thrown from
javax.servlet.http.Cookie.

The parseCookieHeader method currently tokenizes the cookie header using the ';'
as a delimeter. All name=value pairs are used to create new
javax.servlet.http.Cookie objects. According to javax.servlet.http.Cookie: 

"The name must conform to RFC 2109. That means it can contain only ASCII
alphanumeric characters and cannot contain commas, semicolons, or white space or
begin with a $ character"

ParseCookieHeader should look for the pat and domain keywords for each token and
if found, their values should be added to the last cookie object created using
the setDomain and setPath cookie methods.

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



DO NOT REPLY [Bug 31264] - Manager webapp uploads WAR, then overwrites it

2004-09-16 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=31264

Manager webapp uploads WAR, then overwrites it

[EMAIL PROTECTED] changed:

   What|Removed |Added

   Severity|Minor   |Critical



--- Additional Comments From [EMAIL PROTECTED]  2004-09-16 17:14 ---
That's possible, I didn't test uploading with the Ant task. If it works like
that, it should be modified to do the upload somewhere else (and when it's done,
copy to the final location).

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



DO NOT REPLY [Bug 31264] New: - Manager webapp uploads WAR, then overwrites it

2004-09-16 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=31264

Manager webapp uploads WAR, then overwrites it

   Summary: Manager webapp uploads WAR, then overwrites it
   Product: Tomcat 5
   Version: 5.5.1
  Platform: PC
OS/Version: Windows XP
Status: NEW
  Severity: Minor
  Priority: Other
 Component: Webapps:Manager
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


The manager webapp doPut() processing (which is what the Ant manager tasks use),
extracts a war file from the HTTP request, saves it to appBase, and then tries
to copy the war on to itself, resulting in a zero-length war file.  The code
that does this is in org.apache.catalina.manager.ManagerServlet line 642 in
method deploy(PrintWriter, String, String, boolean, HttpServletRequest):

if (!isServiced(path)) {
addServiced(path);
--->copy(localWar, new File(getAppBase(), basename + ".war"));
check(path);
removeServiced(path);
}

In the call to copy(), the source and destination files are the same.

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



cvs commit: jakarta-tomcat-catalina/catalina build.xml

2004-09-16 Thread remm
remm2004/09/16 08:31:19

  Modified:catalina build.xml
  Log:
  - JndiPermission is needed even without naming.
  
  Revision  ChangesPath
  1.73  +1 -0  jakarta-tomcat-catalina/catalina/build.xml
  
  Index: build.xml
  ===
  RCS file: /home/cvs/jakarta-tomcat-catalina/catalina/build.xml,v
  retrieving revision 1.72
  retrieving revision 1.73
  diff -u -r1.72 -r1.73
  --- build.xml 8 Sep 2004 10:38:14 -   1.72
  +++ build.xml 16 Sep 2004 15:31:19 -  1.73
  @@ -1058,6 +1058,7 @@
   
   
 
  +



  
  
  

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



cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/startup ContextConfig.java

2004-09-16 Thread remm
remm2004/09/16 08:30:33

  Modified:catalina/src/share/org/apache/catalina/core
StandardContext.java
   catalina/src/share/org/apache/catalina/startup
ContextConfig.java
  Log:
  - Add check for directory before considering something is a compressed WAR.
  
  Revision  ChangesPath
  1.146 +2 -2  
jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/core/StandardContext.java
  
  Index: StandardContext.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/core/StandardContext.java,v
  retrieving revision 1.145
  retrieving revision 1.146
  diff -u -r1.145 -r1.146
  --- StandardContext.java  1 Sep 2004 22:55:48 -   1.145
  +++ StandardContext.java  16 Sep 2004 15:30:32 -  1.146
  @@ -3921,7 +3921,7 @@
   if (log.isDebugEnabled())
   log.debug("Configuring default Resources");
   try {
  -if ((docBase != null) && (docBase.endsWith(".war")))
  +if ((docBase != null) && (docBase.endsWith(".war")) && ((new 
File(docBase)).isFile()))
   setResources(new WARDirContext());
   else
   setResources(new FileDirContext());
  
  
  
  1.54  +2 -2  
jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/startup/ContextConfig.java
  
  Index: ContextConfig.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/startup/ContextConfig.java,v
  retrieving revision 1.53
  retrieving revision 1.54
  diff -u -r1.53 -r1.54
  --- ContextConfig.java6 Sep 2004 15:02:07 -   1.53
  +++ ContextConfig.java16 Sep 2004 15:30:33 -  1.54
  @@ -752,7 +752,7 @@
   docBase = file.getCanonicalPath();
   }
   
  -if (docBase.toLowerCase().endsWith(".war") && unpackWARs) {
  +if (docBase.toLowerCase().endsWith(".war") && file.isFile() && unpackWARs) {
   URL war = new URL("jar:" + (new File(docBase)).toURL() + "!/");
   String contextPath = context.getPath();
   if (contextPath.equals("")) {
  
  
  

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



cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/connector Response.java Request.java

2004-09-16 Thread remm
remm2004/09/16 08:28:30

  Modified:catalina/src/share/org/apache/catalina/connector
Response.java Request.java
  Log:
  - getRequest/getResponse should return the most relevant interface, to avoid casts.
  
  Revision  ChangesPath
  1.9   +2 -3  
jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/connector/Response.java
  
  Index: Response.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/connector/Response.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- Response.java 29 Aug 2004 16:46:09 -  1.8
  +++ Response.java 16 Sep 2004 15:28:29 -  1.9
  @@ -34,7 +34,6 @@
   import java.util.Vector;
   
   import javax.servlet.ServletOutputStream;
  -import javax.servlet.ServletResponse;
   import javax.servlet.http.Cookie;
   import javax.servlet.http.HttpServletRequest;
   import javax.servlet.http.HttpServletResponse;
  @@ -381,7 +380,7 @@
* Return the ServletResponse for which this object
* is the facade.
*/
  -public ServletResponse getResponse() {
  +public HttpServletResponse getResponse() {
   if (facade == null) {
   facade = new ResponseFacade(this);
   }
  
  
  
  1.13  +2 -3  
jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/connector/Request.java
  
  Index: Request.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/connector/Request.java,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- Request.java  9 Aug 2004 22:55:00 -   1.12
  +++ Request.java  16 Sep 2004 15:28:30 -  1.13
  @@ -38,7 +38,6 @@
   import javax.servlet.RequestDispatcher;
   import javax.servlet.ServletContext;
   import javax.servlet.ServletInputStream;
  -import javax.servlet.ServletRequest;
   import javax.servlet.ServletRequestAttributeEvent;
   import javax.servlet.ServletRequestAttributeListener;
   import javax.servlet.http.Cookie;
  @@ -558,7 +557,7 @@
* Return the ServletRequest for which this object
* is the facade.  This method must be implemented by a subclass.
*/
  -public ServletRequest getRequest() {
  +public HttpServletRequest getRequest() {
   if (facade == null) {
   facade = new RequestFacade(this);
   } 
  
  
  

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



DO NOT REPLY [Bug 31249] - Using a custom taglib causes strange NoSuchMethodException

2004-09-16 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=31249

Using a custom taglib causes strange NoSuchMethodException





--- Additional Comments From [EMAIL PROTECTED]  2004-09-16 13:59 ---
Actually we have not JARed up any packages as of yet. I did a file search and 
did not find any apparent duplicates or conflicts. I am thinking about 
installing Tomcat on my system at home and trying it out without adding any JAR 
files or CLASS files period. I did realize that I did download several JAR 
files for PDF generation and JSF. I think I'll rename these files to something 
like __.javajar to keep Java from recognizing them.

Unless these JAR files have Tomcat 4.0 versions of JSP-API in them, I don't 
know where the conflicts are. I may try to remove all of the JAR files in the 
Tomcat directories and reinstall it to make sure that packaged JARs are 
reinstalled freshly.

Thanks. I'll keep you posted.

Kelly

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



RE: cvs commit: jakarta-tomcat-5 build.properties.default build.xml

2004-09-16 Thread Shapira, Yoav

Hi,
Good solution -- thanks.

Yoav Shapira
Millennium Research Informatics


>-Original Message-
>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
>Sent: Thursday, September 16, 2004 9:38 AM
>To: [EMAIL PROTECTED]
>Subject: cvs commit: jakarta-tomcat-5 build.properties.default
build.xml
>
>mturk   2004/09/16 06:38:15
>
>  Modified:.build.properties.default build.xml
>  Log:
>  Remove versioning from build.xml to build.properties. This way
>  one can set version to any name desired. Just don't forget to set
>  the numbers accordingly too.
>
>  Revision  ChangesPath
>  1.136 +9 -2  jakarta-tomcat-5/build.properties.default
>
>  Index: build.properties.default
>  ===
>  RCS file: /home/cvs/jakarta-tomcat-5/build.properties.default,v
>  retrieving revision 1.135
>  retrieving revision 1.136
>  diff -u -r1.135 -r1.136
>  --- build.properties.default 3 Sep 2004 11:23:46 -   1.135
>  +++ build.properties.default 16 Sep 2004 13:38:14 -  1.136
>  @@ -9,6 +9,13 @@
>   # $Id$
>   #
--
>---
>
>  +# - Vesion Control Flags -
>  +version.major=5
>  +version.minor=5
>  +version.build=0
>  +version.patch=0
>  +#Set the pretty version name
>  +version=5.5.0-dev
>
>   # - Compile Control Flags -
>   compile.debug=on
>  @@ -36,7 +43,7 @@
>
>   # - Default Base Path for Dependent Packages -
>   base.path=/usr/share/java
>  -#base.path=../repository
>  +#base.path=C:/path/to/the/repository
>   #base.path=/usr/local
>
>   # - Jakarta files base location -
>
>
>
>  1.214 +3 -22 jakarta-tomcat-5/build.xml
>
>  Index: build.xml
>  ===
>  RCS file: /home/cvs/jakarta-tomcat-5/build.xml,v
>  retrieving revision 1.213
>  retrieving revision 1.214
>  diff -u -r1.213 -r1.214
>  --- build.xml15 Sep 2004 13:05:41 -  1.213
>  +++ build.xml16 Sep 2004 13:38:14 -  1.214
>  @@ -15,28 +15,9 @@
> 
> 
> 
>  -  
>  -  
>  -  
>  -  
>  -
>  -  
>  -
>  -  
>  -
>  -  
>  -  
>  -
>  -  
>  -
>  -  
>  -  
>  -  
>  -  
>  -
>  -  value="${version.major}.${version.minor}.${version.build}${isPatchedVer
sion
>}${isDevVersion}" />
>  +  
>  +  
>  +  
> value="${version.major}.${version.minor}.${version.build}.${version.pat
ch}"
>/>
>
> 
>
>
>
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


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



cvs commit: jakarta-tomcat-5 build.properties.default build.xml

2004-09-16 Thread mturk
mturk   2004/09/16 06:38:15

  Modified:.build.properties.default build.xml
  Log:
  Remove versioning from build.xml to build.properties. This way
  one can set version to any name desired. Just don't forget to set
  the numbers accordingly too.
  
  Revision  ChangesPath
  1.136 +9 -2  jakarta-tomcat-5/build.properties.default
  
  Index: build.properties.default
  ===
  RCS file: /home/cvs/jakarta-tomcat-5/build.properties.default,v
  retrieving revision 1.135
  retrieving revision 1.136
  diff -u -r1.135 -r1.136
  --- build.properties.default  3 Sep 2004 11:23:46 -   1.135
  +++ build.properties.default  16 Sep 2004 13:38:14 -  1.136
  @@ -9,6 +9,13 @@
   # $Id$
   # -
   
  +# - Vesion Control Flags -
  +version.major=5
  +version.minor=5
  +version.build=0
  +version.patch=0
  +#Set the pretty version name
  +version=5.5.0-dev
   
   # - Compile Control Flags -
   compile.debug=on
  @@ -36,7 +43,7 @@
   
   # - Default Base Path for Dependent Packages -
   base.path=/usr/share/java
  -#base.path=../repository
  +#base.path=C:/path/to/the/repository
   #base.path=/usr/local
   
   # - Jakarta files base location -
  
  
  
  1.214 +3 -22 jakarta-tomcat-5/build.xml
  
  Index: build.xml
  ===
  RCS file: /home/cvs/jakarta-tomcat-5/build.xml,v
  retrieving revision 1.213
  retrieving revision 1.214
  diff -u -r1.213 -r1.214
  --- build.xml 15 Sep 2004 13:05:41 -  1.213
  +++ build.xml 16 Sep 2004 13:38:14 -  1.214
  @@ -15,28 +15,9 @@
 
 
 
  -  
  -  
  -  
  -  
  -
  -  
  -
  -  
  -
  -  
  -  
  -
  -  
  -
  -  
  -  
  -  
  -  
  -  
  -  
  +  
  +
  +  
 
   
 
  
  
  

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



cvs commit: jakarta-tomcat-catalina/webapps/docs/config http.xml

2004-09-16 Thread mturk
mturk   2004/09/16 06:26:45

  Modified:webapps/docs/config http.xml
  Log:
  Add missing  close tag
  
  Revision  ChangesPath
  1.15  +1 -0  jakarta-tomcat-catalina/webapps/docs/config/http.xml
  
  Index: http.xml
  ===
  RCS file: /home/cvs/jakarta-tomcat-catalina/webapps/docs/config/http.xml,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- http.xml  15 Sep 2004 00:21:22 -  1.14
  +++ http.xml  16 Sep 2004 13:26:45 -  1.15
  @@ -287,6 +287,7 @@
 See the JavaDoc for the java.lang.Thread class for more details on
 what this priority means.
 
  +
   
   
 The Server header for the http response.
  
  
  

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



DO NOT REPLY [Bug 25055] - bypass of apache authentication

2004-09-16 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=25055

bypass of apache authentication





--- Additional Comments From [EMAIL PROTECTED]  2004-09-16 13:26 ---
See the comment From [EMAIL PROTECTED] in bug 
http://issues.apache.org/bugzilla/show_bug.cgi?id=29834

"htaccess file handling did not change, but the connector module hooks"

So, the problem seems to be closed on the Apache side. 

Module hooks is a major issue in Apache 2, particularly when we talk about
priorities between modules. In our problem, mod_jk bypasses the htaccess
authentication in Apache 2. This could be an interesting way of investigation.

I tried again to change the LoadModule order without success. 

Anyone's got an idea ?

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



DO NOT REPLY [Bug 31043] - blank spaces in Tomcat installation directory cause Jakarta connector to fail with IIS

2004-09-16 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=31043

blank spaces in Tomcat installation directory cause Jakarta connector to fail with IIS





--- Additional Comments From [EMAIL PROTECTED]  2004-09-16 09:19 ---
1) install jakarta in custom mode in directory c:\tomcat
2) Copy isapi_redirector2.dll and install4iis.js in \tomcat\bin
3) modify install4iis.js: 
 a)change "Default Web Server" (if necessary) with  web server name on which 
you want  install the connector (better leave on default web site)
 b)change Root with ROOT
4) Launch install4iis.js (double click on it) (jakarta virtual directory will 
be created)
5) Copy workers2.properties e jk2.properties in directory \tomcat\conf
6) Open jk2.properties and set shm.file=C:/jakarta/work/jk2.shm
7) open IIS and right-click on "default web server" Properties - ISAPI Filters
add a new filter named "Jakarta" for \tomcat\bin\isapi_redirector2.dll dll
8) ONLY FOR IIS 6 double-click on  web service extensions and add  jakarta 
extension to isapi_redirector2.dll file Also click on Allow the extension state
9) Setting IIS Version 6.0 to IIS 5.0 mode
Since, isapi_redirector2.dll is not developed for IIS 6.0 yet, we need 
to set IIS to a proper mode.
Go to IIS console and choose Web Sites and click Properties. 
On that dialog box Choose Service and check the box of Run WWW service 
in IIS 5.0 isolation mode. And restart the IIS. 
10) Start Tomcat
11) Restart IIS (as service)

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



DO NOT REPLY [Bug 31043] - blank spaces in Tomcat installation directory cause Jakarta connector to fail with IIS

2004-09-16 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=31043

blank spaces in Tomcat installation directory cause Jakarta connector to fail with IIS





--- Additional Comments From [EMAIL PROTECTED]  2004-09-16 08:47 ---
I have installed my Tomcat 5.0.28 without blank spaces. 
Still i am getting the same error.

Can anybody help me in this issue please?

Thanks
Anupama

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