Re: JDNI Resource not reusable

2008-08-08 Thread Sebastian Gerdes
- -- *** 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 Tomcat - User

Re: Using META-INF/context.xml

2007-12-21 Thread Sebastian Gerdes
pointing it to the directory where your context.xml file resides. If this does not work either, you could try to set the fields 'WAR or Directory URL' or 'XML configurations URL' when deploying your application using the Tomcat Manager. Kind regards Sebastian Gerdes I'm having problems trying

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 context

Re: LDAP as resource in context.xml

2007-12-10 Thread Sebastian Gerdes
with the parameter factory=drfox.logic.DRFoxContextFactory Now you can access your LDAP via: Context newCtx = new InitialContext(); 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

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