Showing results for 
Search instead for 
Did you mean: 

Java Pet Store

Todd Defilippi
Occasional Contributor

Java Pet Store

When I try to start the Java Pet Store (when I populate the database), I get the following error:

Unable to Connect to Database
Database Connection is closed: Confirm that you have started your database

On the application server ( side, I have data-sources.xml altered so that it refers to the correct host, port, and SID using jdbc:oracle:thin. On the database ( side, I have the ORACLE instance started and the database mounted and opened. I also have the necessary user created and granted priveleges.

Does anyone know of anything else I have to do so that the AS can connect to the DB??