Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-3983

I have deployed a ejb3 in jboss7.1 server. I'm getting CommunicationException

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • 7.1.0.Final
    • EJB
    • High

      Dear friends,

      javax.naming.CommunicationException: Could not obtain connection to any of these urls: localhost:1099 and discovery failed with error: javax.naming.CommunicationException: Receive timed out [Root exception is java.net.SocketTimeoutException: Receive timed out] [Root exception is javax.naming.CommunicationException: Failed to connect to server localhost:1099 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server localhost:1099 [Root exception is java.net.ConnectException: Connection refused: connect]]]
      at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1452)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:597)

      props.setProperty("java.naming.provider.url", "jnp://localhost:1099");

      after that i tried with

      props.setProperty("java.naming.provider.url", "jnp://localhost:4447");

      Please help us, would appreciated.
      Thanks.

            jaikiran Jaikiran Pai (Inactive)
            narendra.anr_jira narendra reddy (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: