Results 1 to 2 of 2
  1. #1
    Lucy is offline Member
    Join Date
    Mar 2012
    Posts
    6
    Rep Power
    0

    Default javax.naming.CommunicationException

    Hi I am getting this error

    javax.naming.CommunicationException: Could not obtain connection to any of these urls: localhost:1099 [Root exception is javax.naming.CommunicationException: Failed to connect to server localhost/127.0.0.1:1099 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server localhost/127.0.0.1:1099 [Root exception is java.net.ConnectException: Connection refused: connect]]]

    Any suggestions to fix this?

  2. #2
    Lucy is offline Member
    Join Date
    Mar 2012
    Posts
    6
    Rep Power
    0

    Default Re: javax.naming.CommunicationException

    I have the client and server running on the same machine.I am using EJB 2.x on JBoss 5

Similar Threads

  1. Replies: 0
    Last Post: 10-26-2011, 07:18 PM
  2. javax.naming.NamingException:
    By arunpatil in forum Networking
    Replies: 1
    Last Post: 08-21-2010, 07:03 PM
  3. Replies: 4
    Last Post: 07-06-2009, 06:25 AM
  4. javax.naming.NameNotFoundException: bean not bound
    By Sirisha_24 in forum Enterprise JavaBeans (EJB)
    Replies: 2
    Last Post: 04-01-2009, 11:51 AM
  5. javax.naming.NameNotFoundException: ejb/RatingEJB
    By Daniel in forum Enterprise JavaBeans (EJB)
    Replies: 2
    Last Post: 06-29-2007, 03:12 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •