Results 1 to 3 of 3
  1. #1
    inysacs is offline Member
    Join Date
    Nov 2012
    Posts
    2
    Rep Power
    0

    Default javax.naming.CommunicationException in java code

    Hi
    i have written a utility, where we fetch Group Name and Users details from Active Directory. Normally utility works fine and fetch data in 7-8 minutes. From last few days, it is geting stuck. The error i am gettinf in logs is

    "javax.naming.CommunicationException: connection closed [Root exception is java.io.IOException: connection closed".

    Please help.

  2. #2
    wsaryada is offline Senior Member
    Join Date
    Jun 2007
    Location
    Bali, Indonesia
    Posts
    757
    Rep Power
    7

    Default Re: javax.naming.CommunicationException in java code

    Have you check the connection to the directory service? Is it running? Or whether you have a network problem that not enable you to connect to the directory server?

  3. #3
    inysacs is offline Member
    Join Date
    Nov 2012
    Posts
    2
    Rep Power
    0

    Default Re: javax.naming.CommunicationException in java code

    My code logic is as below:
    It is fetching groups from AD and for each group it fetch member details.
    Now also it is fetching groups but while fetching members it get stuck.

Similar Threads

  1. javax.naming.CommunicationException
    By Lucy in forum Enterprise JavaBeans (EJB)
    Replies: 1
    Last Post: 03-14-2012, 12:41 AM
  2. javax.naming.NamingException:
    By arunpatil in forum Networking
    Replies: 1
    Last Post: 08-21-2010, 06:03 PM
  3. Replies: 4
    Last Post: 07-06-2009, 05:25 AM
  4. javax.naming.NameNotFoundException: bean not bound
    By Sirisha_24 in forum Enterprise JavaBeans (EJB)
    Replies: 2
    Last Post: 04-01-2009, 10:51 AM
  5. javax.naming.NameNotFoundException: ejb/RatingEJB
    By Daniel in forum Enterprise JavaBeans (EJB)
    Replies: 2
    Last Post: 06-29-2007, 02: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
  •