1 Reply Latest reply on Jul 4, 2002 3:55 AM by lakshmi nrusihma padhy

    problem when wrong password given

    lakshmi nrusihma padhy Newbie

      Hi All,
      please help me
      i am getting server redirect too many times(5) when i give wrong password. i am using client program to connect to servlet and then servlet to invoke bean

      thanks in advance
      lakshmi

        • 1. Re: problem when wrong password given
          lakshmi nrusihma padhy Newbie

          here i am giving some additional details of my earlier post

          The exception i am getting is as follows

          java.net.ProtocolException: Server redirected too many times (5)
          at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:581)
          at com.slmsoft.chameleon.xmlclient.ClientServerInteractionLayer.resolveServerAndSendRequest(Unknown Source)
          at com.slmsoft.chameleon.xmlclient.ClientServerInteractionLayer.sendRequestAndGetReply(Unknown Source)
          at com.slmsoft.chameleon.xmlclient.ActionSuper.performServerCall(Unknown Source)
          at com.slmsoft.chameleon.xmlclient.ActionSuper.doServerCall(Unknown Source)
          at com.slmsoft.chameleon.xmlclient.ActionSuper.doServerCall(Unknown Source)
          at com.slmsoft.chameleon.security.client.MCFChangePassword.isItFirstLogin(Unknown Source)
          at com.slmsoft.chameleon.security.client.MCFChangePassword.isFirstLogin(Unknown Source)
          at com.slmsoft.chameleon.security.client.ChameleonClientHandlerUserinfo.checkFirstLogin(Unknown Source)
          at com.slmsoft.chameleon.security.client.ChameleonClientHandlerUserinfo.doAll(Unknown Source)
          at com.slmsoft.chameleon.security.client.ChameleonClientHandlerUserinfo$5.actionPerformed(Unknown Source)
          at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1450)
          at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1504)
          at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:378)
          at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:250)
          at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:216)
          at java.awt.Component.processMouseEvent(Component.java:3715)
          at java.awt.Component.processEvent(Component.java:3544)
          at java.awt.Container.processEvent(Container.java:1164)
          at java.awt.Component.dispatchEventImpl(Component.java:2593)
          at java.awt.Container.dispatchEventImpl(Container.java:1213)
          at java.awt.Component.dispatchEvent(Component.java:2497)
          at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:2451)
          at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2216)
          at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2125)
          at java.awt.Container.dispatchEventImpl(Container.java:1200)
          at java.awt.Window.dispatchEventImpl(Window.java:914)
          at java.awt.Component.dispatchEvent(Component.java:2497)
          at java.awt.EventQueue.dispatchEvent(EventQueue.java:339)
          at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:131)
          at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:98)
          at java.awt.Dialog.show(Dialog.java:380)
          at com.slmsoft.chameleon.security.client.ChameleonClientHandlerUserinfo.ChameleonClientHandlerUserinfo(Unknown Source)
          at com.slmsoft.chameleon.security.client.ChameleonClientHandlerUserinfo.(Unknown Source)
          at com.slmsoft.chameleon.security.client.ChameleonCallbackHandler.handle(Unknown Source)
          at javax.security.auth.login.LoginContext$4.run(LoginContext.java:731)
          at java.security.AccessController.doPrivileged(Native Method)
          at javax.security.auth.login.LoginContext$SecureCallbackHandler.handle(LoginContext.java:727)
          at com.slmsoft.chameleon.security.client.ClientLoginModule.getUserInfo(Unknown Source)
          at com.slmsoft.chameleon.security.client.ClientLoginModule.login(Unknown Source)
          at java.lang.reflect.Method.invoke(Native Method)
          at javax.security.auth.login.LoginContext.invoke(LoginContext.java:595)
          at javax.security.auth.login.LoginContext.access$000(LoginContext.java:125)
          at javax.security.auth.login.LoginContext$3.run(LoginContext.java:531)
          at java.security.AccessController.doPrivileged(Native Method)
          at javax.security.auth.login.LoginContext.invokeModule(LoginContext.java:528)
          at javax.security.auth.login.LoginContext.login(LoginContext.java:449)
          at com.slmsoft.chameleon.xmlclient.Application.login(Unknown Source)
          at com.slmsoft.chameleon.xmlclient.ActionSuper.login(Unknown Source)
          at com.slmsoft.chameleon.administration.actionlisteners.AUDITBOActionSuper.login(Unknown Source)
          at com.slmsoft.chameleon.administration.actionlisteners.AuditMenuListener.loginUser(Unknown Source)
          at com.slmsoft.chameleon.administration.actionlisteners.AuditMenuListener.performWindowOpened(Unknown Source)
          at com.slmsoft.chameleon.xmlclient.ActionSuper.windowOpened(Unknown Source)
          at java.awt.AWTEventMulticaster.windowOpened(AWTEventMulticaster.java:280)
          at java.awt.Window.processWindowEvent(Window.java:797)
          at javax.swing.JFrame.processWindowEvent(JFrame.java:237)
          at java.awt.Window.processEvent(Window.java:776)
          at java.awt.Component.dispatchEventImpl(Component.java:2593)
          at java.awt.Container.dispatchEventImpl(Container.java:1213)
          at java.awt.Window.dispatchEventImpl(Window.java:914)
          at java.awt.Component.dispatchEvent(Component.java:2497)
          at java.awt.EventQueue.dispatchEvent(EventQueue.java:339)
          at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:131)
          at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:98)
          at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
          at java.awt.EventDispatchThread.run(EventDispatchThread.java:85)

          =============================================
          our archicture is swing client sends xml request to servlet and servlet invokes beans. the client sends request to servlet as URLConnection and gets reply by URLConnection.getInputStream(). i am using JAAS login module with J2EE security. please help me as i am facing this problem since long time.

          thanks a lot
          Lakshmi