The log is always redirected to the GlassFish Server server. In order to get the Oracle or your favourite database loaded in Glassfish, Glassfish needs to be shut down again. Be sure that you Glassfish server is stopped before going on. I think it has something to do with the new Oracle JDBC driver and glassfish or at least the configuration. I then deleted “FastConnectionFailoverEnabled” which also was false, and tried ping again. I really followed your description and solved my problem. After creating the Oracle data source for the perk-olator application, you need to deploy the application itself.

Uploader: Vunos
Date Added: 13 August 2006
File Size: 10.50 Mb
Operating Systems: Windows NT/2000/XP/2003/2003/7/8/10 MacOS 10/X
Downloads: 59297
Price: Free* [*Free Regsitration Required]

I suspect that the older driver is probably going to kick me later, but it was the only one that I got working. So, specify the username, password and url.

Configuring a (Oracle) datasource on Glassfish

Oracle GlassFish Server 3. Also select the Connection Pool name you just created and successfully pinged from the select box. Create the tables in MySQL server.

Run the Application Task 9: 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. The nightly build seems to fix this issue at: 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.


Alfred Huang on July 10, Start Glassfish and connect to the admin console with the credentials you defined at installation: Following the series of articles I am writing for newcomers to Java EE world and Glassfish, today I will make an introductory work that will allow us to work with databases.

Jbc document is based on the following products and tools, although the principles apply to any supported database or development environment.

Glassfish September 7, Create a connection pool with the following properties: You can also use the glassfish provided jdbc driver oracle.

I had setup glassfish at work and it pinged correctly.

How to setup a JDBC connection in Glassfish

I could not see any difference in configuration — so I copied the ojdbc For more information about these properties, see:. Be the first to comment.

I am wondering if some of the EJB3 updates that they added — does not allow a certain attribute to be updated for whatever reason. Khaled Mahmoud on October 20, By default, the log output goes to System. Configuration details Information to facilitate debugging The SQL that is being sent to the database You can specify logging in the persistence.


The IP address of the database server, for example The assumptions for this example are as follows: View Image Go to the Additional Properties tab and create username, password, and url properties with the respective values.

I guess there is no error handling or orwcle.

Implementing the Solution | EclipseLink Understanding EclipseLink

See the Glassfish Quick Start Guide for more instructions if this next command fails. Add the values highlighted: You can choose one or more. It is assumed that the software is already installed, except where noted in later sections.

You are commenting using your WordPress. You should be able to find the drivers in Internet or maybe even inside the modules folder on glassfish. Because you choose database driver vendor MySQL you will have already specified the ad classname com.