Discussion:
[Jxplorer-users] Losing connection loading db
Chris Betts
2007-07-26 12:57:07 UTC
Permalink
Hi Vinod,

I'd say your ldap connection was dropping out and that you had a
networking problem of some sort? I don't think this is anything to
do with the client...

- Chris
Hi Chris,
My problem is as follows I think you can suggest with a solution
I am running 2 LDAP’s one being primary and the other secondary
(it’s like a switch if one is down the other will be up)
In the initial case the say when primary is up and the secondary is
down the messages are passing and when I change to primary down and
secondary up it was throwing the following exception.
I am using the java version - 1.4.1.02
WARN 2007.07.16 14:59:12.388 com.logica.omg.application.ThreadPool
$TaskRunnable doRun THREAD_WARN Thread LDAPService.ldapQueue-
(null) java.lang.NullPointerException, null
com.sun.jndi.ldap.LdapCtx.getSearchReply(LdapCtx.java:1827)
com.sun.jndi.ldap.LdapNamingEnumeration.getNextBatch
(LdapNamingEnumeration.java:110)
com.sun.jndi.ldap.LdapNamingEnumeration.hasMoreImpl
(LdapNamingEnumeration.java:197)
com.sun.jndi.ldap.LdapNamingEnumeration.hasMore
(LdapNamingEnumeration.java:170)
com.logica.omg.dbfilternode.LdapContextMap.parseNamingEnumeration
(LdapContextMap.java:141)
com.logica.omg.dbfilternode.LdapContextMap.doLookup
(LdapContextMap.java:235)
com.logica.omg.dbfilternode.LdapLookupExtractor.onRequest
(LdapLookupExtractor.java:115)
com.logica.omg.dbfilternode.DbFilterNode.onRequest
(DbFilterNode.java:203)
Best regards
Vinod Roy
IT Consultant
____________________________
LogicaCMG - Releasing your potential
Divyasree Technopolis
124 - 125 Yemlur Main Road,
Off Airport Road
Yemlur P.O
Bangalore 560 037
India
Tel: +91 80 41940000
M: +91 98455 63923
Fax: +91 80 41943666
<<http://www.logicacmg.com/>>
This e-mail and any attachment is for authorised use by the
intended recipient(s) only. It may contain proprietary material,
confidential information and/or be subject to legal privilege. It
should not be copied, disclosed to, retained or used by, any other
party. If you are not an intended recipient then please promptly
delete this e-mail and any attachment and all copies and inform the
sender. Thank you.
Chris Betts
2007-07-26 20:27:38 UTC
Permalink
Hi Vinoy,

JX works fine with java 1.4, and there should be no need for =20
extra jar files beyond those already shipped with JX in the /jars =20
directory.

I'm afraid I'm not familiar with your simulator or setup; the =20
error that JX is throwing may indicate that it is failing to read =20
ldap responses half way through a search that started successfully? =20
Again, I don't think this is a client problem.

good luck,

Chris
Hi Chris,
Thanks for your suggestion but adding to this
To be clear I am testing it with the help of a simulator (MIND)
and it was as follows
1.) I am running 2 mind simulators on LINUX as primary and
secondary, I am making the secondary down (enabling a firewall on
the port where it was running) and making primary up sending
messages and the messages are passing with out any nack’s but when
I do the other way say enabling firewall on the primary and making
secondary up then for some time the messages are going but after
some time it was throwing the exception as mentioned in the
previous mail
But to be confident there is not network problem and I can see the
messages are going after some duration this exception was throwing
There are 2 questions I want to ask you
1.) As I mentioned I am using the java version 1.4.1.02 is there
any specific ldap.jar need to be added to my path to support this?
I added one ldap.jar but don’t know whether that support or not (if
any specific needs to be added please mention it)
2.) Is this in any way related to the JVM?
Thanks in advance Chris and waiting for your reply…………………..
WARN 2007.07.16 14:59:12.388 com.logica.omg.application.ThreadPool
$TaskRunnable doRun THREAD_WARN Thread LDAPService.ldapQueue-
(null) java.lang.NullPointerException, null
com.sun.jndi.ldap.LdapCtx.getSearchReply(LdapCtx.java:1827)
com.sun.jndi.ldap.LdapNamingEnumeration.getNextBatch
(LdapNamingEnumeration.java:110)
com.sun.jndi.ldap.LdapNamingEnumeration.hasMoreImpl
(LdapNamingEnumeration.java:197)
com.sun.jndi.ldap.LdapNamingEnumeration.hasMore
(LdapNamingEnumeration.java:170)
com.logica.omg.dbfilternode.LdapContextMap.parseNamingEnumeration
(LdapContextMap.java:141)
com.logica.omg.dbfilternode.LdapContextMap.doLookup
(LdapContextMap.java:235)
com.logica.omg.dbfilternode.LdapLookupExtractor.onRequest
(LdapLookupExtractor.java:115)
com.logica.omg.dbfilternode.DbFilterNode.onRequest
(DbFilterNode.java:203)
Continue reading on narkive:
Loading...