Subject | Does that Tutorial good to create FB Connection Pool in Glassfish ? |
---|---|
Author | fb_database |
Post date | 2013-05-24T09:41:37Z |
Hi to all :)
I am able to connect to database from Java.
But I cannot create a connection pool for FB in Glassfish...
The tutorial is for Firebird 2.1 And GlassFish Server 3.1
* Here the link :
http://h-acosta.blogspot.fr/2011/11/how-to-create-jdbc-connection-pools.html
* I have tried on Windows, with Glassfish 3.1.2.2 and jaybird-full-2.2.3.jar
I use Firebird-2.5.2.26540_0
* but if I am not wrong this tutorial not seems to work... ??**
* Please what are the correct settings ?
Because I am unable to ping the Server from the Domain Admin Console of Glassfish.
* I have added the Jar :
jaybird-full-2.2.3.jar
in folder :
/glassfish-3.1.2.2/glassfish/domains/domain1/lib/
* I have manually set these parameters :
Datasource Classname:
org.firebirdsql.pool.sun.AppServerDataSource
URL
jdbc:firebirdsql://localhost:3050/C:/dbs/firebird/MYTEST.FDB
driverClass
org.firebirdsql.jdbc.FBDriver
Password
mypass
portNumber
3050
databaseName
C:/dbs/firebird/MYTEST.FDB
User
myuser
serverName
localhost
Please, where could I be Wrong ? What are the correct settings ?
Thank you ;)
Best Regards
J.
I am able to connect to database from Java.
But I cannot create a connection pool for FB in Glassfish...
The tutorial is for Firebird 2.1 And GlassFish Server 3.1
* Here the link :
http://h-acosta.blogspot.fr/2011/11/how-to-create-jdbc-connection-pools.html
* I have tried on Windows, with Glassfish 3.1.2.2 and jaybird-full-2.2.3.jar
I use Firebird-2.5.2.26540_0
* but if I am not wrong this tutorial not seems to work... ??**
* Please what are the correct settings ?
Because I am unable to ping the Server from the Domain Admin Console of Glassfish.
* I have added the Jar :
jaybird-full-2.2.3.jar
in folder :
/glassfish-3.1.2.2/glassfish/domains/domain1/lib/
* I have manually set these parameters :
Datasource Classname:
org.firebirdsql.pool.sun.AppServerDataSource
URL
jdbc:firebirdsql://localhost:3050/C:/dbs/firebird/MYTEST.FDB
driverClass
org.firebirdsql.jdbc.FBDriver
Password
mypass
portNumber
3050
databaseName
C:/dbs/firebird/MYTEST.FDB
User
myuser
serverName
localhost
Please, where could I be Wrong ? What are the correct settings ?
Thank you ;)
Best Regards
J.