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
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.
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
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/
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
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
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
--- 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
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
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
...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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
42 matches
Mail list logo