Author Message
RahulGupta4
Joined: Dec 2, 2013
Messages: 26
Offline
Hi,



I stuck at client location with one error of jTAPI.

When the system has soft phone i was able to login to AES from JTAPI but when I have hard phone(IP phone) and trying to login from JTAPI i am getting the error

com.avaya.jtapi.tsapi.TsapiPlatformException:An attamp to login with an ACD agent with incorrect password

com.avaya.jtapi.tsapi.TsapiPlatformException: An attempt to log in an ACD agent with an incorrect password
at com.avaya.jtapi.tsapi.impl.core.TSDevice.addTSAgent(TSDevice.java:1739)
at com.avaya.jtapi.tsapi.impl.TsapiTerminal.addAgent(TsapiTerminal.java:812)
at com.wipro.aes.jtapiclient.inbound.InboundAgentClientImpl.agentLogin(InboundAgentClientImpl.java:472)
at com.wipro.aes.jtapiclient.inbound.Client.onBnClickedlogin(Client.java:1112)
at com.wipro.aes.jtapiclient.inbound.Client$2.actionPerformed(Client.java:626)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
2014-04-30 19:50:54 INFO Client:1159 - 3700412:::-----In exception------
2014-04-30 19:50:54 INFO Client:1172 - 3700412:::An attempt to log in an ACD agent with an incorrect password
2014-04-30 19:50:54 ERROR Client:1174 - 3700412:::onBnClickedlogin()::
com.wipro.aes.jtapiclient.inbound.exception.AgentLoginException: An attempt to log in an ACD agent with an incorrect password
at com.wipro.aes.jtapiclient.inbound.InboundAgentClientImpl.agentLogin(InboundAgentClientImpl.java:501)
at com.wipro.aes.jtapiclient.inbound.Client.onBnClickedlogin(Client.java:1112)
at com.wipro.aes.jtapiclient.inbound.Client$2.actionPerformed(Client.java:626)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)


Please help urgent

Regards
Gupta rahul
MartinFlynn
Joined: Nov 30, 2009
Messages: 1922
Online
You will get a better indication of the problem from the TSAPI traces on the AE Services. The Devconnect product FAQ "What is the procedure for enabling and accessing the AE Services logs for TSAPI (trace, tracing, g3trace, csta_trace)?" gives details on how to enable and view TSAPI traces. It is in the "FAQ: AE Services TSAPI -> General" section.

From the traces, you can get the TSAPI error code. Compare it with the possible error codes for setAgentState in "TSAPI for Avaya Communication Manager Programmer’s Reference".

Martin


RahulGupta4
Joined: Dec 2, 2013
Messages: 26
Offline
Its done now. some changes from AES end, some agent configuration changes.

Now its working fine



Regards
Gupta Rahul
UmeshC
Joined: Apr 18, 2011
Messages: 89
Offline
Hi Rahul,

Can you please post after what changes your AES app able to login? I am getting same error.

Thanks & Regards,
Umesh
UmeshC
Joined: Apr 18, 2011
Messages: 89
Offline
Now working. I re-entered password in CM agent.
Go to:   
Mobile view