Re: Servlet ClassLoader

2001-02-04 Thread Endre Stølsvik

On Fri, 2 Feb 2001, Craig R. McClanahan wrote:

| > > -Original Message-
| > > From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
| > >* Java asked the webapp class loader to find the
| > >  controller servlet class
| > >* The webapp class loader did not find the class
| > >  so it delegated to the shared class loader
| > >* The shared class loader (which reads from $CATALINA_HOME/lib
| > >  in Tomcat 4.0 -- the corresponding loader in Tomcat 3.2 reads
| > >  from the system classpath) and finds your class
| > >
| > > Now, when your controller servlet calls Class.forName(), it
| > > starts from its
| > > *own* class loader, and looks either there, or upwards.  Of
| > > course, if your
| > > components are under WEB-INF/classes or WEB-INF/lib, they are not
| > > visible ...
| >
| > The Java2 class loading model is for a loader to "delegate first" to it's
| > parent loader.  Only if the parent loader (that also delegates first to it's
| > parent) can't find the class will the original loader try to load it.
| >
| > The description above shows the webapp loader attempting to load the class
| > first and only delegating if that fails.  Is this really the case?
| >
|
| Sorry ... I should have been more explicit here.
|
| You're right about the normal delegation model for Java2.  However, the Servlet
| 2.3 Spec (Proposed Final Draft) gives a servlet container the option to "look
| before delegating" -- see Section 9.6.2.  Tomcat 4.0 does this.

I've been wondering quite some time: how can this be a "option"? I find
that very disturbing! Wouldn't that make tons of portability problems? The
classloading isn't exactly something that's the easies thing with Java to
grasp, and when things change from container to container, thing start to
get really frustrating..

| The intention of this language is that you can have version X of a library
| installed as a shared resource, and version Y of the library available in
| WEB-INF/lib.  In the 2.3 model, Y will override X.  In the standard delegation
| model (i.e. Tomcat 3.2) you'd get the classes from X no matter what you did.

Yes, and this sounds much more sensible. Why not take away the "option"
part of that section?!

I know that you don't personally have the sole responsibility for that
spec, but I just wondered why it is like this!

-- 
Mvh,
Endre


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




cvs commit: jakarta-tomcat-4.0 build.xml

2001-02-04 Thread remm

remm01/02/04 21:46:04

  Modified:.build.xml
  Log:
  - In the dist-source target, don't try to copy the build and dist folders.
  
  Revision  ChangesPath
  1.17  +4 -1  jakarta-tomcat-4.0/build.xml
  
  Index: build.xml
  ===
  RCS file: /home/cvs/jakarta-tomcat-4.0/build.xml,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- build.xml 2001/02/04 01:02:49 1.16
  +++ build.xml 2001/02/05 05:46:03 1.17
  @@ -113,7 +113,10 @@
 
   
   
  -  
  +  
  +
  +
  +  
   
 
   
  
  
  

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




cvs commit: jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/core ApplicationContext.java

2001-02-04 Thread remm

remm01/02/04 21:41:58

  Modified:catalina/src/share/org/apache/catalina/core
ApplicationContext.java
  Log:
  - Comment out a printStackTrace, and redo a little bit the indenting.
  
  Revision  ChangesPath
  1.15  +29 -20
jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/core/ApplicationContext.java
  
  Index: ApplicationContext.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/core/ApplicationContext.java,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- ApplicationContext.java   2001/02/04 00:49:41 1.14
  +++ ApplicationContext.java   2001/02/05 05:41:57 1.15
  @@ -1,7 +1,7 @@
   /*
  - * $Header: 
/home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/core/ApplicationContext.java,v
 1.14 2001/02/04 00:49:41 glenn Exp $
  - * $Revision: 1.14 $
  - * $Date: 2001/02/04 00:49:41 $
  + * $Header: 
/home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/core/ApplicationContext.java,v
 1.15 2001/02/05 05:41:57 remm Exp $
  + * $Revision: 1.15 $
  + * $Date: 2001/02/05 05:41:57 $
*
* 
*
  @@ -111,24 +111,26 @@
*
* @author Craig R. McClanahan
* @author Remy Maucherat
  - * @version $Revision: 1.14 $ $Date: 2001/02/04 00:49:41 $
  + * @version $Revision: 1.15 $ $Date: 2001/02/05 05:41:57 $
*/
   
   public final class ApplicationContext
   implements ServletContext {
   
  -protected class PrivilegedGetRequestDispatcher implements PrivilegedAction {
  +
  +protected class PrivilegedGetRequestDispatcher 
  +implements PrivilegedAction {
  +
   private String contextPath;
   private String relativeURI;
   private String queryString;   
   
   PrivilegedGetRequestDispatcher(String contextPath, String relativeURI,
  - String queryString)
  -{
  +   String queryString) {
   this.contextPath = contextPath;
   this.relativeURI = relativeURI;
   this.queryString = queryString;
  -} 
  +}
 
   public Object run() {
HttpRequestBase request = new HttpRequestBase();
  @@ -141,31 +143,38 @@
   return (null);  
   
   // Construct a RequestDispatcher to process this request
  -HttpServletRequest hrequest = (HttpServletRequest) request.getRequest();
  -return (RequestDispatcher) new ApplicationDispatcher(wrapper,
  -hrequest.getServletPath(), 
  -hrequest.getPathInfo(),   
  -hrequest.getQueryString(),
  -null);
  -}
  +HttpServletRequest hrequest = 
  +(HttpServletRequest) request.getRequest();
  +return (RequestDispatcher) new ApplicationDispatcher
  +(wrapper,
  + hrequest.getServletPath(), 
  + hrequest.getPathInfo(),   
  + hrequest.getQueryString(),
  + null);
  +}
  +
   }
   
  -protected class PrivilegedGetResource implements PrivilegedExceptionAction {
  +
  +protected class PrivilegedGetResource 
  +implements PrivilegedExceptionAction {
  +
private String path;
private DirContext resources;
   
  -PrivilegedGetResource(String path, DirContext resources)
  -{
  +PrivilegedGetResource(String path, DirContext resources) {
   this.path = path;
   this.resources = resources;
   }
  - 
  +
   public Object run() throws Exception {
   return new URL("jndi", null, 0, path,
  new DirContextURLStreamHandler(resources));
   }
  +
   }
   
  +
   // --- Constructors
   
   
  @@ -506,7 +515,7 @@
  new DirContextURLStreamHandler(resources));
}
   } catch (Exception e) {
  - e.printStackTrace();
  +//e.printStackTrace();
   }
   }
   return (null);
  
  
  

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




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

2001-02-04 Thread remm

remm01/02/04 21:10:00

  Modified:catalina/src/share/org/apache/naming/resources
ProxyDirContext.java
  Log:
  - Adds basic caching capabilities to the proxy directory context.
  - Content is not cached yet.
  
  Revision  ChangesPath
  1.2   +230 -6
jakarta-tomcat-4.0/catalina/src/share/org/apache/naming/resources/ProxyDirContext.java
  
  Index: ProxyDirContext.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/naming/resources/ProxyDirContext.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ProxyDirContext.java  2001/01/23 03:41:29 1.1
  +++ ProxyDirContext.java  2001/02/05 05:10:00 1.2
  @@ -1,7 +1,7 @@
   /*
  - * $Header: 
/home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/naming/resources/ProxyDirContext.java,v
 1.1 2001/01/23 03:41:29 remm Exp $
  - * $Revision: 1.1 $
  - * $Date: 2001/01/23 03:41:29 $
  + * $Header: 
/home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/naming/resources/ProxyDirContext.java,v
 1.2 2001/02/05 05:10:00 remm Exp $
  + * $Revision: 1.2 $
  + * $Date: 2001/02/05 05:10:00 $
*
* 
*
  @@ -65,6 +65,7 @@
   package org.apache.naming.resources;
   
   import java.util.Hashtable;
  +import java.util.Date;
   import java.io.InputStream;
   import java.io.ByteArrayInputStream;
   import javax.naming.Context;
  @@ -83,7 +84,7 @@
* Proxy Directory Context implementation.
*
* @author Remy Maucherat
  - * @version $Revision: 1.1 $ $Date: 2001/01/23 03:41:29 $
  + * @version $Revision: 1.2 $ $Date: 2001/02/05 05:10:00 $
*/
   
   public class ProxyDirContext implements DirContext {
  @@ -104,6 +105,10 @@
   if (dirContext instanceof BaseDirContext) {
   // Initialize parameters based on the associated dir context, like
   // the caching policy.
  +if (((BaseDirContext) dirContext).isCached()) {
  +cache = new Hashtable();
  +cacheTTL = ((BaseDirContext) dirContext).getCacheTTL();
  +}
   }
   }
   
  @@ -129,6 +134,19 @@
   protected DirContext dirContext;
   
   
  +/**
  + * Cache.
  + * Path -> Cache entry.
  + */
  +protected Hashtable cache = null;
  +
  +
  +/**
  + * Cache TTL.
  + */
  +protected int cacheTTL = 5000; // 5s
  +
  +
   // - Public Methods
   
   
  @@ -147,6 +165,14 @@
*/
   public Object lookup(Name name)
   throws NamingException {
  +CacheEntry entry = cacheLookup(name.toString());
  +if (entry != null) {
  +if (entry.resource != null) {
  +return entry.resource;
  +} else {
  +return entry.context;
  +}
  +}
   Object object = dirContext.lookup(parseName(name));
   if (object instanceof InputStream)
   return new Resource((InputStream) object);
  @@ -164,12 +190,20 @@
*/
   public Object lookup(String name)
   throws NamingException {
  +CacheEntry entry = cacheLookup(name);
  +if (entry != null) {
  +if (entry.resource != null) {
  +return entry.resource;
  +} else {
  +return entry.context;
  +}
  +}
   Object object = dirContext.lookup(parseName(name));
   if (object instanceof InputStream) {
   return new Resource((InputStream) object);
  -} if (object instanceof DirContext) {
  +} else if (object instanceof DirContext) {
   return object;
  -} if (object instanceof Resource) {
  +} else if (object instanceof Resource) {
   return object;
   } else {
   return new Resource(new ByteArrayInputStream
  @@ -193,6 +227,7 @@
   public void bind(Name name, Object obj)
   throws NamingException {
   dirContext.bind(parseName(name), obj);
  +cacheUnload(name.toString());
   }
   
   
  @@ -209,6 +244,7 @@
   public void bind(String name, Object obj)
   throws NamingException {
   dirContext.bind(parseName(name), obj);
  +cacheUnload(name);
   }
   
   
  @@ -230,6 +266,7 @@
   public void rebind(Name name, Object obj)
   throws NamingException {
   dirContext.rebind(parseName(name), obj);
  +cacheUnload(name.toString());
   }
   
   
  @@ -245,6 +282,7 @@
   public void rebind(String name, Object obj)
   throws NamingException {
   dirContext.rebind(parseName(name), obj);
  +cacheUnload(name);
   }
   
   
  @@ -265,6 +303,7 @@
   public void unbind(Name name)
   throws Naming

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

2001-02-04 Thread remm

remm01/02/04 20:41:08

  Modified:catalina/src/share/org/apache/naming/resources
FileDirContext.java WARDirContext.java
  Log:
  - Couldn't repeat reads on returned objects. Now, the input stream
will be reopened each time streamContent() is called.
  
  Revision  ChangesPath
  1.2   +5 -5  
jakarta-tomcat-4.0/catalina/src/share/org/apache/naming/resources/FileDirContext.java
  
  Index: FileDirContext.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/naming/resources/FileDirContext.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- FileDirContext.java   2001/01/23 03:41:29 1.1
  +++ FileDirContext.java   2001/02/05 04:41:08 1.2
  @@ -1,7 +1,7 @@
   /*
  - * $Header: 
/home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/naming/resources/FileDirContext.java,v
 1.1 2001/01/23 03:41:29 remm Exp $
  - * $Revision: 1.1 $
  - * $Date: 2001/01/23 03:41:29 $
  + * $Header: 
/home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/naming/resources/FileDirContext.java,v
 1.2 2001/02/05 04:41:08 remm Exp $
  + * $Revision: 1.2 $
  + * $Date: 2001/02/05 04:41:08 $
*
* 
*
  @@ -98,7 +98,7 @@
* Filesystem Directory Context implementation helper class.
*
* @author Remy Maucherat
  - * @version $Revision: 1.1 $ $Date: 2001/01/23 03:41:29 $
  + * @version $Revision: 1.2 $ $Date: 2001/02/05 04:41:08 $
*/
   
   public class FileDirContext extends BaseDirContext {
  @@ -943,7 +943,7 @@
*/
   public InputStream streamContent()
   throws IOException {
  -if ((inputStream == null) && (binaryContent == null))
  +if (binaryContent == null)
   inputStream = new FileInputStream(file);
   return super.streamContent();
   }
  
  
  
  1.2   +4 -4  
jakarta-tomcat-4.0/catalina/src/share/org/apache/naming/resources/WARDirContext.java
  
  Index: WARDirContext.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/naming/resources/WARDirContext.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- WARDirContext.java2001/01/23 03:41:29 1.1
  +++ WARDirContext.java2001/02/05 04:41:08 1.2
  @@ -1,7 +1,7 @@
   /*
  - * $Header: 
/home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/naming/resources/WARDirContext.java,v
 1.1 2001/01/23 03:41:29 remm Exp $
  - * $Revision: 1.1 $
  - * $Date: 2001/01/23 03:41:29 $
  + * $Header: 
/home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/naming/resources/WARDirContext.java,v
 1.2 2001/02/05 04:41:08 remm Exp $
  + * $Revision: 1.2 $
  + * $Date: 2001/02/05 04:41:08 $
*
* 
*
  @@ -99,7 +99,7 @@
* WAR Directory Context implementation.
*
* @author Remy Maucherat
  - * @version $Revision: 1.1 $ $Date: 2001/01/23 03:41:29 $
  + * @version $Revision: 1.2 $ $Date: 2001/02/05 04:41:08 $
*/
   
   public class WARDirContext extends BaseDirContext {
  @@ -928,7 +928,7 @@
   public InputStream streamContent()
   throws IOException {
   try {
  -if ((inputStream == null) && (binaryContent == null)) {
  +if (binaryContent == null) {
   inputStream = base.getInputStream(entry);
   }
   } catch (ZipException e) {
  
  
  

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




Bugzilla and emails?

2001-02-04 Thread dion

Is it possible to get Bugzilla to email open bugs to either the list or
interested individuals on an automated basis?
--
dIon Gillard, Multitask Consulting
Work:  http://www.multitask.com.au
NetRexx: http://www.multitask.com.au/NetRexx.nsf
- Forwarded by dIon Gillard/Multitask Consulting/AU on 05/02/2001 01:41
PM -
Re: Who's assigning bugs?


> It appeared to me that all the bugs converted from BugRat were assigned
to
> "[EMAIL PROTECTED]".  I've already reassigned the ones on Struts to me,
and
> will do the same for the Tomcat 4 issues, so at least you will stop
getting mail
> on those  ...

Most of the Catalina specific issues should be fixed, but we could probably
use some confirmation on this.
#233, #327 should be fixed.
#389 should be invalid.
#391, #489 couldn't be reproduced (I can't figure out why the HTTP
connector
wouldn't timeout).
#394, #335, #425 are classloader related, and probably invalid.
#435 is not detailed enough. Could be caused by a sealing violation with
the
XML parser.
#472 is a JDK issue.

Remy



   
   
   
  Previous Document (Embe (Embe Next Document  
dded   dded
image image
moved moved
to   to
file: file:
pic00 pic18
041.p 467.p
cx) cx)
   
Return to View 
   
(Embedded image moved to   
  file: pic06334.pcx)  
   



 pic00041.pcx
 pic18467.pcx
 pic06334.pcx

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


serializing XML to a ServletOutputStream fails

2001-02-04 Thread Michael Mealling

(This might be a bug so I'm cc-ing to tomcat-dev)
Hi,
I'm trying to serialize some XML out to a ServletOutputStream but
the resulting XML on the client side contains corrupted Unicode
characters (the DOM I'm serializing out contains Chinese, Korean,
English, etc). Here's the code in question:

response.setContentType("text/xml; charset=UTF-8");
ServletOutputStream out = response.getOutputStream();

out.print("\n" +
   "http://www.ietf.org/cnrp.dtd\">\n");
out.flush();
OutputFormat format = new OutputFormat(document);
format.setOmitXMLDeclaration(true);
format.setIndenting(true); // it makes debuggin easier
format.setEncoding("UTF-8"); // this is the default anyway
XMLSerializer serializer = new XMLSerializer(out, format);
serializer.serialize(document.getDocumentElement());

The XML that the client gets is fine except that the non-ASCII subset
of the UTF-8 encoded Unicode characters are garbled. I can serialize
the XML out to a FileOutputStream and it works just fine.

I'm running Tomcat 3.2.1 that's the backend for a remote
Apache 1.3.17 server using ajp13 (and thus mod_jk).

This code looks like its the right way to do this but either
I've hit a bug or else I'm missing something (an encoding somewhere
between a Stream and a Writer?)

-MM

-- 

Michael Mealling|  Vote Libertarian!   | www.rwhois.net/michael
Sr. Research Engineer   |   www.ga.lp.org/gwinnett | ICQ#: 14198821
Network Solutions   |  www.lp.org  |  [EMAIL PROTECTED]

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




Re: Tomcat 3 Connector Default Bug Owner

2001-02-04 Thread Craig R. McClanahan

Dan Milstein wrote:

> Craig (or anyone who has admin control over Bugzilla),
>
> I notice that you're set as the "default owner" for the "connectors"
> component for bugs within Tomcat 3.  I'd like to volunteer to take that role
> over (for the time being, at least), but I don't know how to reset that.
>
> Can someone set this up / explain to me how to do so?
>

Thanks Dan ... it looks like someone already got you assigned there.  It does
require admin rights on Bugzilla to change stuff like this (which I do have),
then it's all done through online admin screens.

It would probably be appropriate for someone focused on 3.x development to
become default owner of the remaining components as well (Jasper, Servlet,
Webapps, and Unknown) -- any volunteers?

>
> -Dan
>

Craig



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




cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/resources LocalStrings.properties LocalStrings_es.properties

2001-02-04 Thread nacho

nacho   01/02/04 16:12:05

  Modified:src/share/org/apache/tomcat/resources
LocalStrings.properties LocalStrings_es.properties
  Log:
  Strings did not relate to identifiers
  
  Revision  ChangesPath
  1.14  +5 -5  
jakarta-tomcat/src/share/org/apache/tomcat/resources/LocalStrings.properties
  
  Index: LocalStrings.properties
  ===
  RCS file: 
/home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/resources/LocalStrings.properties,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- LocalStrings.properties   2000/12/20 15:18:54 1.13
  +++ LocalStrings.properties   2001/02/05 00:12:04 1.14
  @@ -1,4 +1,4 @@
  -# $Id: LocalStrings.properties,v 1.13 2000/12/20 15:18:54 larryi Exp $
  +# $Id: LocalStrings.properties,v 1.14 2001/02/05 00:12:04 nacho Exp $
   #
   
   # Localized strings for package org.apache.tomcat.core
  @@ -73,10 +73,10 @@
   
   wrapper.load.noclassname=No class name for servlet to be loaded
   
  -reqfac.getinstream.ise=Reader already obtained for this request.
  -reqfac.getreader.ise=InputStream already obtained for this request.
  -resfac.getoutstream.ise=Writer already obtained for this request.
  -resfac.getwriter.ise=OutputStream already obtained for this request.
  +reqfac.getreader.ise=Reader already obtained for this request.
  +reqfac.getinstream.ise=InputStream already obtained for this request.
  +resfac.getwriter.ise=Writer already obtained for this request.
  +resfac.getoutstream.ise=OutputStream already obtained for this request.
   
   hsrf.encodeRedirect.iae=urls must be absolute
   hsrf.redirect.iae=specified url redirect is null
  
  
  
  1.15  +5 -7  
jakarta-tomcat/src/share/org/apache/tomcat/resources/LocalStrings_es.properties
  
  Index: LocalStrings_es.properties
  ===
  RCS file: 
/home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/resources/LocalStrings_es.properties,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- LocalStrings_es.properties2001/02/04 22:05:41 1.14
  +++ LocalStrings_es.properties2001/02/05 00:12:04 1.15
  @@ -1,4 +1,4 @@
  -# $Id: LocalStrings_es.properties,v 1.14 2001/02/04 22:05:41 nacho Exp $
  +# $Id: LocalStrings_es.properties,v 1.15 2001/02/05 00:12:04 nacho Exp $
   #
   
   # Localized strings for package org.apache.tomcat.core
  @@ -73,10 +73,10 @@
   
   wrapper.load.noclassname=No hay nombre de clase para cargar el Servlet
   
  -reqfac.getinstream.ise=Reader ya obtenido para esta petición.
  -reqfac.getreader.ise=InputStream ya obtenido para esta petición.
  -resfac.getoutstream.ise=Writer ya obtenido para esta petición.
  -resfac.getwriter.ise=OutputStream ya obtenido para esta petición.
  +reqfac.getreader.ise=Reader ya obtenido para esta petición.
  +reqfac.getinstream.ise=InputStream ya obtenido para esta petición.
  +resfac.getoutstream.ise=OutputStream ya obtenido para esta petición.
  +resfac.getwriter.ise=Writer ya obtenido para esta petición.
   
   hsrf.encodeRedirect.iae=urls deben ser absolutas
   hsrf.redirect.iae=la url de redireccion especificada es nula
  @@ -86,8 +86,6 @@
   
   serverResponse.outputStream.ise=getWriter() ha sido ya llamado
   serverResponse.writer.ise=getOutputStream() ha sido ya llamado
  -serverResponse.outputStream.ise=Writer ya esta siendo usado para esta petición
  -serverResponse.writer.ise=OutputStream ya esta siendo usado para esta petición
   
   sc.100=Continuar
   sc.101=Cambiando Protocolos
  
  
  

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




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

2001-02-04 Thread nacho

nacho   01/02/04 14:28:33

  Modified:src/share/org/apache/tomcat/util SimpleClassLoader.java
  Log:
  More URLClassLoader Compatibility.
  Added geURLs()
  
  Revision  ChangesPath
  1.4   +5 -0  
jakarta-tomcat/src/share/org/apache/tomcat/util/SimpleClassLoader.java
  
  Index: SimpleClassLoader.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/util/SimpleClassLoader.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- SimpleClassLoader.java2000/08/30 05:15:39 1.3
  +++ SimpleClassLoader.java2001/02/04 22:28:33 1.4
  @@ -501,4 +501,9 @@
   return buf;
   }
   
  +public URL[] getURLs() {
  +//TODO:  Add custom implementation.
  +return urls;
  +}
  +
   }
  
  
  

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




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

2001-02-04 Thread nacho

nacho   01/02/04 14:26:48

  Modified:src/share/org/apache/tomcat/util FileUtil.java
  Log:
  Problems with old configs and new config interceptors.
  
  Revision  ChangesPath
  1.19  +6 -6  jakarta-tomcat/src/share/org/apache/tomcat/util/FileUtil.java
  
  Index: FileUtil.java
  ===
  RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/util/FileUtil.java,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- FileUtil.java 2001/02/01 06:17:41 1.18
  +++ FileUtil.java 2001/02/04 22:26:48 1.19
  @@ -1,7 +1,7 @@
   /*
  - * $Header: 
/home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/util/FileUtil.java,v 1.18 
2001/02/01 06:17:41 costin Exp $
  - * $Revision: 1.18 $
  - * $Date: 2001/02/01 06:17:41 $
  + * $Header: 
/home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/util/FileUtil.java,v 1.19 
2001/02/04 22:26:48 nacho Exp $
  + * $Revision: 1.19 $
  + * $Date: 2001/02/04 22:26:48 $
*
* 
*
  @@ -338,7 +338,7 @@
   
   public static String getExtension( String path ) {
   int i = path.lastIndexOf(".");
  - int j = path.lastIndexOf("/");
  + int j = path.lastIndexOf(File.separator);
   
if ((i > 0) && (i > j))
return path.substring(i);
  @@ -350,7 +350,7 @@
*/
   public static String getBase( String path ) {
   int i = path.lastIndexOf(".");
  - int j = path.lastIndexOf("/");
  + int j = path.lastIndexOf(File.separator);
   
if( j < 0 ) {// no /
if( i<0 )
  @@ -362,7 +362,7 @@
// . in a dir, before last component, or no "."
return path.substring( j );
} else {
  - return path.substring( j, i );
  + return path.substring( j+1, i );
}
}
   }
  
  
  

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




RE: Working combination of apache+lservModule+tomcat? or IIS5 +tomcat?

2001-02-04 Thread Charles Chen

Ok, point taken. I have unsubscribed from this list.

Charles


-Original Message-
From: Jon Stevens [mailto:[EMAIL PROTECTED]]
Sent: 04 February 2001 22:13
To: [EMAIL PROTECTED]
Subject: Re: Working combination of apache+lservModule+tomcat? or IIS5
+tomcat?


on 2/4/01 12:26 PM, "Charles Chen" <[EMAIL PROTECTED]> wrote:

> Sorry if this is not the right list to ask such a simple question. I
thought
> this list are read by all those tomcat experts and therefore may get this
> answer more quickly.

Totally unacceptable and a complete lack of respect for the resources
provided to you. You should have asked this question on the User list
because it is a User question. I just updated this page (see below) to cover
this little abuse.

"Summary: Do not abuse resources in order to get help. Asking your
configuration or user type of question on the developers list because you
think that you will get help more quickly by going directly to the
developers instead of to the user base is not very nice. Chances are that
doing this will actually prevent people from answering your question because
it is clear that you are trying to abuse resources. "



-jon

--
If you come from a Perl or PHP background, JSP is a way to take
your pain to new levels. --Anonymous
 | 


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



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




cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/modules/config ContextXmlReader.java ServerXmlReader.java

2001-02-04 Thread nacho

nacho   01/02/04 14:24:16

  Modified:src/share/org/apache/tomcat/modules/config
ContextXmlReader.java ServerXmlReader.java
  Log:
  Problems with old configs and new config interceptors.
  
  Revision  ChangesPath
  1.2   +4 -4  
jakarta-tomcat/src/share/org/apache/tomcat/modules/config/ContextXmlReader.java
  
  Index: ContextXmlReader.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/modules/config/ContextXmlReader.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ContextXmlReader.java 2001/02/01 06:22:08 1.1
  +++ ContextXmlReader.java 2001/02/04 22:24:16 1.2
  @@ -101,9 +101,10 @@
   public void engineInit(ContextManager cm)
throws TomcatException
   {
  +configFile=(String)cm.getNote("configFile");
XmlMapper xh=new XmlMapper();
xh.setDebug( debug );
  - // use the same tags for context-local modules 
  + // use the same tags for context-local modules
ServerXmlReader.setTagRules( xh );
ServerXmlReader.addDefaultTags(cm, xh);
setContextRules( xh );
  @@ -114,9 +115,8 @@
if (configFile == null)
configFile=DEFAULT_CONFIG;
   
  - if( configFile.startsWith( "/" ) ) 
  - f=new File(configFile);
  - else
  +f=new File(configFile);
  + if( !f.isAbsolute())
f=new File( cm.getHome(), "/" + configFile);
   
if( f.exists() )
  
  
  
  1.3   +22 -18
jakarta-tomcat/src/share/org/apache/tomcat/modules/config/ServerXmlReader.java
  
  Index: ServerXmlReader.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/modules/config/ServerXmlReader.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- ServerXmlReader.java  2001/02/02 01:27:42 1.2
  +++ ServerXmlReader.java  2001/02/04 22:24:16 1.3
  @@ -82,6 +82,7 @@
* @author Costin Manolache
*/
   public class ServerXmlReader extends BaseInterceptor {
  +int configFileNote;
   private static StringManager sm =
StringManager.getManager("org.apache.tomcat.resources");
   
  @@ -90,7 +91,7 @@
   }
   
   //  Properties 
  -String configFile=null;   
  +String configFile=null;
   static final String DEFAULT_CONFIG="conf/server.xml";
   
   public void setConfig( String s ) {
  @@ -101,7 +102,7 @@
System.getProperties().put("tomcat.home", h);
   }
   
  -//  Hooks  
  +//  Hooks 
   
   /** When this module is added, it'll automatically load
*  a configuration file and add all global modules.
  @@ -111,14 +112,13 @@
throws TomcatException
   {
if( this != module ) return;
  -
XmlMapper xh=new XmlMapper();
xh.setDebug( debug );
xh.addRule( "ContextManager", xh.setProperties() );
setTagRules( xh );
addDefaultTags(cm, xh);
setBackward( xh );
  - 
  +
// load the config file(s)
File f  = null;
if (configFile == null)
  @@ -129,14 +129,17 @@
f=new File( cm.getHome(), File.separator + configFile);
   
if( f.exists() ){
  +cm.setNote( "configFile", f.getAbsolutePath());
loadConfigFile(xh,f,cm);
   // load server-*.xml
  -Vector v = getUserConfigFiles(f);
  +/*Vector v = getUserConfigFiles(f);
   for (Enumeration e = v.elements();
e.hasMoreElements() ; ) {
   f = (File)e.nextElement();
   loadConfigFile(xh,f,cm);
  +
   }
  +*/
   }
   }
   
  @@ -154,7 +157,7 @@
}
cm.log(sm.getString("tomcat.loaded") + " " + f);
   }
  -
  +
   public static void setTagRules( XmlMapper xh ) {
xh.addRule( "module",  new XmlAction() {
public void end(SaxContext ctx ) throws Exception {
  @@ -169,20 +172,21 @@
});
   }
   
  -// read modules.xml, if any, and load taskdefs 
  +// read modules.xml, if any, and load taskdefs
   public static  void addDefaultTags( ContextManager cm, XmlMapper xh)
throws TomcatException
   {
File f=new File( cm.getHome(), "/conf/modules.xml");
if( f.exists() ) {
  +cm.setNote( "configFile", f.getAbsoluteFile());
loadConfigFile( xh, f, cm );
  - }
  - // load server-*.xml
  - Vector v = getUserConfigFiles(f);
  - for (Enumeration e = v.elements();
  -  e.hasMoreElements() ; ) {
  - f = (File)e.nextElement();
  - loadConfigFile(xh,f,cm);
  +// load module-*.xml
  +

cvs commit: jakarta-tomcat/src/tests/webpages index.html

2001-02-04 Thread nacho

nacho   01/02/04 14:17:28

  Modified:src/tests/webpages index.html
  Log:
  users/global-usrs.xml contains another password
  for tomcat_admin role ( in the root user ).
  
  Revision  ChangesPath
  1.5   +3 -2  jakarta-tomcat/src/tests/webpages/index.html
  
  Index: index.html
  ===
  RCS file: /home/cvs/jakarta-tomcat/src/tests/webpages/index.html,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- index.html2001/01/24 01:50:56 1.4
  +++ index.html2001/02/04 22:17:27 1.5
  @@ -29,8 +29,9 @@
 trusted="true" > 
   
   
  -You'll also need to edit TOMCAT_HOME/conf/users/admin-users.xml and 
  -change the password ( very important for security reasons ).
  +You'll also need to edit TOMCAT_HOME/conf/users/admin-users.xml 
  +and TOMCAT_HOME/conf/users/global-users.xml and change 
  +the password of the admin and root users ( very important for security reasons ).
   
   
   
  
  
  

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




Re: Working combination of apache+lservModule+tomcat? or IIS5 +tomcat?

2001-02-04 Thread Jon Stevens

on 2/4/01 12:26 PM, "Charles Chen" <[EMAIL PROTECTED]> wrote:

> Sorry if this is not the right list to ask such a simple question. I thought
> this list are read by all those tomcat experts and therefore may get this
> answer more quickly.

Totally unacceptable and a complete lack of respect for the resources
provided to you. You should have asked this question on the User list
because it is a User question. I just updated this page (see below) to cover
this little abuse.

"Summary: Do not abuse resources in order to get help. Asking your
configuration or user type of question on the developers list because you
think that you will get help more quickly by going directly to the
developers instead of to the user base is not very nice. Chances are that
doing this will actually prevent people from answering your question because
it is clear that you are trying to abuse resources. "



-jon

-- 
If you come from a Perl or PHP background, JSP is a way to take
your pain to new levels. --Anonymous
 | 


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




cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/modules/aaa JDBCRealm.java

2001-02-04 Thread nacho

nacho   01/02/04 14:08:24

  Modified:src/share/org/apache/tomcat/modules/aaa JDBCRealm.java
  Log:
  Cosmetic changes and the ability to select
  when the JDBC connection is started at
  Tomcat init or in first realm access.
  
  Revision  ChangesPath
  1.2   +190 -268  
jakarta-tomcat/src/share/org/apache/tomcat/modules/aaa/JDBCRealm.java
  
  Index: JDBCRealm.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/modules/aaa/JDBCRealm.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- JDBCRealm.java2001/01/01 02:01:29 1.1
  +++ JDBCRealm.java2001/02/04 22:08:24 1.2
  @@ -1,11 +1,11 @@
   /*
  - * $Header: 
/home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/modules/aaa/JDBCRealm.java,v 1.1 
2001/01/01 02:01:29 costin Exp $
  - * $Revision: 1.1 $
  - * $Date: 2001/01/01 02:01:29 $
  + * $Header: 
/home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/modules/aaa/JDBCRealm.java,v 1.2 
2001/02/04 22:08:24 nacho Exp $
  + * $Revision: 1.2 $
  + * $Date: 2001/02/04 22:08:24 $
*
* The Apache Software License, Version 1.1
*
  - * Copyright (c) 1999 The Apache Software Foundation.  All rights 
  + * Copyright (c) 1999 The Apache Software Foundation.  All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
  @@ -13,7 +13,7 @@
* are met:
*
* 1. Redistributions of source code must retain the above copyright
  - *notice, this list of conditions and the following disclaimer. 
  + *notice, this list of conditions and the following disclaimer.
*
* 2. Redistributions in binary form must reproduce the above copyright
*notice, this list of conditions and the following disclaimer in
  @@ -21,7 +21,7 @@
*distribution.
*
* 3. The end-user documentation included with the redistribution, if
  - *any, must include the following acknowlegement:  
  + *any, must include the following acknowlegement:
*   "This product includes software developed by the
*Apache Software Foundation (http://www.apache.org/)."
*Alternately, this acknowlegement may appear in the software itself,
  @@ -64,152 +64,103 @@
   import org.apache.tomcat.core.*;
   import org.apache.tomcat.util.*;
   import java.security.*;
  -import java.security.Principal;
  -import java.io.File;
  -import java.util.Enumeration;
  -import java.util.Hashtable;
  +//import java.security.Principal;
  +//import java.io.File;
  +//import java.util.Enumeration;
  +//import java.util.Hashtable;
   import java.util.Vector;
   import java.io.*;
   import java.net.*;
   import java.util.*;
   import java.sql.*;
   
  -
   /**
  - *
* Implmentation of Realm that works with any JDBC supported database.
  - * See the JDBCRealm.howto for more details on how to set up the database and
  - * for configuration options.
  - *
  - * TODO:
  - *- Work on authentication with non-plaintext passwords
  - *
  + * See the JDBCRealm.howto for more details on how to set up the database and for 
configuration options. TODO:
  + * - Work on authentication with non-plaintext passwords
* @author Craig R. McClanahan
* @author Carson McDonald
* @author Ignacio J. Ortega
* @author Bip Thelin
  - *
*/
  -
   public final class JDBCRealm extends BaseInterceptor {
  -
  -
  -ContextManager cm;
   int reqRolesNote;
   int userNote;
   int passwordNote;
   // - Instance Variables
   
  -/**
  - * The connection to the database.
  - */
  +/** The connection to the database. */
   private Connection dbConnection = null;
   
  -/**
  - * The PreparedStatement to use for authenticating users.
  - */
  +/** The PreparedStatement to use for authenticating users. */
   private PreparedStatement preparedAuthenticate = null;
   
  -
  -/**
  - * The PreparedStatement to use for identifying the roles for
  - * a specified user.
  - */
  +/** The PreparedStatement to use for identifying the roles for a specified 
user. */
   private PreparedStatement preparedRoles = null;
  -
   
  -/**
  - * The connection URL to use when trying to connect to the databse
  - */
  +/** The connection URL to use when trying to connect to the databse */
   private String connectionURL = null;
   
  -/**
  - * The connection URL to use when trying to connect to the databse
  - */
  +/** The connection URL to use when trying to connect to the databse */
   private String connectionName = null;
   
  -/**
  - * The connection URL to use when trying to connect to the databse
  - */
  +/** The connection URL to use when trying to connect to the databse */
   private String connectionPassword = null;
   
  -/**
  - * The 

cvs commit: jakarta-tomcat/src/share/org/apache/jasper/resources messages_es.properties

2001-02-04 Thread nacho

nacho   01/02/04 14:06:02

  Modified:src/share/org/apache/jasper/resources messages_es.properties
  Log:
  no message
  
  Revision  ChangesPath
  1.10  +21 -14
jakarta-tomcat/src/share/org/apache/jasper/resources/messages_es.properties
  
  Index: messages_es.properties
  ===
  RCS file: 
/home/cvs/jakarta-tomcat/src/share/org/apache/jasper/resources/messages_es.properties,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- messages_es.properties2001/01/14 20:45:41 1.9
  +++ messages_es.properties2001/02/04 22:06:01 1.10
  @@ -1,4 +1,4 @@
  -# $Id: messages_es.properties,v 1.9 2001/01/14 20:45:41 larryi Exp $
  +# $Id: messages_es.properties,v 1.10 2001/02/04 22:06:01 nacho Exp $
   #
   # Default localized string information
   # Localized para Locale es_ES
  @@ -16,19 +16,18 @@
   jsp.error.not.impl.declarations=Error Interno: Declarations no implementado
   jsp.error.not.impl.expressions=Error Interno: Expressions no implementado
   jsp.error.not.impl.scriptlets=Error Interno: Scriptlets no implementado
  -jsp.error.not.impl.useBean=Error Interno: useBean no implementado
  +jsp.error.not.impl.usebean=Error Interno: useBean no implementado
   jsp.error.not.impl.getp=Error Interno: getProperty no implementado
   jsp.error.not.impl.setp=Error Interno: setProperty no implementado
   jsp.error.not.impl.plugin=Error Interno: plugin no implementado
   jsp.error.not.impl.forward=Error Interno: forward no implementado
   jsp.error.not.impl.include=Error Interno: include no implementado
  -jsp.error.useBean.missing.atributo=useBean: id atributo perdido o mal escrito
  -jsp.error.useBean.missing.type=useBean ({0}): Debe especificar los atributo class o 
type:
  -jsp.error.useBean.duplicate=useBean: Nombre de bean duplicado: {0}
  -jsp.error.useBean.prohibited.as.session=No puede usar {0} como session bean  ya que 
esta prohibido por la directiva JSP especificada antes: 
  -jsp.error.useBean.not.both=useBean: No puede especificar los atributos class y 
beanName a la vez: 
  -jsp.error.useBean.bad.type.cast=useBean ({0}): Type ({1}) is not asignable from 
class ({2}) 
  -jsp.error.useBean.invalid.scope=El Ambito ({1}) no  es valido en UseBean: ({0}).
  +jsp.error.usebean.missing.type=useBean ({0}): Debe especificar los atributo class o 
type:
  +jsp.error.usebean.duplicate=useBean: Nombre de bean duplicado: {0}
  +jsp.error.usebean.prohibited.as.session=No puede usar {0} como session bean  ya que 
esta prohibido por la directiva JSP especificada antes: 
  +jsp.error.usebean.not.both=useBean: No puede especificar los atributos class y 
beanName a la vez: 
  +jsp.error.usebean.bad.type.cast=useBean ({0}): Type ({1}) is not asignable from 
class ({2}) 
  +jsp.error.usebean.invalid.scope=El Ambito ({1}) no  es valido en UseBean: ({0}).
   jsp.error.classname=No puede determinar el nombre de clase desde el fichero .class
   jsp.warning.bad.type=Aviso: typo no valido en archivo .class
   jsp.error.data.file.write=Error mientras escribia el archivo de datos
  @@ -48,7 +47,7 @@
   jsp.error.page.invalid.iserrorpage==Directiva  Page: valor incorrecto para 
isErrorPage
   jsp.error.page.multiple.errorpage=Directiva  Page: no puede haber multiples 
ocurrencias de errorPage
   jsp.error.page.multiple.language=Directiva  Page: no puede haber multiples 
ocurrencias de language
  -jsp.error.page.defafterusar.language=Directiva  Page: No puede define language 
after a scriptlet 
  +jsp.error.page.defafteruse.language=Directiva  Page: No puede define language after 
a scriptlet 
   jsp.error.page.nomapping.language=Directiva  Page: No hay mapeado para language: 
   jsp.error.page.multiple.extends=Directiva  Page: no puede haber multiples 
ocurrencias de extends
   jsp.error.page.bad_b_and_a_combo=Directiva  Page: Combinacion ilegal de 
buffer=\"none\" y autoFlush=\"false\"
  @@ -61,15 +60,15 @@
   jsp.error.unknownException= ! Error no caturado ¡ Deberias considerar el poner una 
pagina de error para avisar los errores mas elegantemente
   jsp.error.invalid.directive=Directiva no valida
   jsp.error.unterminated=Tag {0} no terminado
  -jsp.error.useBean.notinsamefile=El tag useBean debe empezar y acabar en el mismo 
archivo fisico
  +jsp.error.usebean.notinsamefile=El tag useBean debe empezar y acabar en el mismo 
archivo fisico
   jsp.error.unable.loadclass=No se puede cargar la clase {0}
   jsp.error.unable.compile=No se puede compilar la clase para JSP
   jsp.error.unable.load=No se puede compilar la clase para JSP
   jsp.error.unable.rename=No se puede renombrar el archivo de clase {0} a {1}
  -jsp.error.mandatory.atributo={0}: atributo obligatorio {1} perdido
  +jsp.error.mandatory.attribute={0}: atributo obligatorio {1} perdido
   jsp.engine.info=Motor Jasper JSP 1.1
  -jsp.error.invalid.atributo={0}: Atributo no valido, {1}
  -jsp.error.useBean.class.notfound=clase: {0} no encontrada
  +jsp.er

cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/resources LocalStrings_es.properties

2001-02-04 Thread nacho

nacho   01/02/04 14:05:42

  Modified:src/share/org/apache/tomcat/resources
LocalStrings_es.properties
  Log:
  no message
  
  Revision  ChangesPath
  1.14  +8 -13 
jakarta-tomcat/src/share/org/apache/tomcat/resources/LocalStrings_es.properties
  
  Index: LocalStrings_es.properties
  ===
  RCS file: 
/home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/resources/LocalStrings_es.properties,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- LocalStrings_es.properties2001/01/06 18:10:57 1.13
  +++ LocalStrings_es.properties2001/02/04 22:05:41 1.14
  @@ -1,4 +1,4 @@
  -# $Id: LocalStrings_es.properties,v 1.13 2001/01/06 18:10:57 nacho Exp $
  +# $Id: LocalStrings_es.properties,v 1.14 2001/02/04 22:05:41 nacho Exp $
   #
   
   # Localized strings for package org.apache.tomcat.core
  @@ -12,7 +12,7 @@
   
   #ErrorHandler / error handlers
   defaulterrorpage.originalrequest=Request original:
  -defaulterrorpage.Includedservlet=Error en el Servlet Incluido:
  +defaulterrorpage.includedservlet=Error en el Servlet Incluido:
   defaulterrorpage.location=Localización:
   defaulterrorpage.errorlocation=Localización del error:
   defaulterrorpage.notfound404=No se encuentra (404)
  @@ -62,7 +62,7 @@
   
   context.init.propfile.url.error=No se puede cargar el archivos de propiedades {0} 
desde docbase {1}
   context.init.propfile.file.error=No se puede cargar el archivos de propiedades {0} 
desde docbase {1}
  -context.init.propfile.Servlet.format=Propiedad de Servlet mal escrita: {0}
  +context.init.propfile.servlet.format=Propiedad de Servlet mal escrita: {0}
   context.getConfig.msg=Configurando el servicio web usando "{0}"
   context.getConfig.e=No se puede configurar el servicio web usando "{0}"
   context.props.iae=No existe la clase para el Servlet: {0}
  @@ -86,16 +86,9 @@
   
   serverResponse.outputStream.ise=getWriter() ha sido ya llamado
   serverResponse.writer.ise=getOutputStream() ha sido ya llamado
  -
  -serverRequest.inputStream.npe=input stream es nulo
  -serverRequest.urlDecode.nfe=formato de números incorrecto: {0}
   serverResponse.outputStream.ise=Writer ya esta siendo usado para esta petición
   serverResponse.writer.ise=OutputStream ya esta siendo usado para esta petición
   
  -servletLoader.load.mfue=problema resolviendo la clase: {0}
  -servletLoader.load.ioe=problema leyendo el archivo de clase: {0}
  -servletLoader.load.cnfe=problema leyendo el archivo de clase: {0}
  -
   sc.100=Continuar
   sc.101=Cambiando Protocolos
   sc.200=OK
  @@ -136,9 +129,6 @@
   sc.503=Servicio no Disponible
   sc.504=Gateway Caducada
   sc.505=Versión de HTTP No Soportada
  -
  -servletOutputStreamImpl.write.iae=longitud de escritura incorrecta: {0}
  -servletOutputStreamImpl.fmt.not_iso8859_1=No es un carácter ISO 8859_1:{0}
   servletOutputStreamImpl.reset.ise=No puedo reiniciar el buffer después de 
escribirlo hacia el cliente
   servletOutputStreamImpl.setbuffer.ise=especificando el buffer después de escribirlo 
al writer
   
  @@ -185,3 +175,8 @@
   # service/Endpoint
   endpoint.run.ioe=Una IOException ocurrió mientras se aceptaban conexiones 
en:\n\tinet: {0}\n\tpuerto: {1}\n\t Excepción: {2}
   endpoint.err.fatal=El Endpoint {0} fue parado debido a una excepción; {1}
  +sc.207=Multi-Status
  +sc.422=Entidad no procesable
  +sc.424=Dependencia Fallada
  +sc.507=Almacenamiento insuficiente
  +hsrf.error.ise=La respuesta ha sido ya escrita
  
  
  

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




cvs commit: jakarta-tomcat/src/tests/share/tests/jsp/Golden PrintWriterTest.txt

2001-02-04 Thread nacho

nacho   01/02/04 14:05:18

  Modified:src/tests/share/tests/jsp/Golden PrintWriterTest.txt
  Log:
  Golden files cannot include localized messages.
  
  XXX we need to deal with this in a more elaborated way ?
  
  Perhaps a easy way is to have the national languaje version
  of the Golden file in properties flavour ?
  
  Comments are welcome..
  
  Revision  ChangesPath
  1.3   +1 -2  
jakarta-tomcat/src/tests/share/tests/jsp/Golden/PrintWriterTest.txt
  
  Index: PrintWriterTest.txt
  ===
  RCS file: 
/home/cvs/jakarta-tomcat/src/tests/share/tests/jsp/Golden/PrintWriterTest.txt,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- PrintWriterTest.txt   2001/01/31 02:05:54 1.2
  +++ PrintWriterTest.txt   2001/02/04 22:05:17 1.3
  @@ -1,5 +1,4 @@
  -Included servlet error: 500
  -java.lang.IllegalStateException: getOutputStream() has already been called
  +java.lang.IllegalStateException: getOutputStream()
   !=
   PreInclude
   PostInclude
  
  
  

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




Working combination of apache+lservModule+tomcat? or IIS5 + tomcat?

2001-02-04 Thread Charles Chen


Hi,

Sorry if this is not the right list to ask such a simple question. I thought
this list are read by all those tomcat experts and therefore may get this
answer more quickly.

I am on Win2K platform and have been struggling to get the Java web app
running under apache+tomcat. It is all due to choosing the correct version
of the software I guess, but it is also too difficult to find out those
right versions from the web.

Could someone tell me what is the working combination of apache +
JservModule + tomcat? I downloaded all the latestes version (Apache 1.1.13 +
tomcat 3.2.1). It did not work! I managed to get them all installed and
configured. Apache was started with no complains. But I could not request
any jsp or servlet services.

It is a similar problem I have with the IIS 5.0 + tomcat combination. It did
not work on Win2K. Only if I am willing to go back to IIS4 and some older
version of tomcat might I get it working. But I would like to use the latest
servlet API (at least 2.2).

Any help or pointers would be appreciated.


Many thanks and regards,



Charles



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Dan Milstein
Sent: 04 February 2001 19:18
To: [EMAIL PROTECTED]
Subject: Tomcat 3 Connector Default Bug Owner


Craig (or anyone who has admin control over Bugzilla),

I notice that you're set as the "default owner" for the "connectors"
component for bugs within Tomcat 3.  I'd like to volunteer to take that role
over (for the time being, at least), but I don't know how to reset that.

Can someone set this up / explain to me how to do so?

-Dan

--

Dan Milstein // [EMAIL PROTECTED]

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



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




[Bug 266] Changed - Session encodeURL not working in 3.2beta8 with SSL and mod_jk BugRat Report#477

2001-02-04 Thread bugzilla

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=266

*** shadow/266  Sun Feb  4 11:11:58 2001
--- shadow/266.tmp.3581 Sun Feb  4 11:25:51 2001
***
*** 2,9 
  | Session encodeURL not working in 3.2beta8 with SSL and mod_jk BugRat Repor |
  ++
  |Bug #: 266 Product: Tomcat 3|
! |   Status: UNCONFIRMED Version: 3.2 Final   |
! |   Resolution:Platform: All |
  | Severity: Normal   OS/Version: All |
  | Priority: High  Component: Connectors  |
  ++
--- 2,9 
  | Session encodeURL not working in 3.2beta8 with SSL and mod_jk BugRat Repor |
  ++
  |Bug #: 266 Product: Tomcat 3|
! |   Status: RESOLVEDVersion: 3.2 Final   |
! |   Resolution: DUPLICATE  Platform: All |
  | Severity: Normal   OS/Version: All |
  | Priority: High  Component: Connectors  |
  ++
***
*** 24,26 
--- 24,32 
  to be in Tomcat code.
  (Because it depends on the tomcat version(3.2beta5:ok 3.2beta8:fails) not
  the mod_jk version)
+ 
+ 
+ --- Additional Comments From [EMAIL PROTECTED]  2001-02-04 11:25 ---
+ 
+ 
+ *** This bug has been marked as a duplicate of 269 ***

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




Tomcat 3 Connector Default Bug Owner

2001-02-04 Thread Dan Milstein

Craig (or anyone who has admin control over Bugzilla),

I notice that you're set as the "default owner" for the "connectors"
component for bugs within Tomcat 3.  I'd like to volunteer to take that role
over (for the time being, at least), but I don't know how to reset that.

Can someone set this up / explain to me how to do so?

-Dan

-- 

Dan Milstein // [EMAIL PROTECTED]

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




[Bug 269] Changed - encodeURL() not working in SSL Scheme (Bug in HttpServletResponseFacade.toAbsolut(String url)) BugRat Report#487

2001-02-04 Thread bugzilla

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=269

*** shadow/269  Thu Feb  1 03:04:01 2001
--- shadow/269.tmp.2767 Sun Feb  4 11:14:35 2001
***
*** 2,13 
  | encodeURL() not working in SSL Scheme (Bug in HttpServletResponseFacade.to |
  ++
  |Bug #: 269 Product: Tomcat 3|
! |   Status: NEW Version: 3.2.1 Final |
  |   Resolution:Platform: All |
  | Severity: Normal   OS/Version: All |
! | Priority: High  Component: Unknown |
  ++
! |  Assigned To: [EMAIL PROTECTED]  |
  |  Reported By: [EMAIL PROTECTED] |
  |  CC list: Cc:  |
  ++
--- 2,13 
  | encodeURL() not working in SSL Scheme (Bug in HttpServletResponseFacade.to |
  ++
  |Bug #: 269 Product: Tomcat 3|
! |   Status: UNCONFIRMED Version: Nightly Build   |
  |   Resolution:Platform: All |
  | Severity: Normal   OS/Version: All |
! | Priority: High  Component: Connectors  |
  ++
! |  Assigned To: [EMAIL PROTECTED] |
  |  Reported By: [EMAIL PROTECTED] |
  |  CC list: Cc:  |
  ++

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




[Bug 266] New - Session encodeURL not working in 3.2beta8 with SSL and mod_jk BugRat Report#477

2001-02-04 Thread bugzilla

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=266

*** shadow/266  Sun Feb  4 11:11:58 2001
--- shadow/266.tmp.2755 Sun Feb  4 11:11:58 2001
***
*** 0 
--- 1,26 
+ ++
+ | Session encodeURL not working in 3.2beta8 with SSL and mod_jk BugRat Repor |
+ ++
+ |Bug #: 266 Product: Tomcat 3|
+ |   Status: UNCONFIRMED Version: 3.2 Final   |
+ |   Resolution:Platform: All |
+ | Severity: Normal   OS/Version: All |
+ | Priority: High  Component: Connectors  |
+ ++
+ |  Assigned To: [EMAIL PROTECTED] |
+ |  Reported By: [EMAIL PROTECTED]|
+ |  CC list: Cc:  |
+ ++
+ |  URL:  |
+ ++
+ |  DESCRIPTION   |
+ Session management without cookies, by
+ URL-rewriting is not working with mod_jk in an SSL Connection
+ 
+ It works fine again in 3.2beta8 (Using Apache and mod_jk(ajp12) as frontend)
+ unless SSL (by apache not tomcat) is used.
+ In this case the URL don't get rewritten.
+ I first thought it was the unfortuneatly less maintained mod_jk but it seems
+ to be in Tomcat code.
+ (Because it depends on the tomcat version(3.2beta5:ok 3.2beta8:fails) not
+ the mod_jk version)

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




[Bug 111] New - after httpd reload mod_jk fails to find a worker BugRat Report#118

2001-02-04 Thread bugzilla

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=111

*** shadow/111  Sun Feb  4 11:06:43 2001
--- shadow/111.tmp.2735 Sun Feb  4 11:06:43 2001
***
*** 0 
--- 1,61 
+ ++
+ | after httpd reload mod_jk fails to find a worker BugRat Report#118 |
+ ++
+ |Bug #: 111 Product: Tomcat 3|
+ |   Status: UNCONFIRMED Version: Unknown |
+ |   Resolution:Platform: All |
+ | Severity: Normal   OS/Version: All |
+ | Priority: High  Component: Connectors  |
+ ++
+ |  Assigned To: [EMAIL PROTECTED] |
+ |  Reported By: [EMAIL PROTECTED]  |
+ |  CC list: Cc:  |
+ ++
+ |  URL:  |
+ ++
+ |  DESCRIPTION   |
+ jk.log before and after /etc/rc.d/init.d/httpd reload
+ 
+ 
+ [jk_uri_worker_map.c (344)]: Into jk_uri_worker_map_t::map_uri_to_worker
+ [jk_uri_worker_map.c (406)]: jk_uri_worker_map_t::map_uri_to_worker, Found a match 
+65245
+ [jk_worker.c (123)]: Into wc_get_worker_for_name 65245
+ [jk_worker.c (127)]: wc_get_worker_for_name, done  found a worker
+ [jk_ajp12_worker.c (223)]: Into jk_worker_t::get_endpoint
+ [jk_ajp12_worker.c (121)]: Into jk_endpoint_t::service
+ [jk_connect.c (108)]: Into jk_open_socket
+ [jk_connect.c (115)]: jk_open_socket, try to connect socket = 9
+ [jk_connect.c (124)]: jk_open_socket, after connect ret = 0
+ [jk_connect.c (132)]: jk_open_socket, set TCP_NODELAY to on
+ [jk_connect.c (140)]: jk_open_socket, return, sd = 9
+ [jk_ajp12_worker.c (134)]: In jk_endpoint_t::service, sd = 9
+ [jk_ajp12_worker.c (357)]: Into ajpv12_handle_request
+ [jk_ajp12_worker.c (361)]: ajpv12_handle_request, sending the ajp12 start sequence
+ [jk_ajp12_worker.c (413)]: ajpv12_handle_request, sending the headers
+ [jk_ajp12_worker.c (432)]: ajpv12_handle_request, sending the terminating mark
+ [jk_ajp12_worker.c (472)]: ajpv12_handle_request done
+ [jk_ajp12_worker.c (148)]: In jk_endpoint_t::service, sent request
+ [jk_ajp12_worker.c (488)]: Into ajpv12_handle_response
+ [jk_ajp12_worker.c (502)]: ajpv12_handle_response, read Status: 200 OK
+ [jk_ajp12_worker.c (530)]: ajpv12_handle_response, read Status=200 OK
+ [jk_ajp12_worker.c (502)]: ajpv12_handle_response, read Content-Type: 
+text/html;charset=8859_1
+ [jk_ajp12_worker.c (530)]: ajpv12_handle_response, read 
+Content-Type=text/html;charset=8859_1
+ [jk_ajp12_worker.c (542)]: ajpv12_handle_response, allocating header arrays
+ [jk_ajp12_worker.c (502)]: ajpv12_handle_response, read Servlet-Engine: Tomcat Web 
+Server/3.2 beta 2 (JSP 1.1; Servlet 2.2; Java 1.3.0; Linux 2.2.16-3smp x86; 
+java.vendor=IBM Corporation)
+ [jk_ajp12_worker.c (530)]: ajpv12_handle_response, read Servlet-Engine=Tomcat Web 
+Server/3.2 beta 2 (JSP 1.1; Servlet 2.2; Java 1.3.0; Linux 2.2.16-3smp x86; 
+java.vendor=IBM Corporation)
+ [jk_ajp12_worker.c (502)]: ajpv12_handle_response, read 
+ [jk_ajp12_worker.c (504)]: ajpv12_handle_response, headers are done
+ [jk_ajp12_worker.c (563)]: ajpv12_handle_response, starting response
+ [jk_ajp12_worker.c (574)]: ajpv12_handle_response, reading response body
+ [jk_ajp12_worker.c (590)]: ajpv12_handle_response, response body is done
+ [jk_ajp12_worker.c (602)]: ajpv12_handle_response done
+ [jk_ajp12_worker.c (163)]: Into jk_endpoint_t::done
+ 
+ /etc/rc.d/init.d/httpd reload
+ 
+ [jk_uri_worker_map.c (344)]: Into jk_uri_worker_map_t::map_uri_to_worker
+ [jk_uri_worker_map.c (406)]: jk_uri_worker_map_t::map_uri_to_worker, Found a match 
+65245
+ [jk_worker.c (123)]: Into wc_get_worker_for_name 65245
+ [jk_worker.c (127)]: wc_get_worker_for_name, done did not found a worker
+ 
+ 

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




[Bug 100] New - wild card mapping to servlet doesn't work through apache BugRat Report#94

2001-02-04 Thread bugzilla

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=100

*** shadow/100  Sun Feb  4 11:05:05 2001
--- shadow/100.tmp.2727 Sun Feb  4 11:05:05 2001
***
*** 0 
--- 1,30 
+ ++
+ | wild card mapping to servlet doesn't work through apache BugRat Report#94  |
+ ++
+ |Bug #: 100 Product: Tomcat 3|
+ |   Status: UNCONFIRMED Version: Unknown |
+ |   Resolution:Platform: Sun |
+ | Severity: Normal   OS/Version: All |
+ | Priority: High  Component: Connectors  |
+ ++
+ |  Assigned To: [EMAIL PROTECTED] |
+ |  Reported By: [EMAIL PROTECTED]  |
+ |  CC list: Cc:  |
+ ++
+ |  URL:  |
+ ++
+ |  DESCRIPTION   |
+ I downloaded Oracles XML Servlet to run under apache-tomcat and followed the install 
+instructions.  When I put in http://myhost:8080/xsql/anyfile.xsql the servlet is 
+invoked.  When I put in http://myhost/xsql/servlet/.xsql I get a 
+java.lang.ClassNotFoundException: anyfile.xsql in the tomcat.log.  
+ Apache is config correctly:
+ 
+ Alias /xsql /usr/local/tomcat/webapps/xsql
+ 
+ Options Indexes FollowSymLinks
+ 
+ ApJServMount /xsql/servlet /xsql
+ 
+ AllowOverride None
+ deny from all
+ 
+ 
+ As is tomcat context and xsql/WEB-INF/web.xml which maps the servlet to *.xsql 
+files.  The problem appears when the URL goes through mod_jserv then over to tomcat.  
+ANy fixes out there?

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




[Bug 208] New - request.getRemoteHost() returns empty string when using mod_jserv BugRat Report#320

2001-02-04 Thread bugzilla

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=208

*** shadow/208  Sun Feb  4 11:09:18 2001
--- shadow/208.tmp.2745 Sun Feb  4 11:09:19 2001
***
*** 0 
--- 1,16 
+ ++
+ | request.getRemoteHost() returns empty string when using mod_jserv BugRat R |
+ ++
+ |Bug #: 208 Product: Tomcat 3|
+ |   Status: UNCONFIRMED Version: 3.1 Final   |
+ |   Resolution:Platform: All |
+ | Severity: Normal   OS/Version: All |
+ | Priority: High  Component: Connectors  |
+ ++
+ |  Assigned To: [EMAIL PROTECTED] |
+ |  Reported By: [EMAIL PROTECTED]  |
+ |  CC list: Cc:  |
+ ++
+ |  URL:  |
+ ++
+ |  DESCRIPTION   |

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




[Bug 89] New - URLs changed by mod_rewrite are not taken into account by AjpConnectionHandler BugRat Report#64

2001-02-04 Thread bugzilla

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=89

*** shadow/89   Sun Feb  4 11:01:02 2001
--- shadow/89.tmp.2715  Sun Feb  4 11:01:02 2001
***
*** 0 
--- 1,151 
+ ++
+ | URLs changed by mod_rewrite are not taken into account by AjpConnectionHan |
+ ++
+ |Bug #: 89  Product: Tomcat 3|
+ |   Status: UNCONFIRMED Version: 3.1 Final   |
+ |   Resolution:Platform: All |
+ | Severity: Normal   OS/Version: All |
+ | Priority: High  Component: Connectors  |
+ ++
+ |  Assigned To: [EMAIL PROTECTED] |
+ |  Reported By: [EMAIL PROTECTED]|
+ |  CC list: Cc:  |
+ ++
+ |  URL:  |
+ ++
+ |  DESCRIPTION   |
+ Using apache1.3.12, tomcat3.1
+ 
+ mod_jserv + Tomcat do not deal properly with rewritten URIs. 
+ With this mount point:
+   ApJServMount /wdlcontext  ajpv12://localhost:8008/wdlcontext1.4.0
+ this request:
+   /wdlcontext/wdlInstall?blabla
+ will fail because tomcat will only use the original URI passed by mod_jserv
+ instead of using the context set by mod_jserv. 
+ 
+ This is very problematic when using mod_rewrite.
+ 
+ A patch-candidate for Ajp12ConnectionHandler.java is at the end. 
+ Could somebody please review it?
+ 
+ thanks.
+ 
+ jpa
+ 
+ 
+  debug message before the fix ===
+ ==> /local/jakarta-tomcat/logs/tomcat.log <==
+ AJP: CP=wdlcontext1.4.0
+ AJP: context=null
+ AJP: servlet=wdlInstall
+ AJP: serverName=dev.phoenixnet.com
+ AJP: PI=null
+ AJP: PT=null
+ AJP: QS=null
+ AJP: RA=134.122.3.102
+ AJP: RH=
+ AJP: RU=null
+ AJP: AT=null
+ AJP: Meth=GET
+ AJP: URI: /wdlcontext/wdlInstall CP:wdlcontext1.4.0 LP: null
+ AJP: URI: /wdlcontext/wdlInstall CP:wdlcontext1.4.0 LP: null
+ AJP: serverName=jabgrall2
+ AJP: Server jvmRoute=null
+ Request: /wdlcontext/wdlInstall
+ Query: null
+ ProcessRequest: R( /wdlcontext/wdlInstall)
+ 
+  debug message after the fix 
+ ==> /local/jakarta-tomcat/logs/tomcat.log <==
+ AJP: CP=wdlcontext1.4.0
+ AJP: context=Ctx(/wdlcontext1.4.0,/local/ebetween/contexts/wdlcontext1.4.0)
+ AJP: servlet=wdlInstall
+ AJP: serverName=dev.phoenixnet.com
+ AJP: PI=null
+ AJP: PT=null
+ AJP: QS=null
+ AJP: RA=134.122.3.102
+ AJP: RH=
+ AJP: RU=null
+ AJP: AT=null
+ AJP: Meth=GET
+ AJP: URI: /wdlcontext/wdlInstall CP:wdlcontext1.4.0 LP: null
+ AJP: URI: /wdlcontext/wdlInstall CP:wdlcontext1.4.0 LP: /wdlInstall
+ AJP: serverName=jabgrall2
+ AJP: Server jvmRoute=null
+ Request: /wdlcontext/wdlInstall
+ Query: null
+ ProcessRequest: R( /wdlcontext1.4.0 + /wdlInstall)
+ After processing: R( /wdlcontext1.4.0 + /wdlInstall + null)
+ 
+ 
+  PATCH FOR AJPV12 context lookup fix =
+ --- Ajp12ConnectionHandler.java Thu Apr  6 19:11:36 2000
+ +++ Ajp12ConnectionHandler.java.fix Sat Aug 12 22:30:36 2000
+ @@ -224,6 +224,16 @@
+ 
+ if( contextPath!= null )
+ context=contextM.getContext( contextPath );
+ +   /* 
+ +* XXX jpa:2817
+ +* With this mount:
+ +*ApJServMount /wdlcontext1.4.0
+ ajpv12://localhost:8008/wdlcontext1.4.0
+ +* mod_jserv will return 'wdlcontext1.4.0' as the
+ mountpoint (=context)
+ +*  instead of '/wdlcontext1.4.0'
+ +* So let's try to fix it by adding the 
+ +*/
+ +   if( context == null )
+ +   context=contextM.getContext( "/" + contextPath ); 
+ if( doLog ) log("AJP: context=" + context );
+ 
+ servletName = ajpin.readString(null); //Servlet
+ @@ -264,10 +274,25 @@
+ requestURI = ajpin.readString(""); //request
+ uri
+ if( doLog ) log("AJP: URI: " + requestURI + " CP:" +
+ contextPath + " LP: " + lookupPath);
+  
+ -   // XXX don't set lookup path - problems with URL
+ rewriting.
+ -   // need to be fixed.
+ -   //  if(contextPath!=null && contextPath.length()
+ >0 )
+ -   //  lookupPath=requestURI.substring(
+