" /> GIR GWS Installation - Genesys CTI User Forum

Author Topic: GIR GWS Installation  (Read 2323 times)

Offline najwan

  • Newbie
  • *
  • Posts: 40
  • Karma: 0
GIR GWS Installation
« on: March 09, 2017, 09:45:15 AM »
Advertisement
Hi
I am trying to deploy GWS that is needed to GIR I am using the latest version of GWS 8.5.201.61

and followed the below steps to deploy the web application according to the deployment guide

1.Copy the installation_CD/ gws-<version>.noarch.rpm file to a local folder.
2. Perform the installation using the RPM package manager: rpm -ivh [--prefix installation_location] gws-<version>.noarch.rpm
3.Copy the *.sample files from the /installation_path/gws/config/config-templates directory to the /installation_path/ gws/config directory and remove the .sample extension.
4. Run following command to register the new service on your host: chkconfig gws on

5.configuring webservices (I configured the mandatory parameters)
6. Testing cassandra (running)
7. start the service by running the command: service gws start

At this stage I am getting:

Starting Web Services and Applications: su: warning: cannot change directory to /home/gws: No such file or directory  FAILED Thu Mar  9 12:29:57 AST 2017

and checking the logs at /var/log/gws we are getting the below:

java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:53)
        at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.IllegalStateException: java.io.FileNotFoundException: ./config/application.yaml (Permission denied)
        at org.springframework.beans.factory.config.YamlProcessor.handleProcessError(YamlProcessor.java:184)
        at org.springframework.beans.factory.config.YamlProcessor.process(YamlProcessor.java:176)
        at org.springframework.beans.factory.config.YamlProcessor.process(YamlProcessor.java:136)
        at org.springframework.boot.env.YamlPropertySourceLoader$Processor.process(YamlPropertySourceLoader.java:101)
        at org.springframework.boot.env.YamlPropertySourceLoader.load(YamlPropertySourceLoader.java:58)
        at org.springframework.boot.env.PropertySourcesLoader.load(PropertySourcesLoader.java:127)
        at org.springframework.boot.context.config.ConfigFileApplicationListener$Loader.loadIntoGroup(ConfigFileApplicationListener.java:452)
        at org.springframework.boot.context.config.ConfigFileApplicationListener$Loader.load(ConfigFileApplicationListener.java:439)
        at org.springframework.boot.context.config.ConfigFileApplicationListener$Loader.load(ConfigFileApplicationListener.java:364)
        at org.springframework.boot.context.config.ConfigFileApplicationListener.addPropertySources(ConfigFileApplicationListener.java:200)
        at org.springframework.boot.context.config.ConfigFileApplicationListener.postProcessEnvironment(ConfigFileApplicationListener.java:169)
        at org.springframework.boot.context.config.ConfigFileApplicationListener.onApplicationEnvironmentPreparedEvent(ConfigFileApplicationListener.java:161)
        at org.springframework.boot.context.config.ConfigFileApplicationListener.onApplicationEvent(ConfigFileApplicationListener.java:146)
        at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:163)
        at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:136)
        at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:119)
        at org.springframework.boot.context.event.EventPublishingRunListener.publishEvent(EventPublishingRunListener.java:111)
        at org.springframework.boot.context.event.EventPublishingRunListener.environmentPrepared(EventPublishingRunListener.java:65)
        at org.springframework.boot.SpringApplicationRunListeners.environmentPrepared(SpringApplicationRunListeners.java:54)
        at org.springframework.boot.SpringApplication.doRun(SpringApplication.java:315)
        at org.springframework.boot.SpringApplication.run(SpringApplication.java:295)
        at com.genesyslab.cloud.application.CloudWebApplication.main(CloudWebApplication.java:69)
        ... 6 more
Caused by: java.io.FileNotFoundException: ./config/application.yaml (Permission denied)
        at java.io.FileInputStream.open0(Native Method)
        at java.io.FileInputStream.open(FileInputStream.java:195)
        at java.io.FileInputStream.<init>(FileInputStream.java:138)
        at java.io.FileInputStream.<init>(FileInputStream.java:93)
        at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:90)
        at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:188)

Please Appreciate your help to suggest what can be done here and thanks

Offline Kubig

  • Hero Member
  • *****
  • Posts: 2755
  • Karma: 44
Re: GIR GWS Installation
« Reply #1 on: March 09, 2017, 09:54:39 AM »
Why are you using GWS and not the IRWS (latest version 8.5.201.75)? In any case, it looks you start the GWS under incorrect user.
« Last Edit: March 09, 2017, 09:56:46 AM by Kubig »

Offline najwan

  • Newbie
  • *
  • Posts: 40
  • Karma: 0
Re: GIR GWS Installation
« Reply #2 on: March 09, 2017, 10:07:35 AM »
Hi Kubig thanks for your reply.

Actually as per the guide of GIR I am following the below:

Installing
To install Interaction Recording Web Services (RWS), first you need to set up the following two application objects it
uses in the Genesys configuration environment:
• Cluster Application
• Node Application
If RWS is being deployed along with Web Services (GWS), then GWS must be installed first, and the Cluster
Application created during the GWS installation is shared between both components.

And according to the above i though i have to install GWS before RWS please correct me if i am wrong and kindly and guide me what i have to do.

Offline Kubig

  • Hero Member
  • *****
  • Posts: 2755
  • Karma: 44
Re: GIR GWS Installation
« Reply #3 on: March 09, 2017, 10:12:17 AM »
Let me quote documentation:

[quote]As of release 8.5.201.29, Web Services and Applications is no longer supported with Genesys Interaction Recording. Please refer to the new Interaction Recording Web Services replacement, as announced in the Genesys Interaction Recording 8.5.211.01 release note on June 29, 2016.[/quote]

You no longer need GWS for GIR only. GWS is required in case you are using Workspace Web Edition or Salesforce integration. For more information, follow the documentation.