Genesys CTI User Forum

Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: kevinwang on May 25, 2010, 02:13:29 PM

Title: Issue for running statistics web service example code
Post by: kevinwang on May 25, 2010, 02:13:29 PM
When I run Web Service statistic example code "RetrieveSubscribedStatisticExample"
I had a error message: "java.rmi.RemoteException: OpenStat: Supplied Stat Type name not known on server side."
Is there anyone who run into same problem?
what does 'OpenStat: Supplied Stat Type name not known on server side.' this mean?
I should define the stat type 'OpenStat' in statserver???


logging into session server...
logged into session server successfully. Session id =Genesys_Integration_server_763:SessionService:1274795969749H14
Number of services checked out = 1
Service checked out = GIS_STATSERVICE
Statistic needed for 1001
Statistic interested is agent's total login time
java.rmi.RemoteException: OpenStat: Supplied Stat Type name not known on server side.


Thanks in advance.

Kevin
Title: Re: Issue for running statistics web service example code
Post by: René on May 25, 2010, 03:40:47 PM
Kevin,

The error means that you're trying to open a statistic that is not defined by used StatServer.

I did quick check of the sample code and it tries to subscribe statistic "Total_Login_Time". Please check that this statistic is defined in StatServer's options.

R.
Title: Re: Issue for running statistics web service example code
Post by: kevinwang on May 25, 2010, 08:28:18 PM
there is a total_login_time stat type in stat server's option.
I forgot to change the tenant in the gis.properties.
but it seems error message should be different.
Anyway,it works properly,

Thang you ,Rene.