Specify custom JVM args to the client application

The public knowledge pool and discussion forum of the OWS community. Do not post confidential information here!
vijayasri.t
Posts: 13
Joined: 27 Jul 2020, 12:48

Specify custom JVM args to the client application

Post by vijayasri.t »

Hello,

I found this under JVM Manager section. How do you specify custom JVM args to the client application?

https://openwebstart.com/feature-table/

JVM parameters for application start 1 Several JVM parameters can be specified for an application.
JSR-56, Ch. 4.6

I’d like to pass the settings for my SSL-enabled application set up using self-signed certificate.
-Djavax.net.ssl.trustStore="%JAVA_HOME%\jre\lib\security\cacerts"
-Djavax.net.ssl.trustStorePassword="changeit"

Thanks!

Stephan Classen
Posts: 103
Joined: 27 Mar 2020, 09:55

Re: Specify custom JVM args to the client application

Post by Stephan Classen »

OWS finds the default trust stores by itself.
You can see the found stores and the contained certificate in the settings (launch the itw-settings.exe executable)

If you specific trust store is not found you can try one or more of the following:

a)
Add your certificates to one of the found trust stores

b)
Specify the properties as a resource in your JNLP file.

Code: Select all

    <resources>
            <j2se version="1.8*" />
            <jar href="http://my-domain.com/app.jar" main="true" />
            <property name="separateFrame" value="false" />
            <property name="lookAndFeel" value="dark" />
    </resources>

Post Reply