Opening Automation Studio results in Stream closed

Document ID : KB000115583
Last Modified Date : 21/09/2018
Show Technical Document Details
After implementing custom certificates for the ROC and Automation Studio, trying to open Automation Studio results in an attempt to be launched but then nothing.

Enabling (via Java Control Panel) the Debugging -> Enable tracing/logging and Java console -> Show console, and then launching asap.jnlp again reveals that it stops logging additional information after the following error: Stream closed
at BufferedInputStream.getInIfOpen(Unknown Source)
at Source)
at Source)
at (
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 com.nolio.patform.shared.signals.BasicCallback.invokeMethod(
at com.nolio.platform.shared.signals.GSDispatcher.dispatch(
at Source)
CA Release Automation 6.6
Windows 2012
The command used to create the jar (custom-truststore.jar) was including the parent folder of the targeted nolio.jks. The command was:
  • Executed from a command prompt whose cwd was: C:\Program Files\java\jdk1.8.0_181\bin
  • Run using: jar cvf X:\Temp\custom-truststore.jar X:\Temp\nolio.jks
The output generated by this command is:
added manifest
adding: Temp/nolio.jks

Run the command in a way that does not include any folders - only the nolio.jks. For example, here are two ways it can be run and examples of their output that confirm the command worked as expected:
  1. From a command prompt whose cwd is C:\Program Files\java\jdk1.8.0_181\bin, run: jar cfv X:\Temp\custom-truststore.jar -C X:\Temp\ nolio.jks
  2. From a command prompt whose cwd is X:\Temp, run: C:\Program Files\java\jdk1.8.0_181\bin\jar cvf custom-truststore.jar nolio.jks
Both of these commands (note the space between X:\Temp\ and nolio.jks in #1) will return the output:
added manifest
adding: nolio.jks

After this jar file has been signed, copy it to the expected location (webapps/nolio-app/apps/v2.0.0/lib), run the command "javaws -uninstall" on the workstation you are trying to launch ASAP from and then launch Automation Studio again.