Re: java.sql.SQLException: No more data to read from socket

2012-07-19 Thread André Warnier
vijay mathew wrote: My application is using Tomcat 5.5 It works fine all the time however at times when I try to login to the application I get the below exception java.sql.SQLException: No more data to read from socket at

Re: java.sql.SQLException: No more data to read from socket

2012-07-19 Thread Jose María Zaragoza
2012/7/19 vijay mathew vijaymathew2...@yahoo.com: My application is using Tomcat 5.5 It works fine all the time however at times when I try to login to the application I get the below exception java.sql.SQLException: No more data to read from socket at

Re: java.sql.SQLException: No more data to read from socket

2012-07-19 Thread vijay mathew
Jose, Tomcat is using JDK 1.5 and its JDBC driver.So I am not sure if I need to upgrade the JDBC driver. I suspect that whene DB is getting restarted, the idle connections are being removed. Not sure how we can avoid this situation Thanks and Regards, Vijay Mathew --- On Thu, 19/7/12, Jose

Re: java.sql.SQLException: No more data to read from socket

2012-07-19 Thread Daniel Mikusa
- Original Message - Jose, Tomcat is using JDK 1.5 and its JDBC driver.So I am not sure if I need to upgrade the JDBC driver. I suspect that whene DB is getting restarted, Are you restarting the Oracle database without restarting your Tomcat instance? Depending on how your

Re: java.sql.SQLException: No more data to read from socket

2012-07-19 Thread Jose María Zaragoza
2012/7/19 vijay mathew vijaymathew2...@yahoo.com: Jose, Tomcat is using JDK 1.5 and its JDBC driver.So I am not sure if I need to upgrade the JDBC driver. I suspect that whene DB is getting restarted, the idle connections are being removed. Not sure how we can avoid this situation OK, so

Re: java.sql.SQLException: No more data to read from socket

2012-07-19 Thread vijay mathew
Thanks Daniel and Jose. Do you knoe what is the root cause of this issue --- On Thu, 19/7/12, Daniel Mikusa dmik...@vmware.com wrote: From: Daniel Mikusa dmik...@vmware.com Subject: Re: java.sql.SQLException: No more data to read from socket To: Tomcat Users List users@tomcat.apache.org

Re: java.sql.SQLException: No more data to read from socket

2012-07-19 Thread Daniel Mikusa
- Original Message - Thanks Daniel and Jose. Do you knoe what is the root cause of this issue It's hard to say since you have not answered the questions from my previous email, you have not posted your data source configuration and you have only posted a partial stack trace.

RE: Client Authentication using SSL

2012-07-19 Thread Jeffrey Janner
-Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Tuesday, July 17, 2012 9:14 AM To: Tomcat Users List Subject: Re: Client Authentication using SSL -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jeffrey, On 7/16/12 10:01 AM, Jeffrey

Re: java.sql.SQLException: No more data to read from socket

2012-07-19 Thread vijay mathew
Thanks Daniel. - DB is getting restarted every weekend but tomcat is not getting restarted at the same time. just fyi this issue doesnt happen every time. It happens once every month even if the DB is getting restarted every week. So not sure wat is the exact root cause -I have attached the

Re: java.sql.SQLException: No more data to read from socket

2012-07-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Vijar, On 7/19/12 12:49 AM, vijay mathew wrote: My application is using Tomcat 5.5 It works fine all the time Great. however at times when I try to login to the application I get the below exception Oh, I thought you said it works fine all the

Re: java.sql.SQLException: No more data to read from socket

2012-07-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jose, On 7/19/12 8:36 AM, Jose María Zaragoza wrote: 2012/7/19 vijay mathew vijaymathew2...@yahoo.com: Jose, Tomcat is using JDK 1.5 and its JDBC driver.So I am not sure if I need to upgrade the JDBC driver. I suspect that whene DB is getting

Re: java.sql.SQLException: No more data to read from socket

2012-07-19 Thread Daniel Mikusa
- Original Message - Thanks Daniel. - DB is getting restarted every weekend but tomcat is not getting restarted at the same time. just fyi this issue doesnt happen every time. It happens once every month even if the DB is getting restarted every week. So not sure wat is the exact

Tomcat 7.0.25 on an AS/400, V5R4, Another try. Help?

2012-07-19 Thread James Lampert
Theoretically, I've ironed out the bugs concerning which JVMs Tomcat will run under, but it still isn't coming up. The STDOUT from attempting to start Tomcat is as follows: /wintouch/tomcat/bin/catalina.sh: 001-0019 Error found searching for command tty. No such path or directory. Using

Re: Tomcat 7.0.25 on an AS/400, V5R4, Another try. Help?

2012-07-19 Thread Tim Watts
On Thu, 2012-07-19 at 15:10 -0700, James Lampert wrote: Theoretically, I've ironed out the bugs concerning which JVMs Tomcat will run under, but it still isn't coming up. The STDOUT from attempting to start Tomcat is as follows: /wintouch/tomcat/bin/catalina.sh: 001-0019 Error found

Re: Tomcat 7.0.25 on an AS/400, V5R4, Another try. Help?

2012-07-19 Thread Rainer Jung
On 20.07.2012 00:10, James Lampert wrote: Theoretically, I've ironed out the bugs concerning which JVMs Tomcat will run under, but it still isn't coming up. The STDOUT from attempting to start Tomcat is as follows: /wintouch/tomcat/bin/catalina.sh: 001-0019 Error found searching for command

Re: Tomcat 7.0.25 on an AS/400, V5R4, Another try. Help?

2012-07-19 Thread James Lampert
Tim: This is normally in TC_HOME/lib/catalina.jar. A. Does it exist there? B. Does the user the process is running as have permission to read that file and directory? C. If yes to A B, is the file corrupt? /wintouch/tomcat/lib/catalina.jar exists. I had to FTP it

Re: java.sql.SQLException: No more data to read from socket

2012-07-19 Thread vijay mathew
The entire stacktrace is as below java.sql.SQLException: No more data to read from socket at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:74) at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:110) at

Re: Tomcat 7.0.25 on an AS/400, V5R4, Another try. Help?

2012-07-19 Thread Pete Helgren
The error might be a red herring or a show stopper but I also have: export -s JAVA_OPTS=-Dos400.awt.native=true -Djava.awt.headless=true -Xms256m -Xmx512m In my catalina.sh script. That took care of a tty error I had (although I don't know if that is the issue in your case). Pete Helgren

Re: java.sql.SQLException: No more data to read from socket

2012-07-19 Thread vijay mathew
Daniel, It is a web application. I was just referring to the java code in the webapplication. This is how we retrieve the connection Class.forName(driver); ObjectPool connectionPool = new GenericObjectPool(null); ConnectionFactory connectionFactory = new

Forms authentication without cookies in 6.0.33

2012-07-19 Thread Brett Mason
Hi there, We have an application which uses the forms authentication provided by Servlet specification and is configured store session IDs in the URL rather than using cookies. This configuration has been working as expected under Tomcat 6.0.32 and earlier. On upgrading to Tomcat 6.0.33 or