Multimedia Samples

Hi guys,
I’m implementing a chat server on my lab to test before deploying on customer. I have everything ok (I think), chat server is up, webapi is up, webapi samples load, gdesktop is up. My problem is on chat server samples, I always get “timeout occurred” message when hitting the start chat link. The email samples do work fine…I’m lost here…what can be missing? How can I get a log of what may be happening?

PS:can anybody solve the upload issue??? “The attachments upload directory is not writable. Your attachment or avatar cannot be saved.”

Hi Cav,

Check log of WebAPI Server.

R.

1 Like

Hi rené,
That is what I’m trying to do but can’t find its head…

4ea5e2f7|LMS|1.0|webapimsg.lms|7.6.100.01|webapimsg ; ############################################################## ; Copyright (c) 2000-2009 Genesys Telecommunications Laboratories, Inc. ; All Rights Reserved ; ; Genesys Web API Server (load balancing) log messages ; ; ##############################################################

20000|STANDARD|LB_INFO_COPYRIGHT|LB: Copyright 2001-2009 Genesys Telecommunications Laboratories, Inc. All Rights Reserved.
20001|STANDARD|LB_INFO_VERSIONS|LB: SvcDispatcher servlet - %s, (%s, %s, %s)
20002|STANDARD|LB_INFO_VERSIOND|LB: SvcDispatcher - %s, (%s, %s, %s)
20100|STANDARD|LB_ERR_S|LB: %s
20102|STANDARD|LB_ERR_REFRESH|LB: exception during refresh services table: %s
20103|STANDARD|LB_ERR_RSPSRV|LB: exception during inguiry %s in thread %s
20104|STANDARD|LB_ERR_COLLTAPPL|LB: exception during collecting services: %s
20105|STANDARD|LB_ERR_CHNGAPPL|LB: exception during changing service description: %s
20106|STANDARD|LB_ERR_SCSLISTNR|LB: exception in Solution Control Server listener: %s
20107|STANDARD|LB_ERR_ROOTDELETED|LB: Warning: root application has been deleted in Configuration Server
20200|TRACE|LB_TRACE_S|LB: %s
20230|TRACE|LB_TRACE_ADDSRVC|LB: %s service description has been added.
20231|TRACE|LB_TRACE_DUPSRVC|LB: service description %s has been ignored as duplicated.
20232|TRACE|LB_TRACE_APPCHNGD|LB: service description %s has been changed.
20233|TRACE|LB_TRACE_APPSTATUS|LB: status of service %s is %s (%s)
20234|TRACE|LB_TRACE_BADSRVC|LB: Functionality wasn’t implemented (‘Mark service %s as bad’)
20235|TRACE|LB_TRACE_COLLTAPPL|LB: Collect service %s data.
20240|TRACE|LB_TRACE_COLLTIGNR|LB: service %s has been ignored because its type isn’t processed by load balancing.
20241|TRACE|LB_TRACE_COLLTBCON|LB: start process connections of service %s
20242|TRACE|LB_TRACE_COLLTECON|LB: finish process connections of service %s
20243|TRACE|LB_TRACE_REFRESHB|LB: start refreshing services table
20244|TRACE|LB_TRACE_REFRESHD|LB: finish refreshing services table
20245|TRACE|LB_TRACE_APPSTATE|LB: service %s state is (%s : %d) %s
20300|TRACE|LB_TRACE_INITDONES|LB: load balancing servlet initialization done
20301|TRACE|LB_TRACE_INITDONED|LB: Load balancer instance (SvcDispatcher) initialization done
20302|TRACE|LB_TRACE_SERVLETDESTR|LB: Load balancer servlet destroyed
20501|TRACE|LB_TRACE_INQSRVT|LB: received service inquiry by type ‘%s’, tenant=‘%s’ in thread %s
20502|TRACE|LB_TRACE_INQSRVA|LB: received service inquiry by alias %s in thread %s
20503|TRACE|LB_TRACE_RSPSRV|LB: dispatched service is %s:%d in thread %s

1 Like

Hum…what initializes this log? I renamed it to see a new set of it but it doesn’t appear anymore…

Hi Cav,

Your posted here content of webapimsg.lms file. It is not a log file.

Please check configuration of Web API Server application in CME (section log) to find out where the log file is placed and post it here.

R.

2 Likes

That is how I found that file…

Hi René,

This is the log:

Application name: WebAPIServer Application type: CFGWebAPIServer(80) Host name: EBDGENESYS Time zone: GMT-05:00 Local time: 2010-04-29T16:15:35.731 UTC time: 2010-04-29T21:15:35.731 Start time (UTC): 2010-04-29T21:15:35.716 Running time: 0:00:00:00.015 Memory usage: 117.309.440 Host info: Windows 2003, 5.2, x86, 1.5.0_09-b03, Java HotSpot(TM) Server VM, mixed mode File: (1) WebAPIServer.20100429_161535_732.log

16:15:35.731 Trc 04112 The Log Output of type ‘WebAPIServer’ has been created and opened
16:15:35.731 Trc 04110 Option ‘verbose’ has been set to the value ‘all’
16:15:35.731 Trc 04110 Option ‘buffering’ has been set to the value ‘no’
16:15:35.731 Trc 04110 Option ‘expire’ has been set to the value ‘20’
16:15:35.731 Trc 04110 Option ‘segment’ has been set to the value ‘10000’
16:15:35.731 Trc 04110 Option ‘spool’ has been set to the value ‘’
16:15:35.731 Trc 04110 Option ‘message-file’ has been set to the value ‘C:\Tomcat\bin\webapimsg.lms’
16:15:35.731 Trc 04110 Option ‘time-format’ has been set to the value ‘time’
16:15:35.731 Trc 04110 Option ‘time-convert’ has been set to the value ‘local’
16:15:35.731 Trc 04110 Option ‘message-format’ has been set to the value ‘short’
16:15:35.731 Trc 04110 Option ‘memory-storage-size’ has been set to the value ‘512 Kb’
16:15:35.731 Trc 04110 Option ‘check-point’ has been set to the value ‘1’
16:15:35.716 Trc 04110 Option ‘verbose’ has been set to the value ‘all’
16:15:35.716 Trc 04110 Option ‘buffering’ has been set to the value ‘no’
16:15:35.716 Trc 04110 Option ‘expire’ has been set to the value ‘20’
16:15:35.716 Trc 04110 Option ‘segment’ has been set to the value ‘10000’
16:15:35.716 Trc 04110 Option ‘spool’ has been set to the value ‘’
16:15:35.716 Trc 04110 Option ‘message-file’ has been set to the value ‘C:\Tomcat\bin\webapimsg.lms’
16:15:35.731 Trc 04106 Log Messages file ‘C:\Tomcat\bin\webapimsg.lms’ successfully loaded
16:15:35.731 Trc 04110 Option ‘time-format’ has been set to the value ‘time’
16:15:35.731 Trc 04110 Option ‘time-convert’ has been set to the value ‘local’
16:15:35.731 Trc 04110 Option ‘message-format’ has been set to the value ‘short’
16:15:35.731 Trc 04110 Option ‘memory-storage-size’ has been set to the value ‘512 Kb’
16:15:35.731 Trc 04110 Option ‘check-point’ has been set to the value ‘1’
16:15:35.731 Trc 04113 The Log Output of type ‘stderr’ has been closed and deleted
16:15:35.731 Trc 20200 LB: log library initialized
16:15:35.731 Trc 20200 LB: fetch primary/backup SCS…
16:15:38.569 Trc 20200 LB: Detected Solution Control Server [1]: ‘SolutionControlServer’ (ebdgenesys:4046)
16:15:38.569 Trc 20200 LB: fetch primary/backup SCS done
16:15:38.569 Std 20100 LB: creating SCS client…
16:15:38.569 Std 20100 LB: connecting to the first SCS (ebdgenesys:4046)
16:15:40.565 Std 20100 LB: connected to the SCS (ebdgenesys:4046)
16:15:40.565 Trc 20200 LB: SCS client created
16:15:40.565 Trc 20200 LB: collecting appications from the root …
16:15:40.970 Trc 20200 LB: -----------------------------
16:15:40.970 Trc 20200 LB: Loaded tenants descriptions…
16:15:40.970 Trc 20200 LB: name=‘RESOURCES’ dbid=101 state=CFGEnabled
16:15:40.970 Trc 20200 LB:

16:15:40.970 Trc 20235 LB: Collect service WebAPIServer data.
16:15:40.970 Trc 20230 LB: WebAPIServer,CFGWebAPIServer,ebdgenesys,80,enabled service description has been added.
16:15:40.970 Trc 20241 LB: start process connections of service WebAPIServer
16:15:40.970 Trc 20233 LB: status of service WebAPIServer is 0 (Not active. runMode = Unknown(-1))
16:15:40.970 Trc 20233 LB: status of service WebAPIServer is 1 (Not active. runMode = Unknown(2))
16:15:43.808 Trc 20235 LB: Collect service StatServer data.
16:15:43.808 Trc 20230 LB: StatServer,CFGStatServer,ebdgenesys,3030,enabled service description has been added.
16:15:43.808 Trc 20235 LB: Collect service ChatServer data.
16:15:43.808 Trc 20230 LB: ChatServer,CFGChatServer,ebdgenesys,7007,enabled service description has been added.
16:15:43.808 Trc 20233 LB: status of service StatServer is 0 (Not active. runMode = Unknown(-1))
16:15:43.808 Trc 20235 LB: Collect service MCR_EMailServerJava data.
16:15:43.808 Trc 20230 LB: MCR_EMailServerJava,CFGEmailServer,ebdgenesys,5180,enabled service description has been added.
16:15:43.808 Trc 20233 LB: status of service StatServer is 6 (Active. runMode = Primary(0))
16:15:43.808 Trc 20235 LB: Collect service MCR_InteractionServer data.
16:15:43.808 Trc 20240 LB: service MCR_InteractionServer has been ignored because its type isn’t processed by load balancing.
16:15:43.808 Trc 20235 LB: Collect service MCR_UniversalContactServer data.
16:15:43.808 Trc 20230 LB: MCR_UniversalContactServer,CFGContactServer,ebdgenesys,5130,enabled service description has been added.
16:15:43.808 Trc 20233 LB: status of service ChatServer is 0 (Not active. runMode = Unknown(-1))
16:15:43.808 Trc 20235 LB: Collect service SolutionControlServer data.
16:15:43.808 Trc 20233 LB: status of service ChatServer is 6 (Active. runMode = Primary(0))
16:15:43.808 Trc 20240 LB: service SolutionControlServer has been ignored because its type isn’t processed by load balancing.
16:15:43.808 Trc 20235 LB: Collect service StatServerReporting data.
16:15:43.808 Trc 20230 LB: StatServerReporting,CFGStatServer,ebdgenesys,3872,enabled service description has been added.
16:15:43.808 Trc 20233 LB: status of service MCR_EMailServerJava is 0 (Not active. runMode = Unknown(-1))
16:15:43.808 Trc 20242 LB: finish process connections of service WebAPIServer
16:15:43.808 Trc 20200 LB: collecting appications from the root done
16:15:43.808 Trc 20200 LB: establishing connection to LCA…
16:15:43.808 Trc 20233 LB: status of service MCR_EMailServerJava is 6 (Active. runMode = Primary(0))
16:15:43.808 Trc 20200 LB: AdapterML: use LCA port 4999
16:15:43.808 Trc 20233 LB: status of service MCR_UniversalContactServer is 0 (Not active. runMode = Unknown(-1))
16:15:43.808 Trc 20233 LB: status of service MCR_UniversalContactServer is 6 (Active. runMode = Primary(0))
16:15:43.808 Trc 20233 LB: status of service StatServerReporting is 0 (Not active. runMode = Unknown(-1))
16:15:43.808 Trc 20233 LB: status of service StatServerReporting is 6 (Active. runMode = Primary(0))
Connected to LCA, port 4999
16:15:43.808 Trc 20200 LB: +++++++++++++++ AdapterML: OnReconnect
16:15:43.808 Std 20100 LB: [‘WebAPIServer’ (root application) options].Log.verbose= ‘all’
16:15:43.808 Std 20100 LB: [‘WebAPIServer’ (root application) options].Log.expire= ‘20’
16:15:43.808 Std 20100 LB: [‘WebAPIServer’ (root application) options].Log.standard= ‘’
16:15:43.808 Std 20100 LB: [‘WebAPIServer’ (root application) options].Log.all= ‘WebAPIServer’
16:15:43.808 Std 20100 LB: [‘WebAPIServer’ (root application) options].Log.messagefile= ‘C:\Tomcat\bin\webapimsg.lms’
16:15:43.808 Std 20100 LB: [‘WebAPIServer’ (root application) options].Log.segment= ‘10000’
16:15:43.808 Std 20100 LB: [‘WebAPIServer’ (root application) options].Log.trace= ‘’
16:15:43.808 Std 20100 LB: [‘WebAPIServer’ (root application) options].endpoints:101.default= ‘Chat inbound queue’
16:15:43.808 Std 20100 LB: [‘WebAPIServer’ (root application) options].settings.default-char-set= ‘windows-1252’
16:15:43.808 Std 20100 LB: [‘WebAPIServer’ (root application) options].settings.default-code-page= ‘Cp1252’
16:15:43.808 Trc 20301 LB: Load balancer instance (SvcDispatcher) initialization done
16:15:43.808 Std 20002 LB: SvcDispatcher - 7.6.100.05, (ebdgenesys, 2020, WebAPIServer)
16:15:43.808 Trc 20200 LB: ConfSrvJavaCommunicator version 7.6.100.01
16:15:43.808 Trc 20200 LB: SvcDispatcher state is ‘AVAILABLE’
16:15:43.808 Trc 20300 LB: load balancing servlet initialization done
16:15:43.808 Std 20001 LB: SvcDispatcher servlet - 7.6.100.05, (ebdgenesys, 2020, WebAPIServer)
16:15:43.808 Trc 20233 LB: status of service WebAPIServer is 6 (Active. runMode = Primary(0))
16:18:45.356 Trc 20200 LB: method initializeDispatcher invoked, thread SvcDispatcher
16:18:45.356 Trc 20200 LB: initializeDispatcher: SVC dispatcher has been initialized already, thread SvcDispatcher
16:18:45.356 Trc 20200 LB: received getOwnWebApplication inquiry, thread SvcDispatcher
16:18:45.356 Dbg 09900 (ICC_API i18nsupport, CodePage=Cp1252 CharSet=windows-1252
16:18:45.356 Trc 20200 LB: method initializeDispatcher invoked, thread SvcDispatcher
16:18:45.356 Trc 20200 LB: initializeDispatcher: SVC dispatcher has been initialized already, thread SvcDispatcher
16:18:45.356 Trc 20501 LB: received service inquiry by type ‘CFGChatServer’, tenant=‘Resources’ in thread SvcDispatcher
16:18:45.356 Trc 20200 LB: ServiceDescr.getSrvcByType: Tenant=Resources(DBID=101)

16:18:45.356 Trc 20200 LB: ServiceDescr.isTenantAppropriate: Tenant=(101)

16:18:45.356 Trc 20503 LB: dispatched service is ebdgenesys:7007 in thread SvcDispatcher
16:19:32.837 Trc 20200 LB: method initializeDispatcher invoked, thread SvcDispatcher
16:19:32.837 Trc 20200 LB: initializeDispatcher: SVC dispatcher has been initialized already, thread SvcDispatcher
16:19:32.837 Trc 20501 LB: received service inquiry by type ‘CFGChatServer’, tenant=‘Resources’ in thread SvcDispatcher
16:19:32.837 Trc 20200 LB: ServiceDescr.getSrvcByType: Tenant=Resources(DBID=101)

16:19:32.837 Trc 20200 LB: ServiceDescr.isTenantAppropriate: Tenant=(101)

16:19:32.837 Trc 20503 LB: dispatched service is ebdgenesys:7007 in thread SvcDispatcher

Can´t see nothing wrong… :-\

:o Changed WebApi port to 0 and it began to work!!! ;D ;D ;D ;D ;D ;D
Now I’m confused about the meaning of that option…

Hi Cav,

I assume you’re talking about the webapi-port option of Chat application… Haven’t the port you specified originally been used already by other application?

R.

1 Like