SqlServerDataSource Please check the server. I now have a wonderful set up for java programming. DataSource I am getting the following error when I click on the Ping button com. The driver is trying to load a native library called db2jcct2 – that will be in a file called db2jcct2. To find out more, including how to control cookies, see here:

Uploader: Shakajinn
Date Added: 10 April 2009
File Size: 38.95 Mb
Operating Systems: Windows NT/2000/XP/2003/2003/7/8/10 MacOS 10/X
Downloads: 29992
Price: Free* [*Free Regsitration Required]

At the moment I write this article current version is 5. Sign up or log in Sign up using Google. Because you choose database driver vendor MySQL you will have already specified the driver classname com.

How to setup a JDBC connection in Glassfish | Computing @ 40’s

So, do two things: Use this name when you configure the JDBC resource later. Use the DatabaseSource Classname dn2 “com. GlassFish version 2 has a much improved pooling mechanism and you may not need the more agressive configurations. Your solution works perfectly.

How to setup a JDBC connection in Glassfish

You have now a connection pool called MyDatabase. It’s right there, your resource type is a DataSouce but you’re providing a Driver class. Set the next additional properties:. We worked with the GlassFish team to figure out the firewall issues. Additionally, in order for the transaction manager to recover transactions, the JDBC connection pool’s database user must be given certain Oracle permissions: We glassvish use type 2.


Initial and Minimum Pool Size Set a zero value on this parameter. Post Your Answer Discard By clicking “Post Your Answer”, you acknowledge that you have read our updated terms of serviceprivacy policy and cookie policyand that your continued use of the website is subject to these policies. Here is the snippet of domain. glassfush

Java DB does not use authentication by default. Also we are running Linux not Windows.

DB2Driver cannot be cast to javax. For more information about the syntax of the database URL, see the Oracle documentation.

Glassfish 4 has a bug, try using PAYARA, its an improved clone from glassfish and this issue is solved plus oracle wont update glassfish anymore. Administering the Virtual Machine for the Java Platform 5.

The JAR file for the Glasscish 10 database driver is ojdbc The database is called booreg. Free forum by Nabble. Do not specify the complete URL, only the database name. You are commenting using your WordPress. Here’s a link to an article in spanish, but may be useful: If you want some details about software that I am using check my development environment.


Glassfiwh You Peter [Message sent by forum member ‘pczurak’ pczurak ] http: Notice that password is stored unencrypted. Administering the Logging Service 8. The database is called booreg The code for creating this tables is: You are commenting using your Facebook account. This worked for me also thanks heaps!