Re: HttpSessionActivationListener problems

2009-02-10 Thread Flavio Crispim
Rui the javadoc says it began on servlet spec 2.3 or since TC 4, see: http://java.sun.com/j2ee/1.4/docs/api/javax/servlet/http/HttpSessionActivationListener.html it should be stable enougth. (Am I wrong?) Before I dig a little more, I´m not sure TC can handle such event when the java process is k

Re: Create war-file with unpacked jar files

2009-02-09 Thread Flavio Crispim
Peter Edelmann wrote: Hi all, is there a way with maven2 to create a war file with unpacked jar files? You should ask maven user list. grete pete Flavio - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For ad

Re: Location of properties file for web app in Tomcat

2009-02-07 Thread Flavio Crispim
Christopher Schultz wrote: Flavius, Flavius wrote: My ultimate goal is to give these instructions to a network admin: 1. Download and install Tomcat 2. Place war file in /webapps 3. Put the app.properties file at __ and set your database and email server info. 4. Start tomcat

Re: Location of properties file for web app in Tomcat

2009-02-07 Thread Flavio Crispim
Christopher Schultz wrote: Flavius, Flavius wrote: My ultimate goal is to give these instructions to a network admin: 1. Download and install Tomcat 2. Place war file in /webapps 3. Put the app.properties file at __ and set your database and email server info. 4. Start tomcat Som

Re: tomcat 6, ubuntu, mysql connection

2009-01-27 Thread Flavio Crispim
Hi Mihamina please refer to tomcat docs: http://tomcat.apache.org/tomcat-6.0-doc/jndi-datasource-examples-howto.html#Database%20Connection%20Pool%20(DBCP)%20Configurations Flavio Atenciosamente, Flavio Crispim - GEDEM SulAmerica associada ao ING 5º Andar asa Oeste - Morumbi Rota: 111-5753 (11

Re: Windows Migration 5.5.23 to 6.0.18 - java.lang.ClassNotFoundException: org.apache.catalina.startup.Catalina

2009-01-21 Thread Flavio Crispim
Hi Dan You need to set CATALINA_HOME variable pointingo to your installation directory. Flavio regards "Dan" gravou em 21/01/2009 14:27:27: > I am migrating from 5.5.23 on Windows to 6.0.18. I have installed the > Windows Service binary download and can start up the server fine with the > i

Re: Random Connection Closed Exceptions - Question to the code example

2009-01-21 Thread Flavio Crispim
. > > Regards > Stefan > > Flavio Crispim schrieb: > > Hi Stefan > > > > I would try this one: > > > > Connection conn = null; > > Statement stmt = null; // Or PreparedStatement if needed > > try { > > conn = ..

Re: encodeRedirectURL URL rewrite not working

2009-01-21 Thread Flavio Crispim
Hi Greg You may try this on App1: RequestDispatcher rd; rd = context.getContext("/App2").getRequestDispatcher("/LaunchServlet"); rd.forward(request, response); Flavio "Greg Burrow" gravou em 20/01/2009 18:44:18: > Hello, > I have two web applications in different context, one servlet will for

Re: Random Connection Closed Exceptions - Question to the code example

2009-01-20 Thread Flavio Crispim
com/javase/6/docs/api/java/sql/Connection.html#close() This race condition should be threated as connection pool´s bug, IMHO. Flavio Crispim PS: English isn´t my mother language... Alan Chaney gravou em 19/01/2009 21:24:43: > Hi Stefan > > I went and read the comments more carefully