users@glassfish.java.net

Re: JDBC via JNDI from Tomcat to Glassfish and back

From: Kshitiz Saxena <Kshitiz.Saxena_at_Sun.COM>
Date: Wed, 25 Jul 2007 21:24:25 +0530

Hi,

There is no feature to automatically create resources on application
deployment in glassfish.

However you can use "asadmin add-resources" to reduce the number of
steps. Please use "asadmin add-resources --help" to get details on how
to use that command.

Thanks,
Kshitiz

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
>
>