users@glassfish.java.net

Re: Glassfish, MySQL and _at_Resource

From: <glassfish_at_javadesktop.org>
Date: Mon, 09 Jun 2008 03:58:32 PDT

Hello Shalini,

I am using Eclipse. Following the Glassfish-book from Packt Publishing.
The "jdbc/__MysqlPool" is created via the Admin-interface.

[b]First [/b]I did create a Connection pool, using:
com.mysql.jdbc.jdbc2.optional.MysqlDataSource
and the resource-type is DataSource.
Then I do have the db-name, the port, the servername ( 127.0.0.1 ), user and password.
I am able to ping the connection.

[b]Second[/b] Creating the datasource.

I do not have any sun-resources.xml

Are you able to see where I am going wrong here ?

regards, i
[Message sent by forum member 'invergilius' (invergilius)]

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