Spent far too much time fiddling around with configuration options to get this to work.
In your application.ini file, you will need something that looks like this.
-
resources.db.adapter = Oracle
-
resources.db.params.username = myusername
-
resources.db.params.password = mypassword
-
resources.db.params.dbname = my.host.name.com:portnumber/mydbinstance
notice that you don’t need a “resources.db.paramas.host” line here. The “mydbinstance” part comes from your tnsnames.ora file…
-
mydbinstance =
-
(DESCRIPTION =
-
(ADDRESS = (PROTOCOL = TCP)(HOST = my.host.name.com)(PORT = 1771))
-
(CONNECT_DATA =
-
(SERVER = DEDICATED)
-
(SERVICE_NAME = mydbinstance)
-
)
-
)
Hope this saves someone some time!