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

2012-07-20 Thread vijay mathew
For the last 2 failures, this issue appeared on Monday and DB gets restarted every Saturday. So I assume that this issue has to do something with the DB restart for the last 2 failures. However 1 months back, the same issue appeared on a Wednesday. So I was not able find a real pattern for thi

Re: Location of Tomcat 7 jvm defualt settings...

2012-07-20 Thread Tony Anecito
Thanks for the quick reply Mark. Yes I saw your comments in one of your presentations about profilier and I am a fan of visualvm and have profiled Tomcat in the past but when down to 1-2msec not sure how much the profilier can pick up. I did notice that as the hotspot engine "warms up" the resp

Re: Location of Tomcat 7 jvm defualt settings...

2012-07-20 Thread Mark Thomas
On 20/07/2012 21:42, Tony Anecito wrote: > Thanks Charles I have found documention for all the below from the > Tomcat group but seemed somewhat outdated. Mark Thomas's name seemed > dominant in most of the presentations I have seen there is even > sections dealing with Tomcat in various Tomcat boo

RE: Location of Tomcat 7 jvm defualt settings...

2012-07-20 Thread Tony Anecito
Thanks Charles I have found documention for all the below from the Tomcat group but seemed somewhat outdated. Mark Thomas's name seemed dominant in most of the presentations I have seen there is even sections dealing with Tomcat in various Tomcat books I have seen. True the tuning is dependent

RE: Location of Tomcat 7 jvm defualt settings...

2012-07-20 Thread Caldarale, Charles R
> From: Tony Anecito [mailto:adanec...@yahoo.com] > Subject: Location of Tomcat 7 jvm defualt settings... > Does anyone know the location of the default jvm settings for Tomcat 7 > if the JAVA_OPTS env variable for windows is not specified? There are none. Tomcat uses whatever the JVM defaults

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

2012-07-20 Thread James Lampert
Christopher Schultz wrote: export -s JAVA_OPTS="-Dos400.awt.native=true -Djava.awt.headless=true -Xms256m -Xmx512m" In my catalina.sh script. FYI it is recommended to customize catalina.sh by creating a setenv.sh script and using that. That way, you don't have to play games with updating catal

Location of Tomcat 7 jvm defualt settings...

2012-07-20 Thread Tony Anecito
Hi All, Does anyone know the location of the default jvm settings for Tomcat 7 if the JAVA_OPTS env variable for windows is not specified?   Also, does anyone know what the recommended settings to start with for say Oracle 64-bit jvm and Tomcat 7? For -Xss it used to be -Xss126k for 32-bit jvm

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

2012-07-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 - -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Vijay, On 7/19/12 8:25 PM, vijay mathew wrote: > java.sql.SQLException: No more data to read from socket at > oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:74) > > > > at or

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

2012-07-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pete, On 7/19/12 8:29 PM, Pete Helgren wrote: > 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. FYI i

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

2012-07-20 Thread Daniel Mikusa
- Original Message - > Daniel Mikusa wrote: > ... > > > > > This doesn't look like a Tomcat issue. Your app is maintaining its > > own connection pool, it is not using one provided by Tomcat. I > > would suggest that you talk with your developers and see if they > > can help you. > > >

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

2012-07-20 Thread André Warnier
Daniel Mikusa wrote: ... This doesn't look like a Tomcat issue. Your app is maintaining its own connection pool, it is not using one provided by Tomcat. I would suggest that you talk with your developers and see if they can help you. Which, after a very long detour, seems to bring us back

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

2012-07-20 Thread Daniel Mikusa
- Original Message - > 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 connectionFac

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

2012-07-20 Thread Tim Watts
On Thu, 2012-07-19 at 17:25 -0700, James Lampert wrote: > 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 corr

Re: Forms authentication without cookies in 6.0.33

2012-07-20 Thread Mark Thomas
Brett Mason wrote: >Could someone please clarify if Tomcat supports forms authentication >without cookies? It should. > If it is intended to be a supported configuration I'm >happy to submit a bug report and can provided a simple standalone test >app >to reproduce the problem. Please. The best

Re: Forms authentication without cookies in 6.0.33

2012-07-20 Thread Pid *
On 20 Jul 2012, at 03:38, Brett Mason wrote: > 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.