aditya
aditya

Reputation: 495

jboss is not making hibernate/JNDI connections

I am using JBoss 4.2 GA and deploy my application there using JNDI naming for my data source.

I tested it on the local server and it works fine but when I put it on the remote server it can't make the database connection and also there is no log in JBoss.

I am using an oracle database.

On the remote server the "abc-ds.xml" has the appropriate connection details.

Please help I have to make it ready till evening.

Upvotes: 0

Views: 330

Answers (2)

Sai Ye Yan Naing Aye
Sai Ye Yan Naing Aye

Reputation: 6738

It may be you cannot create datasource in your remote server.

Upvotes: 0

Logan
Logan

Reputation: 2364

Make sure the remote server can see the db server. Sometimes you have to use fully qualified name of db host. Try with db IP address in xml file possibly. See if you can ping the db server from jboss machine.

Upvotes: 1

Related Questions