Hi,
Yes Connection pool is good because it gives a performance boost to your
application
( because open connection / close connection is cpu and network
intensive )
You dont have a to configure DBCP in tomcat. you can do that in your
application as well.
You can configure DBCP
--- Anoop kumar V [EMAIL PROTECTED] wrote:
Everything works perfectly fine in your jsp and
bean except that the
package mentioned in your bean (Beany.java) file
seems incorrect
Aaawwrrgh! (Bangs head against wall several
dozen times)
Thank you. That was such a stupid mistake; I
I agree 100% with Farhad. The problem is not with headless but with
your code. The exception tells you exactly what is happening. Your
code is not finding the font. If you want to build fonts, you have to
upload the font files with the right TextAttribute settings.
On 5/7/05, Daniel Watrous
Your class comments indicate a different purpose than your class code,
but assuming a connection in your mind, code something like the
following might be helpful to you:
public class Fonts {
public static Font [] getFonts() {
return
On Sat, May 07, 2005 at 01:39:50PM -0400, Anoop kumar V wrote:
: Another thing I noticed that you have placed your bean as a jar in the
: WEB-INF/lib directory - while this works perfectly the practice is to put
: custom class files in the WEB-INF/classes directory as just .class files
: under
I was reading the following nice explanation of the mod_jk
configuration options. The 3rd form, the suffix match is easy, but I
don't understand the difference between the 2 first forms for JkMount,
the exact match and the context match. Could someone explain when
you'd use one versus the other?
I found the solution! Posting here to save other people the problems I
had in finding this:
Put this in your server.xml (or conf/Catatlina/localhost/*.xml) file:
Valve className=org.apache.catalina.authenticator.FormAuthenticator
disableProxyCaching=false /
As posted by Tim Funk in reply to your original message, the details
regarding this problem are found here:
http://issues.apache.org/bugzilla/show_bug.cgi?id=27122
Note that it is a problem with IE only, wherein IE can't handle no-cache
cache directives, and Tomcat only sets these headers when
I'm iafraind I don't understand. Where should the line be?
I've done the following
mkdir dir=${tomcat-dbcp.home}/src/java/org/apache/tomcat/dbcp /
move todir=${tomcat-dbcp.home}/src/java/org/apache/tomcat/dbcp
fileset dir=${tomcat-dbcp.home}/src/java/org/apache/commons/
fileset
Attempting to put the include inside the move element, one has the following
error:
BUILD FAILED
/home/tomcat/build.xml:49: The following error occurred while executing this
line:
/home/tomcat/jakarta-tomcat-5/build.xml:1896: The following error occurred
while executing this line:
Problem solved:
On 5/8/05, Kent R. Spillner [EMAIL PROTECTED] wrote:
- - - -BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi, FL-
On May 8, 2005, at 5:09 PM, FL wrote:
I'm afraid I don't understand. Where should the line be?
Doh; sorry. I should have been more clear.
From: Michael Strorm [EMAIL PROTECTED]
skeleton/WEB-INF/lib/subapp/Beany.class
Jar files go in WEB-INF/lib. Classes go under WEB-INF/classes in a
directory structure matching the package name. What package statement does
Beany.java contain?
org.apache.jasper.JasperException:
Hi all,
I'm getting a the following ClassCastException running Tomcat 5.5.9 with
MySQL
java.lang.ClassCastException: org.apache.tomcat.dbcp.dbcp.BasicDataSource
Here's the relevant code:
*Java code:*
org.apache.commons.dbcp.BasicDataSource datasource;
datasource =
13 matches
Mail list logo