GMSC Discussions

GeoMedia Smart Client community discussion board is where you can create, contribute and share information and knowledge in regards to configuring as well as working with GeoMedia Smart Client. Find your answers, share your knowledge and help build a strong GeoMedia Smart Client community.
Showing results for 
Search instead for 
Do you mean 
Reply
Highlighted
Frequent Contributor
Posts: 91
Registered: ‎11-10-2015
Accepted Solution

Should all the Jar inside plugin folder have the same certificate?

Hello

 

We work with a partner and both of us will sign our jars with our own certificate should we expect an issue?

 

Best Regards

 

David

Highlighted
Community Manager
Posts: 292
Registered: ‎02-08-2016

Re: Should all the Jar inside plugin folder have the same certificate?

Hi David.

 

Please refer to http://community.hexagongeospatial.com/t5/Developers-Knowledge-Base/GMSC-Client-Extension-Deployment... that the custom jars should be in the plugin folder on the server.

If I remember correctly, and it has been a while, by having them in the plugin folder the GMSC.jnlp will include an external.jnlp that contains your signed jars so you don't get the error 'jar resources in jnlp are not signed by the same certificate'

 

In the GMSC.jnlp

<resources>
  ...
  <extension name="other" href="other.jnlp"/>
</resources>

 

Thank You,

Marc

Highlighted
Frequent Contributor
Posts: 91
Registered: ‎11-10-2015

Re: Should all the Jar inside plugin folder have the same certificate?

Thank you marc

 

The issue is that the jar works on our environement but not on our partner environment.

Jar are in the plugins folder at both location (us and our partner).

 

the message is Unable to launch the application

 

JNLPException[category: Launch File Error : Exception: null : LaunchDesc:

….

    <jar href="plugins/lib/jxmaps-1.3.1.jar"/>

    <jar href="plugins/lib/jxmaps-win-1.3.1.jar"/>

    <jar href="plugins/lib/licence.jar"/>

    <extension name="GMSCExtensions" href="plugins/GMSCExtensions.jnlp"/>

    <extension name="LireEtRechercherPK" href="plugins/LireEtRechercherPK.jnlp"/>

    <extension name="nz.co.intergraph.extensions.GoogleStreetViewPlugin.jar.pack" href="plugins/nz.co.intergraph.extensions.GoogleStreetViewPlugin.jar.pack.jnlp"/>

  </resources>

  <resources>

    <property name="jnlp.packEnabled" value="true"/>

    <java version="1.8.0_25+" href="http://java.sun.com/products/autodl/j2se" java-vm-args="-Dsun.java2d.d3d=false" max-heap-size="1024m"/>

  </resources>

  <application-desc main-class="com.intergraph.web.SmartClient">

    <argument>sso=true</argument>

    <argument>site=GMSC</argument>

  </application-desc>

</jnlp> ]

        at com.sun.javaws.security.JNLPSignedResourcesHelper.checkSignedResourcesHelper(Unknown Source)

        at com.sun.javaws.security.JNLPSignedResourcesHelper.checkSignedResources(Unknown Source)

        at com.sun.javaws.Launcher.prepareResources(Unknown Source)

        at com.sun.javaws.Launcher.prepareAllResources(Unknown Source)

        at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)

        at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)

        at com.sun.javaws.Launcher.launch(Unknown Source)

        at com.sun.javaws.Main.launchApp(Unknown Source)

        at com.sun.javaws.Main.continueInSecureThread(Unknown Source)

        at com.sun.javaws.Main.access$000(Unknown Source)

        at com.sun.javaws.Main$1.run(Unknown Source)

        at java.lang.Thread.run(Unknown Source)

 

Do you have an idea

 

Best Regards

 

David

Highlighted
Community Manager
Posts: 292
Registered: ‎02-08-2016

Re: Should all the Jar inside plugin folder have the same certificate?

Hi David.

 

Only 2 thoughts.

  1. Java cache?
  2. Self signed certifcate? is it trusted and in the keystore of the client? Trusted certificate?

Past that, I would recommend logging a support ticket so an analyst can look into it further.

 

Thanks,

Marc

 

Highlighted
Frequent Contributor
Posts: 91
Registered: ‎11-10-2015

Re: Should all the Jar inside plugin folder have the same certificate?

Thank you marc i 'll investigate based on your inputs.

 

Best Regards

 

David

Highlighted
Frequent Contributor
Posts: 91
Registered: ‎11-10-2015

Re: Should all the Jar inside plugin folder have the same certificate?

There was a difference in the partner GMSC.jnlp when i deleted the line in bold (see below) it worked in both environment.

 

<resources>

    <jar href="jars/CoreServices.jar" />

    <jar href="jars/CustomSymbolizer.jar" />

    <jar href="jars/DefaultPlugins.jar" />

    <jar href="jars/GPSDevices.jar" />

    <jar href="jars/Loader.jar" />

    <jar href="jars/OfflineDataSupport.jar" />

    <jar href="jars/Printing.jar" />

    <jar href="jars/SmartClient.jar" />

    <jar href="jars/Viewer.jar" />

    <jar href="jars/XMLAutomate.jar" />

    <jar href="jars/lib/Common.jar" />

    <jar href="jars/lib/Apollo/cots-api-base.jar" />

    <jar href="jars/lib/Apollo/cots-api-log.jar" />

    <jar href="jars/lib/Apollo/cots-binary.jar" />

    <jar href="jars/lib/Apollo/cots-core.jar" />

    <jar href="jars/lib/Apollo/cots-geom.jar" />

    <jar href="jars/lib/Apollo/cots-license.jar" />

    <jar href="jars/lib/Apollo/cots-resource.jar" />

    <jar href="jars/lib/Apollo/cots-srs.jar" />

    <jar href="jars/lib/Apollo/cots-util.jar" />

    <jar href="jars/lib/Apollo/cots-wfs-units.jar" />

    <jar href="jars/lib/Apollo/cots-xml.jar" />

    <jar href="jars/lib/Apollo/log4j.jar" />

    <jar href="jars/lib/Apollo/slf4j-api.jar" />

    <jar href="jars/lib/Apollo/slf4j-log4j.jar" />

    <jar href="jars/lib/Batik/batik-anim.jar" />

    <jar href="jars/lib/Batik/batik-awt-util.jar" />

    <jar href="jars/lib/Batik/batik-bridge.jar" />

    <jar href="jars/lib/Batik/batik-codec.jar" />

    <jar href="jars/lib/Batik/batik-css.jar" />

    <jar href="jars/lib/Batik/batik-dom.jar" />

    <jar href="jars/lib/Batik/batik-ext.jar" />

    <jar href="jars/lib/Batik/batik-gui-util.jar" />

    <jar href="jars/lib/Batik/batik-gvt.jar" />

    <jar href="jars/lib/Batik/batik-parser.jar" />

    <jar href="jars/lib/Batik/batik-script.jar" />

    <jar href="jars/lib/Batik/batik-svg-dom.jar" />

    <jar href="jars/lib/Batik/batik-svggen.jar" />

    <jar href="jars/lib/Batik/batik-transcoder.jar" />

    <jar href="jars/lib/Batik/batik-util.jar" />

    <jar href="jars/lib/Batik/batik-xml.jar" />

    <jar href="jars/lib/Batik/js.jar" />

    <jar href="jars/lib/Batik/pdf-transcoder.jar" />

    <jar href="jars/lib/Batik/serializer.jar" />

    <jar href="jars/lib/Batik/xalan.jar" />

    <jar href="jars/lib/Batik/xercesImpl.jar" />

    <jar href="jars/lib/Batik/xml-apis-ext.jar" />

    <jar href="jars/lib/Batik/xml-apis.jar" />

    <jar href="jars/lib/BridJ/bridj-0.6.2-windows-only.jar" />

    <jar href="jars/lib/Guava/guava-19.0.jar" />

    <jar href="jars/lib/H2Database/h2-database.jar" />

    <jar href="jars/lib/IWS/JNCSEcw-5.3.0.706.jar" />

    <jar href="jars/lib/OGC_SE/filter-v_1_1_0-schema.jar" />

    <jar href="jars/lib/OGC_SE/gml-v_3_1_1-2.2.0.jar" />

    <jar href="jars/lib/OGC_SE/jaxb2-basics-runtime.jar" />

    <jar href="jars/lib/OGC_SE/jaxb2-basics.jar" />

    <jar href="jars/lib/OGC_SE/se-v_1_1_0-schema.jar" />

    <jar href="jars/lib/OGC_SE/xlink-v_1_0-1.1.1.jar" />

    <jar href="jars/lib/OGC_WFS/filter-v_2_0-2.2.0.jar" />

    <jar href="jars/lib/OGC_WFS/ows-v_1_0_0-schema-1.0.0.jar" />

    <jar href="jars/lib/OGC_WFS/wfs-v_1_1_0-2.2.0.jar" />

    <jar href="jars/lib/OGC_WFS/wfs-v_2_0-2.2.0.jar" />

    <jar href="jars/lib/OGC_WMS/wms-v_1_0_0-schema-1.1.0.M1.jar" />

    <jar href="jars/lib/OGC_WMS/wms-v_1_1_0-schema-1.1.0.M1.jar" />

    <jar href="jars/lib/OGC_WMS/wms-v_1_1_1-schema-1.1.0.M1.jar" />

    <jar href="jars/lib/OGC_WMS/wms-v_1_3_0-schema-1.1.0.M1.jar" />

    <jar href="jars/lib/OGC_WMTS/gml-v_3_1_1-schema.jar" />

    <jar href="jars/lib/OGC_WMTS/ows-v_1_1_0-schema.jar" />

    <jar href="jars/lib/OGC_WMTS/wmts-v_1_0_0-schema.jar" />

    <jar href="jars/lib/RXTX/RXTXcomm.jar" />

    <jar href="jars/lib/StyleEditor/StyleEditor.jar" />

    <jar href="jars/lib/Swing_Layout/miglayout-swing.jar" />

    <jar href="jars/resources/LANG_GMSC_16.1.0.0_fr_201612201520.jar" />

    <jar href="plugins/nz.co.intergraph.extensions.GoogleStreetViewPlugin.jar" />

    <jar href="plugins/lib/jxmaps-win-1.3.1.jar"/>

    <jar href="plugins/lib/jxmaps-1.3.1.jar"/>

    <jar href="plugins/lib/licence.jar"/>

    <extension name="GMSCExtensions" href="plugins/GMSCExtensions.jnlp" />

    <extension name="LireEtRechercherPK" href="plugins/LireEtRechercherPK.jnlp" />

    <extension name="nz.co.intergraph.extensions.GoogleStreetViewPlugin.jar.pack" href="plugins/nz.co.intergraph.extensions.GoogleStreetViewPlugin.jar.pack.jnlp" />

  </resources>

  <resources>

    <property name="jnlp.packEnabled" value="true" />

    <java version="1.8.0_25+" href="http://java.sun.com/products/autodl/j2se" java-vm-args="-Dsun.java2d.d3d=false" max-heap-size="1024m" />

  </resources>

  <application-desc main-class="com.intergraph.web.SmartClient">

    <argument>sso=true</argument>

    <argument>site=GMSC</argument>

  </application-desc>

</jnlp>

 

Thank you

Highlighted
Contributor
Posts: 63
Registered: ‎02-22-2016

Re: Should all the Jar inside plugin folder have the same certificate?

I had same issue. My GMSC is in a VM, the HOST machine had some network issues prior to this problem.

 

Had to, Stop VM > Restart Host > Start VM and it worked (a part from trusting new certificates).

 

I guess the issue was with Cache.

 

Note: I had no custom plugins.