Re: [TC5] Problems with context.xml

2004-06-08 Thread Mark Woon
alu, artifex wrote: another try: =) how does the xml structure look like in your context.xml file? i think you have to omit the globalnamingresources tag if you haven't already done so. Sorry, but no. I specifically want to use a server-wide JNDI resource instead of redefining the same resource

Re: [TC5] Problems with context.xml

2004-06-07 Thread Mark Woon
alu, artifex wrote: where did you place your driver .jar-file in? i think you placed it into CATALINA_HOME/server/lib - for your configuration (resource is defined in the context) it should be placed in CATALINA_HOME/common/lib i think. I've tried it in both places with no luck. If you look at the

[TC5] Problems with context.xml

2004-06-05 Thread Mark Woon
Hi all. According to the docs, it's possible to stick Context specific data into it's own config file in the |$CATALINA_HOME/conf/[enginename]/[hostname] |directory. Unfortunately, I'm having problems when using it with JNDI resources. When I take the Context element from my server.xml and

jsvc and -config?

2004-02-02 Thread Mark Woon
With the old startup script (startup.sh), there's a -config parameter to pass in a specific server.xml to use. Is there an equivalent parameter with jsvc? If not, is there any way to achieve the same objective? Thanks, -Mark

Exception with compression over SSL with Safari

2004-01-16 Thread Mark Woon
Hi all, I'm getting a ClassCastException whenever I connect with Safari over SSL and compression turned on: 08:45:00,643 ERROR Http11Processor:846 - Error finishing response java.lang.ClassCastException at org.apache.coyote.http11.filters.GzipOutputFilter.end(GzipOutputFilter.java:165)

Re: Logging and Tomcat 5.0.16

2004-01-10 Thread Mark Woon
Shapira, Yoav wrote: 1) Is there a reason why the startup.sh script that comes bundled with Tomcat 5.0.16 adds commons-logging-api.jar to the CLASSPATH? As far as I can tell, it's the only script that uses it. Yes, there's a good reason: tomcat internals use commons-logging to do their logging.

Exception in RealmBase

2004-01-02 Thread Mark Woon
Hi all, I have a custom Realm implementation that extends org.apache.catalina.realm.RealmBase. It used to work in 4.x, but in 5.0.16, I'm getting the following exception on startup: 21:17:29,719 ERROR RealmBase:1092 - Can't register null java.lang.NullPointerException at

Logging and Tomcat 5.0.16

2004-01-02 Thread Mark Woon
Hi all, I apologize in advance for starting another logging thread, but I have some questions that no amount of googling and archive surfing can seem to answer: 1) Is there a reason why the startup.sh script that comes bundled with Tomcat 5.0.16 adds commons-logging-api.jar to the CLASSPATH?

Logging and Tomcat 5.0.16

2004-01-02 Thread Mark Woon
Hi all, I apologize in advance for starting another logging thread, but I have some questions that no amount of googling and archive surfing can seem to answer: 1) Is there a good reason why the startup.sh script that comes bundled with Tomcat 5.0.16 adds commons-logging-api.jar to the

Exception in RealmBase

2004-01-02 Thread Mark Woon
Hi all, I have a custom Realm implementation that extends org.apache.catalina.realm.RealmBase. It used to work in 4.x, but in 5.0.16, I'm getting the following exception on startup: 21:17:29,719 ERROR RealmBase:1092 - Can't register null java.lang.NullPointerException at

Webapp specific endorsed dir?

2003-01-11 Thread Mark Woon
Hi all, Is there a way for webapps to declare jars that can override jars in Tomcat's common/endorsed directory? For example, if I want to my webapp to use a specific version of Xerces, independent of what gets distributed with Tomcat, what do I have to do? Right now, with Tomcat 4.1.18, if

Problem going from 4.0.6 to 4.1.16b

2002-12-04 Thread Mark Woon
Hi All. I'm hoping someone can shed some light on my problem. I'm trying to upgrade from 4.0.6 to 4.1.16b and I'm finding that I'm unable to access any JAR's in WEB-INF/lib. Here's what I'm getting from localhost_log: 2002-12-04 03:09:17 StandardContext[]: Starting 2002-12-04 03:09:17

Re: Problem going from 4.0.6 to 4.1.16b

2002-12-04 Thread Mark Woon
Roberts, Eric wrote: Stupid question - but do you have sufficient free disk space? ;-) Yes, definitely... -Mark -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Solved - Re: Problem going from 4.0.6 to 4.1.16b

2002-12-04 Thread Mark Woon
Mark Woon wrote: Roberts, Eric wrote: Stupid question - but do you have sufficient free disk space? ;-) Yes, definitely... But you pointed me in the right direction -- made me take another look at the error message and realize that the temp dir Tomcat is looking for doesn't exist

Using Tomcat Without a Webserver

2002-02-11 Thread Mark Woon
Hi all. I know it's standard practice to hook Tomcat up to a webserver, but is this really necessary? According to the docs, the main reason for this is that Tomcat's performance when serving static files is sub-par, although it usually goes on to note that this has improved recently. I can't

Re: Number of rows in a resultset?

2001-12-26 Thread Mark Woon
Salvatore Balzano wrote: Hi, how can I know how many rows are in a jdbc resultset? ResultSet rs = [whatever]; rs.last(); int numRows = rs.count(); -Mark -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL

Single install/multiple developers?

2001-12-21 Thread Mark Woon
Hello. I need advice on setting up Tomcat 4.0.1 to support multiple/independent developers. Are custom server.xml's all I need? I see that I can start Tomcat with -config /some/path/server.xml, but catalina.sh still creates $CATALINA_BASE/logs/catalina.out. What exactly needs to be in