users@glassfish.java.net

Re: JDBC via JNDI from Tomcat to Glassfish and back

From: Hadraba Petr <hadrabap_at_bluetone.cz>
Date: Wed, 25 Jul 2007 16:47:56 +0200

Hello,

I'm using the sun-web.xml file. In this file I define the JNDI
mapping. I'm using "my own" JNDI names that are internal for the
application. The application server (Tomcat and GlassFish) maps these
names to the names configured by the AS administrator.

Good luck

PETR


On 7/25/07, glassfish_at_javadesktop.org <glassfish_at_javadesktop.org> wrote:
> Hello
> I'm testing Glasssfish and as you I've application running under tomcat 5.5 with context.xml file where I define my datasource ressource.
> this meta-inf/context.xml file is automatically take in charge by tomcat server when application is deploy so I don't have to change anything in the tomcat server.xml file.
> I want exactly do the same under glassfish but without defining both jdbc resource and connection pool via glassfish administration interface it doesn't work.
>
> how can I proceed ?
> an idee ?
> [Message sent by forum member 'fjoi' (fjoi)]
>
> http://forums.java.net/jive/thread.jspa?messageID=228158
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>