RE: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT

2004-02-02 Thread Chakravarthy, Sundar
Trying using classes12.jar in tomcat_home/common/lib -Original Message- From: Kumar Abhay-CAK203C [mailto:[EMAIL PROTECTED] Sent: Monday, February 02, 2004 11:50 AM To: 'Tomcat Users List' Subject: RE: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT Importance: High Path of the dB

RE: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT

2004-02-02 Thread Chakravarthy, Sundar
: Monday, February 02, 2004 11:12 AM To: 'Tomcat Users List' Subject: RE: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT Importance: High I hv tried this also .. No success Abhay -Original Message- From: Chakravarthy, Sundar [mailto:[EMAIL PROTECTED] Sent: Monday

RE: Apache + tomcat +ssl

2004-01-22 Thread Chakravarthy, Sundar
Edit apache's httpd.conf and ssl.conf to setup Virtual Hosts Edit Tomcat's server.xml to so that the Host name matches the Virtual Host servername inside httpd.conf and ssl.conf. http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/jk.html -Original Message- From: Omkar Joshi

Virtual Host newbie question ?

2004-01-16 Thread Chakravarthy, Sundar
I have setup apache/tomcat/ with Vhost and everything works great! However, I am not able to use the IP alone with the server name to access the system i.e. http://server_name http://server_name/ works but not http://IP http://ip/ Why? Thanks

RE: Virtual Host newbie question ?

2004-01-16 Thread Chakravarthy, Sundar
Hi, It is set to Off. Should it be On? -Original Message- From: Howard Watson [mailto:[EMAIL PROTECTED] Sent: Friday, January 16, 2004 11:12 AM To: [EMAIL PROTECTED] Subject: Re: Virtual Host newbie question ? What is the vailue of UseCanonicalName in your apache conf? [EMAIL

RE: Problems With Caching [tomcat 4.23]

2004-01-14 Thread Chakravarthy, Sundar
Are you using IE ? If you are you may want to check the following setting, Tools-Internet Options-General Tab-Settings.button-Check for newer versions of stored pages... -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 14, 2004 2:09 PM To:

RE: Connection pool exhausted

2004-01-09 Thread Chakravarthy, Sundar
Did you check the logs for abandoned ones? I was able to successfully trace unclosed Oracle connections with the help of db-commons auto logging feature. But first you have to make sure all your API is using jdbc/theDB resource to open connections. -Original Message- From: Allistair

HttpSessionListener - sessionDestroyed

2004-01-07 Thread Chakravarthy, Sundar
Does Tomcat 4.x call sessionDestroyed if the user closes his browser window or only on Session invalidate() or timeout ( 30 mts ) ? Notice sessionCreated is called but not sessionDestroyed. Thanks - To unsubscribe, e-mail:

RE: HttpSessionListener - sessionDestroyed

2004-01-07 Thread Chakravarthy, Sundar
- sessionDestroyed Howdy, Isn't it much easier to try this than to email the list? ;) Tomcat doesn't care much for the user's browser. Yoav Shapira Millennium ChemInformatics -Original Message- From: Chakravarthy, Sundar [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 07, 2004 11:19 AM

RE: java.lang.NoClassDefFoundError: oracle/jdbc/driver/OracleDriver

2004-01-06 Thread Chakravarthy, Sundar
Trying renaming classes12.zip to classes12.jar -Original Message- From: Sachdeva, Devinder [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 06, 2004 10:10 AM To: [EMAIL PROTECTED] Subject: java.lang.NoClassDefFoundError: oracle/jdbc/driver/OracleDriver All- I'm getting the following

RE: Differences Between Apache and Tomcat

2004-01-06 Thread Chakravarthy, Sundar
Any thoughts on using apache-tomcat(s) for load-balancing/failover VS tomcat-tomcat(s)? Thanks -Original Message- From: David Wall [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 06, 2004 11:00 AM To: Tomcat Users List Subject: Re: Differences Between Apache and Tomcat As always, I

RE: webapp works through Apache, not Tomcat directly

2004-01-06 Thread Chakravarthy, Sundar
Could be a permission issue: docBase=/usr/local/webserver/webapps/MyApp Tomcat is unable to read directory under =/usr/local/webserver/webserver. -Original Message- From: Jerry Ford [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 06, 2004 1:44 PM To: Tomcat Users List Subject:

RE: Why can't we store big objects in session?

2004-01-05 Thread Chakravarthy, Sundar
My opinion is in most cases you can with proper testing and profiling ; depends on how big is big. A large memory isn't necessarily a problem in itself. I would be concerned about going over the network frequently to fetch small amounts of data. -Original Message- From: Ralph Einfeldt

Tomcat 5 - Tag Lib Error

2003-12-24 Thread Chakravarthy, Sundar
Hi, I just installed Windows version of Tomcat 5.x and get the following error while try to run tag library examples.. Others work fine. HTTP Status 500 - _ type Exception report message description The server encountered an internal error () that prevented it from

RE: Tomcat 5 - Tag Lib Error

2003-12-24 Thread Chakravarthy, Sundar
: Chakravarthy, Sundar [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 24, 2003 11:12 AM To: [EMAIL PROTECTED] Subject: Tomcat 5 - Tag Lib Error Hi, I just installed Windows version of Tomcat 5.x and get the following error while try to run tag library examples.. Others work fine. HTTP Status

RE: Tomcat 5 - Tag Lib Error

2003-12-24 Thread Chakravarthy, Sundar
ChemInformatics -Original Message- From: Chakravarthy, Sundar [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 24, 2003 11:23 AM To: Tomcat Users List Subject: RE: Tomcat 5 - Tag Lib Error I am running BasicArithmetic example found in the base distribution - http://localhost:8080/jsp-examples/ Here

RE: Tomcat 5 - Tag Lib Error

2003-12-24 Thread Chakravarthy, Sundar
Actually, none of the JSP 2.0 examples work. I can only browse their source code. Tried installing via Windows exe as well as zip. Merry Xmas! -Original Message- From: Chakravarthy, Sundar Sent: Wednesday, December 24, 2003 11:42 AM To: Tomcat Users List Subject: RE: Tomcat 5 - Tag Lib

RE: mod_jk only usable from localhost

2003-12-18 Thread Chakravarthy, Sundar
1. Make sure machine is visible ping computername 2. Make sure apache is serving pages http://computername 3. Make sure tomcat works in standalone mode http://computername:8080 4. Then edit httpd.conf , tomcat's server.xml ( see docs )

mod_jk1.2 Binary for Solaris ?

2003-11-20 Thread Chakravarthy, Sundar
I don't find any mod_jk so files for solaris after I unpack solaris8.tar.gz file from here http://mirrors.xtria.com/apache/jakarta/tomcat-connectors/jk/binaries/so laris/ . Could someone tell me how to get mod_jk 1.2 binary for Solaris 8 or 9 ? Thanks

RE: mod_jk1.2 Binary for Solaris ?

2003-11-20 Thread Chakravarthy, Sundar
Yes , thanks I had to use gnu tar. -Original Message- From: jean-frederic clere [mailto:[EMAIL PROTECTED] Sent: Thursday, November 20, 2003 11:30 AM To: Tomcat Users List Subject: Re: mod_jk1.2 Binary for Solaris ? Chakravarthy, Sundar wrote: I don't find any mod_jk so files

mod_jk 1.2 so Bug ?

2003-11-20 Thread Chakravarthy, Sundar
The latest mod_jk1.2 binary for Solaris 8 , apache 2.x , tomcat 4.x does not connect with tomcat. Is it a bug ? I keep getting the following error in the log, [Thu Nov 20 11:36:39 2003] [jk_connect.c (233)]: jk_open_socket, connect() failed errno = 128 [Thu Nov 20 11:36:39 2003]

Tomcat 4.1.18 + Mod_JK + Apache 2.0.43

2003-06-30 Thread Chakravarthy, Sundar
Hi, We have Apache with mod_jk on Solaris 8 load-balanced with 2 local Tomcats. What I notice is that mod_jk seems to be sending all requests to only one Tomcat . If it fails the other Tomcat gets all the requests again i.e mod_jk seems to be doing failover but not load-balancing. Any

OT: PreparedStatement with dynamic parameter list

2003-04-01 Thread Chakravarthy, Sundar
Has anyone constructed a PreparedStatement where the number of ?s ( i.e bind variables ) is unknown at compile time ? Is there any support of that in JDBC ? Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Casting DBCP Connection to OracleConnection

2003-03-31 Thread Chakravarthy, Sundar
HI, I am using Tomcat 4.1.18 with Oracle 9i. When I try to cast the Connection returned from DBCP to OracleConnection I get a ClassCastException . Anyone here know how to cast correctly ? Thanks - To unsubscribe, e-mail:

RE: Casting DBCP Connection to OracleConnection

2003-03-31 Thread Chakravarthy, Sundar
I tried the following with no success, 1. PoolableConnection pc = (PoolableConnection)conn; 2. OracleConnection oc = (OracleConnection)pc.getDelegate(); Fails in line 2 -Sundar -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: Monday, March 31, 2003 10:34 AM To:

RE: Casting DBCP Connection to OracleConnection

2003-03-31 Thread Chakravarthy, Sundar
Compile fail or run-time fail? If compile fail - you need a nightly of dbcp. If run-time fail, you may need to use getInnermostDelegate() instead -Tim Chakravarthy, Sundar wrote: I tried the following with no success, 1. PoolableConnection pc = (PoolableConnection)conn; 2. OracleConnection oc

RE: [OT] Re: Casting DBCP Connection to OracleConnection

2003-03-31 Thread Chakravarthy, Sundar
exception? If so what is the exception? -Tim Chakravarthy, Sundar wrote: Run-time failure using both getInnermostDelegate() and getDelegate(). Any other alternatives ? -Sundar -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: Monday, March 31, 2003 10:49 AM

RE: Casting DBCP Connection to OracleConnection

2003-03-31 Thread Chakravarthy, Sundar
are accessing before you try to cast it Filip -Original Message- From: Chakravarthy, Sundar [mailto:[EMAIL PROTECTED] Sent: Monday, March 31, 2003 7:57 AM To: Tomcat Users List Subject: RE: Casting DBCP Connection to OracleConnection Run-time failure using both getInnermostDelegate

RE: Casting DBCP Connection to OracleConnection - Solved IT!

2003-03-31 Thread Chakravarthy, Sundar
I was using ojdbc_g.jar instead of classes12.zip ( i.e classes12.jar ) Sundar -Original Message- From: Chakravarthy, Sundar Sent: Monday, March 31, 2003 11:11 AM To: Tomcat Users List Subject: RE: Casting DBCP Connection to OracleConnection Strange .. the getDelegate().getClass

RE: Casting DBCP Connection to OracleConnection - Solved IT!

2003-03-31 Thread Chakravarthy, Sundar
Users List Subject: RE: Casting DBCP Connection to OracleConnection - Solved IT! Where do you find ojdbc_g.jar? I was using ojdbc_g.jar instead of classes12.zip ( i.e classes12.jar ) Sundar -Original Message- From: Chakravarthy, Sundar Sent: Monday, March 31, 2003 11:11 AM To: Tomcat Users

java.lang.IllegalStateException: getOutputStream() - Tomcat 4.1.18

2003-03-06 Thread Chakravarthy, Sundar
I have a jsp that writes documents out to the browser , using a HREF something like readfile.jsp?FileID=101 Although readfile.jsp works, it consistently logs the following error. Could someone tell me why ? Thanks. - Root Cause - java.lang.IllegalStateException: getOutputStream() has

RE: Tomcat Scalability

2003-03-04 Thread Chakravarthy, Sundar
The guideline I use is... Prioritize Use-Cases based on R/W, Frequency Try to optimize the the most frequent Use-Cases Test/Profile you app; often this leads to the following, Optimize database queries since I often find this to be the bottleneck. - Cache objects if you can in memory

Tomcat Debug Level

2003-03-04 Thread Chakravarthy, Sundar
When I set a Context's debug=99, it prints all jsp's that are mapped to that Context. Is there a way to make Tomcat report what Bean/Class and JSP it is currently executing ? Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED]

Tomcat 4.1.18 DBCP Error/Show-Stopper

2003-02-28 Thread Chakravarthy, Sundar
Environment - Apache 2.x - Mod_jk2 - Tomcat 4.1.18 - - - Solaris 5.8 - 2 GB RAM , Xms512m, Xmx512m Error - DHCP browse object failed: java.sql.SQLException: ORA-00020 Why doesn't restarting the database server refresh the connection in DBCP ? I do have validationQuery

RE: Tomcat 4.1.18 - Scalability Issue ?

2003-02-28 Thread Chakravarthy, Sundar
/maxProcessors and acceptCount? Yoav Shapira Millennium ChemInformatics -Original Message- From: Chakravarthy, Sundar [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 26, 2003 9:02 AM To: Tomcat Users List Subject: Tomcat 4.1.18 - Scalability Issue ? Hi , I have a single instance of Tomcat

RE: Tomcat 4.1.18 - Scalability Issue ?

2003-02-28 Thread Chakravarthy, Sundar
first and then do accept count. Repeat the process as many times as necessary. Once you're done and it's all graphed in a chart, you can see if one particular set of min/accept values results in better scalability. hope that helps. peter --- Chakravarthy, Sundar [EMAIL PROTECTED] wrote: Hi

Tomcat 4.1.18 - Scalability Issue ?

2003-02-26 Thread Chakravarthy, Sundar
Hi , I have a single instance of Tomcat in the following environment, Apache 2.x - Mod_jk2 - Tomcat 4.1.18 - - - Solaris 5.8 - 2 GB RAM , Xms512m, Xmx512m However, when I try to stress-test Tomcat with 10 or more Threads using Jmeter, I get the following exception quite consistently.

RE: Tomcat 4.1.18 - Scalability Issue ?

2003-02-26 Thread Chakravarthy, Sundar
/maxProcessors and acceptCount? Yoav Shapira Millennium ChemInformatics -Original Message- From: Chakravarthy, Sundar [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 26, 2003 9:02 AM To: Tomcat Users List Subject: Tomcat 4.1.18 - Scalability Issue ? Hi , I have a single instance of Tomcat

java.lang.NoClassDefFoundError: org/apache/jasper/runtime/HttpJspBase

2003-02-25 Thread Chakravarthy, Sundar
Tomcat 4.1.18 - Mod_jk2 - Apache 2.x - Solaris 5.8 Everything seems to be working fine, but when I stress-test Tomcat with Jmeter I get the following error, 2003-02-25 11:34:03 StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exception javax.servlet.ServletException:

DBCP Broken Pipe Error - 4.1.18

2003-02-14 Thread Chakravarthy, Sundar
HI, Env = Apache 2.x , Tomcat 4.1.18 , Oracle 9i , DBCP , Solaris 8 I get the following error after my application has been idle for sometime. The error goes away after I reload my app. 2003-02-14 08:24:22 SQLException: java.sql.SQLException: Io exception: Broken pipe java.sql.SQLException: Io

RE: RE: Oracle cursor problem with Tomcat 4.1.12 and Commons BDSF

2003-02-13 Thread Chakravarthy, Sundar
Could you tell me how to force Tomcat to close connections sooner ? Also where can I find the documentation for all the parameters I could set in the xml file ? Another question: Say I have the following statements, 1 System.out.println(Creating connection.); 2 conn =