" /> LRM installation - Genesys CTI User Forum

Author Topic: LRM installation  (Read 2813 times)

Offline sere9890

  • Newbie
  • *
  • Posts: 14
  • Karma: 0
LRM installation
« on: October 12, 2016, 02:07:11 PM »
Advertisement
Hi all,
i've tried to install the LRM. it returns the following error when starting it from command bar


15:58:47.193 Trc 09900 Genesys LRM initializing...
15:58:47.193 Trc 09900 Application Name: LRM
15:58:47.193 Trc 09900 Version: 8.5.000.02
15:58:47.193 Trc 09900 Vendor: Genesys Telecommunications Laboratories
15:58:47.193 Trc 09900 Build Time: Tue Mar 04 23:36:12 CET 2014
15:58:47.193 Trc 09900 Target Config Server: localhost:2020
Oct 12, 2016 3:58:47 PM org.springframework.context.support.AbstractApplicationC
ontext prepareRefresh
INFO: Refreshing org.springframework.context.support.ClassPathXmlApplicationCont
ext@3108bc: display name [org.springframework.context.support.ClassPathXmlApplic
ationContext@3108bc]; startup date [Wed Oct 12 15:58:47 CEST 2016]; root of cont
ext hierarchy
Oct 12, 2016 3:58:47 PM org.springframework.beans.factory.xml.XmlBeanDefinitionR
eader loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource [mf.config.xml]
Oct 12, 2016 3:58:47 PM org.springframework.context.support.AbstractApplicationC
ontext obtainFreshBeanFactory
INFO: Bean factory for application context [org.springframework.context.support.
ClassPathXmlApplicationContext@3108bc]: org.springframework.beans.factory.suppor
t.DefaultListableBeanFactory@491cc5c9
Oct 12, 2016 3:58:47 PM org.springframework.core.io.support.PropertiesLoaderSupp
ort loadProperties
INFO: Loading properties file from class path resource [config.properties]
Oct 12, 2016 3:58:47 PM org.springframework.beans.factory.support.DefaultListabl
eBeanFactory preInstantiateSingletons
INFO: Pre-instantiating singletons in org.springframework.beans.factory.support.
DefaultListableBeanFactory@491cc5c9: defining beans [org.springframework.beans.f
actory.config.PropertyPlaceholderConfigurer#0,mfService,logManager]; root of fac
tory hierarchy
15:58:49.271 Trc 04500 Connecting to CFGConfigServer 'CFGConfigServer' at host '
localhost', port 2020
15:58:49.677 Std 09900 Exception caught while opening config protocol: com.genes
yslab.platform.commons.protocol.RegistrationException: Error registering. Code:
5835015; Server with this name is already running
com.genesyslab.platform.commons.protocol.RegistrationException: Error registerin
g. Code: 5835015; Server with this name is already running
        at com.genesyslab.platform.configuration.protocol.ConfServerProtocol$Con
fServerRegistrationHandler.isResponseAccepted(ConfServerProtocol.java:862)
        at com.genesyslab.platform.configuration.protocol.ConfServerProtocol$Con
fServerRegistrationHandler.handleResponse(ConfServerProtocol.java:794)
        at com.genesyslab.platform.commons.protocol.ClientChannel.processRegistr
ation(ClientChannel.java:521)
        at com.genesyslab.platform.commons.protocol.ClientChannel.onOpen(ClientC
hannel.java:419)
        at com.genesyslab.platform.configuration.protocol.ConfServerProtocol.onO
pen(ConfServerProtocol.java:519)
        at com.genesyslab.platform.commons.protocol.DuplexChannel.completeOpen(D
uplexChannel.java:892)
        at com.genesyslab.platform.commons.protocol.DuplexChannel.open(DuplexCha
nnel.java:221)
        at com.genesyslab.platform.commons.protocol.DuplexChannel.open(DuplexCha
nnel.java:189)
        at com.genesyslab.commons.ConfigurationService.init(ConfigurationService
.java:361)
        at com.genesyslab.commons.ConfigurationService.<init>(ConfigurationServi
ce.java:262)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou
rce)
        at java.lang.reflect.Constructor.newInstance(Unknown Source)
        at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:1
00)
        at org.springframework.beans.factory.support.SimpleInstantiationStrategy
.instantiate(SimpleInstantiationStrategy.java:87)
        at org.springframework.beans.factory.support.ConstructorResolver.autowir
eConstructor(ConstructorResolver.java:248)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:925)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:835)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory$1.run(AbstractAutowireCapableBeanFactory.java:409)
        at java.security.AccessController.doPrivileged(Native Method)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.createBean(AbstractAutowireCapableBeanFactory.java:380)
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getOb
ject(AbstractBeanFactory.java:264)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistr
y.getSingleton(DefaultSingletonBeanRegistry.java:222)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBe
an(AbstractBeanFactory.java:261)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean
(AbstractBeanFactory.java:185)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean
(AbstractBeanFactory.java:164)
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.
preInstantiateSingletons(DefaultListableBeanFactory.java:429)
        at org.springframework.context.support.AbstractApplicationContext.finish
BeanFactoryInitialization(AbstractApplicationContext.java:728)
        at org.springframework.context.support.AbstractApplicationContext.refres
h(AbstractApplicationContext.java:380)
        at org.springframework.context.support.ClassPathXmlApplicationContext.<i
nit>(ClassPathXmlApplicationContext.java:139)
        at org.springframework.context.support.ClassPathXmlApplicationContext.<i
nit>(ClassPathXmlApplicationContext.java:83)
        at com.genesyslab.lrm.LrmServer.init(LrmServer.java:255)
        at com.genesyslab.lrm.LrmServer.<init>(LrmServer.java:218)
        at com.genesyslab.lrm.LrmServer.main(LrmServer.java:144)
15:58:49.724 Std 04504 Connection to CFGConfigServer 'CFGConfigServer' at host '
localhost', port 2020 lost
Oct 12, 2016 3:58:49 PM org.springframework.beans.factory.support.DefaultSinglet
onBeanRegistry destroySingletons
INFO: Destroying singletons in org.springframework.beans.factory.support.Default
ListableBeanFactory@491cc5c9: defining beans [org.springframework.beans.factory.
config.PropertyPlaceholderConfigurer#0,mfService,logManager]; root of factory hi
erarchy
15:58:49.739 Std 40000 LRM Server initialization error, please verify your confi
guration. org.springframework.beans.factory.BeanCreationException: Error creatin
g bean with name 'logManager' defined in class path resource [mf.config.xml]: In
vocation of init method failed; nested exception is java.lang.NullPointerExcepti
on
org.springframework.beans.factory.BeanCreationException: Error creating bean wit
h name 'logManager' defined in class path resource [mf.config.xml]: Invocation o
f init method failed; nested exception is java.lang.NullPointerException
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.initializeBean(AbstractAutowireCapableBeanFactory.java:1338)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory$1.run(AbstractAutowireCapableBeanFactory.java:409)
        at java.security.AccessController.doPrivileged(Native Method)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.createBean(AbstractAutowireCapableBeanFactory.java:380)
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getOb
ject(AbstractBeanFactory.java:264)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistr
y.getSingleton(DefaultSingletonBeanRegistry.java:222)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBe
an(AbstractBeanFactory.java:261)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean
(AbstractBeanFactory.java:185)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean
(AbstractBeanFactory.java:164)
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.
preInstantiateSingletons(DefaultListableBeanFactory.java:429)
        at org.springframework.context.support.AbstractApplicationContext.finish
BeanFactoryInitialization(AbstractApplicationContext.java:728)
        at org.springframework.context.support.AbstractApplicationContext.refres
h(AbstractApplicationContext.java:380)
        at org.springframework.context.support.ClassPathXmlApplicationContext.<i
nit>(ClassPathXmlApplicationContext.java:139)
        at org.springframework.context.support.ClassPathXmlApplicationContext.<i
nit>(ClassPathXmlApplicationContext.java:83)
        at com.genesyslab.lrm.LrmServer.init(LrmServer.java:255)
        at com.genesyslab.lrm.LrmServer.<init>(LrmServer.java:218)
        at com.genesyslab.lrm.LrmServer.main(LrmServer.java:144)
Caused by: java.lang.NullPointerException
        at com.genesyslab.commons.log4j.LoggingManager.updateHostName(LoggingMan
ager.java:97)
        at com.genesyslab.commons.log4j.LoggingManager.init(LoggingManager.java:
144)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1414)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1375)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335)
        ... 17 more
Exception in thread "main" java.lang.NullPointerException
        at com.genesyslab.lrm.LrmServer.cleanup(LrmServer.java:555)
        at com.genesyslab.lrm.LrmServer.runServer(LrmServer.java:371)
        at com.genesyslab.lrm.LrmServer.main(LrmServer.java:145)



please help me
thanks

Offline Fra

  • Hero Member
  • *****
  • Posts: 856
  • Karma: -3
Re: LRM installation
« Reply #1 on: October 12, 2016, 03:22:25 PM »
15:58:49.677 Std 09900 Exception caught while opening config protocol: com.genes
yslab.platform.commons.protocol.RegistrationException: Error registering. Code:
5835015; Server with this name is already running

Self-explaining.

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: LRM installation
« Reply #2 on: October 12, 2016, 04:19:28 PM »
This guy is posting everything without reading at least...

Enviado de meu E6633 usando Tapatalk


Offline sere9890

  • Newbie
  • *
  • Posts: 14
  • Karma: 0
Re: LRM installation
« Reply #3 on: October 14, 2016, 01:49:35 PM »
I already checked if other servers with that name are already running... there are not...


Offline Dionysis

  • Sr. Member
  • ****
  • Posts: 408
  • Karma: 8
Re: LRM installation
« Reply #4 on: October 14, 2016, 01:57:05 PM »
It's not likely that the logs are telling lies.  If it says there's a server with that name running, it's extremely unlikely there isn't.

Also, when Genesys says "Server", it's referring to LRM, not the physical server.  Could be a stuck process on the same server you're trying to start it on, I've had that happen many times.

Is there some special reason you're installing LRM btw?  It's no longer required, nor is it fully supported any more.