Re: Proposed ApacheConfig.java change

2001-03-05 Thread Endre Stølsvik
On Sat, 3 Mar 2001 [EMAIL PROTECTED] wrote: | Costin, | | I would strongly vote for turning the auto-config back on by default for the | following reasons (other than the fact that I explicity turned it back on | when Keith fixed the ApacheConfig class): | | You don't need a "strong" vote -

classname is null, who added this ? error message.

2001-03-05 Thread Hariharasubramanian Ranganathan
Hi All, When I refresh the browser after updating the servlet, I get the following error. What could be the problem? Thanks, Hari. Error: 500 Location: /webconsole/html/index.htmlInternal Servlet Error:java.lang.IllegalStateException: Can't happen - classname is null, who added this ?

Re: Volunteer: Connectors?

2001-03-05 Thread Alex Fernández
Hi Carlos! The full Tomcat 3.3m1 class diagram and javadoc is already up for everyone to peruse: http://nagoya.apache.org/~costin/tomcat3 Un saludo, Alex. Carlos Gaston Alvarez wrote: Could you send it to me too, please. I am next to finishing the jsp compacter I promised but I will

Re: Some benchmarks

2001-03-05 Thread Rick Knowles
I know some guys at probably the biggest dot com in Japan (fill in the blanks), who tried out servlet engines looking for the elusive "next-generation" engine. They said they tried Weblogic, JRun and another one I can't remember as well as tomcat. they found that with the same code, they were

[TOMCAT 4.x SSI] Update

2001-03-05 Thread Bip Thelin
Here's an update of the SSI package I submitted a week ago. The "only" SSI command that has been added is 'echo', example. !--# echo var="SERVER_NAME"--. The main part of the update is a major rewrite of code/[structure|pattern]. Please let me know if you find bugs/flaws. I appologize for the

RE: [PATCH] Bug 841 - JSPC stack fault on NT

2001-03-05 Thread Steve Downey
That's because in the JspEngineContext it gets to work purely URI name space, not filesystem name space. It never gets file names, just URI's that address jsp pages. JSPC 'knows' that it's in filesystem space, and does things like parse the file names for directories, looking for one that

cannot instantiate class exception in Realm

2001-03-05 Thread DUDGEON
I posted this to tomcat-user but got no replies. Perhaps tomcat-dev is more appropriate, as it is a programming problem. Can anyone help? Although I've been using tomacat for sometime, I'm now needeing to start on some work to match up the authentication and authorisation within catalina to our

cvs commit: jakarta-tomcat/src/doc readme

2001-03-05 Thread marcsaeg
marcsaeg01/03/05 06:26:36 Modified:src/doc Tag: tomcat_32 readme Log: Updates for 3.2.2. Why do we have two release notes files (doc/readme and RELEASE-NOTES) and why are they different? Revision ChangesPath No revision No

Re: Some benchmarks

2001-03-05 Thread Pier P. Fumagalli
Rick Knowles [EMAIL PROTECTED] wrote: They were in the process of switching to Catalina when I spoke to them. Moral of the story is well done guys :). And... KUDOS to Craig :) :) :) Pier -- Pier

[TC4] Proposed change to Session interface

2001-03-05 Thread Richard Frazer
Hello, I've been working lately on integrating Tomcat into our server. In order to do so, we need to generate our own session ids. Therefore we need our own Manager implementation. Since we've got our own Manager, we'd like to assign that Manager to the Engine or the Host instead of to each

cvs commit: jakarta-tomcat/src/admin/WEB-INF/scripts watchdog-servlet.xml

2001-03-05 Thread larryi
larryi 01/03/05 09:32:21 Modified:src/admin/WEB-INF/scripts watchdog-servlet.xml Log: Update for Jaxp's new location. Revision ChangesPath 1.3 +2 -2 jakarta-tomcat/src/admin/WEB-INF/scripts/watchdog-servlet.xml Index: watchdog-servlet.xml

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

2001-03-05 Thread larryi
larryi 01/03/05 09:38:47 Modified:src/share/org/apache/tomcat/startup Main.java Log: Remove use of "tomcat.cp" system property which has been replaced by "org.apache.tomcat.apps.classpath" and "org.apache.tomcat.common.classpath" system properties. Submitted by: William

Re: Using Tomcat4.0 (CVS) with xerces

2001-03-05 Thread jean-frederic clere
"Craig R. McClanahan" wrote: jean-frederic clere wrote: Hi, There is (still) a problem using xerces with Tomcat4.0: Could you expand on precisely what JAR files you have in what directories when it fails, and when it succeeds? The result of build.sh gives the following jar files:

Re: [TOMCAT 4.x SSI] Update

2001-03-05 Thread Hans Bergsten
Bip Thelin wrote: Here's an update of the SSI package I submitted a week ago. The "only" SSI command that has been added is 'echo', example. !--# echo var="SERVER_NAME"--. [...] Sorry, I should have commented on this earlier. It seems like you could save a lot of time on this by porting the

cvs commit: jakarta-tomcat changes3.3

2001-03-05 Thread melaquias
melaquias01/03/05 11:52:15 Modified:.changes3.3 Log: no message Revision ChangesPath 1.7 +15 -0 jakarta-tomcat/changes3.3 Index: changes3.3 === RCS file:

Patch for HTTP protocol bug in jakarta-apache

2001-03-05 Thread David Campbell
Hi, I would like to contribute the diff below, that should correct a current HTTP protocol violation in virtually every request served by jakarta-apache, and prevents jakarta-apache URLs being opened by various strict HTTP clients such as PHP and Yospace SmartPhone WAP browser. The problem has

RE: Patch for HTTP protocol bug in jakarta-apache

2001-03-05 Thread Marc Saegesser
What version are you using? I've verified that the reason phrase is being sent back on all the tests that I've run. Do you have a specific example of a request that doesn't work? Include a packet capture if possible. -Original Message- From: David Campbell [mailto:[EMAIL PROTECTED]]

cvs commit: jakarta-tomcat/src/build/nightly README functions_build.sh

2001-03-05 Thread larryi
larryi 01/03/05 13:25:44 Modified:src/build/nightly README functions_build.sh Log: build.xml copies jaxp.jar and parser.jar to the "lib/container" directory. I don't think we need these copies in the "lib" directory anymore. The watchdog-servlet.xml script was updated to look

[GUMP] Build Failure - Tomcat 3.x

2001-03-05 Thread Sam Ruby
This email is autogenerated from the output from: http://jakarta.apache.org/builds/gump/2001-03-05/jakarta-tomcat.html Buildfile: build.xml init: prepare: [mkdir] Created dir:

Spec Compliance: getRequestedSessionId(), ...

2001-03-05 Thread Marc Saegesser
I'm reviewing Bugzilla bugs in preparation of the Tomcat 3.2.2 release. Bugzilla 160 has been open since Tomcat 3.1 and it looks like its real and that it violates the Servlet 2.2 spec. I want to make sure I am correctly interpretting the spec before I dig too deep. I'll send a similar message

RE: cvs commit: jakarta-tomcat/src/share/org/apache/jasper/runtime BodyContentImpl.java

2001-03-05 Thread Andrew Gilbert
Thanks. I missed the obvious in the double array copy. Still, by doubling the buffer size each time instead of incrementally increasing we are getting double the speed with our degenerate test case. 1. Original - 22 seconds 2. As patched here - 13 seconds 3. With doubling of buffer as well - 6

Re: [GUMP] Build Failure - Tomcat 3.x

2001-03-05 Thread Sam Ruby
Costin Manolache wrote: Is there any reasonable explanation for changing the ant structure ( i.e. removing ant/bin ) ? Besides breaking backward compatibility and forcing people to change their scripts I can fix by specifying ant.home. What tomcat depends on is the distribution layout,

Assigning Servlets to different ports.

2001-03-05 Thread William Wishon
Hi, My goal is to be able to have different servlets mapped to "/" on different ports. I have not found any way to do this in server.xml, so I started grep'ing and groveling through the code to find out more. Now as far as I can tell right now what I want to do is not possible using

Re: [GUMP] Build Failure - Tomcat 3.x

2001-03-05 Thread cmanolache
I can fix by specifying ant.home. What tomcat depends on is the distribution layout, i.e., "../jakarta-ant/dist". Well, tomcat depends on having ant binaries ( in the normal format ) in ant.home. The convention used is that "foo.home" is the place where a foo distribution is installed, it

Re: Spec Compliance: getRequestedSessionId(), ...

2001-03-05 Thread Hans Bergsten
Marc Saegesser wrote: I'm reviewing Bugzilla bugs in preparation of the Tomcat 3.2.2 release. Bugzilla 160 has been open since Tomcat 3.1 and it looks like its real and that it violates the Servlet 2.2 spec. I want to make sure I am correctly interpretting the spec before I dig too deep.

Re: [TOMCAT 4.x SSI] Update

2001-03-05 Thread Hans Bergsten
Bip Thelin wrote: Hans Bergsten wrote: Sorry, I should have commented on this earlier. It seems like you could save a lot of time on this by porting the JSSI package (from java,apache.org) instead of implementing SSI from scratch. I did that not too long ago for Tomcat 3.2. For

Re: [GUMP] Build Failure - Tomcat 3.x

2001-03-05 Thread Sam Ruby
Costin Manolache wrote: Well, tomcat depends on having ant binaries ( in the normal format ) in ant.home. Turns out I had made a change in the jakarta-ant definition (in order to work around another problem), so the ant.home I was passing in the jakarta-tomcat build was not valid. My bug.

cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/facade HttpServletRequestFacade.java

2001-03-05 Thread marcsaeg
marcsaeg01/03/05 17:13:05 Modified:src/share/org/apache/tomcat/facade Tag: tomcat_32 HttpServletRequestFacade.java Log: The isRequestedSessionIdValid() should be based on the value of getRequestedSessionId(). Instead of just checking that

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

2001-03-05 Thread glenn
glenn 01/03/05 17:42:55 Modified:catalina/src/share/org/apache/catalina/startup Bootstrap.java Log: Add classes directory URL as last URL for ClassLoaders Revision ChangesPath 1.13 +58 -58

cvs commit: jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/loader StandardClassLoader.java

2001-03-05 Thread glenn
glenn 01/03/05 17:43:47 Modified:catalina/src/share/org/apache/catalina/loader StandardClassLoader.java Log: Catch SecurityManager FilePermission AccessControlException Revision ChangesPath 1.12 +22 -13

Re: Assigning Servlets to different ports.

2001-03-05 Thread Mel Martinez
There might be a more 'elegant' way but a simple brute force solution is to create a simple dispatcher servlet (or JSP) that does the following: String host = request.getHeader("HOST"); String port = "80"; if(host.indexOf(":")-1){ port = host.substring(host.indexOf(":")+1); } //assume

cvs commit: jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/servlets WebdavServlet.java

2001-03-05 Thread remm
remm01/03/05 18:27:44 Modified:catalina/src/share/org/apache/catalina/servlets WebdavServlet.java Log: - Use GMT date for creation date. - status isn't a property. - Removed some old code. Revision ChangesPath 1.13 +57 -26

cvs commit: jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/connector/http HttpResponseImpl.java

2001-03-05 Thread remm
remm01/03/05 21:07:45 Modified:catalina/src/share/org/apache/catalina/connector/http HttpResponseImpl.java Log: - Only set content length to 0 if it's not an error (if it is, an error message will be printed by the superclass). Revision Changes

cvs commit: jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/authenticator BasicAuthenticator.java DigestAuthenticator.java

2001-03-05 Thread remm
remm01/03/05 21:08:16 Modified:catalina/src/share/org/apache/catalina/authenticator BasicAuthenticator.java DigestAuthenticator.java Log: - Don't set content length to 0. Revision ChangesPath 1.7 +4 -5

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

2001-03-05 Thread larryi
larryi 01/03/05 21:25:16 Modified:src/share/org/apache/tomcat/startup Main.java Log: Vector.contains() for vectors of URLs makes use of URL.equals(). Under Jdk1.1, URL.equals() throws NPE's if host = null. Host = "" seems to work better. Revision ChangesPath 1.30

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

2001-03-05 Thread larryi
larryi 01/03/05 21:39:24 Modified:src/share/org/apache/tomcat/util/compat SimpleClassLoader.java Log: Move previously added zf.close() in doFindResource() since this method needs to return the Resource with ZipFile still open. Add parent delagation