Page 1 of 1

Bootstrap launch via WAR deployment

PostPosted: Mon Aug 05, 2019 11:19 pm
by skrizvi
Hello All!

I am trying to configure a WAR file to deploy both smart client solutions and ng client solutions. I allowed for the running of smart clients during the creation of my war file and when I am on my server I am able to launch both my NG Client solution and Smart Client solution on the server. However when I go onto a client and attempt to launch the smart client from the jnlp the webstart downloads files into the .servoy folder and then it hangs without loading the solution. Any advice about what is going wrong here?

Here is my jnlp file:

Code: Select all
<?xml version="1.0" encoding="utf-8"?>
<jnlp spec="1.0+" codebase="http://192.168.1.90:8085/arm_11">
   <information>
      <title>Animal Resource Management</title>
      <vendor>ARM</vendor>
      <homepage href="http://www.armsd.com/"/>
      <description>Animal Resource Management</description>
      <icon href="lib/images/servoy_client_icon.png" />
      <icon kind="splash" href="lib/splashclient.png" width="400" height="170"/>
      <shortcut/>
   </information>
   <resources>
      <j2se version="1.7+"  initial-heap-size="150m" max-heap-size="1024m" java-vm-args="-XX:SoftRefLRUPolicyMSPerMB=3600000" />
      <jar href="bootstrap.jar" main="true" version="6" download="eager"/>
   </resources>

   <application-desc main-class="com.servoy.bootstrapper.Bootstrap">
      <argument>arm</argument>
   </application-desc>
   <security>
      <all-permissions/>
   </security>
</jnlp>

Re: Bootstrap launch via WAR deployment

PostPosted: Wed Aug 07, 2019 12:06 am
by skrizvi
Found a fix! The bootstrap.jnlp and bootstrap.jar belong under the root of apache tomcat not the root of the servoy war file