RE: web.xml

2004-08-11 Thread Ryan Lissack
Hi Schalk, You could probably use XML entities to do that, I haven't tried it but I think it would probably work ... Simple example: http://xmlwriter.net/xml_guide/entity_declaration.shtml web.xml example: http://www.adtmag.com/java/article.asp?id=5785 HTH, Ryan -Original Message- Fro

RE: How do you set cache-control for static (gif, jpg) resources

2004-07-30 Thread Ryan Lissack
Hi, You could write a servlet filter and only map it to those resources in web.xml Ryan -Original Message- From: Keith Bottner [mailto:[EMAIL PROTECTED] Sent: 30 July 2004 13:53 To: [EMAIL PROTECTED] Subject: How do you set cache-control for static (gif, jpg) resources I am trying to f

RE: JNDI / pooling

2004-07-09 Thread Ryan Lissack
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-resources-howto.html See the 'Adding Custom Resource Factories' section. Ryan. -Original Message- From: Viorel Dragomir [mailto:[EMAIL PROTECTED] Sent: 09 July 2004 13:12 To: Tomcat Users List Subject: JNDI / pooling Hi, I can't des

RE: Tomcat 4.1.24 stops responding due to attack

2004-06-22 Thread Ryan Lissack
Hi, It may not be an 'attack' ... probably just due to RH9s threading lib ... See this message for the possible solution: http://marc.theaimsgroup.com/?l=tomcat-user&m=108670043100516&w=2 Also see the following messages for further explanations: http://marc.theaimsgroup.com/?l=tomcat-user&w=2&r=

RE: tomcat hangs

2004-06-09 Thread Ryan Lissack
Hi Matt, See this message for the probable solution: http://marc.theaimsgroup.com/?l=tomcat-user&m=108670043100516&w=2 Also see the following messages for further explanations: http://marc.theaimsgroup.com/?l=tomcat-user&w=2&r=1&s=tomcat+jitters%2C+then +hangs+-+please+help&q=b HTH, Ryan. -

RE: Tomcat 5.0.x deadlock

2004-06-08 Thread Ryan Lissack
archives ... Ryan. -Original Message- From: Stefano Lissa [mailto:[EMAIL PROTECTED] Sent: 08 June 2004 14:07 To: Tomcat Users List Subject: Re: Tomcat 5.0.x deadlock Ryan Lissack wrote: >Hi, > >Does Tomcat stop responding on both RedHat 8 and RedHat 9 or just the one on

RE: Tomcat 5.0.x deadlock

2004-06-08 Thread Ryan Lissack
Hi, Does Tomcat stop responding on both RedHat 8 and RedHat 9 or just the one on RedHat 9 ? Ryan. -Original Message- From: Stefano Lissa [mailto:[EMAIL PROTECTED] Sent: 08 June 2004 13:31 To: Tomcat Users List Subject: Tomcat 5.0.x deadlock Hi, this my situation: two indipendent server

RE: Tomcat Hung!!! Help needed

2004-05-26 Thread Ryan Lissack
: Re: Tomcat Hung!!! Help needed actually, my problem is memory consuming, I think you thought I had questioned first :) I'm using suse 9.1, does this export help in something in my case? thaks Emerson Ryan Lissack wrote: > Hi, > > Yes it will more than likely fix your pro

RE: Tomcat Hung!!! Help needed

2004-05-25 Thread Ryan Lissack
Hi, Yes it will more than likely fix your problem. It is a problem with RedHat 9 and NPTL. Search the archives for further information. Also you are probably better off using the following: export LD_ASSUME_KERNEL=2.4.1 Ryan. -Original Message- From: Emerson Cargnin [mailto:[EMAIL P

RE: session data in Tomcat 5

2004-05-20 Thread Ryan Lissack
Hi, >> I've included that, and other tips, in my (brief) 4.x -> 5.x upgrade >> guide: >> http://www.brandxdev.net/misc/tomcat_upgrade.site Thanks for making that available, quite useful. Regards, Ryan. - To unsubscribe, e

RE: Tomcat having strange 'hickups'

2004-05-13 Thread Ryan Lissack
Hi, If it is running on a machine with multiple CPUs, you can use the concurrent collector. The collector then runs on one of the CPUs while the application continues to run on the others, the other threads will still be suspended for a short period (during the marking phase) but it can be an imp

RE: Tomcat 4.1 HttpServletRequest.getServerPort() returns incorre ct port ?

2004-05-12 Thread Ryan Lissack
Hi Bill, Thanks for the clarification. Best regards, Ryan. -Original Message- From: news [mailto:[EMAIL PROTECTED] Behalf Of Bill Barker Sent: 12 May 2004 07:22 To: [EMAIL PROTECTED] Subject: Re: Tomcat 4.1 HttpServletRequest.getServerPort() returns incorrect port ? "Ryan Li

RE: Off Topic - Java Graphing Package

2004-05-12 Thread Ryan Lissack
Hi, This might help : http://www.manageability.org/blog/stuff/open-source-structured-graphics-libr aries-in-java/view Ryan. -Original Message- From: Andy Eastham [mailto:[EMAIL PROTECTED] Sent: 12 May 2004 10:41 To: 'Tomcat Users List' Subject: Off Topic - Java Graphing Package Hi, S

Tomcat 4.1 HttpServletRequest.getServerPort() returns incorrect p ort ?

2004-05-11 Thread Ryan Lissack
Hi, In our setup we have a hardware load-balancer which forwards normal requests to our cluster of Tomcat servers. For SSL requests, the load balancer first forwards to an hardware SSL accelerator and then on to one of our Tomcat servers. Each Tomcat instance has 2 connectors configured. For no

RE: Accessing Dll's

2004-04-22 Thread Ryan Lissack
Hi, Execute the following : System.out.println(System.getProperty("java.library.path")); See what directories are there. If the one(s) with your DLL(s) are not listed you can add them as a startup param to the VM using the -D option (java -Djava.library.path=.) HTH Regards, Ryan. -Or

Tomcat 4 session replication in a production environment

2004-04-15 Thread Ryan Lissack
Hi, Is anyone using Tomcat 4 session replication in a production environment, if so, could you please share your experiences ? Unfortunately we are unable to upgrade to TC 5 for now but I need to setup session replication for some of our TC 4 servers for fail-over purposes (we have HW load balanc

RE: Tomcat Hangs

2004-03-26 Thread Ryan Lissack
You can achieve the same thing on Windows by typing 'Ctrl-Break' at the console window -Original Message- From: Surya Suravarapu [mailto:[EMAIL PROTECTED] Sent: 26 March 2004 12:15 To: Tomcat Users List Subject: Re: Tomcat Hangs Can you please elaborate what you meant by "kill -QUIT". To

RE: Tomcat Hangs

2004-03-26 Thread Ryan Lissack
What OS is Tomcat running on ? -Original Message- From: Surya Suravarapu [mailto:[EMAIL PROTECTED] Sent: 26 March 2004 00:51 To: [EMAIL PROTECTED] Subject: Tomcat Hangs We have Tomcat 4.1.27 running in conjunction with Apache 1.3.x. We're using AJP13 connector. The machine that we're us

RE: OracleConnectionPoolDataSource creates too many connections

2004-03-03 Thread Ryan Lissack
Hi, You still need to create a connection cache with that datasource, so something like : OracleConnectionPoolDataSource ocpds = new OracleConnectionPoolDataSource(); ... OracleConnectionCache oracleConnectionCache = new OracleConnectionCacheImpl(ocpds); You can then call the fo

RE: [OFF-TOPIC] Workflow Engines

2004-02-19 Thread Ryan Lissack
Hi Hernani, >Personaly I work with OpenSymphony and I find it good. > >If i may add some more: Thank you very much for your response, much appreciated. Regards, Ryan. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional c

RE: [OFF-TOPIC] Workflow Engines

2004-02-12 Thread Ryan Lissack
Hi Evgeny, > I worked with IBM MQ Series Workflow and it is great > commercial software. Could you please list Open Source > workflow systems. Thanks for the response. Below is a list of the open source engines I have found so far: OpenFlow http://www.openflow.it/EN/index_html Shark http://sha

[OFF-TOPIC] Workflow Engines

2004-02-12 Thread Ryan Lissack
Hi, I was wondering whether anyone on the list has experience with any workflow engines. There are a number of open source products available but I am looking for comments or suggestions from someone who has actually used them. We want to integrate the engine into our web application running on

RE: Tomcat, Oracle and connection caching.

2004-02-06 Thread Ryan Lissack
Yeah, I have in the past. We have successfully used the oci driver with the OracleConnectionCacheImpl and the OracleOCIConnectionPool. Have you tried the jdbc:oracle:oci:@TNS_ENTRY_NAME format? Your 'No such driver' problem looks to be caused by your url. At present we only use the thin drive

RE: Tomcat, Oracle and connection caching.

2004-02-06 Thread Ryan Lissack
iver There is a strange twist. If I use the oci8 driver, with the ds.setMinLimit(Integer.parseInt(minLimit)); line above, this message appears in the Tomcat application log. If I comment out the line, no message appears, but when I try to get a connection, I get the java.sql.SQLException: No sui

RE: Tomcat, Oracle and connection caching.

2004-02-06 Thread Ryan Lissack
Make sure that the directory containing the DLLs/SOs is in your java library path. You can check by printing System.getProperty("java.library.path"), if it isn't there you can set it at vm startup (add -Djava.library.path=/path/to/so) -Original Message- From: David Short [mailto:[EMAIL PR

RE: Excel Mime problem

2004-02-06 Thread Ryan Lissack
You can setup mime mappings in your web.xml, for example: xls application/vnd.ms-excel Ryan

RE: Tomcat stops taking connections

2004-02-04 Thread Ryan Lissack
Hi Lars, Are you are running RedHat 9? If you are, and you are not seeing any 'All threads are busy' messages in your logs, then it could be NPTL related. See the following thread: http://www.mail-archive.com/[EMAIL PROTECTED]/msg105689.html and more specifically this message for a potential res

Adding a directory in a webapp to the webapps classpath

2004-01-16 Thread Ryan Lissack
Hi, Is there a way to include a directory of a webapp, other than WEB-INF/classes, on the web apps classpath? For example, I want to include [webapp]/somedir on the classpath for the web app, while still including [webapp]/WEB-INF/classes. I can just modify our build scripts to copy things from

RE: Tomcat hangs

2004-01-07 Thread Ryan Lissack
Hi, Which version of RedHat are you running? Ryan -Original Message- From: Mindaugas Genutis [mailto:[EMAIL PROTECTED] Sent: 07 January 2004 08:49 To: [EMAIL PROTECTED] Subject: Tomcat hangs Hello, Our Tomcat hangs once in a few days. When the load is larger, sometimes it hangs even

RE: Tomcat-4.1.24 Hangs

2003-12-08 Thread Ryan Lissack
h the list archives for further information. Regards Ryan -Original Message- From: Zsolt Koppany [mailto:[EMAIL PROTECTED] Sent: 08 December 2003 09:51 To: Tomcat Users List Subject: RE: Tomcat-4.1.24 Hangs Hi Ryan, thank you. What is NPTL? Zsolt > -Original Message- > Fr

RE: Tomcat-4.1.24 Hangs

2003-12-08 Thread Ryan Lissack
Hi, Probably has to do with NPTL in RedHat 9. Try setting the following environment variable: LD_ASSUME_KERNEL=2.4.1 That should stop the hanging. Search the list for further details. Ryan -Original Message- From: Zsolt Koppany [mailto:[EMAIL PROTECTED] Sent: 07 December 2003 17:30 To

RE: Best JVM for Tomcat

2003-12-03 Thread Ryan Lissack
Hi, We use the -server option on all our live Linux machines and have not had any problems at all. JRE 1.4.1_03 on RedHat 9. Ryan. -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: 03 December 2003 17:46 To: Tomcat Users List Subject: RE: Best JVM for Tomcat Howd

RE: tomcat jitters, then hangs - please help

2003-10-24 Thread Ryan Lissack
gt; >> >> Regards, >> Euan >> >> -Original Message- >> From: Noam Camiel [mailto:[EMAIL PROTECTED] >> Sent: 14 October 2003 14:46 >> To: Tomcat Users List >> Subject: Re: tomcat jitters, then hangs - please help >> >> >> H

RE: tomcat jitters, then hangs - please help

2003-10-10 Thread Ryan Lissack
lto:[EMAIL PROTECTED] Sent: 04 April 2003 18:36 To: Tomcat Users List Subject: Re: tomcat jitters, then hangs - please help On Thursday, October 09, 2003 5:11 PM "Ryan Lissack" <[EMAIL PROTECTED]> wrote: > Hi Noam, > > We have experienced similar problems. You will notice in

Java Virtual Machines on Linux

2003-09-08 Thread Ryan Lissack
Hi, I am interested to hear if others have used anything other than the Sun VM for a production Tomcat system, running on Linux, and what their experiences were. >From what I can see, there are four main options at the moment: Sun JRE 1.4.2 Blackdown JRE 1.4.1 IBM JRE 1.4.1 BEA JRockit 8.1 (J2SE