JDBC: Socket closed connection reset by peer
Hi. I'm using PostgreSQL (7.2) as backend database for my application and for the JDBCRealm. After some time (typically during night), I get SQLExceptions caused by the socket being either closed or reset by peer. Anybody having (had) similar problems (and solved them)? Versions are Tomcat 4.0.3, JDK 1.4, RedHat 7.3. Yours, Haakon Hansen Norway -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: load-on-startup tag problem
On Tue, 4 Jun 2002 09:00:50 -0400 Shapira, Yoav [EMAIL PROTECTED] wrote: Howdy, A bit more info would be nice. Specifically, do you get any errors parsing your web.xml? Is there anything in your context log or the general tomcat logs regarding not being able to find a class required by one of the servlets below? How do you tell that the servlet classes are not found - exceptions thrown or just not the expected behavior? In the latter case - in which of the servlet methods have you placed your code? Yours, Haakon Hansen Norway -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Tomcat / JBoss / JNDI lookup not working - HELP!
On Mon, 3 Jun 2002 11:48:14 -0500 Miller, Andy [EMAIL PROTECTED] wrote: I have seperate instances of Tomcat and JBoss running on the same machine. I'm trying to do a JNDI lookup of a JMS queue that's configured in JBoss from Tomcat but cannot get it to work. I have not taken the time to fully analyze your problem, but I have had similar problems with JNDI lookups JBoss 3.0 / Tomcat 4.0. What I had to do, was to set the initial factory as a System property before creating the InitialContext for the first time, like this: System.setProperty(java.naming.factory.initial, org.jnp.interfaces.NamingContextFactory); Good luck! Yours, Haakon Hansen, Norway -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Tomcat / JBoss / JNDI lookup not working - HELP!
On Mon, 3 Jun 2002 12:32:11 -0500 Miller, Andy [EMAIL PROTECTED] wrote: You are very welcome :-) Yours, Haakon Hansen, Norway -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: ??? Where's javax.servlet.* Source Code ???
On Thu, 23 May 2002 03:26:06 -0500 Tony LaPaso [EMAIL PROTECTED] wrote: Hello all, I'm using Tomcat v4.0.4 B3. Does anyone know where I can find the soure code for the javax.servlet.* classes? Should be in a file called servlet.jar or servlet_*.jar or something ... Look in ${TOMCAT_HOME}/common/lib/ subdirectory Yours, Haakon Hansen, Norway -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: redirection from a custom tag
Is there something I can do to prevent the jsp from trying to release the pageContext? Isn't it just fair that it does so? You are, after all, moving out of scope from the first (containing the tag) page's point of view ... Yours, Haakon Hansen Norway -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Setting JNDI properties with Tomcat 4.0.3
On Wed, 15 May 2002 10:09:05 +0100 Simon Rodway [EMAIL PROTECTED] wrote: I'm using Tomcat 4.0.3, and trying to set the java.naming.factory.initial property. I'm having the same problem, and I'm equally curious as to what's really going on and how to deal with this the 'Tomcat 4.x' way. However, to make it work: Set the initial factory as a System property: System.setProperty(java.naming.factory.initial, org.jnp.interfaces.NamingContextFactory); --- Yours, Haakon Hansen Norway -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: troubles in web.xml file ? tomcat can't find dtd.
On Tue, 14 May 2002 08:37:16 +0200 [EMAIL PROTECTED] wrote: http://java.sun.com/dtd/web-app_2_3.dtd Generally, you might try to download the dtd in your browser. This will tell you if it exists (this one does) - in which case your 'not found' error is a networking problem. Or you might try to read the dtd yourself to see if your syntax checks out. However - in your case: Notice that part of your statement (-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN) calls for version 2.2, the dtd you are trying to use says version 2.3 (http://java.sun.com/dtd/web-app_2_3.dtd). I suggest you agree on one version ... -- Haakon Hansen Norway -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Tomcat 4 and external JNDI in general - or JBoss 3 in particular
[ ... ] I fail to see the authoritative, working example as to how Tomcat is configured to allow an application to connect with external EJB resources. [ ... ] Replying to my own posting, I just found out that RC1 of a bundle of JBoss 3.0.0 and Tomcat 4.0.3 is available at http://www.jboss.org/binary.jsp, that might just eliminate the problem altogether. Still, a little documentation would be nice. Yours, Haakon Hansen Norway -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Tomcat 4 and external JNDI in general - or JBoss 3 in particular
Hi. Sorry if I have missed it - but I have searched the mail archive and read the Tomcat pages at Jakarta. I fail to see the authoritative, working example as to how Tomcat is configured to allow an application to connect with external EJB resources. Could someone please provide this? I have solved the problem (in a way suggested in the list archives) by setting up my own environment and even setting the initial factory as a System property. There must be a more elegant solution. (Would somebody deeply involved in the project please make such info examples available on the project pages?) Yours, Haakon Hansen Norway -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]