Genesys CTI User Forum > Genesys-related Development

WallBoard OpenStat Tenant Resources not found

(1/3) > >>

mingeek:
We are retiring a SQL Server 2005 box so I built ConsoleStats and copied the built files to wallboard server.  However when running the executable I am getting these exceptions,
statistic needed for: Stat_num_1
SubscribeToStat:java.rmi.RemoteException: OpenStat Tenant Resources not found
statistic needed for: Stat_num_1
SubscribeToStat:java.rmi.RemoteException: service not allowed

Kubig:
Try to post fragment of your code which covers part where the stat request is built.

BTW: I do not understand, what role for SQL in this case. Wallboard is usually a real-time application.

mingeek:
Hey Kubig,
I appreciate for the quick reply and here is the code snip for service to update wallboard stats DB.

      public bool SaveCallsWaiting(int mCallsWaiting)
        {
            SqlCommand myCommand = new SqlCommand();
            myCommand.Connection = WallboardDB.GetDBConnection();
            myCommand.CommandText = "UPDATE WALLBOARD_STATS SET CallsWaiting = @CallsWaiting";
            SqlParameterCollection collection1 = myCommand.Parameters;
            collection1.AddWithValue("@CallsWaiting", mCallsWaiting);
            collection1 = null;
            myCommand.Connection.Open();
            myCommand.ExecuteNonQuery();
            myCommand.Connection.Close();
            return true;
        }
Any help will be much appreciated,

mingeek:
Hi,

When I fire up ConsoleStats this is what I get

Today is Tuesday
Logged in with session http://5701-dc.la.cssd.ad:8080/gis/services/SessionServic
e?GISsessionId=ECSSPROD_GIS_LA:SessionService:1441146936530H15
Service subscribed = GIS_STATSERVICE

CurrNumberWaitingCalls
Statistic needed for: Stat_num_1
subscribeToStat: java.rmi.RemoteException: OpenStat: Tenant 'Resources' not foun
d
Statistic needed for: Stat_num_1
subscribeToStat: java.rmi.RemoteException: stat reference already used
Statistic needed for: Stat_num_1
subscribeToStat: java.rmi.RemoteException: OpenStat: Tenant 'Resources' not foun
d

Total_Calls_Answered
Statistic needed for: Stat_num_2
subscribeToStat: java.rmi.RemoteException: stat reference already used
Statistic needed for: Stat_num_2
subscribeToStat: java.rmi.RemoteException: OpenStat: Tenant 'Resources' not foun
d
Statistic needed for: Stat_num_2
subscribeToStat: java.rmi.RemoteException: stat reference already used

Total_Time_to_Answer
Statistic needed for: Stat_num_3
subscribeToStat: java.rmi.RemoteException: OpenStat: Tenant 'Resources' not foun
d
Statistic needed for: Stat_num_3
subscribeToStat: java.rmi.RemoteException: stat reference already used
Statistic needed for: Stat_num_3
subscribeToStat: java.rmi.RemoteException: OpenStat: Tenant 'Resources' not foun
d

CurrMaxCallWaitingTime
Statistic needed for: Stat_num_4
subscribeToStat: java.rmi.RemoteException: stat reference already used

Kubig:
Only one suggestion - do not use GIS at all.

Navigation

[0] Message Index

[#] Next page

Go to full version