Re: [TC5] Problems with context.xml

2004-06-09 Thread alu, artifex
mhhhm... actually i don't think its possible to define a server-wide resource inside the context configuration. the globalnamingresources tag is nested within the server tag, the context.xml file is based on the context element which doesn't allow the globalnamingresources element within.

Re: [TC5] Problems with context.xml

2004-06-08 Thread alu, artifex
another try: =) how does the xml structure look like in your context.xml file? i think you have to omit the globalnamingresources tag if you haven't already done so. the xml file should look like this: - Context path= Resource name= . ResourceParams name=

Re: [TC5] Problems with context.xml

2004-06-08 Thread Mark Woon
alu, artifex wrote: another try: =) how does the xml structure look like in your context.xml file? i think you have to omit the globalnamingresources tag if you haven't already done so. Sorry, but no. I specifically want to use a server-wide JNDI resource instead of redefining the same resource

Re: [TC5] Problems with context.xml

2004-06-07 Thread alu, artifex
where did you place your driver .jar-file in? i think you placed it into CATALINA_HOME/server/lib - for your configuration (resource is defined in the context) it should be placed in CATALINA_HOME/common/lib i think. mfg alu Mark Woon wrote: Hi all. According to the docs, it's possible to stick

Re: [TC5] Problems with context.xml

2004-06-07 Thread Mark Woon
alu, artifex wrote: where did you place your driver .jar-file in? i think you placed it into CATALINA_HOME/server/lib - for your configuration (resource is defined in the context) it should be placed in CATALINA_HOME/common/lib i think. I've tried it in both places with no luck. If you look at the

[TC5] Problems with context.xml

2004-06-05 Thread Mark Woon
Hi all. According to the docs, it's possible to stick Context specific data into it's own config file in the |$CATALINA_HOME/conf/[enginename]/[hostname] |directory. Unfortunately, I'm having problems when using it with JNDI resources. When I take the Context element from my server.xml and