Wildfly can't connect to datasource

1.1k Views Asked by At

I have a Wildfly 8.2.0.Final uploaded on an Ubuntu Vm on www.koding.com. On that same VM THere's an Oracle XE 11G. I'm trying to configure a DataSource on the VM's wildfly and I'm getting an error. Connection URL: jdbc:oracle:thin:@anlevant.koding.io:1521:XE wildfly VM error

But if I create a connection withthe same Connection URL on a local wildfly, it will work!

Succes message on local wildfly

I'm wondering what am I doing wrong on the VMs wildfly.

PS: VM Wildfly's standalone is configured to listen on 0.0.0.0

1

There are 1 best solutions below

0
On

I wanted to leave the answer that worked for me here:

"It ended up being a problem with the Database itself, the TNS Listener service wasn't running on the virtual machine, thanks! "