# Smart Client Issue

**URL:** <https://forum.servoy.com/t/smart-client-issue/10094>\
**Category:** Classic Servoy\
**Created:** [January 7, 2009, 3:16am UTC](https://forum.servoy.com/t/smart-client-issue/10094 "2009-01-07T03:16:35Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![jdcunha](https://avatars.discourse-cdn.com/v4/letter/j/c5a1d2/32.png) [@jdcunha](https://forum.servoy.com/u/jdcunha)\
**Post date:** [January 7, 2009, 3:16am UTC](https://forum.servoy.com/t/smart-client-issue/10094/1 "2009-01-07T03:16:35Z")

</div>

Hi All,

We just upgraded our application from Servoy 4.0 rc1 to Servoy 4.1.0 on a windows machine with jre 1.6.0. After doing the upgrade few of our users had no problem downloading the smart client and launching the application.

Some of our users started encountering the following error on download of the smart client  
“Java Web Start - Launch File Error”  
“Unable to launch Servoy Client”

The error details are as follows  
An error occurred while launching/running the application.  
Title: Servoy Client  
Vendor: Servoy  
Category: Launch File Error  
JAR resources in JNLP file are not signed by same certificate

I checked the following topic to debug the problem

> **[Client Certificate Error](https://forum.servoy.com/viewtopic.php?p=22235&)**
>
> Found out that problem occurs when I use a copy of an excisting Servoy application. Problem is solved (and prevented) by always performing a clean Servoy install. If the database needs standard data to function properly (for example valuelist...

I cleared the java cache but had no success.

I managed to fix the problem on one windows machine which had jre 1.5 running by doing the following.  
(1) I upgraded the jre from 1.5 to 1.6 (or jre 6)  
(2) I then downloaded the smart client and it ran successfully.

I have jre 1.6.0 running on the Servoy 4.1.0 server.  
I have noticed machines both mac and windows could not get the smart client running had jre 1.5 running on their system.

Is jre incompatibility an issue?

Any help would be appreciated.

Regards  
James Dcunha  
Support Group

---

<div class="post-metadata">

**Author:** ![ngervasi](https://avatars.discourse-cdn.com/v4/letter/n/f9ae1b/32.png) [@ngervasi](https://forum.servoy.com/u/ngervasi)\
**Post date:** [January 7, 2009, 5:46pm UTC](https://forum.servoy.com/t/smart-client-issue/10094/2 "2009-01-07T17:46:39Z")

</div>

Did you also delete the “.servoy” folder from the users home directory before redownloading?

---

<div class="post-metadata">

**Author:** ![jdcunha](https://avatars.discourse-cdn.com/v4/letter/j/c5a1d2/32.png) [@jdcunha](https://forum.servoy.com/u/jdcunha)\
**Post date:** [January 7, 2009, 7:02pm UTC](https://forum.servoy.com/t/smart-client-issue/10094/3 "2009-01-07T19:02:18Z")

</div>

Hi,

I am not able to find the .servoy folder on a Mac. Any idea where it would be located.

Regards  
James Dcunha

---

<div class="post-metadata">

**Author:** ![ngervasi](https://avatars.discourse-cdn.com/v4/letter/n/f9ae1b/32.png) [@ngervasi](https://forum.servoy.com/u/ngervasi)\
**Post date:** [January 7, 2009, 7:45pm UTC](https://forum.servoy.com/t/smart-client-issue/10094/4 "2009-01-07T19:45:37Z")

</div>

Folders and files with names starting with . (dot) are hidden by default on Unix systems, open a Terminal and go to the user home folder and using the “ls -la” command you will see the hidden files. To delete use the “rm -Rd .servoy” command.

---

<div class="post-metadata">

**Author:** ![mboegem](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/mboegem/32/4399_2.png) [@mboegem](https://forum.servoy.com/u/mboegem)\
**Post date:** [April 21, 2009, 8:32am UTC](https://forum.servoy.com/t/smart-client-issue/10094/5 "2009-04-21T08:32:32Z")

</div>

I’ve got a simular problem on just 1 mac.  
When we start of launching the application in Smart Client from a clean environment (.servoy folder doesn’t exist) the application will start.  
As soon as our customer quits the application and startup again (most likely the next day) the application won’t start anymore.

The error is like:  
“Java Web Start - Launch File Error”  
“Unable to launch Servoy Client”

An error occurred while launching/running the application.  
Title: Servoy Client  
Vendor: Servoy  
Category: Launch File Error  
JAR resources in JNLP file are not signed by same certificate

Now the customer needs to delete the .servoy folder again and will be able to run the application.  
What can be the problem here? This is at least not the most user-friendly way to start the application.

Any help is much appreciated!

---

<div class="post-metadata">

**Author:** ![lvostinar](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/lvostinar/32/5248_2.png) [@lvostinar](https://forum.servoy.com/u/lvostinar)\
**Post date:** [April 22, 2009, 8:17am UTC](https://forum.servoy.com/t/smart-client-issue/10094/6 "2009-04-22T08:17:31Z")

</div>

Which jnlp file generates this error (this should be in the window with the error) ?

---

<div class="post-metadata">

**Author:** ![mboegem](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/mboegem/32/4399_2.png) [@mboegem](https://forum.servoy.com/u/mboegem)\
**Post date:** [April 22, 2009, 12:16pm UTC](https://forum.servoy.com/t/smart-client-issue/10094/7 "2009-04-22T12:16:28Z")

</div>

Hi Laurian,

thnkx for your reply… I’m trying to get hold of this information, as I got lot’s of screenshots but… not the one with this information.  
I will keep you posted!

---

<div class="post-metadata">

**Author:** ![Foobrother](https://avatars.discourse-cdn.com/v4/letter/f/50afbb/32.png) [@Foobrother](https://forum.servoy.com/u/Foobrother)\
**Post date:** [April 23, 2009, 2:17pm UTC](https://forum.servoy.com/t/smart-client-issue/10094/8 "2009-04-23T14:17:04Z")

</div>

Same problem here. I don’t have the folder ‘.servoy’ on my Mac.  
Here are the details requested earlier:  
Launch File

```auto
<?xml version="1.0" encoding="UTF-8"?>

<jnlp spec="1.0+" codebase="http://epic:8085" href="/servoy-client/plugins/it2be-office.jar.jnlp">
	<information>
		<title>Office Plug-in</title>
		<vendor>IT2BE Java Development</vendor>
		<homepage href="http://www.it2be.com/"/>
		<description>Office Plug-in for Servoy</description>
		<description kind="short">An IT2BE Component to add additional functionality to Servoy.</description> 
		<offline-allowed/>
	</information>
	<resources>
		<jar href="/plugins/it2be-outlook.jar" download="eager" version="2.1-085"/>
		<jar href="/plugins/it2be-core/core-common.jar" download="eager" version="2.1-038"/>
		<jar href="/plugins/it2be-outlook/joc.jar" download="eager" version="2.1-085"/>
		<jar href="/plugins/it2be-outlook/moyocore.jar" download="eager" version="2.1-085"/>
		<jar href="/lib/log4j.jar" download="eager" version="2.1-038"/>
	</resources>
	<resources os="Windows">
		<jar href="/plugins/it2be-outlook/outlook-win-native.jar" download="eager" version="2.1-085"/>
	</resources>
	<component-desc/>
</jnlp>

```

Main Launch File

```auto
<?xml version="1.0" encoding="utf-8"?>
<jnlp spec="1.0+" codebase="http://epic:8085" href="/servoy-client/servoy_client/AssetGuardian.jnlp">
   <information> 
      <title>Servoy Client - AssetGuardian</title>
      <vendor>Servoy</vendor>
      <homepage href="http://www.servoy.com/"/>
      <description>Database client</description>
      <icon kind="shortcut" href="/lib/images/servoy_client_icon.gif" width="32" height="32"/>
      <icon kind="splash" href="/lib/splashclient.gif" width="64" height="64"/>
   </information>
   <resources>
      <j2se version="1.5+" initial-heap-size="64m" max-heap-size="256m" java-vm-args="-XX:SoftRefLRUPolicyMSPerMB=3600000" />
      <j2se version="1.6+" initial-heap-size="64m" max-heap-size="256m" java-vm-args="-XX:SoftRefLRUPolicyMSPerMB=3600000" />
      <property name="apple.laf.useScreenMenuBar" value="true"/>
      <jar href="/lib/j2db.jar" main="true" version="1238077571783" download="eager"/>
      <jar href="/lib/js.jar" part="script" version="1238077571892" download="eager"/>
      <package name="org.mozilla.*" part="script" recursive="true"/>
      <jar href="/lib/BrowserLauncher2.jar" part="BrowserLauncher2" version="1227890741703" download="eager"/>
      <package name="edu.stanford.ejalbert.*" part="BrowserLauncher2" recursive="true"/>
      <jar href="/lib/commons-logging.jar" part="logging" version="1227890742109" download="eager"/>
      <package name="org.apache.commons.logging.*" part="logging" recursive="true"/>
      <jar href="/lib/MRJAdapter.jar" part="mac_menu" version="1227890701500" download="eager"/>
      <package name="net.roydesign.*" part="mac_menu" recursive="true"/>
      <extension name="LAFS_and_BEANS" href="/servoy-client/unsigned.jnlp" version="1239958485023"/>
      <extension name="udp.jar" href="/servoy-client/plugins/udp.jar.jnlp" version="1238077572002"/>
      <extension name="it2be-outlook.jar" href="/servoy-client/plugins/it2be-outlook.jar.jnlp" version="1233050156739"/>
      <extension name="tabxport.jar" href="/servoy-client/plugins/tabxport.jar.jnlp" version="1238077572002"/>
      <extension name="amortization.jar" href="/servoy-client/plugins/amortization.jar.jnlp" version="1238077571955"/>
      <extension name="mail.jar" href="/servoy-client/plugins/mail.jar.jnlp" version="1238077571970"/>
      <extension name="kioskmode.jar" href="/servoy-client/plugins/kioskmode.jar.jnlp" version="1238077571970"/>
      <extension name="file.jar" href="/servoy-client/plugins/file.jar.jnlp" version="1238077571955"/>
      <extension name="agent.jar" href="/servoy-client/plugins/agent.jar.jnlp" version="1238077571955"/>
      <extension name="http.jar" href="/servoy-client/plugins/http.jar.jnlp" version="1238077571970"/>
      <extension name="xmlreader.jar" href="/servoy-client/plugins/xmlreader.jar.jnlp" version="1238077572002"/>
      <extension name="spellcheck.jar" href="/servoy-client/plugins/spellcheck.jar.jnlp" version="1238077571986"/>
      <extension name="images.jar" href="/servoy-client/plugins/images.jar.jnlp" version="1238077571970"/>
      <extension name="default_validators.jar" href="/servoy-client/plugins/default_validators.jar.jnlp" version="1238077571955"/>
      <extension name="it2be-splash.jar" href="/servoy-client/plugins/it2be-splash.jar.jnlp" version="1233050156911"/>
      <extension name="it2be-tools.jar" href="/servoy-client/plugins/it2be-tools.jar.jnlp" version="1233050157021"/>
      <extension name="it2be-datastream.jar" href="/servoy-client/plugins/it2be-datastream.jar.jnlp" version="1233050156598"/>
      <extension name="dialog.jar" href="/servoy-client/plugins/dialog.jar.jnlp" version="1238077571955"/>
      <extension name="scheduler.jar" href="/servoy-client/plugins/scheduler.jar.jnlp" version="1238077571986"/>
      <extension name="pdf_output.jar" href="/servoy-client/plugins/pdf_output.jar.jnlp" version="1238077571986"/>
      <extension name="popupmenu.jar" href="/servoy-client/plugins/popupmenu.jar.jnlp" version="1238077571986"/>
      <extension name="rawSQL.jar" href="/servoy-client/plugins/rawSQL.jar.jnlp" version="1238077571986"/>
      <extension name="menubar.jar" href="/servoy-client/plugins/menubar.jar.jnlp" version="1238077571970"/>
      <extension name="excelxport.jar" href="/servoy-client/plugins/excelxport.jar.jnlp" version="1238077571955"/>
      <extension name="converters.jar" href="/servoy-client/plugins/converters.jar.jnlp" version="1238077571955"/>
      <extension name="serialize.jar" href="/servoy-client/plugins/serialize.jar.jnlp" version="1238077571986"/>
   </resources>
   <application-desc main-class="com.servoy.j2db.J2DBClient">
		<argument>AssetGuardian</argument>
		<argument>CI:2098501e-7962-4972-b7e7-ec0f3d93511d</argument>
	</application-desc>
	<security>
   	<all-permissions/>
	</security>
</jnlp>

```

Exception

```auto
JNLPException[category: Launch File Error : Exception: null : LaunchDesc: 
<jnlp spec="1.0+" codebase="http://epic:8085/" href="http://epic:8085/servoy-client/plugins/it2be-office.jar.jnlp">
  <information>
    <title>Office Plug-in</title>
    <vendor>IT2BE Java Development</vendor>
    <homepage href="http://www.it2be.com/"/>
    <description>Office Plug-in for Servoy</description>
    <description kind="short">An IT2BE Component to add additional functionality to Servoy.</description>
    <offline-allowed/>
  </information>
  <resources>
    <jar href="http://epic:8085/plugins/it2be-outlook.jar" version="2.1-085" download="eager" main="false"/>
    <jar href="http://epic:8085/plugins/it2be-core/core-common.jar" version="2.1-038" download="eager" main="false"/>
    <jar href="http://epic:8085/plugins/it2be-outlook/joc.jar" version="2.1-085" download="eager" main="false"/>
    <jar href="http://epic:8085/plugins/it2be-outlook/moyocore.jar" version="2.1-085" download="eager" main="false"/>
    <jar href="http://epic:8085/lib/log4j.jar" version="2.1-038" download="eager" main="false"/>
  </resources>
  <library-desc unique-id="null"/>
</jnlp> ]
	at com.sun.javaws.LaunchDownload.checkSignedResourcesHelper(LaunchDownload.java:1041)
	at com.sun.javaws.LaunchDownload.checkSignedResources(LaunchDownload.java:943)
	at com.sun.javaws.Launcher.continueLaunch(Launcher.java:833)
	at com.sun.javaws.Launcher.handleApplicationDesc(Launcher.java:518)
	at com.sun.javaws.Launcher.handleLaunchFile(Launcher.java:218)
	at com.sun.javaws.Launcher.run(Launcher.java:165)
	at java.lang.Thread.run(Thread.java:613)

```

Exception

```auto
Java Web Start 1.5.0_16
Using JRE version 1.5.0_16 Java HotSpot(TM) Client VM
User home directory = /Users/DorianC
----------------------------------------------------
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
m: print memory usage
o: trigger logging
p: reload proxy configuration
q: hide console
r: reload policy configuration
s: dump system and deployment properties
t: dump thread list
0-5: set trace level to <n>
----------------------------------------------------
#### Java Web Start Error:
#### JAR resources in JNLP file are not signed by same certificate

```

We use our own certificate on this server. But it works perfectly on Windows.  
Could it be because of IT2BE Outlook plugin (not compatible on Mac, of course)?

---

<div class="post-metadata">

**Author:** ![mboegem](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/mboegem/32/4399_2.png) [@mboegem](https://forum.servoy.com/u/mboegem)\
**Post date:** [April 23, 2009, 3:50pm UTC](https://forum.servoy.com/t/smart-client-issue/10094/9 "2009-04-23T15:50:23Z")

</div>

FYI

created a ticket for this issue at IT2Be.  
Marcel responded that this will be fixed in an upcoming release.

Maybe Marcel can postreply on this?

---

<div class="post-metadata">

**Author:** ![Foobrother](https://avatars.discourse-cdn.com/v4/letter/f/50afbb/32.png) [@Foobrother](https://forum.servoy.com/u/Foobrother)\
**Post date:** [April 24, 2009, 8:01am UTC](https://forum.servoy.com/t/smart-client-issue/10094/10 "2009-04-24T08:01:08Z")

</div>

Ok,

Will wait for the next release then.

Thanks ![:)]( "Smile")
