Servlet containers have very specific rules on object visibility
it depends on where you put the jar. if you put the jar in the context,
then the class won't even exist outside of the context.
when you say servlet, is this a servlet inside the context or out?
FWIW I gave up on tomcat in favour of jetty. No automatic class
reloading, but that's where tomcat gets complicated.
Dave
On Tue, 2003-02-11 at 22:12, GB Clark wrote:
> Hello,
>
> Well I got my problem solved by searching through the tomcat mailling lists...
>
> I had to include my database parameters INSIDE the context for my application. Can anyone tell
> me why this fixed my problem? Or is that where the database parameters should be anyway...
>
> If I wanted another servlet to use the same datasource would I have to duplicate the parameters
> everytime?
>
> Something does not seem right there...
>
> Thanks for all the help.
>
> GB
--
Dave Cramer <Dave@micro-automation.net>