Genesys CTI User Forum
Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: Filippe on November 21, 2011, 06:07:49 PM
-
Hi There,
My name is Filippe, I'm new here!
I have a trouble between Knowledge Manager and UCS!
When i try to connect the Knowlege manager, I got the following error:
[b]"Contact Server Connection Failed"[/b]
This connection is through a server using a NAT IP
But, it is wierd becouse, I did the Installation(knowledge manager) in my computer and it worked!
I saw logs of knowledge manager and there is a message:
[b]"com.genesyslab.icc.api.contactserver.PersistentException: UCS connection failed"[/b]
Look this:
"com.genesyslab.icc.api.contactserver.PersistentException: UCS connection failed
at com.genesyslab.icc.api.contactserver.UCSMonitor.connect(Unknown Source)
at com.genesyslab.icc.api.contactserver.UCSMonitor.connect(Unknown Source)
at Genesys.iknow.manager.TM_DB.createContactServer(TM_DB.java:433)
at Genesys.iknow.manager.TM_DB.connectInit(TM_DB.java:143)
at Genesys.iknow.manager.TM_DB.<init>(TM_DB.java:47)
at Genesys.iknow.manager.TM_Parm.initParm(TM_Parm.java:856)
at Genesys.iknow.manager.TM_start$LoginChecker.doLogin(TM_start.java:103)
at com.genesyslab.unilogin.LoginActions$OkAction.actionPerformed(Unknown Source)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
at javax.swing.plaf.basic.BasicRootPaneUI$Actions.actionPerformed(BasicRootPaneUI.java:191)
at javax.swing.plaf.basic.BasicComboBoxUI$Actions.actionPerformed(BasicComboBoxUI.java:1575)
at javax.swing.plaf.basic.BasicComboBoxUI$Handler.actionPerformed(BasicComboBoxUI.java:1904)
at javax.swing.JTextField.fireActionPerformed(JTextField.java:492)
at javax.swing.JTextField.postActionEvent(JTextField.java:705)
at javax.swing.JTextField$NotifyAction.actionPerformed(JTextField.java:820)
at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1633)
at javax.swing.JComponent.processKeyBinding(JComponent.java:2851)
at javax.swing.JComponent.processKeyBindings(JComponent.java:2886)
at javax.swing.JComponent.processKeyEvent(JComponent.java:2814)
at java.awt.Component.processEvent(Component.java:6040)
at java.awt.Container.processEvent(Container.java:2041)
at java.awt.Component.dispatchEventImpl(Component.java:4630)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1850)
at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:712)
at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:990)
at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:855)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:676)
at java.awt.Component.dispatchEventImpl(Component.java:4502)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Window.dispatchEventImpl(Window.java:2478)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:178)
at java.awt.Dialog$1.run(Dialog.java:1046)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Caused by: java.rmi.ConnectException: Connection refused to host: SVTT102CTO; nested exception is:
java.net.ConnectException: Connection refused: connect
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:601)
at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:198)
at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:184)
at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:322)
at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
... 50 more
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:529)
at java.net.Socket.connect(Socket.java:478)
at java.net.Socket.<init>(Socket.java:375)
at java.net.Socket.<init>(Socket.java:189)
at com.genesyslab.util.rmi.CustomSocket.<init>(Unknown Source)
at com.genesyslab.util.rmi.CustomSocket.<init>(Unknown Source)
at com.genesyslab.util.rmi.CustomClientSocketFactory.createSocket(Unknown Source)
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:595)
... 54 more"
________________________________________
Really, it does not connect to UCS!!
Someone can help me with this trouble??
I would be VERY GRATEFUL!!!!
[img]http://C:\Users\felipe\Desktop\erro.png[/img]
-
Hi Filipper,
Error message says that remote host refused the connection (see extract below). Please check there is no firewall blocking the connection including Windows Firewall running on the server.
[font=courier]Caused by: java.rmi.ConnectException: Connection refused to host: SVTT102CTO; nested exception is:
java.net.ConnectException: Connection refused: connect[/font]
R.
-
Thank Very much René!
But, I tryed make a telnet on the server name (and number) and the port, AND IS EVERYTHING OK!
but it does not work yet whe i try to connect!!!
Perharps, is it a problem with java?
[img]http://C:\Users\felipe\Desktop\erro.png[/img]
-
Hi Filippe,
What version of UCS and Java do you use? Do you have option 'ucsapi-duplex-mode' enabled on UCS?
R.
-
Hi René
The Java Version 1.5 and UCS is 8.0!!
Duplex mode is enabled!!
I'm yet trying to solve it!!
Thanks again!!
-
heyyyyyy!!!
PROBLEM SOLVED!!!
I JUST RESTART UCS BEFORE CHANGE THE DUPLEX-MODE OPTION, AND CHANGE THE HOST CONFIGURATION(VERY IMPORTANT)!
THIS TROUBLE IS BECAUSE I AM USING A NAT IP!!!
BUT ANYWAY!!
THNKS RENÉ!!!
-
Hi Guys,
facing same problem Filippe solved way back in 2011, I decided to reply to the very same topic. Let me know if it's better to start a whole new topic.
As I said, same problem... refused connection to UCS when logging to Knowledge Manager. 'ucsapi-duplex-mode' is enabled on UCS and, following what Filippe did, tried a telnet and everything seems okay. Tried a restart of UCS as well.
What am I missing?
[quote]com.genesyslab.icc.api.contactserver.PersistentException: UCS connection failed
at com.genesyslab.icc.api.contactserver.UCSMonitor.connect(Unknown Source)
at com.genesyslab.icc.api.contactserver.UCSMonitor.connect(Unknown Source)
at Genesys.iknow.manager.TM_DB.createContactServer(TM_DB.java:433)
at Genesys.iknow.manager.TM_DB.connectInit(TM_DB.java:143)
at Genesys.iknow.manager.TM_DB.<init>(TM_DB.java:47)
at Genesys.iknow.manager.TM_Parm.initParm(TM_Parm.java:836)
at Genesys.iknow.manager.TM_start$LoginChecker.doLogin(TM_start.java:112)
at com.genesyslab.unilogin.LoginActions$OkAction.actionPerformed(Unknown Source)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
at java.awt.Component.processMouseEvent(Component.java:6516)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3321)
at java.awt.Component.processEvent(Component.java:6281)
at java.awt.Container.processEvent(Container.java:2229)
at java.awt.Component.dispatchEventImpl(Component.java:4872)
at java.awt.Container.dispatchEventImpl(Container.java:2287)
at java.awt.Component.dispatchEvent(Component.java:4698)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
at java.awt.Container.dispatchEventImpl(Container.java:2273)
at java.awt.Window.dispatchEventImpl(Window.java:2719)
at java.awt.Component.dispatchEvent(Component.java:4698)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:747)
at java.awt.EventQueue.access$300(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:706)
at java.awt.EventQueue$3.run(EventQueue.java:704)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
at java.awt.EventQueue$4.run(EventQueue.java:720)
at java.awt.EventQueue$4.run(EventQueue.java:718)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:717)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:154)
at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:182)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:312)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:745)
at java.awt.EventQueue.access$300(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:706)
at java.awt.EventQueue$3.run(EventQueue.java:704)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:715)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
Caused by: java.rmi.ConnectException: Connection refused to host: T-CTI-POM-WSV06; nested exception is:
java.net.ConnectException: Connection refused: connect
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:619)
at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:216)
at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:202)
at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:341)
at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
... 56 more
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.DualStackPlainSocketImpl.connect0(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:79)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:579)
at java.net.Socket.connect(Socket.java:528)
at java.net.Socket.<init>(Socket.java:425)
at java.net.Socket.<init>(Socket.java:208)
at com.genesyslab.util.rmi.CustomSocket.<init>(Unknown Source)
at com.genesyslab.util.rmi.CustomSocket.<init>(Unknown Source)
at com.genesyslab.util.rmi.CustomClientSocketFactory.createSocket(Unknown Source)
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:613)
... 60 more
[/quote]
Thanks!
-
Which version of UCS?
If you have 8.5.309 or higher there is a known bug preventing KM to connect.
-
Hi catanirex, thanks for your reply!
UCS version is 8.5.300.35... so unfortunately it's not our case... and Java version is 1.7 by the way, in case it helps.
Let me know if I can provide to you more infos to better understand the issue.
Thanks!
-
Hi catarinex,
Sorry but did u mean 8.5.300.09? ??? 8.5.309 it's not a thing so that could explain the issue.
What I cant explain at this point is that we upgraded to .35 on and then used the KM no problem on the day after. And now we have no connection.
-
Locally at server works?
Maybe your problem is just a network issue like a firewall or something
Enviado de meu SM-G9650 usando o Tapatalk
-
Sorry for confusing with version number - remebered it wrong... BTW - Your version is not available any longer from Genesys...
The bug I mentioned is fixed in the version released yesterday:
"UCS support for RMI-based applications such as Knowledge Manager, GAD, ISDK and GIS is restored. Note that you still need to enable RMI support—option enable-rmi—in UCS options. (ESR-14549) "