Smart Client Issue

Questions, answers, tips and ideas on Servoy Client

Smart Client Issue

Postby jdcunha » Wed Jan 07, 2009 5:16 am

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
http://forum.servoy.com/viewtopic.php?p=22235&
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
jdcunha
 
Posts: 93
Joined: Wed Dec 19, 2007 7:59 pm

Re: Smart Client Issue

Postby ngervasi » Wed Jan 07, 2009 7:46 pm

Did you also delete the ".servoy" folder from the users home directory before redownloading?
Nicola Gervasi
sintpro.com
SAN Partner
ngervasi
 
Posts: 1485
Joined: Tue Dec 21, 2004 12:47 pm
Location: Arezzo, Italy

Re: Smart Client Issue

Postby jdcunha » Wed Jan 07, 2009 9:02 pm

Hi,

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

Regards
James Dcunha
jdcunha
 
Posts: 93
Joined: Wed Dec 19, 2007 7:59 pm

Re: Smart Client Issue

Postby ngervasi » Wed Jan 07, 2009 9:45 pm

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.
Nicola Gervasi
sintpro.com
SAN Partner
ngervasi
 
Posts: 1485
Joined: Tue Dec 21, 2004 12:47 pm
Location: Arezzo, Italy

Re: Smart Client Issue

Postby mboegem » Tue Apr 21, 2009 10:32 am

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!
Marc Boegem
Solutiative / JBS Group, Partner
• Servoy Certified Developer
• Servoy Valued Professional
• Freelance Developer

Image

Partner of Tower - The most powerful Git client for Mac and Windows
User avatar
mboegem
 
Posts: 1743
Joined: Sun Oct 14, 2007 1:34 pm
Location: Amsterdam

Re: Smart Client Issue

Postby lvostinar » Wed Apr 22, 2009 10:17 am

Which jnlp file generates this error (this should be in the window with the error) ?
Laurian Vostinar
Servoy
lvostinar
 
Posts: 1062
Joined: Tue Feb 19, 2008 10:53 am

Re: Smart Client Issue

Postby mboegem » Wed Apr 22, 2009 2:16 pm

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!
Marc Boegem
Solutiative / JBS Group, Partner
• Servoy Certified Developer
• Servoy Valued Professional
• Freelance Developer

Image

Partner of Tower - The most powerful Git client for Mac and Windows
User avatar
mboegem
 
Posts: 1743
Joined: Sun Oct 14, 2007 1:34 pm
Location: Amsterdam

Re: Smart Client Issue

Postby Foobrother » Thu Apr 23, 2009 4:17 pm

Same problem here. I don't have the folder '.servoy' on my Mac.
Here are the details requested earlier:
Launch File
Code: Select all
<?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
Code: Select all
<?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
Code: Select all
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
Code: Select all
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)?
Current configuration: Servoy 5.2.6 Build 1011, Java 6u24, PostgreSQL 8.3, Windows Server 2003

Servoy / Java Developer
http://www.assetguardian.com
User avatar
Foobrother
 
Posts: 530
Joined: Tue Jan 13, 2009 5:46 pm

Re: Smart Client Issue

Postby mboegem » Thu Apr 23, 2009 5:50 pm

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?
Marc Boegem
Solutiative / JBS Group, Partner
• Servoy Certified Developer
• Servoy Valued Professional
• Freelance Developer

Image

Partner of Tower - The most powerful Git client for Mac and Windows
User avatar
mboegem
 
Posts: 1743
Joined: Sun Oct 14, 2007 1:34 pm
Location: Amsterdam

Re: Smart Client Issue

Postby Foobrother » Fri Apr 24, 2009 10:01 am

Ok,

Will wait for the next release then.

Thanks :)
Current configuration: Servoy 5.2.6 Build 1011, Java 6u24, PostgreSQL 8.3, Windows Server 2003

Servoy / Java Developer
http://www.assetguardian.com
User avatar
Foobrother
 
Posts: 530
Joined: Tue Jan 13, 2009 5:46 pm


Return to Servoy Client

Who is online

Users browsing this forum: No registered users and 11 guests

cron