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 6.0.35

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 DriverManagerConnectionFactory(conn

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 Helgre

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 oracle.jdbc.driver.Datab

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

2012-07-19 Thread James Lampert
Tim: This is normally in /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 elsewhere to

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 tt

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 foun

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 CATAL

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

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 : >> 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 co

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 t

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 se

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,

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. Neverth

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 wrote: > From: Daniel Mikusa > Subject: Re: java.sql.SQLException: No more data to read from socket > To: "Tomcat Users List" > Date: Thursday, 19 July, 2012, 5:39 PM > - Original Me

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

2012-07-19 Thread Jose María Zaragoza
2012/7/19 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 OK, so you are restarting th

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 appli

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 Mar

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

2012-07-19 Thread Jose María Zaragoza
2012/7/19 vijay mathew : > 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 > oracle.jdbc.driver.SQLStateMapping.newSQLException(

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 oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMappi