On Sat, 09 Oct 2004 19:48:45 +0200, Michael Echerer <[EMAIL PROTECTED]> wrote:
> If you put the ResourceParams stuff in server.xml as GlobalResource,
> you must put e.g. this into your server.xml's context respectively your
> myapp.xml context descriptor.

Ok, did it
 
> <ResourceLink name="jdbc/myapp" global="jdbc/myapp"
> type="javax.sql.DataSource"></ResourceLink>

Ok, did it
 
> Of course name and global can differ, but I think this is easiest.
> 
> There's some hint in the Tomcat 5 docu that this is needed to make
> global JNDI resources visible to web apps. But it's too easy to forget...

Same error as before ...
javax.naming.NameNotFoundException: Name jdbc is not bound in this Context

But isn't it strange that it says "Name jdbc is ..." instead of "Name
jdbc/myapp is ..." ??

> Cheers,
> Michael

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

Reply via email to