5 Replies Latest reply on Sep 24, 2019 8:51 AM by Thomas Miskiewicz

    After upgrading to 19.09 Web Service says java.security.NoSuchAlgorithmException

    Thomas Miskiewicz
      Share This:

      After successfully upgrading our AR Server to 19.08 the Web Services stopped working as if the server didn't find the keystore anymore. Meanwhile the arserverd.conf stayed untouched...

       

      WS_OMI_MessageQueue__Ändern_.jpg

       

      # JVM search paths (number indicates search order)

      jvm.search.path.1=FILE_SYSTEM=/appexec/jdk1.8.0_121/jre/bin

      jvm.search.path.2=RELATIVE_TO_SELF=..

      jvm.search.path.3=ENVIRONMENT_VARIABLE=BMC_AR_SYSTEM_HOME

      jvm.search.path.4=ENVIRONMENT_VARIABLE=JAVA_HOME

      jvm.search.path.5=ENVIRONMENT_VARIABLE=JDK_HOME

      jvm.search.path.6=ENVIRONMENT_VARIABLE=JRE_HOME

      jvm.search.path.7=PATH

      jvm.search.path.8=WINDOWS_REGISTRY

       

       

      # JVM executable patterns (number indicates pattern order)

      jvm.executable.pattern.1=java

      jvm.executable.pattern.2=bin/java

      jvm.executable.pattern.3=jdk/bin/java

      jvm.executable.pattern.4=jre/bin/java

      jvm.executable.pattern.5=BMCARSystemInstallJVM/bin/java

       

       

      # minimum required JVM version

      jvm.valid.version=1.8

       

       

      # ALL, JDK, JRE

      jvm.valid.type=ALL

       

       

      # ALL, BIT_64, BIT_32

      jvm.valid.bitness=ALL

       

       

      # JVM minimum heap size

      jvm.minimum.heap.size=8589934592

       

       

      # JVM maximum heap size

      jvm.maximum.heap.size=8589934592

       

       

      # JVM classpaths (number indicates classpath order)

      jvm.classpath.1=../lib/com.bmc.arsys.boot-9.1.08-SNAPSHOT.jar

      jvm.classpath.2=../lib/jmx_prometheus_javaagent-0.11.1.jar

       

       

      # jvm.invoke should be of type JAR or MAIN_CLASS

      # For example "java -jar file.jar" would be:

      #   jvm.invoke=JAR=file.jar

      # or "java FooMain" would be:

      #   jvm.invoke=MAIN_CLASS=FooMain

      jvm.invoke=MAIN_CLASS=com.bmc.arsys.boot.Main

       

       

      # JVM arguments to send to main (number indicates argument order)

      # actual command line args are automatically appended at the end of these

      #jvm.argument.1=arg1

      jvm.working.directory=.

       

       

      # JVM options (number indicates option order)

      jvm.option.1 = -javaagent:../lib/org.apache.servicemix.bundles.spring-instrument-5.0.6.RELEASE_1.jar

      jvm.option.2 = -Djavax.xml.transform.TransformerFactory=org.apache.xalan.processor.TransformerFactoryImpl

      jvm.option.3 = -Dlogback.configurationFile=file:../conf/logback_server.xml

      jvm.option.4 = -Xss2M

      jvm.option.5 = -XX:MetaspaceSize=384M

      jvm.option.6 = -XX:MaxMetaspaceSize=512M

      jvm.option.7 = -Dcom.sun.management.jmxremote

      jvm.option.8 = -Dcom.bmc.arsys.boot.flavor=server

      jvm.option.9 = -XX:OnOutOfMemoryError=./kill-server

      jvm.option.10 = -Djetty.home=../jetty

      jvm.option.11 = -Dorg.eclipse.equinox.http.jetty.autostart=false

      jvm.option.12 = -XX:ErrorFile=file:../db/arserverjvmcrash_PID%p.log

      jvm.option.13 = -XX:+HeapDumpOnOutOfMemoryError

      jvm.option.14 = -XX:HeapDumpPath=../Logs

      jvm.option.15 = -XX:+UseCompressedOops

      jvm.option.16 = -XX:+UseConcMarkSweepGC

      jvm.option.17 = -XX:+UseParNewGC

      jvm.option.18 = -XX:NewRatio=2

      jvm.option.19 = -Djavax.net.ssl.keyStore=/appexec/jdk1.8.0_121/jre/keystore/keystore.p12

      jvm.option.20 = -Djavax.net.ssl.keyStorePassword=secret

      jvm.option.21 = -Djavax.net.ssl.trustStore=/appexec/jdk1.8.0_121/jre/lib/security/cacerts

      jvm.option.22 = -Djavax.net.ssl.trustStorePassword=secret

      jvm.option.23 = -Djavax.net.ssl.keyStoreType=JKS

      jvm.option.24 = -Djavax.net.debug=ssl

      jvm.option.25 = -XX:NewRatio=2