Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  •  Go to [ADSS-Server-Installation-Dir]\tomcat\bin and edit these files: 

    For Linux

    • Edit catalina.sh file in a text editor and search for the parameter JAVA_OPTS and add parameter -Dcom.sun.net.ssl.enableECC=false at the end and save the changes as shown below:

      Code Block
      titlecatalina.sh
      themeRDark
      linenumberstrue
      languagepowershell
      firstline1
      JAVA_OPTS="$JAVA_OPTS -DorgDjava.apacheprotocol.catalina.connector.CoyoteAdapter.ALLOW_BACKSLASH=true -Dorghandler.pkgs=org.apache.tomcat.util.buf.UDecoder.ALLOW_ENCODED_SLASH=truecatalina.webresources -Dcom.sun.net.ssl.enableECC=false"
    • Restart the ADSS Server Core, Console & Service instances from Windows Services Panel.

For Windows

    • Edit catalina.bat file in a text editor and search for the strings %JAVA_OPTS% %CATALINA_OPTS% and JAVA_OPTS and add parameter -Dcom.sun.net.ssl.enableECC=false at the end of each string and save the changes as shown below:

      Code Block
      titlecatalina.bat
      themeRDark
      linenumberstrue
      languagepowershell
      firstline1
      %_EXECJAVA% %JAVA_OPTS% %CATALINA_OPTS% %DEBUG_OPTS% -Dcom.sun.net.ssl.enableECC=false -Djava.endorsed.dirs="%JAVA_ENDORSED_DIRS%" -classpath "%CLASSPATH%" -Dcatalina.base="%CATALINA_BASE%" -Dcatalina.home="%CATALINA_HOME%" -Djava.io.tmpdir="%CATALINA_TMPDIR%" %MAINCLASS% %CMD_LINE_ARGS% %ACTION%
      goto end
      :doSecurity
      
      %_EXECJAVA% %JAVA_OPTS% %CATALINA_OPTS% %DEBUG_OPTS% -Dcom.sun.net.ssl.enableECC=false -Djava.endorsed.dirs="%JAVA_ENDORSED_DIRS%" -classpath "%CLASSPATH%" -Djava.security.manager -Djava.security.policy=="%SECURITY_POLICY_FILE%" -Dcatalina.base="%CATALINA_BASE%" -Dcatalina.home="%CATALINA_HOME%" -Djava.io.tmpdir="%CATALINA_TMPDIR%" %MAINCLASS% %CMD_LINE_ARGS% %ACTION%
      goto end
      :doJpda
      
      if not "%SECURITY_POLICY_FILE%" == "" goto doSecurityJpda
      %_EXECJAVA% %JAVA_OPTS% %CATALINA_OPTS% %JPDA_OPTS% %DEBUG_OPTS% set "JAVA_OPTS=%JAVA_OPTS% -Djava.protocol.handler.pkgs=org.apache.catalina.webresources -Dcom.sun.net.ssl.enableECC=false -Djava.endorsed.dirs="%JAVA_ENDORSED_DIRS%" -classpath "%CLASSPATH%" -Dcatalina.base="%CATALINA_BASE%" -Dcatalina.home="%CATALINA_HOME%" -Djava.io.tmpdir="%CATALINA_TMPDIR%" %MAINCLASS% %CMD_LINE_ARGS% %ACTION%
      goto end
      :doSecurityJpda
      
      %_EXECJAVA% %JAVA_OPTS% %CATALINA_OPTS% %JPDA_OPTS% %DEBUG_OPTS% -Dcom.sun.net.ssl.enableECC=false -Djava.endorsed.dirs="%JAVA_ENDORSED_DIRS%" -classpath "%CLASSPATH%" -Djava.security.manager -Djava.security.policy=="%SECURITY_POLICY_FILE%" -Dcatalina.base="%CATALINA_BASE%" -Dcatalina.home="%CATALINA_HOME%" -Djava.io.tmpdir="%CATALINA_TMPDIR%" %MAINCLASS% %CMD_LINE_ARGS% %ACTION%
      goto end
      :end
    • Edit the service.bat file in a text editor and search for the parameter --JvmOptions and ++JvmOptions one by one, add parameter ;-Dcom.sun.net.ssl.enableECC=false at the following location for both of them and save the changes.

      Code Block
      titleservice.bat
      themeRDark
      linenumberstrue
      languagepowershell
      firstline1
      "%EXECUTABLE%" //US//%SERVICE_NAME% --JvmOptions "-Dorg.apache.catalina.connector.CoyoteAdapter.ALLOW_BACKSLASH=true;-Dorg.apache.tomcat.util.buf.UDecoder.ALLOW_ENCODED_SLASH=true;-Dcatalina.base=%CATALINA_BASE%;-Dcatalina.home=%CATALINA_HOME%;-Djava.endorsed.dirs=%CATALINA_HOME%\endorsed;-Dcom.sun.net.ssl.enableECC=false" --StartMode jvm --StopMode jvm
       
      "%EXECUTABLE%" //US//%SERVICE_NAME% ++JvmOptions "-Dorg.apache.catalina.connector.CoyoteAdapter.ALLOW_BACKSLASH=true;-Dorg.apache.tomcat.util.buf.UDecoder.ALLOW_ENCODED_SLASH=true;-Djava.io.tmpdir=%CATALINA_BASE%\temp;-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager;-Djava.util.logging.config.file=%CATALINA_BASE%\conf\logging.properties;-Dcom.sun.net.ssl.enableECC=false" --JvmMs %6 --JvmMx %7
    • Stop the ADSS Server Core, Console & Service instances from Windows Services Panel.

    • Uninstall these services one by one by executing the tomcat\bin\uninstall_console.battomcat\bin\uninstall_core.bat, tomcat\bin\uninstall_service.bat file in Run as Administrative mode.
    • Now Install these services one by one by executing the tomcat\bin\install_console.bat tomcat\bin\install_core.bat tomcat\bin\install_service.bat file in Run as Administrative mode.
    • Start the ADSS Server Core, Console & Service instances from Windows Services Panel.

    Note that the services must be reinstalled for the changes to take effect as mentioned above.