Author Topic: eServices 8.1 Chat sample not working  (Read 7145 times)

Offline PFCCWA

  • Hero Member
  • *****
  • Posts: 655
  • Karma: -7
eServices 8.1 Chat sample not working
« on: October 07, 2013, 03:05:13 PM »
Hello,
I have deployed a Genesys eservices solution (8.1) in a dev platform but cant seem to get the chat sample to work.
From universal contact server and chat server logs these lines appear:

[i]15:26:45.169 Trc 21000 [SvcSrvW-2] <3 tcp://<host>:49795> Service 'Chat' method 'Create' started.
15:26:45.169 Dbg 29999 [SvcSrvW-2] <3> BusinessAttribute named 'MediaType' in tenant '101'not found in cache searching enumerator in cache
15:26:45.184 Std 29997 [SvcSrvW-2] <3> While reading list of EnumeratorValue for Enumerator name='MediaType' Enumerator dbid='101' on config server:
com.genesyslab.platform.applicationblocks.com.ConfigException: There are not enough object paths in the Read request result[/i]
[i]15:26:45.184 Std 29997 [SvcSrvW-2] <3> Unable to read Configuration : There are not enough object paths in the Read request result
15:26:45.184 Std 20121 [SvcSrvW-2] <3> Service 'Chat' failed in method 'Create' (ErrorCode=701 ErrorMsg=Unexpected error (Could not check IxnMedia : Unable to read Configuration : There are not enough object paths in the Read request result) Could not check IxnMedia : Unable to read Configuration : There are not enough object paths in the Read request result).
com.genesyslab.icc.api.contactserver.PersistentException: Could not check IxnMedia : Unable to read Configuration : There are not enough object paths in the Read request result[/i]

I am trying 'chat sample with user typing notification'.
It is under the connected media section of the samples page.
The message in the chat windows states 'Failed in Request to Contact Server'.
The MediaType business process does exist in configuration manager so not sure why it cant read it.
UCS is set up to log on as default.
chat server is defined with endpoints:101 section, and a default inbound queue.
chat server is connected to ucs.
Routing strategies are activated.
The mcr tooltest page states everything is configured correctly for chat (chat server self test page).

thanks.

Offline Kubig

  • Hero Member
  • *****
  • Posts: 2752
  • Karma: 44
Re: eServices 8.1 Chat sample not working
« Reply #1 on: October 08, 2013, 04:01:02 AM »
Do you have an object with name "chat" under BA (Business Attribute) MediaType?

Offline PFCCWA

  • Hero Member
  • *****
  • Posts: 655
  • Karma: -7
Re: eServices 8.1 Chat sample not working
« Reply #2 on: October 08, 2013, 07:17:26 AM »
Yes there is.
Both Media Type and chat exist in config server.
Media Type display name has a space character but the name itself is spelt MediaType.
chat is also spelt in lowercase, not sure if that makes a difference.

thanks.

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7639
  • Karma: 56330
Re: eServices 8.1 Chat sample not working
« Reply #3 on: October 08, 2013, 04:11:20 PM »
I'd check ConfigServer logs and see what it is asking for and what is CfgServer giving as answer

Offline PFCCWA

  • Hero Member
  • *****
  • Posts: 655
  • Karma: -7
Re: eServices 8.1 Chat sample not working
« Reply #4 on: October 09, 2013, 01:03:57 PM »
Nothing on configuration server logs.
This is more from ucs logs:

12:50:17.450 Dbg 29999 [AsyncSync] Interaction AttributesAttributes synchronization for Tenant(s) : 101
12:50:17.450 Dbg 29999 [AsyncSync] [Main DS] Acquiring new connection from pool (queue size: 1 )
12:50:17.450 Dbg 29999 [AsyncSync] [Main DS] Acquired new connection from pool in 0 ms
12:50:17.450 Dbg 29999 [AsyncSync] Beginning Transaction txn-8 for DataSource Main with Connection : txn-8
12:50:17.450 Dbg 21131 [AsyncSync] <txn-8 txn-8> Loading persistent object from class 'com.genesyslab.icc.api.contactserver.persistent.IxnAttributeMetaData'.
12:50:17.450 Dbg 29999 [AsyncSync] <txn-8 txn-8> Executing request : select IxnAttributeMetaData.ModifiedDate, IxnAttributeMetaData.Active, IxnAttributeMetaData.IsSortable, IxnAttributeMetaData.Format, IxnAttributeMetaData.TheType, IxnAttributeMetaData.TenantId, IxnAttributeMetaData.MappingColumnName, IxnAttributeMetaData.TheName, IxnAttributeMetaData.Id, IxnAttributeMetaData.DisplayName from IxnAttributeMetaData where (IxnAttributeMetaData.Active = ?) and (IxnAttributeMetaData.TenantId = ?) in transaction : txn-8 with timeout=0
12:50:17.466 Dbg 29999 [AsyncSync] <txn-8 txn-8> Getting ResultSetMetaData
12:50:17.466 Dbg 29999 [AsyncSync] <txn-8 txn-8> Instantiated 10 persistent from class com.genesyslab.icc.api.contactserver.persistent.IxnAttributeMetaData
12:50:17.466 Dbg 21131 [AsyncSync] <txn-8 txn-8> Loading persistent object from class 'com.genesyslab.icc.api.contactserver.persistent.IxnAttributeMetaData'.
12:50:17.466 Dbg 29999 [AsyncSync] <txn-8 txn-8> Executing request : select IxnAttributeMetaData.MappingColumnName from IxnAttributeMetaData where (IxnAttributeMetaData.TenantId = ?) in transaction : txn-8 with timeout=0
12:50:17.466 Dbg 29999 [AsyncSync] <txn-8 txn-8> Getting ResultSetMetaData
12:50:17.481 Dbg 29999 [AsyncSync] <txn-8 txn-8> Instantiated 10 persistent from class com.genesyslab.icc.api.contactserver.persistent.IxnAttributeMetaData
12:50:17.481 Dbg 29999 [AsyncSync] <txn-8> Checking Interaction Attribute 'MediaType' UCSID=00001a94B7MN003A in Tenant 101
12:50:17.481 Dbg 29999 [AsyncSync] <txn-8> Checking Interaction Attribute 'ServiceType' UCSID=00001a94B7MN003B in Tenant 101
12:50:17.481 Dbg 29999 [AsyncSync] <txn-8> Checking Interaction Attribute 'InteractionSubtype' UCSID=00001a94B7MN003C in Tenant 101
12:50:17.481 Dbg 29999 [AsyncSync] <txn-8> Checking Interaction Attribute 'InteractionType' UCSID=00001a94B7MN003D in Tenant 101
12:50:17.481 Dbg 29999 [AsyncSync] <txn-8> Checking Interaction Attribute 'StopProcessingReason' UCSID=00001a94B7MN003E in Tenant 101
12:50:17.481 Dbg 29999 [AsyncSync] <txn-8> Checking Interaction Attribute 'Language' UCSID=00001a94B7MN003F in Tenant 101
12:50:17.481 Dbg 29999 [AsyncSync] <txn-8> Checking Interaction Attribute 'ReasonCode' UCSID=00001a94B7MN003G in Tenant 101
12:50:17.481 Dbg 29999 [AsyncSync] <txn-8> Checking Interaction Attribute 'DispositionCode' UCSID=00001a94B7MN003H in Tenant 101
12:50:17.481 Dbg 29999 [AsyncSync] <txn-8> Checking Interaction Attribute 'Category' UCSID=00001a94B7MN003J in Tenant 101
12:50:17.481 Dbg 29999 [AsyncSync] <txn-8> Checking Interaction Attribute 'Priority' UCSID=00001a94B7MN003K in Tenant 101
12:50:17.481 Dbg 21131 [AsyncSync] <txn-8 txn-8> Loading persistent object from class 'com.genesyslab.icc.api.contactserver.persistent.IxnAttributeMetaData'.
12:50:17.481 Dbg 29999 [AsyncSync] <txn-8 txn-8> Executing request : select IxnAttributeMetaData.ModifiedDate, IxnAttributeMetaData.Active, IxnAttributeMetaData.IsSortable, IxnAttributeMetaData.Format, IxnAttributeMetaData.TheType, IxnAttributeMetaData.TenantId, IxnAttributeMetaData.MappingColumnName, IxnAttributeMetaData.TheName, IxnAttributeMetaData.Id, IxnAttributeMetaData.DisplayName from IxnAttributeMetaData where (IxnAttributeMetaData.TenantId = ?) in transaction : txn-8 with timeout=0
12:50:17.481 Dbg 29999 [AsyncSync] <txn-8 txn-8> Getting ResultSetMetaData
12:50:17.481 Dbg 29999 [AsyncSync] <txn-8 txn-8> Instantiated 10 persistent from class com.genesyslab.icc.api.contactserver.persistent.IxnAttributeMetaData
12:50:17.481 Dbg 29999 [AsyncSync] <txn-8> Checking Interaction Attribute 'MediaType' CFGID=425 in Tenant 101
12:50:17.481 Dbg 29999 [AsyncSync] <txn-8> Interaction Attribute 'MediaType' in Tenant 101 have Column already allocated - cannot undo
12:50:17.481 Dbg 29999 [AsyncSync] <txn-8> Checking Interaction Attribute 'ServiceType' CFGID=424 in Tenant 101
12:50:17.481 Dbg 29999 [AsyncSync] <txn-8> Interaction Attribute 'ServiceType' in Tenant 101 have Column already allocated - cannot undo
12:50:17.481 Dbg 29999 [AsyncSync] <txn-8> Checking Interaction Attribute 'InteractionSubtype' CFGID=427 in Tenant 101
12:50:17.481 Dbg 29999 [AsyncSync] <txn-8> Interaction Attribute 'InteractionSubtype' in Tenant 101 have Column already allocated - cannot undo
12:50:17.481 Dbg 29999 [AsyncSync] <txn-8> Checking Interaction Attribute 'InteractionType' CFGID=426 in Tenant 101
12:50:17.481 Dbg 29999 [AsyncSync] <txn-8> Interaction Attribute 'InteractionType' in Tenant 101 have Column already allocated - cannot undo
12:50:17.481 Dbg 29999 [AsyncSync] <txn-8> Checking Interaction Attribute 'StopProcessingReason' CFGID=429 in Tenant 101
12:50:17.481 Dbg 29999 [AsyncSync] <txn-8> Interaction Attribute 'StopProcessingReason' in Tenant 101 have Column already allocated - cannot undo
12:50:17.481 Dbg 29999 [AsyncSync] <txn-8> Checking Interaction Attribute 'Language' CFGID=428 in Tenant 101
12:50:17.481 Dbg 29999 [AsyncSync] <txn-8> Interaction Attribute 'Language' in Tenant 101 have Column already allocated - cannot undo
12:50:17.481 Dbg 29999 [AsyncSync] <txn-8> Checking Interaction Attribute 'ReasonCode' CFGID=431 in Tenant 101
12:50:17.481 Dbg 29999 [AsyncSync] <txn-8> Interaction Attribute 'ReasonCode' in Tenant 101 have Column already allocated - cannot undo
12:50:17.481 Dbg 29999 [AsyncSync] <txn-8> Checking Interaction Attribute 'DispositionCode' CFGID=430 in Tenant 101
12:50:17.481 Dbg 29999 [AsyncSync] <txn-8> Interaction Attribute 'DispositionCode' in Tenant 101 have Column already allocated - cannot undo
12:50:17.481 Dbg 29999 [AsyncSync] <txn-8> Checking Interaction Attribute 'Category' CFGID=423 in Tenant 101
12:50:17.481 Dbg 29999 [AsyncSync] <txn-8> Interaction Attribute 'Category' in Tenant 101 have Column already allocated - cannot undo
12:50:17.481 Dbg 29999 [AsyncSync] <txn-8> Checking Interaction Attribute 'Priority' CFGID=422 in Tenant 101
12:50:17.481 Dbg 29999 [AsyncSync] <txn-8> Interaction Attribute 'Priority' in Tenant 101 have Column already allocated - cannot undo
12:50:17.481 Dbg 29999 [AsyncSync] <txn-8 txn-8> Commit Transaction txn-8 for Connection : txn-8
12:50:17.497 Dbg 29999 [AsyncSync] <txn-8 txn-8> Transaction duration: 47 ms (8)
12:50:17.497 Dbg 29999 [AsyncSync] option 'config-synchro-mode', set to 'on-config', contact attribute sync is not scheduled

Might be linked.
thanks,

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7639
  • Karma: 56330
Re: eServices 8.1 Chat sample not working
« Reply #5 on: October 09, 2013, 01:27:22 PM »
That seems ok on UCS...
Now, you sure nothing on CfgServer logs??? Then what about Interaction Server?
If CfgSrv doesnt show a single request then maybe you have a security issue there...which user is launching the Chat application?

Offline PFCCWA

  • Hero Member
  • *****
  • Posts: 655
  • Karma: -7
Re: eServices 8.1 Chat sample not working
« Reply #6 on: October 11, 2013, 09:45:25 AM »
default user is launching ucs application, system for the rest.
I launched chat with default account but made no difference.

Can see read requests in config server (after changing to vebose all).

11:36:44.768 Trc 04541 Message MSGCFG_GETOBJECTINFO received from 388 (ContactServer 'ContactServer')

  MSGCFG_GETOBJECTINFO
  attr: IATRCFG_REQUESTID          value:  465
  attr: IATRCFG_OBJECTTYPE          value:  35 [CfgEnumerator]
  attr: BATRCFG_FILTER              value: 

  Filter :
  key: tenant_dbid                type:    [Integer], value : 101
  key: name                        type:    [String], value : MediaType
  key: read_folder_dbid            type:    [Integer], value : 0
  key: object_path                type:    [Integer], value : 0
  Query  : CfgBaseTenant[@DBID = 101]/enumerators/*[ (@name = 'MediaType')]

11:36:44.768 Trc 24215 There are [1] objects of type [CfgEnumerator] sent to the client [388] (application [ContactServer], type [ContactServer])
11:36:44.768 Trc 04542 Message MSGCFG_ENDOBJECTSLIST sent to 388 (ContactServer 'ContactServer')

  MSGCFG_ENDOBJECTSLIST
  attr: IATRCFG_OBJECTTYPE          value:  35 [CfgEnumerator]
  attr: IATRCFG_REQUESTID          value:  465

11:36:44.768 Trc 04541 Message MSGCFG_GETOBJECTINFO received from 388 (ContactServer 'ContactServer')

  MSGCFG_GETOBJECTINFO
  attr: IATRCFG_REQUESTID          value:  466
  attr: IATRCFG_OBJECTTYPE          value:  36 [CfgEnumeratorValue]
  attr: BATRCFG_FILTER              value: 

  Filter :
  key: tenant_dbid                type:    [Integer], value : 101
  key: enumerator_dbid            type:    [Integer], value : 101
  key: read_folder_dbid            type:    [Integer], value : 0
  key: object_path                type:    [Integer], value : 0
  Query  : CfgEnumerator[@DBID = 101]/enumeratorValues/CfgEnumeratorValue

11:36:44.784 Trc 24215 There are [46] objects of type [CfgEnumeratorValue] sent to the client [388] (application [ContactServer], type [ContactServer])
11:36:44.784 Trc 04542 Message MSGCFG_ENDOBJECTSLIST sent to 388 (ContactServer 'ContactServer')

  MSGCFG_ENDOBJECTSLIST
  attr: IATRCFG_OBJECTTYPE          value:  36 [CfgEnumeratorValue]
  attr: IATRCFG_REQUESTID          value:  466


interaction server doesn't show anything related to this..

thanks,
« Last Edit: October 11, 2013, 10:44:52 AM by PFCCWA »

Offline PFCCWA

  • Hero Member
  • *****
  • Posts: 655
  • Karma: -7
Re: eServices 8.1 Chat sample not working
« Reply #7 on: October 14, 2013, 10:58:09 AM »
In the eservices deployment guide under 'Installing JK1 connector with IIS7', the procedure states to place isapi_redirect<release number>.dll and place it in C:\jakarta-tomcat\bin..

Does this mean to place it in a new folder called c:\jakarta-tomcat\bin

or

Place it in the existing tomcat\bin folder created when tomcat 6 was installed?

thanks.

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7639
  • Karma: 56330
Re: eServices 8.1 Chat sample not working
« Reply #8 on: October 14, 2013, 01:36:33 PM »
Check on Internet for "IIS Jakarta Tomcat integration"