tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gregor Kovaè <gregor.ko...@mikropis.si>
Subject Re: [Solved] RE: Poolman 2.0.4 and Tomcat 3.2.3
Date Wed, 22 Aug 2001 10:13:19 GMT
Hi!

This is not strange.
Java looks for files in directories. So you specify directories in 
classpath or jar files, not files itself.
Both jar files and directories contain files java needs, hence 
%TOMCAT_HOME%\conf\poolman\poolman.xml does not contain a file, right?

Best regards,
         Kovi

At 11:55 22.8.01 +0200, you wrote:
>Hi again,
>
>The poolman.xml file wasn't found but it's a bit strange.
>
>This is NOT working
>---------------------------------------------------
>:setClasspath
>set CP=%TOMCAT_HOME%\conf\poolman\poolman.xml;%TOMCAT_HOME%\classes
>
>This is WORKING
>---------------------------------------------------
>:setClasspath
>set CP=%TOMCAT_HOME%\conf\poolman;%TOMCAT_HOME%\classes
>
>BR
>Joacim
>
> > -----Original Message-----
> > From: Järkeborn Joacim [mailto:joacim.jarkeborn@consultant.volvo.com]
> > Sent: den 22 augusti 2001 11:13
> > To: 'tomcat-user@jakarta.apache.org'
> > Subject: Poolman 2.0.4 and Tomcat 3.2.3
> >
> >
> > Hi,
> >
> > Since I need to get a DataSource from some JNDI I have
> > downloaded PoolMan 2.0.4.
> > When I am trying to run "JSP Database Client" Tomcat terminates.
> >
> > In <TOMCAT_HOME>/lib I have the following jars:
> > poolman.jar, jdbc2_0-stdext.jar, jta.jar, xerces.jar,
> > mm.mysql-2.0.4-bin.jar
> >
> > I also have the poolman.xml in the same dir, but this is
> > added to CLASSPATH in <TOMCAT_HOME>/bin/tomcat.bat:
> > if exist "%TOMCAT_HOME%\lib\poolman.xml" set
> > CP=%CP%;%TOMCAT_HOME%\lib\poolman.xml
> >
> > What's wrong?
> >
> > Regards
> > Joacim J
> >
>--cut--


Mime
View raw message