Need help understanding DB connection versus servlet request life cycle

2015-08-14 Thread Cris Berneburg - US
BACKGROUND: I've been doing Java servlet coding for about 2 years and need help understanding something. I work on a legacy JSP and servlets web application project using Tomcat. Previously all the SQL was embedded right into the Java and JSP code. I added the myBatis framework and moved

Re: Need help understanding DB connection versus servlet request life cycle

2015-08-14 Thread osagie uwaifo
Chris, Why don't you allow tomcat manage the connection for you? http://tomcat.apache.org/tomcat-7.0-doc/jdbc-pool.html It is a lot easier that way. Do you need examples? On Fri, Aug 14, 2015 at 9:12 AM, Cris Berneburg - US cberneb...@caci.com wrote: BACKGROUND: I've been doing Java

Re: building 64-bit isapi_redirect.dll

2015-08-14 Thread Andy Wang
On 08/14/2015 11:57 AM, Christopher Schultz wrote: You might want to reach-out to the Apache Lounge folks, too... they seem to have a good process for building ASF binaries that they might be willing to share with you. That was one of the first things I thought about and checked. This is

Re: building 64-bit isapi_redirect.dll

2015-08-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Andy, On 8/13/15 6:04 PM, Andy Wang wrote: On 08/13/2015 04:46 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Andy, On 8/13/15 5:34 PM, Andy Wang wrote: I was hoping to find out how the official

RE: Need help understanding DB connection versus servlet request life cycle

2015-08-14 Thread Cris Berneburg - US
Osagie -Original Message- From: osagie uwaifo [mailto:osagieuwa...@gmail.com] Sent: Friday, August 14, 2015 10:49 AM To: Tomcat Users List Subject: Re: Need help understanding DB connection versus servlet request life cycle Chris, Why don't you allow tomcat manage the connection

RE: Java Servlet error with tomcat running on Windows Server 2008 R2

2015-08-14 Thread Chen Yang
I have cleared whitespace or any escaping character in the URL, made sure all image links are validated. But now I get a different error. The error message shows The resource path [file:/C:/tomcat/bin/] is not valid , not sure where is this file:/C:/tomcat/bin/ path coming from, that all my