Genesys CTI User Forum

Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: phil on November 15, 2010, 04:17:06 PM

Title: Configure StatServer for GIS
Post by: phil on November 15, 2010, 04:17:06 PM
hi folks,

i got the following log output from GIS:

0:46:29.245 Dbg 20012 Feature GIS_STATSERVICE: 1 licenses checked in
10:46:29.245 Dbg 20012 License released: GenesysIntegrationServer:SessionService:1288968704214H1@GIS_STATSERVICE
10:47:19.213 Dbg 20004 call to browseServices method for  session id GenesysIntegrationServer:SessionService:1288968704214H1 -> OK
10:47:19.229 Dbg 20012 Checking out feature GIS_STATSERVICE in 7260@ls0,7260@ls1: OK
10:47:19.229 Dbg 20012 GenesysIntegrationServer:SessionService:1288968704214H1 -> license GIS_STATSERVICE checked
10:47:19.244 Dbg 20007 call to subscribeStatistic method for session id GenesysIntegrationServer:SessionService:1288968704214H1 (Stat Server error [no server defined]) -> ERROR

my questions is how to define a stat server for GIS. can anyone help?

cheers

phil
Title: Re: Configure StatServer for GIS
Post by: René on November 16, 2010, 09:21:05 AM
Hi Phil,

It's been a while I worked with GIS for last time but ... Have you tried to add StatServer to connections of GIS application?

R.
Title: Re: Configure StatServer for GIS
Post by: phil on November 16, 2010, 09:36:45 AM
hi rené,

yes, of course, this was my first thought, as well... but no change

cheers

phil
Title: Re: Configure StatServer for GIS
Post by: cavagnaro on November 16, 2010, 01:12:35 PM
On SS do you see the client connection? Can you connect to the SS TCP port from GIS machine?
Title: Re: Configure StatServer for GIS
Post by: phil on November 17, 2010, 10:54:29 AM
telnet works fine. the hosts are in the same subnet, so no firewalling active between these hosts.
Title: Re: Configure StatServer for GIS
Post by: cavagnaro on November 17, 2010, 04:02:45 PM
And do you see something about GIS connecting to SS?
Title: Re: Configure StatServer for GIS
Post by: phil on November 18, 2010, 05:02:29 PM
according to netstat there is neither a connection from gis to ss nor the other way around which confirms the gis log output and the question ("why?") persists, as it seems just fine...  ???
Title: Re: Configure StatServer for GIS
Post by: cavagnaro on November 18, 2010, 05:49:36 PM
With GIS up try to remove and reattach the SS application, you should see on the logs the component modification and see from there if any error raises. Maybe SS need some Java configuration?
Title: Re: Configure StatServer for GIS
Post by: phil on November 19, 2010, 08:43:49 AM
After deleting and reattaching the SS connection i can see the following in the log:

09:09:49.695 Dbg 20012 Feature GIS_STATSERVICE: 1 licenses checked in
09:09:49.695 Dbg 20012 License released: GenesysIntegrationServer:SessionService:1290080140130H1@GIS_STATSERVICE
09:10:19.772 Trc 20009 Configuration for application obtained
09:10:19.772 Trc 20009 Configuration data successfully read
09:10:19.772 Dbg 20012 HandleAppServersModification: nStatServers 1 -> 0
09:10:19.772 Dbg 20012 StatServers: deleted= 1  created= 0
09:10:19.772 Dbg 20012 Remove statServer StatServer_GIS
09:10:19.772 Dbg 20012 Destroy AgStat StatServer_GIS
09:10:19.772 Dbg 20012 HandleAppServersModification: nCSproxyServers 0 -> 0
09:10:19.772 Dbg 20012 CSServer: deleted= 0  created= 0
09:10:19.788 Std 04504 Connection to Stat server 'StatServer_GIS' at host 'host2.domain.com', port 2070 lost
09:10:21.116 Std 05094 Application is not able to provide service
09:10:21.116 Std 05094 Application is not able to provide service
09:10:39.678 Dbg 20004 call to browseServices method for  session id GenesysIntegrationServer:SessionService:1290080140130H1 -> OK
09:10:39.678 Dbg 20012 Checking out feature GIS_STATSERVICE in 7260@host0,7260@host1: OK
09:10:39.678 Dbg 20012 GenesysIntegrationServer:SessionService:1290080140130H1 -> license GIS_STATSERVICE checked
09:10:39.693 Dbg 20007 call to subscribeStatistic method for session id GenesysIntegrationServer:SessionService:1290080140130H1 (Stat Server error [no server defined]) -> ERROR
09:10:39.693 Dbg 20012 Feature GIS_STATSERVICE: 1 licenses checked in
09:10:39.693 Dbg 20012 License released: GenesysIntegrationServer:SessionService:1290080140130H1@GIS_STATSERVICE
09:10:50.724 Trc 20009 Configuration for application obtained
09:10:50.756 Trc 20009 Configuration data successfully read
09:10:50.756 Dbg 20012 HandleAppServersModification: nStatServers 0 -> 1
09:10:50.756 Dbg 20012 StatServers: deleted= 0  created= 1
09:10:50.756 Dbg 20012 Create statServer StatServer_GIS
09:10:50.771 Std 04503 Connected to Stat Server 'StatServer_GIS' at host 'host2.domain.com', port 2070
09:10:50.771 Dbg 20012 SOpenServerEx: StatServer_GIS@host2.domain.com:2070
09:10:50.771 Dbg 20012 HandleAppServersModification: nCSproxyServers 0 -> 0
09:10:50.771 Dbg 20012 CSServer: deleted= 0  created= 0
09:10:50.802 Std 05094 Application is not able to provide service
09:10:50.818 Std 05094 Application is not able to provide service
09:11:29.692 Dbg 20004 call to browseServices method for  session id GenesysIntegrationServer:SessionService:1290080140130H1 -> OK
09:11:29.692 Dbg 20012 Checking out feature GIS_STATSERVICE in 7260@host0,7260@host1: OK
09:11:29.692 Dbg 20012 GenesysIntegrationServer:SessionService:1290080140130H1 -> license GIS_STATSERVICE checked
09:11:29.708 Dbg 20007 call to subscribeStatistic method for session id GenesysIntegrationServer:SessionService:1290080140130H1 (Stat Server error [no server defined]) -> ERROR

so, it's "not able to provide service", but this isnt really a new insight :-D

about the java config i found the following

[java-config]
java-extensions-dir=./java/ext
java-libraries-dir=./java/lib
jvm-path=C:\Program Files\Java\jdk1.5.0_12/jre/bin/server/jvm.dll

[java-extensions]
eServiceContactStat.jar=yes
eServiceInteractionStat.jar=yes
VCBStatExtension.jar=no

any ideas?
Title: Re: Configure StatServer for GIS
Post by: cavagnaro on November 19, 2010, 02:08:34 PM
Ok, so now would be interesting why SS responded that "Couldn't provide the service". Try to see the SS log of that time frame and see what GIS asked and what SS tried to do and answered.
I'm suspicious about the Java Extensions.
Title: Re: Configure StatServer for GIS
Post by: phil on November 19, 2010, 02:52:29 PM
This is what i find in ss log. no word about java extensions at all...

2010-11-19 09:10:16> Server: Next heart-beat for call '027201dcd6bcb06e' on VQ 'VQ_GTL@Multimedia' in 60 sec
warning: source-time monotonicity violated: {IxnServer,492,1292741998} -> {ConfigServer,216,1290154218}!
2010-11-19T09:10:18.377 Trc 04541 Message UnRegisterClient received from 456 ( 'GenesysIntegrationServer')
2010-11-19 09:10:18> Client: Message from GenesysIntegrationServer(456) received
2010-11-19 09:10:18> Client: Message 'UnRegisterClient'
'CLIENT_NAME' 'GenesysIntegrationServer'
'LIB_INTERNAL_VERSION' 7
'PROTOCOL' 'StatExchangeProtocol 2.0.4'
2010-11-19 09:10:18> Client: Client 456 Disconnected
2010-11-19T09:10:18.377 Trc 04524 Client 'GenesysIntegrationServer' disconnected
2010-11-19 09:10:18> Client: Removing Client GenesysIntegrationServer

...

2010-11-19 09:10:49> Client: Client 456 Connected from 'xxx.xxx.xxx.xxx'(port 3278)
2010-11-19T09:10:49.372 Trc 04521 New client 456 connected from 'xxx.xxx.xxx.xxx'
2010-11-19 09:10:49> Client: Creating Client 456
2010-11-19T09:10:49.372 Trc 04541 Message RegisterClient received from 456 ( 'GenesysIntegrationServer')
2010-11-19 09:10:49> Client: Message from GenesysIntegrationServer(456) received
2010-11-19 09:10:49> Client: Message 'RegisterClient'
'CLIENT_NAME' 'GenesysIntegrationServer'
'LIB_INTERNAL_VERSION' 7
'PROTOCOL' 'StatExchangeProtocol 2.0.4'
2010-11-19T09:10:49.372 Trc 04522 Client 456 authorized, name 'GenesysIntegrationServer', type 'Unknown'
2010-11-19 09:10:49> Client: Sending message to GenesysIntegrationServer(456)
2010-11-19 09:10:49> Client: Message 'ClientRegistered'
'STRING_VALUE' '8.0.000.26'
'LONG_VALUE' 61
'TM_LENGTH' 1290154249
'TM_SERVER' 1290154249
'USER_REQ_ID' 0
'REQ_ID' 0
2010-11-19T09:10:49.372 Trc 04541 Message GetProfile received from 456 ( 'GenesysIntegrationServer')
2010-11-19 09:10:49> Client: Message from GenesysIntegrationServer(456) received
2010-11-19 09:10:49> Client: Message 'GetProfile'
'REQ_ID' 1
'LONG_VALUE' 0
2010-11-19 09:10:49> Client: Sending message to GenesysIntegrationServer(456)
2010-11-19 09:10:49> Client: Message 'ServerProfile'
'STRING_VALUE' ''
'LONG_VALUE' 0
'TM_LENGTH' 0
'TM_SERVER' 1290154249
'USER_REQ_ID' -1
'REQ_ID' 1
2010-11-19T09:10:49.372 Trc 04541 Message GetProfile received from 456 ( 'GenesysIntegrationServer')
2010-11-19 09:10:49> Client: Message from GenesysIntegrationServer(456) received
2010-11-19 09:10:49> Client: Message 'GetProfile'
'REQ_ID' 2
'LONG_VALUE' 1
2010-11-19 09:10:49> Client: Sending message to GenesysIntegrationServer(456)
2010-11-19 09:10:49> Client: Message 'ServerProfile'
'STRING_VALUE' ''
'LONG_VALUE' 1
'TM_LENGTH' 0
'TM_SERVER' 1290154249
'USER_REQ_ID' -1
'REQ_ID' 2
2010-11-19T09:10:49.372 Trc 04541 Message GetProfile received from 456 ( 'GenesysIntegrationServer')
2010-11-19 09:10:49> Client: Message from GenesysIntegrationServer(456) received
2010-11-19 09:10:49> Client: Message 'GetProfile'
'REQ_ID' 3
'LONG_VALUE' 3
2010-11-19 09:10:49> Client: Sending message to GenesysIntegrationServer(456)
2010-11-19 09:10:49> Client: Message 'ServerProfile'
'STRING_VALUE' ''
'LONG_VALUE' 3
'TM_LENGTH' 0
'TM_SERVER' 1290154249
'USER_REQ_ID' -1
'REQ_ID' 3
2010-11-19T09:10:49.372 Trc 04541 Message GetProfile received from 456 ( 'GenesysIntegrationServer')
2010-11-19 09:10:49> Client: Message from GenesysIntegrationServer(456) received
2010-11-19 09:10:49> Client: Message 'GetProfile'
'REQ_ID' 4
'LONG_VALUE' 2
2010-11-19 09:10:49> Client: Sending message to GenesysIntegrationServer(456
Title: Re: Configure StatServer for GIS
Post by: phil on November 30, 2010, 02:51:03 PM
no ideas...?
Title: Re: Configure StatServer for GIS
Post by: cavagnaro on November 30, 2010, 08:03:32 PM
No...at least not from me...without ideas...I saw a similar ticket with Genesys and they said that the root was that the statistics were still opened so they did something with it...maybe the best is now open a ticket with Genesys directly...