Re:[VOTE] Tomcat 4.0.2 b2 release

2002-02-22 Thread Jonathan Pierce
Since 4.0.2 is already released, shouldn't this be tagged 4.0.3b2 ? Reply Separator Subject:[VOTE] Tomcat 4.0.2 b2 release Author: Tomcat Developers List [EMAIL PROTECTED] Date: 1/16/2002 3:10 PM Hi, I think it would be good to tag Tomcat

Re[2]:[VOTE] Tomcat 4.0.2 b2 release

2002-02-22 Thread Jonathan Pierce
Please ignore my last message, my mailer delivered the last email late to me so I thought you were planning another release. Sorry Reply Separator Subject:Re:[VOTE] Tomcat 4.0.2 b2 release Author: Tomcat Developers List [EMAIL PROTECTED] Date:

Re[2]: Re[2]: cvs commit: jakarta-tomcat-connectors/jk/java/

2002-02-21 Thread Jonathan Pierce
The nightlies are for the HEAD branch, not the 4.0 branch. In the HEAD: - tomcat-jk.jar is JK 1.x; that's equivalent to the current tomcat-ajp.jar - tomcat-jk2.jar is JK 2.x The two are independent. I guess tonight's nightly should pick up the changes. The fix for the ajp connector

Updated Fix for AJP13 Connector Authentication Bug !!!

2002-02-15 Thread Jonathan Pierce
I looked over the patch I supplied yesterday and realized that this original line (String remoteUser = ajp.remoteUser().toString();) could cause a null pointer exception if the ajp.remoteUser() returns null. Since the original code checked for null, it is probably safer to check for null on

Re:cvs commit: jakarta-tomcat-connectors/jk/java/org/apache/

2002-02-15 Thread Jonathan Pierce
It looks like you accidently removed the empty string check needed here for ajp.RemoteUser (). ajp.RemoteUser () should probably also be checked whether it is null before calling toString. //if ((!(((Ajp13Connector) connector).getTomcatAuthentication())) // (ajp.remoteUser() != null)) {

Re[2]:cvs commit: jakarta-tomcat-connectors/jk/java/org/apac

2002-02-15 Thread Jonathan Pierce
No, I did it on purpose. It's a lot better to have the user set the behavior of the connector here. I don't understand what you mean here. If you want tomcat to authenticate, and the userid is passed in, your code doesn't call setUserPrincipal. When the userid passed in is the empty string

Re[2]: cvs commit: jakarta-tomcat-connectors/jk/java/org/apa

2002-02-15 Thread Jonathan Pierce
Ok, I understand now. I tested the case through the connector where you do want tomcat authentication and the user principal is always set to null and everything worked fine with the /examples/jsp/security/protected/index.html example. I was able to login and logout as expected and see the user

Fix for AJP13 Connector Authentication Bug !!!

2002-02-14 Thread Jonathan Pierce
I've confirmed the fix for the AJP13 Connector / Authentication problem in 4.0.2. This solves high priority bugs 5647 and 6219. Please have one of the committers confirm the fix and check it in to cvs. The issue was reported in Bug 6219. I tested the following modification and it seems to

Re[2]: Native Connector problems

2002-02-13 Thread Jonathan Pierce
Where are the binary builds of the native connectors for 4.0.2? When can we expect them? Can you quantify the term shortly? Jonathan Reply Separator Subject:Re: Native Connector problems Author: Tomcat Developers List [EMAIL PROTECTED] Date:

Re:Tomcat 4 JDBCRealm Connection Pooling

2002-02-13 Thread Jonathan Pierce
It would be nice to reference the JDBC data source rather than configuring the realm seperately. The problem I see is that the Realm is global in server.xml and the data sources are specific to individual contexts. Should the realm be moved into the context so that different contexts could be

Re:native connectors for iis and netscape/solaris available

2002-02-13 Thread Jonathan Pierce
i've uploaded native jk1 connectors for iis and netscape/solaris. 1. How did you build it? There were files referenced by the Visual Studio projects that were missing in the jakarta-tomcat-connectors-4.0.2-src.zip. When I tried to build it, I needed to add some files from the cvs. You might

Native Connector Builds - When?

2002-02-12 Thread Jonathan Pierce
Note: RPMs and binaries of native connectors will be made available shortly. When can we expect to see builds of native connectors? I'm waiting for the build of the iisapi native connector for IIS. My attempts to build it from the 4.0.2 connector source required me to copy some missing files

Re:Connectors, Realms, 4.0.2b2 - 403 Access Denied

2002-02-05 Thread Jonathan Pierce
I'm posting this question a second time since I am not sure if mailer problems on my end prevented it from reaching the list and I got no responses on the issue. The security implementation in Tomcat 4.0.2b2 and earlier seems to depend on using redirect urls. This doesn't seem to work correctly

Connectors, Realms, 4.0.2b2 - 403 Access Denied

2002-02-01 Thread Jonathan Pierce
I've configured Tomcat4.0.2b2 with the AJP 1.3 Connector and successfully installed the iisapi dll from Tomcat3.3 into IIS. I am attempting to serve a protected page through the connector using the protected realm example. When I hit the page directly on port 8080, I get the expected login

why - jaxp.jar two places in Tomcat4.0b7 dist

2001-08-17 Thread Jonathan Pierce
Two copies of the jaxp.jar file are in the 4.0b7 dist. Shouldn't they be moved in /common/lib/ so that only one copy exists in the class path? /jasper/jaxp.jar /server/lib/jaxp.jar

Re[2]: why - jaxp.jar two places in Tomcat4.0b7 dist

2001-08-17 Thread Jonathan Pierce
On Fri, 17 Aug 2001, Jonathan Pierce wrote: Two copies of the jaxp.jar file are in the 4.0b7 dist. Shouldn't they be moved in /common/lib/ so that only one copy exists in the class path? /jasper/jaxp.jar /server/lib/jaxp.jar See the RELEASE-NOTES-4.0-B7.txt (or whatever for your version

Servlet Forward to Self? 4.0b7

2001-08-14 Thread Jonathan Pierce
I'm not sure whether it is legal, but Tomcat 4.0b7 doesn't like it very much. I'm trying to forward a request back to the same servlet with a different query string that dispatches the way the request is handled within the servlet. Tomcat4.0b7 gets an error trying to allocate the servlet again

Re[2]: Servlet Forward to Self? 4.0b7

2001-08-14 Thread Jonathan Pierce
why are you encoding the url? DOing that will cause ? and = to be encoded as %whatever; so the query string wont be interpreted as you intend. Not true, I am encoding the URL because I sometimes include quotes. It's not the issue here though, since it behaves the same way without encoding the

4.0b7 war/context Base Directory problem

2001-08-13 Thread Jonathan Pierce
In 4.0b7, I can't get war files to expand at startup in time for a context in the server.xml directory to not complain. I'm trying to put a war file in the webapps directory and define a context that references the expanded version of the war but Tomcat 4.0b7 complains at startup that the

Re[2]: 4.0b7 war/context Base Directory problem

2001-08-13 Thread Jonathan Pierce
/2001 4:06 PM Jonathan Pierce at [EMAIL PROTECTED] wrote: In 4.0b7, I can't get war files to expand at startup in time for a context in the server.xml directory to not complain. I'm trying to put a war file in the webapps directory and define a context that references the expanded version

JDBC Realm Questions Tomcat 3.2.2

2001-07-03 Thread Jonathan Pierce
This may be a stupid question but I've found hundreds of messages from confused users on the subject of JDBC Realms and Tomcat and no good explanation or example. There is a documentation file JDBCRealm.howto but it doesn't describe how to instantiate the datasource with a code example or what

Loading Libraries from Tomcat lib folder

2001-05-18 Thread Jonathan Pierce
In tomcat-3.2.2b5 and earlier, the tomcat.bat and tomcat.sh have inconsistent behavior as tomcat.sh loads all files in the tomcat lib folder and tomcat.bat only loads the ones with .jar extension. I think they should be changed to behave consistently so lib files don't need to be renamed when

.zip lib files

2001-05-07 Thread Jonathan Pierce
All, In tomcat.bat, there is logic that dynamically loads .jar files from the lib directory. Should this be extended to include .zip files as well, since some vendors distribute libs with the .zip extension? For example, Oracle distributes their jdbc thin client driver as: classes12_01.zip I

Re:Enterprise Tomcat

2000-12-18 Thread Jonathan Pierce
I am using Tomcat as the enterprise servlet container in production for our B2B E-Commerce servlet and several intranet applications at Joseph E. Seagram Sons, Inc. I'm using the ISAPI filter and an SSL connection to IIS. The URL is only for our distributors to use, but you can hit the login