Jump to content

Unable to log on when ticked the 'keep me logged in'


windy0704 Hu

Recommended Posts

Dear Team,

I have a web site. When users cick a link, it would open a spotfire report. The report open script is deployed in web logic.

And the spotfire server would ask users to input account and password. If dont tick the 'keep me logged in', everything is good.

But if ticked the 'keep me logged in', users cannot log in. Not any error msg would show to users, but keep asking users to input account/password again and again.

There are error megs in the server log as below:

 

WARN 2019-08-16T00:00:00,249+0800 [*LdapSynchronizer.SynchronizerCallback*] server.ldap.LdapSearcher: Error performing an LDAP search

javax.naming.PartialResultException: null

at com.sun.jndi.ldap.AbstractLdapNamingEnumeration.hasMoreImpl(AbstractLdapNamingEnumeration.java:237) ~[:1.8.0_171]

at com.sun.jndi.ldap.AbstractLdapNamingEnumeration.hasMore(AbstractLdapNamingEnumeration.java:189) ~[:1.8.0_171]

at com.spotfire.server.ldap.LdapSearcher.lookupUsingPagedResultsControl(LdapSearcher.java:93) ~[server.jar:]

at com.spotfire.server.userdir.ldap.LdapProvider.lookupPrincipals(LdapProvider.java:1106) ~[server.jar:]

at com.spotfire.server.userdir.ldap.LdapProvider.lookupPrincipals(LdapProvider.java:1052) ~[server.jar:]

at com.spotfire.server.userdir.ldap.LdapProvider.loadUsers(LdapProvider.java:347) ~[server.jar:]

at com.spotfire.server.userdir.ldap.LdapProvider.loadDirectory(LdapProvider.java:311) ~[server.jar:]

at com.spotfire.server.userdir.ldap.LdapSynchronizer.synchronize(LdapSynchronizer.java:226) ~[server.jar:]

at com.spotfire.server.userdir.ldap.LdapSynchronizer$SynchronizerCallback.run(LdapSynchronizer.java:260) ~[server.jar:]

at com.spotfire.server.util.SchedulerTask.run(SchedulerTask.java:70) ~[server.jar:]

at com.spotfire.server.util.Scheduler$SchedulerTimerTask.run(Scheduler.java:118) ~[server.jar:]

at java.util.TimerThread.mainLoop(Timer.java:555) ~[:1.8.0_171]

at java.util.TimerThread.run(Timer.java:505) ~[:1.8.0_171]

Caused by: javax.naming.CommunicationException: DomainDnsZones.xxx.xxx.xxxx:389

at com.sun.jndi.ldap.LdapReferralContext.(LdapReferralContext.java:96) ~[:1.8.0_171]

at com.sun.jndi.ldap.LdapReferralException.getReferralContext(LdapReferralException.java:151) ~[:1.8.0_171]

at com.sun.jndi.ldap.AbstractLdapNamingEnumeration.hasMoreReferrals(AbstractLdapNamingEnumeration.java:325) ~[:1.8.0_171]

at com.sun.jndi.ldap.AbstractLdapNamingEnumeration.hasMoreImpl(AbstractLdapNamingEnumeration.java:227) ~[:1.8.0_171]

... 12 more

Caused by: java.net.UnknownHostException: DomainDnsZones.xxx.xxx.xxxx

at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184) ~[:1.8.0_171]

at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) ~[:1.8.0_171]

at java.net.Socket.connect(Socket.java:589) ~[:1.8.0_171]

at java.net.Socket.connect(Socket.java:538) ~[:1.8.0_171]

at java.net.Socket.(Socket.java:434) ~[:1.8.0_171]

at java.net.Socket.(Socket.java:211) ~[:1.8.0_171]

at com.sun.jndi.ldap.Connection.createSocket(Connection.java:363) ~[:1.8.0_171]

at com.sun.jndi.ldap.Connection.(Connection.java:203) ~[:1.8.0_171]

at com.sun.jndi.ldap.LdapClient.(LdapClient.java:137) ~[:1.8.0_171]

at com.sun.jndi.ldap.LdapClient.getInstance(LdapClient.java:1615) ~[:1.8.0_171]

at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2749) ~[:1.8.0_171]

at com.sun.jndi.ldap.LdapCtx.(LdapCtx.java:319) ~[:1.8.0_171]

at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:192) ~[:1.8.0_171]

at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(LdapCtxFactory.java:151) ~[:1.8.0_171]

at com.sun.jndi.url.ldap.ldapURLContextFactory.getObjectInstance(ldapURLContextFactory.java:52) ~[:1.8.0_171]

at javax.naming.spi.NamingManager.getURLObject(NamingManager.java:601) ~[:1.8.0_171]

at javax.naming.spi.NamingManager.processURL(NamingManager.java:381) ~[:1.8.0_171]

at javax.naming.spi.NamingManager.processURLAddrs(NamingManager.java:361) ~[:1.8.0_171]

at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:333) ~[:1.8.0_171]

at com.sun.jndi.ldap.LdapReferralContext.(LdapReferralContext.java:119) ~[:1.8.0_171]

at com.sun.jndi.ldap.LdapReferralException.getReferralContext(LdapReferralException.java:151) ~[:1.8.0_171]

at com.sun.jndi.ldap.AbstractLdapNamingEnumeration.hasMoreReferrals(AbstractLdapNamingEnumeration.java:325) ~[:1.8.0_171]

at com.sun.jndi.ldap.AbstractLdapNamingEnumeration.hasMoreImpl(AbstractLdapNamingEnumeration.java:227) ~[:1.8.0_171]

... 12 more

INFO 2019-08-16T13:59:29,804+0800 [unknown, #117, #1547418] jaas.dblogin.DBLoginModule: Failed to authenticate user 'xxxx'

 

Any advice Thanks.

Regards,

Alex

Link to comment
Share on other sites

Hello Alex,

We will have to check what user is been passed when you select Keep me logged in.

This linecan be ignored as its trying to do Db authentication

===========

INFO 2019-08-16T13:59:29,804+0800 [unknown, #117, #1547418] jaas.dblogin.DBLoginModule: Failed to authenticate user 'xxxx'

===========

 

Will recommend if you create a ticket with tibco support at https:\support.tibco.com

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...