RE: out of memory problem. Help!

2004-01-18 Thread Sanjeev Kumar
Check session-timeout in web.xml. -1 is never timeout -1 -Original Message- From: Christophe Andreoli [mailto:[EMAIL PROTECTED] Sent: Friday, January 16, 2004 9:19 PM To: Tomcat Users List Subject: Re: out of memory problem. Help! "Shapira, Yoav" wrote: > > Howdy, > > >root cause > >

RE: virtual hosting and tomcat wt Apache 2 and JK2

2004-01-18 Thread Brennon Obst
Thank you Martina, I will check my version and report back =/ /Brennon -Original Message- From: Frankl Martina [mailto:[EMAIL PROTECTED] Sent: Friday, 16 January 2004 10:23 PM To: Brennon Obst; 'Tomcat Users List' Subject: AW: virtual hosting and tomcat wt Apache 2 and JK2 Maybe your

Running multiple JVMs

2004-01-18 Thread Chris
We have a number of webapps that need separate JVMs. The reason is that we need decent isolation: if one app grabs too much memory it can crash the others. What's the best way to do this? Is it at all possible to use multiple instances of standalone Tomcat? (They all have separate domain names, but

Re: Linking tomcat with apache

2004-01-18 Thread Allan Bruce
I get an error message saying: Internal Server Error. I have left my jk2.properties blank as this should leave everything to the default as far as I can tell. My workers2.properies is using this minimal config: # Define the communication channel [channel.socket:localhost:8009] info=Ajp13 forward

Re: [maybe OT] - java.lang.UnsatisfiedLinkError in servlet when generating image on the fly

2004-01-18 Thread Philipp Taprogge
Hi! Simone Chiaretta wrote: the libXp.so lib is a lib from X server... But I'm running the webserver on a just text server, so, no Xfree... I'm wondering if X is needed to use some awt methods (like the Toolkit.getImage())... or JPEGEncoder the piece of code that seems to generate the error is:

JNDI DataSources

2004-01-18 Thread Pfingstl Gernot
I want to use one JDBC connection pool in my tomcat (4.1) instance for all contexts; therefore I configure the DataSource in . In each context I put a so I can obtain the DataSource in my applications. But now I have the problem that I had to execute some SQL statements (e.g. a "set role" state

DataSource Realm

2004-01-18 Thread Pfingstl Gernot
If I want to use a DataSourceRealm (tomcat 4.1) like I had to configure a JNDI named JDBC DataSource "java:/comp/env/jdbc/authority". So all web applications can also use this DataSource and can read the user-table - this is possibly a security hole. Is there a way to prohibit web applications

Re: Linking tomcat with apache

2004-01-18 Thread Tim Funk
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html http://nagoya.apache.org/wiki/apachewiki.cgi?Tomcat/Links -Tim Allan Bruce wrote: I have tomcat and apache both setup and running. At the moment, I am using a permanent redirect for urls to servlets to tomcat. But this is not correct

Linking tomcat with apache

2004-01-18 Thread Allan Bruce
I have tomcat and apache both setup and running. At the moment, I am using a permanent redirect for urls to servlets to tomcat. But this is not correct. How do I get them set up correctly? I have jk2 installed. Thanks Allan -

Re: Unable to start web application

2004-01-18 Thread Ralf Schneider
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am Freitag, 16. Januar 2004 14:33 schrieb Shapira, Yoav: > Make sure the permissions are the same, including file creation. Or > alternatively, and better, use ServletContext#getResource rather than But what seems strange to me is that the same WAR f

Re: Tomcat

2004-01-18 Thread Robert Charbonneau
On Sunday 18 January 2004 04:07, Haddad, Bayan M wrote: > I would like to learn more about Tomcat for Unix Solaris. Where can I > find information on it, documentation, download the software, > installation procedure, Tomcat V.S Jrun ?. Who support it?. > > > > Your help is greatly appreciated. > >

Re: Please help: error: The requested resource (/stuff/index.html) is not available.

2004-01-18 Thread Tim Funk
You need a webapp called stuff. OR you need to move stuff/index.html under webapps/ROOT/stuff/incdex.html In either case, please first read the docs. Also Sun's webservices developer kit would also be very helpful. -Tim Susan Tahmoresi wrote: Hi All, I am new to tomcat and just installed Jakart

Tomcat

2004-01-18 Thread Haddad, Bayan M
I would like to learn more about Tomcat for Unix Solaris. Where can I find information on it, documentation, download the software, installation procedure, Tomcat V.S Jrun ?. Who support it?. Your help is greatly appreciated. Bayan

Re: OracleConnection datasource CLOB.createTemporary

2004-01-18 Thread Rob Augustinus
how about typcasting the DBCP Connection to OracleConnection ? afaik this is the proper way? Kahle, Pavel (CONS FIN) wrote: somwehere in the CLOB.createTemporary is Connection retype to OracleConnection but Connection returned from DBCP DataSource.getConnection is not assignable to that class. I

Terminating or suspending an application if a "on start up" servlet throws an exception?

2004-01-18 Thread Adrian Beech
G'day, Is it possible to have Tomcat 4.1.x terminate or suspend access to an application if a servlet which is fired at start up throws an exception? For example, we have two servlets which are loaded on start up. The first one sets up the database connection pool and the second one does various