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

2001-05-29 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 wi

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

2001-05-29 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.

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

2001-05-29 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" ); T

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

2001-05-29 Thread Peter S. Heijnen
I use virtual hosts, but don't think that is the cause, although I have not traced this down (I will check that aswell). As I think of it, the webapp could simply be empty one with a web.xml like: http://java.sun.com/j2ee/dtds/web-app_2_2.dtd";> 404 /errors/404.html

Re: mod_webapp under Linux

2001-05-29 Thread Pier P. Fumagalli
kevin seguin at [EMAIL PROTECTED] wrote: > it looks like the problem is you're using apache 1.3 (not multi-thread > on non-win32 systems) with a multi-threaded build of apr > (pthread_sigmask is an export from libpthread.so). i'm just guessing, > but i imagine you can build apr in single-thread

Re: Problems With multi part Request

2001-05-29 Thread John Harris
Are you using ajp13 to connect apache to tomcat?

Re: mod_webapp under Linux

2001-05-29 Thread kevin seguin
it looks like the problem is you're using apache 1.3 (not multi-thread on non-win32 systems) with a multi-threaded build of apr (pthread_sigmask is an export from libpthread.so). i'm just guessing, but i imagine you can build apr in single-thread mode... Dave Oxley wrote: > > I'm running RH7.1

cvs commit: jakarta-tomcat-connectors/jk/src/java/org/apache/ajp/test TestAll.java TestAjp13.java

2001-05-29 Thread seguin
seguin 01/05/29 16:05:58 Modified:jk build.properties.sample build.xml jk/src/java/org/apache/ajp/test TestAjp13.java Added: jk/src/java/org/apache/ajp/test TestAll.java Log: the beginnings of some junit testing Revision ChangesPath 1.2

cvs commit: jakarta-tomcat-connectors/jk/src/java/org/apache/ajp Ajp13Packet.java

2001-05-29 Thread seguin
seguin 01/05/29 16:03:01 Modified:jk/src/java/org/apache/ajp Ajp13Packet.java Log: added some javadocs. added set/getEncoding methods + encoding attribute. Revision ChangesPath 1.4 +67 -11 jakarta-tomcat-connectors/jk/src/java/org/apache/ajp/Ajp13Packet.java

cvs commit: jakarta-tomcat-connectors/jk/src/java/org/apache/ajp Ajp13.java

2001-05-29 Thread seguin
seguin 01/05/29 16:01:48 Modified:jk/src/java/org/apache/ajp Ajp13.java Log: small javadoc change. Revision ChangesPath 1.5 +1 -1 jakarta-tomcat-connectors/jk/src/java/org/apache/ajp/Ajp13.java Index: Ajp13.java

mod_webapp under Linux

2001-05-29 Thread Dave Oxley
I'm running RH7.1 with kernel 2.4.5 and I have statically compiled and installed apr dated 28/5/2001. mod_webapp compiles but apache doesn't start with the following output: Syntax error on line 1 of /usr/local/tomcat4-CVS/conf/mod_webapp.conf: Cannot load /usr/local/tomcat4-CVS/bin/connector/m

RE: connector status in tomcat 4

2001-05-29 Thread GOMEZ Henri
>> >Ok. Is there any written specification för the ajp protocol >adn where can I >find it? You could find both ajp13 and ajp14 protocol documentation in at least : jakarta-tomcat-connectors/jk/src/doc/

cvs commit: jakarta-tomcat-connectors/util/src/java/org/apache/tomcat/util/buf package.html

2001-05-29 Thread seguin
seguin 01/05/29 13:16:20 Modified:util/src/java/org/apache/tomcat/util/buf package.html Log: added html and body tags. fixed h1 tag so that entire file wasn't h1. Revision ChangesPath 1.2 +4 -2 jakarta-tomcat-connectors/util/src/java/org/apache/tomcat/util

RE: Issues with Tomcat 3.2.1, JSPs and I18N ( Implicit character tran slation ??? )

2001-05-29 Thread Chris Halverson
Title: RE: Issues with Tomcat 3.2.1, JSPs and I18N ( Implicit character tran slation ??? ) Even when I remove the oracle and xml factors I get the same thing.  I'll try it against 3.3.  It looks like JSPWriter is queering the char coding. -Original Message- From:   [EMAIL PROTECTED]

RE: Issues with Tomcat 3.2.1, JSPs and I18N ( Implicit character tran slation ??? )

2001-05-29 Thread Chris Halverson
Title: RE: Issues with Tomcat 3.2.1, JSPs and I18N ( Implicit character tran slation ??? ) Nope, I'm not using a servlet to load the jsp resource. -Original Message- From:   Edmund Lai [SMTP:[EMAIL PROTECTED]] Sent:   Sunday, May 27, 2001 6:44 PM To: [EMAIL PROTECTED] Subject:   

Re: [ANNOUNCEMENT] Tomcat 3.2.2 released

2001-05-29 Thread Dave Oxley
Nice one Marc. Dave. [EMAIL PROTECTED] >From: "Marc Saegesser" <[EMAIL PROTECTED]> >Reply-To: ><[EMAIL PROTECTED]>,<[EMAIL PROTECTED]>,<[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]> >CC: <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>, ><[EMAIL PROTECTED]> >Subject: [ANNOUNCEMENT] Tomcat 3.2.2 released

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

2001-05-29 Thread Marc Saegesser
Could you please supply a sample webapp that demonstrates this? Static error pages seem to work OK for me. > -Original Message- > From: Peer Heijnen [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, May 29, 2001 5:52 AM > To: tomcat-dev > Subject: Problem+Fix concerning static error pages in T

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

2001-05-29 Thread craigmcc
craigmcc01/05/29 10:55:40 Modified:tester/src/bin tester.xml tester/web/WEB-INF web.xml Added: tester/web ErrorPage09.jsp ErrorPage10.jsp Log: Additional tests for JSP "errorPage" declarations. Revision ChangesPath 1.46 +15 -0 jakarta-tomc

JDBC DataSource setting

2001-05-29 Thread Ben Sifuentes
Does Tomcat 3.2.1 support setting a JDBC DataSource I know that I've seen messages about Tomcat 4.0 supporting it? If so how do I go about setting this up Tomcat 3.2.1? -Ben

Re: connector status in tomcat 4

2001-05-29 Thread kevin seguin
Erik Hellman wrote: > > > -Original Message- > > From: GOMEZ Henri [mailto:[EMAIL PROTECTED]] > > > > >What is it that the connector has to be able to do? Is it > > >sufficient if it > > >simply can forward the HTTP request to tomcat or does it need > > >to play around > > >with it? I gue

newbie question

2001-05-29 Thread Tuukk4 |[:)<-<| p4s4n3n
hei, Could someone tell me how this PATCH message thing really works?? docs are wery undetailed... thanx, Tuukka Get 250 color business cards for FREE! http://businesscards.lycos.com/vp/fastpath/

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

2001-05-29 Thread Peer Heijnen
Sorry, I made a mistake in my previous post. The fix we use is 'req.setServletPath( ctx.getPath() + "/" + errorPath )', and _not_ 'req.setRequestURI( ctx.getPath() + errorPath )' as stated in my message. Cheers, Peer Heijnen

RE: connector status in tomcat 4

2001-05-29 Thread Erik Hellman
> -Original Message- > From: GOMEZ Henri [mailto:[EMAIL PROTECTED]] > > >What is it that the connector has to be able to do? Is it > >sufficient if it > >simply can forward the HTTP request to tomcat or does it need > >to play around > >with it? I guess it must do something or the disscusi

problems with resultSet

2001-05-29 Thread Enrique Prados Valiente
hi, Hi! I'm using Tomcat and JSP but there are problem, my JSP don' work. I have this code in my JSP (code.) Statement s=cn.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE,ResultSet.CONCUR_ READ_ONLY); (more code) In begin of my JSP there is this code line <%@ page language=

Problem+Fix concerning static error pages in Tomcat 3.2.2

2001-05-29 Thread Peer Heijnen
I'm using Tomcat 3.2.2 (relase) and have configured static .html files as error pages. We used JSP pages before, and everything was fine... However since we're using static files, Tomcat will enter an infinite loop and eventually crash with a stack overflow (with a good change of leaving Tomcat in

TagBeginGenerator

2001-05-29 Thread Y Zhou
Hi, can anyone help me? I really can't work this out. This is a jsp with 2 tags. this jsp works in Win2000 + tomcat321 and gets exceptions in RedHat6.2 + tomcat321. What is the problem?   <%@ taglib uri="../db-taglib.tld" prefix="db" %><%@ taglib uri="../ma-taglib.tld" prefix="ma" %>...  u

jakarta-tomcat-3.3-m3 <== execute perms missing in ./bin

2001-05-29 Thread John W Austin
Is it just me or is there an error here. It is correct in 3.2.1 and in 3.2.2 which I have installed several times lately. Thanks

RE: connector status in tomcat 4

2001-05-29 Thread GOMEZ Henri
>GOMEZ Henri at [EMAIL PROTECTED] wrote: > >>> In that case, what is the point of warp. Is it going to be >>> faster, more scalable or something? >> >> warp is a whole new developpement using >> very recent lib tools like APR. >And a bunch of other features and improvements, but it seems >that

RE: connector status in tomcat 4

2001-05-29 Thread GOMEZ Henri
>Ok, another question then. Please, >What is it that the connector has to be able to do? Is it >sufficient if it >simply can forward the HTTP request to tomcat or does it need >to play around >with it? I guess it must do something or the disscusion on ajp13/jk and >warp/webapp wouldn't be. Th

RE: [PATCH] for mod_jk/ajp13 memory leaks.

2001-05-29 Thread GOMEZ Henri
>I found some more memory leaks in mod_jk. The biggest one is >in mod_jk.c when there is a virtual host section in >httpd.conf. Multiple conf structures are allocated, but only >one was being cleaned up. Another leak was in >jk_ajp13_worker.c. We were calling jk_open_pool on the >endpoint