Issue for running statistics web service example code

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

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.

2 Likes

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.