Re: JDNI Resource not reusable

2008-08-08 Thread Sebastian Gerdes
ebastian - -- *** Universität Oldenburg - Department für Informatik Sebastian Gerdes PGP/GPG: 0xF50268FF *** -- View this message in context: http://www.nabble.com/JDNI-Resource-not-reusable-tp14297571p18889857.html Sent from the Tomca

Re: Using META-INF/context.xml

2007-12-21 Thread Sebastian Gerdes
quot;jdbc:mysql://localhost:3306/wdcc1" > username="jdbc" > password="andrew" > removeAbandoned="true" /> > > > Any help would be appreciated > Regards > Andrew Connick > > > --------- > To s

JDNI Resource not reusable

2007-12-12 Thread Sebastian Gerdes
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, in my context.xml/server.xml I setup a JDNI resource which I access via: Context newCtx = new InitialContext(); Context envCtx = (Context) newCtx.lookup("java:comp/env"); DirContext ctx = (DirContext) envCtx.lookup("ldap/ox"); I use this cont

Re: LDAP as resource in context.xml

2007-12-10 Thread Sebastian Gerdes
xt(); Context envCtx = (Context) newCtx.lookup("java:comp/env"); DirContext ctx = (DirContext) envCtx.lookup("ldap/ox"); That's the end of it :) Kind regards, Sebastian Gerdes Sebastian Gerdes schrieb: > Hello, > > im just working on a web application, where

LDAP as resource in context.xml

2007-12-06 Thread Sebastian Gerdes
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, im just working on a web application, where I use a LDAP realm for the authentification and a postgresql resource in my context.xml. Both are working fine. Now I need to access the LDAP in my running web application again. I do not want to sto