<snip> > > Ugh, spoke too soon. > > I've obviously missed something because I get the infanous > "cannot load JDBC driver name 'null'" - error. > > I went for the global resources and context.xml in META-INF path, if that > makes a difference. > > The only thing I can think might be related is that I'm deploying webapps > by copying wars to webapps/ and they don't get extracted , not sure > if that messes up the code that handles resources forwebapps.
That definitely makes a difference although I must confess I don't fully understand why, suffice to say when I tried copying a WAR to webapps/ that didn't work for me either. I use the Ant deploy task and it works a treat. Not sure quite what the approach would be to make this work if you want to drop your WAR file in by hand as you are...anyone? > > If I went down the DefaultContext route, would that generate a datasource > in each Context that 'inheritsfrom it, or would it be truly shared? > ' I believe it to be truly shared -- I don't think you'll see a DataSource get created in each new context. Cheers, Jon > -- > The trouble with a kitten is that > When it grows up, it's always a cat > -- Ogden Nash. > Rasputin :: Jack of All Trades - Master of Nuns > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
