1748255 Members
3953 Online
108760 Solutions
New Discussion

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 (9.0.2.0.0) 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 (9.2.0.1.0) 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??