Thursday, June 16, 2016

Sterling Integrator Graphic Process Modeler is not working

Issue : 
I am working with Sterling Integrator Version 5.2.2 build 5020200.  When I try to run the GPM, I get an "Unable to launch the application" error message. 
The details of the Launch file are (I have hidden part of the IP address for this post):


<jnlp spec="1.0+" codebase="http://10.xxx.9.104:xxx00/gbm/pmodeler" href="ProcessModeler.jnlp" version="1.0">
  <information>
    <title>Modeler-gissrv1-xxx00</title>
    <vendor>Sterling Commerce</vendor>
    <homepage href="http://www.sterlingcommerce.com"/>
    <description kind="">Modeler-gissrv1-10400</description>
    <offline-allowed/>
  </information>
  <resources>
    <j2se version="1.5" href="http://java.sun.com/products/autodl/j2se" java-vm-args="-Xss1024k"/>
    <jar href="FlowBuilder.jar"/>
    <jar href="JGo.jar"/>
    <jar href="JGoLayout.jar"/>
    <jar href="SCM.jar"/>
    <jar href="xercesImpl.jar"/>
    <jar href="xmlParserAPIs.jar"/>
  </resources>
  <security>
    <all-permissions/>
  </security>
  <application-desc main-class="com.sterlingcommerce.woodstock.gbm.editor.jgo.FlowBuilderMain">
    <argument>10.xxx.9.104</argument>
    <argument>xxx00</argument>
    <argument>ws</argument>
    <argument>http</argument>
  </application-desc>
</jnlp>


The exception file contains:
java.lang.SecurityException: com.sun.deploy.net.JARSigningException: Found unsigned entry in resource:http://10.xxx.9.104:xxx00/gbm/pmodeler/xercesImpl.jar
   at com.sun.deploy.cache.CacheEntry.getJarFile(Unknown Source)
   at com.sun.javaws.security.SigningInfo.check(Unknown Source)
   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)
Caused by: com.sun.deploy.net.JARSigningException: Found unsigned entry in resource: http://10.xxx.9.104:10400/gbm/pmodeler/xercesImpl.jar
   ... 14 more

 Cause :

 It is because of Java version mismatch between the server and GPM. For ex. installed SI on Java 6 and if you are running GPM with java 7 version then it will throw above version.


 Solution :  based on SI installed using Java 6 not Java 7

 Need to run the download the ProcessModeler.jnlp file from dashboard and run the file using Java 6 JavaWebStart.exe file.

 If you have any existing Java 7 in our system then we need to uninstall the Java 7 from our system.

 Conclusion :

 Both SI and GPM should run on same Java version then you won't get issue to download and install GPM.


Wednesday, June 15, 2016

Sterling Integrator Graphical Process Modeler not opening

Most of the times we get the below exception while opening Graphical Process modeler because the IP address in the below URL is not correct. Sterling Integrator host address and GPM host address different then we need to fix the host name and make it common.

com.sun.deploy.net.FailedDownloadException: Unable to load resource:http://***.***.***.***:24000/gbm/pmodeler/ProcessModeler.jnlp
    at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
    at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
    at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
    at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
    at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
    at com.sun.deploy.net.DownloadEngine.getResource(Unknown Source)
    at com.sun.deploy.net.DownloadEngine.getResource(Unknown Source)
    at com.sun.javaws.Launcher.updateFinalLaunchDesc(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$1.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)

How to Fix:

       1. Stop Sterling Integrator.
       2. <SI_Install>/bin folder and execute the below commnad.
       3. <SI_Install>/bin> patchJNLP.cmd <put your hostname here>
       4. Start the Sterling Integrator and go to Business Process Manager and Run Graphical Process Modeler. (Don't use old jnlp file and download fresh copy) 


Generate your trusted CRT , PEM and P12 security certificates for signing and encryption functionality for HTTP or HTTPS Communication

Self-Signed Certificate and Keystore Generator Certificate and Keystore Generator ...