users@glassfish.java.net

Re: need assistance creating a jdbc resource

From: <glassfish_at_javadesktop.org>
Date: Fri, 09 Feb 2007 22:37:54 PST

If you are using GFV2,
there are templates available for several databases.

Please refer :
AS_INSTALL_DIR/lib/install/templates/resources/jdbc/README
for details.

copy the template of specific database, change the copy with specific details like, user, password, hostname according to your database settings.

you can create jdbc-resource & jdbc-con.-pool using the following command, specifying the copy of template's absolute path.

AS_INSTALL_DIR/bin/asadmin add-resources /home/mydir/mysql_type4_datasource.xml


Thanks,
-Jagadish
[Message sent by forum member 'jr158900' (jr158900)]

http://forums.java.net/jive/thread.jspa?messageID=203045