[BUG T322] Bug in getServletContext().getResource() for relative URLs

2001-05-30 Thread Stevenson, Chris (SSABSA)
Bugzilla is down so I am forced to send this to the list: Relative URLs from a servlet resource do not work (Tomcat 3.2.2). I have the following code in a Servlet: URL propURL = getServletContext().getResource( /WEB-INF/connection.properties ) URL configURL = new URL( url, config.xml ); The

RE: [BUG T322] Bug in getServletContext().getResource() for relative URLs

2001-05-30 Thread Stevenson, Chris (SSABSA)
Small correction: Also, if I do the following: URL configURL = new URL( url, config.xml ); configURL = new URL( configURL.toString() ); I meant URL configURL = new URL( new URL( url.toString() ), config.xml ); which works.

Re: [BUG T322] Bug in getServletContext().getResource() for relative URLs

2001-05-30 Thread DAK
Yes, Have a look at this Bug Id: 4447088 On the Bug Parade at the JDC. I submitted this after trying to use classloader.getResource() in a servlet. URL doesn't construct a proper URL string when the constructor you show is used. Works fine on unix/linux, but windows absolute paths can start

tomcat-4.0 and JSP class reloading

2001-05-30 Thread Tuukk4 |[:)-| p4s4n3n
hey, Is anyone fixing that point? Problem is that JSP doesn't reload classes when servlet container in same context does? Tuukka --- --Me olemme keskella jotain. jossa olemme totaalisen ulkopuolisia-- Get 250 color business cards for FREE! http://businesscards.lycos.com/vp/fastpath/

RE: Filter Chains slow first time it is called

2001-05-30 Thread Paul Butcher
All, Many apologies if this isn't the correct list for this message. Please point me in the right direction if I've made a mistake. I've been experiencing problems with latency and filters in Tomcat 4 (both beta 1 and beta 5). A search of the mailing list archives showed up the exchange

[ANNOUNCEMENT] Domino / Tomcat connecter available

2001-05-30 Thread Andy Armstrong
I've written a Tomcat for Lotus Domino in the spirit of the IIS and Netscape connectors making it possible to use Tomcat as Domino's servlet container. It can be found at http://free.tagish.net/domino-tomcat/index.jsp It's quite small and wouldn't look at all out of place in the Tomcat

compiling mod_jk in IRIX, bug+fix

2001-05-30 Thread Christer Enkvist
Sorry if this is the wrong list and/or this is wellknown. If you want to compile mod_jk from tomcat.3.2.2 in IRIX 6.5.x, then some smallish stuff needs to be changed: in dir jakarta-tomcat-3.2.2-src/src/native/jk edit the following files in the following way: jk_sockbuf.c. replace //comment

Re(2): compiling mod_jk in IRIX, bug+fix [PATCH]

2001-05-30 Thread Christer Enkvist
--- jk_sockbuf.c.orig Wed May 30 12:42:28 2001 +++ jk_sockbuf.cWed May 30 12:43:10 2001 @@ -224,7 +224,7 @@ sb-buf + sb-end, SOCKBUF_SIZE - sb-end, 0); - // 0 is EOF/SHUTDOWN, -1 is SOCK_ERROR + /* 0 is EOF/SHUTDOWN, -1 is

RE: Problem+Fix concerning static error pages in Tomcat 3.2.2

2001-05-30 Thread Marc Saegesser
Bloody hell. This bug was fixed a couple months ago and then got whacked by a late commit to StaticInterceptor.java. I take partial responsibility because I reviewed that commit and missed the problem. I'll try to get this taken care of this evening. -Original Message- From: Peter

cvs commit: jakarta-tomcat-connectors/jk build.xml

2001-05-30 Thread seguin
seguin 01/05/30 08:26:03 Modified:jk build.xml Log: exclude test subpackage on jar, javadoc tasks. Revision ChangesPath 1.7 +2 -10 jakarta-tomcat-connectors/jk/build.xml Index: build.xml

A new servlet without re-start Tomcat...

2001-05-30 Thread jsoriano
...is it possible? I know there is an option in server.xml file named 'reloadable = true' that performs something similar, but i'd like to know if there is another way to do this without overloading Tomcat too much. Thanks in advance: __ Jaume Soriano

configure for jakarta-tomcat-connectors

2001-05-30 Thread jean-frederic clere
Hi, I have added support for static linking of mod_jk (for Apache-1.3.x). I have used automake to reach it, it has side effects I would like to comment: - apxs cannot be used build mod_jk.so. - It needs autoconf/automake for prepare the *.in file. (Only for develloppers). - It needs libtools. I

Re: URI Rewritng using Apache/mod_ssl..the old story

2001-05-30 Thread Rainer Jung
As far as I understand the fix does not mean, that you get rid of jsse.jar and jnet.jar. Core Java does not include an https protocol handler, but such a thing is implicitely used in http-URL-creation inside tomcat (although that could be done easier). Java is open to add new protocol

Re: A new servlet without re-start Tomcat...

2001-05-30 Thread Craig R. McClanahan
On Wed, 30 May 2001 [EMAIL PROTECTED] wrote: ...is it possible? I know there is an option in server.xml file named 'reloadable = true' that performs something similar, but i'd like to know if there is another way to do this without overloading Tomcat too much. If you are using the

Re: tomcat-4.0 and JSP class reloading

2001-05-30 Thread Craig R. McClanahan
On Wed, 30 May 2001, Tuukk4 |[:)-| p4s4n3n wrote: hey, Is anyone fixing that point? Problem is that JSP doesn't reload classes when servlet container in same context does? Can you provide a small example that illustrates this? Tuukka Craig McClanahan

RE: Filter Chains slow first time it is called

2001-05-30 Thread Craig R. McClanahan
Hello Paul, This definitely sounds like something wrong with Tomcat 4 -- most likely a combination of things related to the browser (which can affect which HTTP version is in use), your filters, and the ultimate servlet or JSP page being called. To help narrow things down a bit: * Do you have a

cvs commit: jakarta-tomcat-4.0/tester/web/WEB-INF web.xml

2001-05-30 Thread craigmcc
craigmcc01/05/30 12:42:50 Modified:tester/src/bin tester.xml tester/web/WEB-INF web.xml Added: tester/src/tester/org/apache/tester FilterResponse01.java UpperCaseFilter.java UpperCaseOutputStream.java

RE: Filter Chains slow first time it is called

2001-05-30 Thread Craig R. McClanahan
On Wed, 30 May 2001, Craig R. McClanahan wrote: Hello Paul, This definitely sounds like something wrong with Tomcat 4 -- most likely a combination of things related to the browser (which can affect which HTTP version is in use), your filters, and the ultimate servlet or JSP page being

RE: [BUG T322] Bug in getServletContext().getResource() for relative URLs

2001-05-30 Thread Marc Saegesser
According to the spec, the path passed to ServletContext.getResource() must start with a /. -Original Message- From: Stevenson, Chris (SSABSA) [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 30, 2001 1:44 AM To: [EMAIL PROTECTED] Subject: [BUG T322] Bug in

RE: Filter Chains slow first time it is called

2001-05-30 Thread Remy Maucherat
Quoting Craig R. McClanahan [EMAIL PROTECTED]: On Wed, 30 May 2001, Craig R. McClanahan wrote: Hello Paul, This definitely sounds like something wrong with Tomcat 4 -- most likely a combination of things related to the browser (which can affect which HTTP version is in use), your

RE: Problem+Fix concerning static error pages in Tomcat 3.2.2

2001-05-30 Thread Marc Saegesser
This was broken in 3.2.1 and unfortunately is still broken in 3.2.2 due to the commit problem I mentioned earlier. Since this isn't a regression failure and there is a work-around we'll log it as a bug and fix it in 3.2.3. -Original Message- From: Marc Saegesser [mailto:[EMAIL

cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/core Constants.java

2001-05-30 Thread marcsaeg
marcsaeg01/05/30 14:25:34 Modified:src/webpages Tag: tomcat_32 index.html src/share/org/apache/tomcat/core Tag: tomcat_32 Constants.java Log: Updating version numbers to 3.2.3-dev. Revision ChangesPath No revision

cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/request StaticInterceptor.java

2001-05-30 Thread marcsaeg
marcsaeg01/05/30 14:33:04 Modified:src/share/org/apache/tomcat/request Tag: tomcat_32 StaticInterceptor.java Log: The previous commit by arieh removed larryi's previous fix for using javax.servlet.include.servlet_path. Revision ChangesPath No

Re: mod_webapp under Linux

2001-05-30 Thread Dave Oxley
Pier, Is there anywhere I can download an archive of apr that works! On the other hand if you fix it could you Email me or the list. Thanks. Dave. [EMAIL PROTECTED] From: Pier P. Fumagalli [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: mod_webapp under Linux

cvs commit: jakarta-tomcat-4.0/tester/web/WEB-INF web.xml

2001-05-30 Thread craigmcc
craigmcc01/05/30 14:54:55 Modified:tester/src/bin tester.xml tester/src/tester/org/apache/tester UpperCaseFilter.java tester/web/WEB-INF web.xml Added: tester/src/tester/org/apache/tester FilterRequest01.java

Re: [Beta5]HttpRequestBase POST buglet

2001-05-30 Thread Craig R. McClanahan
I don't think this patch is what we really want to do. Currently, the code is testing for all of the following conditions before trying to parse request parameters from the input stream: 1) The HTTP method is POST 2) The content length is greater than zero 3) The servlet has never called

[PATCH] RE: Packaged tag libraries

2001-05-30 Thread Robert Petersen
Ok well here is a patch to TldLocationsCache that should all Jasper to correctly process packaged tab libraries. I tested on my system and it works well. I changed processJars() to use the getResourcePaths method as Remy suggested. I pulled tldConfigJar() as it did a bunch of stuff with URL's

Re: mod_webapp under Linux

2001-05-30 Thread Pier P. Fumagalli
Dave Oxley at [EMAIL PROTECTED] wrote: Pier, Is there anywhere I can download an archive of apr that works! On the other hand if you fix it could you Email me or the list. I really don't know... It works on MacOS/X, have you tried compiling it without multi threading support? The last two

[T4] Classloader funk

2001-05-30 Thread Jon Stevens
I'm using T4b5. So, what I did was re-compile some Scarab classes. Those classes are located in scarab/WEB-INF/classes. I have class reloading turned on and when Catalina reloaded the classes, this got output to System.out.println() in my terminal window... What it *looks* like is that when the

Re: [ANNOUNCEMENT] Domino / Tomcat connecter available

2001-05-30 Thread Pier P. Fumagalli
Andy Armstrong at [EMAIL PROTECTED] wrote: I've written a Tomcat for Lotus Domino in the spirit of the IIS and Netscape connectors making it possible to use Tomcat as Domino's servlet container. It can be found at http://free.tagish.net/domino-tomcat/index.jsp It's quite small and

Re: mod_webapp under Linux

2001-05-30 Thread kevin seguin
for what it's worth, from the mentioned post, i believe this: An other solution would be to use an APR without threads. To do so use ./configure --enable-threads=no when configuring APR. rather than this: I have no found exactly what happends but just add -lpthread in the

Re: [PATCH] RE: Packaged tag libraries

2001-05-30 Thread Remy Maucherat
Ok well here is a patch to TldLocationsCache that should all Jasper to correctly process packaged tab libraries. I tested on my system and it works well. I changed processJars() to use the getResourcePaths method as Remy suggested. I pulled tldConfigJar() as it did a bunch of stuff with

Re: [T4] Classloader funk

2001-05-30 Thread Jon Stevens
on 5/30/01 5:56 PM, Remy Maucherat [EMAIL PROTECTED] wrote: I'm using T4b5. So, what I did was re-compile some Scarab classes. Those classes are located in scarab/WEB-INF/classes. I have class reloading turned on and when Catalina reloaded the classes, this got output to

Re: Problem+Fix concerning static error pages in Tomcat 3.2.2

2001-05-30 Thread David Rees
A related bug to this is a nasty stack overflow error if an error page that you define is not found. It's pretty easy to reproduce, just add this to your web.xml: error-page error-code404/error-code location/some-nonexistant-file.jsp/location /error-page Then try to access a

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

2001-05-30 Thread remm
remm01/05/30 20:27:58 Modified:catalina/src/share/org/apache/catalina/loader StandardLoader.java Log: - Remove useless thread binding / unbinding during the creation of the loader. Revision ChangesPath 1.25 +6 -12

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

2001-05-30 Thread remm
remm01/05/30 20:53:58 Modified:catalina/src/share/org/apache/catalina/core StandardContext.java Log: - The manager should be able to load classes from /WEB-INF/lib during start(), stop() and reload(). - Filters will also be able to load classes

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

2001-05-30 Thread remm
remm01/05/30 20:56:16 Modified:catalina/src/share/org/apache/catalina/startup ContextConfig.java Log: - Remove useless thread bind / unbind (which are now all done in StandardContext). Revision ChangesPath 1.46 +4 -10

Re: [T4] Classloader funk

2001-05-30 Thread Remy Maucherat
I'm using T4b5. So, what I did was re-compile some Scarab classes. Those classes are located in scarab/WEB-INF/classes. I have class reloading turned on and when Catalina reloaded the classes, this got output to System.out.println() in my terminal window... What it *looks* like is that

Re: [T4] Classloader funk

2001-05-30 Thread Craig R. McClanahan
On Wed, 30 May 2001, Remy Maucherat wrote: I'm using T4b5. So, what I did was re-compile some Scarab classes. Those classes are located in scarab/WEB-INF/classes. I have class reloading turned on and when Catalina reloaded the classes, this got output to System.out.println() in my

Re: [T4] Classloader funk

2001-05-30 Thread Remy Maucherat
On Wed, 30 May 2001, Remy Maucherat wrote: CL was indeed broken when stopping the manager. I have committed something which should fix it. [Note : My build environment is totally messed up, so I wasn't able to test with Watchdog or the tester] Downloading as I type. I'll let you

Re: [T4] Classloader funk

2001-05-30 Thread Craig R. McClanahan
On Wed, 30 May 2001, Remy Maucherat wrote: On Wed, 30 May 2001, Remy Maucherat wrote: CL was indeed broken when stopping the manager. I have committed something which should fix it. [Note : My build environment is totally messed up, so I wasn't able to test with Watchdog or

URI Rewritng using Apache/mod_ssl..the old story

2001-05-30 Thread Wolle
I have just installed TC3.2.2 final, and URI Rewiting won't work over mod_ssl and apache. without ssl it works fine, also. I have set the TOMCAT_HOME and the JAVA_HOME... but it won't work Or isn't it fixed on TC3.2.2 ?? When I install the two external classes from jdk jsse.jar and jnet.jar in