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
: 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
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
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
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
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:
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
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:
- 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
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
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
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:
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
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
: 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
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
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
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 )
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
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
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]
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
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
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:
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:
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
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
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
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
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
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
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
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]
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
/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
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
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.
/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
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:
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
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 =
41 matches
Mail list logo