" /> RCS start - Genesys CTI User Forum

Author Topic: RCS start  (Read 3562 times)

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
RCS start
« on: October 29, 2018, 10:25:10 PM »
Advertisement
Hi guys
I am migrating a GIR server (services totally down) and at new server when I start RCS (windows server) I get the following error:


[code]
2018-10-29T20:18:37.875 Trc 09900 com.genesyslab.rcs.model.RcsModel Keystore path is: keystore.bin
2018-10-29T20:18:37.876 Trc 09900 com.genesyslab.rcs.model.RcsModel Exception reading keystore: Exception: class java.io.IOException / Error initialising store of key store: java.security.InvalidKeyException: Illegal key size
2018-10-29T20:18:37.878 Alr 09900 com.genesyslab.rcs.controller.RcsWebMvcConfiguration Fatal error - unable to initialize cryptography, exiting now! java.io.IOException: Error initialising store of key store: java.security.InvalidKeyException: Illegal key size[/code]


I know it has to do with encryption level but don't understand how to fix it. At install documentation can't find anything related to this. Only part I can think of is this:


[code]Copy the Local_policy.jar and Us_export_policy.jar files to the JRE_HOME/lib/security directory. If there are already copies of these files in that directory, make backup copies of these existing files in case you want to revert the installation.[/code]


However I have searched those files and can't find them at the installation DVD or folder...


Can anyone suggest? Version is 8.5.0.8076 and java is 1.8.0_121


Regards

Offline Kubig

  • Hero Member
  • *****
  • Posts: 2755
  • Karma: 44
Re: RCS start
« Reply #1 on: October 30, 2018, 09:16:44 AM »
You can download it on this link [url=https://www.oracle.com/technetwork/java/javase/downloads/jce8-download-2133166.html]https://www.oracle.com/technetwork/java/javase/downloads/jce8-download-2133166.html[/url]

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: RCS start
« Reply #2 on: October 31, 2018, 02:44:31 PM »
Thanks
Even after replacing the jars it won't start...there is nothing else to do right? Should be automatic

Offline Kubig

  • Hero Member
  • *****
  • Posts: 2755
  • Karma: 44
Re: RCS start
« Reply #3 on: October 31, 2018, 04:36:30 PM »
Are you sure you update the JCE files in right Java? It seems like the Java is still using the old (limited) JCE policies

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: RCS start
« Reply #4 on: October 31, 2018, 04:40:59 PM »
I only have 1 Java 1.8 installed, so updated at both JDK and JRE, even made my JAVA_HOME to point to JRE folder

Offline Kubig

  • Hero Member
  • *****
  • Posts: 2755
  • Karma: 44
Re: RCS start
« Reply #5 on: October 31, 2018, 04:47:10 PM »
Try to reinstall RCS and start it again. If I recall well, there is a limitation that the JCE policy has to be update before the RCS is start for first time. If you change the JCE after first start of RCS, then RCS will always fail.

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: RCS start
« Reply #6 on: October 31, 2018, 04:56:56 PM »
Ahhh quite a note...will do!
Thanks

Offline rohank85

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Re: RCS start
« Reply #7 on: March 12, 2020, 02:50:47 AM »
@cavagnaro - Did you fix this issue and how?

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: RCS start
« Reply #8 on: March 12, 2020, 02:58:56 AM »
Yes, as kubig mentioned. Don't start the RCS until you create the file. If you did, delete it and create again


Enviado de meu SM-N9600 usando o Tapatalk


Offline rohank85

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Re: RCS start
« Reply #9 on: March 12, 2020, 07:30:23 PM »
Thanks guys  :)

Offline varadha1988

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
Re: RCS start
« Reply #10 on: March 18, 2020, 06:36:45 PM »
You tried renaming the keystore.bin file. Also check environment variables for java and jre in place


Sent from my iPhone using Tapatalk

Offline Khoufouu

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
Re: RCS start
« Reply #11 on: August 20, 2021, 02:21:21 PM »
Hello, I thinks I have the same problem to my Pre-Production, but i have done the reinstallation but it still don't work...  ???

Someone have an idea ?

Thanks in advance,
Khoufouu

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: RCS start
« Reply #12 on: August 20, 2021, 03:23:11 PM »
Post details.
Delete all files in that folder and then reinstall.


Enviado de meu SM-N9600 usando o Tapatalk