1 Reply Latest reply on Dec 23, 2002 8:08 AM by adrian.brock

    First client application... and first error

    m_sarti

      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