Hello,

Please forgive me if this has been addressed already,
but I have not found information specific enough for
me to get mine working.

I have Apache 1.3.24, Tomcat 3.3.1 and IBM2-13 JDK1.3
running on SuSE Linux 7.1. This configuration is
working with my webapp. I chose to use Tomcat 3.3.1
and not the 4.x releases because of the issues I read
about 4.x, like memory and processors mis-management
or consumption.

Next I added Poolman 2.0.4 for JDBC connection
pooling. I followed the directions in the docs for
installation and configuration. I copied poolman.jar
to JDK_HOME/jre/lib/ext, included in CLASSPATH the
directory where poolman.xml lives, the
jdbc2.0-stdext.jar, jmxri.jar, jmxtools.jar, jta.jar,
and junit.jar. 

I did not compile anything. All I did was unpack the
downloaded file, move the *.jar's around and then edit
the poolman.xml for our situation. Poolman.xml looks
like this:

<?xml version="1.0" encoding="UTF-8" ?>
<poolman>
<management-mode>local</management-mode>
<datasource>
<dbname>Database</dbname>
<jndiName>Database</jndiName>
<driver>oracle.jdbc.driver.OracleDriver</driver>
<uri>jdbc:oracle:thin:@ipaddress:1521:SID</uri>
<username>our_user</username>
<password>our_password</password>
<minimumSize>3</minimumSize>
<maximumSize>15</maximimSize>
<connectionTimeout>600</conectionTimeout>
<userTimeout>12</userTimeout>
<shrinkBy>10</shrinkBy>
<logFile>/val/appslog/poolman.log</logFile>
<debugging>true</debugging>
<cacheEnabled>false</cacheEnabled>
<cacheSize>120</cacheSize>
</datasource>

Next I tried the PoolManSample using:
    java PoolManSample "select user_name from
user_table" "Database"

With this I got error stating
java.lang.NoClassDefFoundError:
/org/xml/sax/DocumentHandler at
com.codestudio.management.PoolManBootstrap ...etc and
other locations.

I get the same error when I put sample code in a jsp. 

I know the DocumentHandler class is deprecated, but I
thought the jar files that came with Poolamn would
include all necessary classes. I found the
DocumentHandler class in my xalan.jar file and this is
in classpath. I have tried to change classpath by
moving xalan.jar's location in CLASSPATH definition.
This did not work. I also unpacked the xalan.jar and
copied the DocumentHandler.class file to my
WEB-INF/org/xml/sax directory. I got the same error. I
am preety sure at this point that the
DocumentHandler.class is being found. So I do not
understand what this error is telling me.

Any help is greatly appreciated. If you can offer any
help interpreting this error, or explaining the finer
points of how a classpath is really configured that
would be great.

Thanks in advance,
Kendall 



__________________________________________________
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to