Hello,
I'm trying to write the first simple app that connect to database using JBoss & connection pooling DataSource.
First app, first error. Getting DataSource I have the following exception:
javax.naming.CommunicationException: Receive timed out. Root exception is java.net.SocketTimeoutException: Receive timed out
This is the jndi.properties in classpath:
java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
java.naming.factory.url=jnp://127.0.0.1:1099
Any ideas?
Marco
The datasources are in the java: namespace which
means they are only available within the same VM
Regards,
Adrian