Try /lib/poolman.jar /lib/log4j.jar /lib/jdbc2_0-stdext.jar
/classes/poolman.xml in poolman.xml <dbname>WHATEVER</dbname> <jndiName>WHATEVER</jndiName> <driver>WHATEVER</driver> <url>WHATEVER</url> <username>WHATEVER</username> <password>WHATEVER</password> <logFile>/var/applogs/poolman.log</logFile> in your code Datasource datasource = PoolMan.findDataSource(WHATEVER); and create a /var/applogs (or \var\applogs) directory. Be careful that a clean build doesn't whack your poolman.xml. If you're using Ant, put it with your Java source files and <!-- Copy any configuration files --> <copy todir="classes" includeEmptyDirs="no"> <fileset dir="src/java"> <patternset> <include name="*.xml"/> </patternset> </fileset> </copy> -- Ted Husted, Husted dot Com, Fairport NY US -- Developing Java Web Applications with Struts -- Tel: +1 585 737-3463 -- Web: http://husted.com/about/services Eddie Bush wrote: > > I've done everything (I think) that poolman requires in order to function, and yet >it does not. After placing only the required jars into my \lib folder, and having no >success with Poolman starting, I threw all of them in. It still doesn't work. > > I wasn't at all sure, from the documentation, where I should poke the poolman.xml >file. Initially I had it in my WEB-INF directory. Then, I copied it to the \lib >directory. Still no luck. > > Every time Poolman is started, I get the same exact error - a null pointer >exception. This occurs when poolman is calling parseXML from loadConfiguration. The >relevant piece of the stacktrace is: > > java.lang.NullPointerException > at com.codestudio.management.PoolManConfiguration.parseXML >(PoolManConfiguration.java:121) > at com.codestudio.management.PoolManConfiguration.loadConfiguration >(PoolManConfiguration.java:75) > at com.codestudio.management.PoolManBootstrap.<init> (PoolManBootstrap.java:61) > at com.codestudio.management.PoolManBootstrap.<init> (PoolManBootstrap.java:54) > at com.codestudio.sql.PoolMan.start (PoolMan.java:97) > > The rest of the stacktrace goes into my servlet - which worked fine before I tried >to kick off Poolman in it's init method. > > I have also tried not calling start, but, instead, just allowing Poolman to do it's >'lazy' initialization - same exact result. > > I would be most appreciative if someone out there could give me a 'heads up'. > > I'm running Tomcat 4.0.1 (I can't see why that would matter) and JDK 1.3. > > Thanks! > > Eddie -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>