Client Certificate Error

Questions, answers, tips and ideas on Servoy Client

Client Certificate Error

Postby mpwiedemann » Wed Apr 28, 2004 9:11 pm

Hi All,

I'm in the process of moving my Servoy application server from a Windows 2000 server box to a machine running Red Hat 8. I have the server running fine on the new machine and new clients have no problems connecting. I'm running into a problem with clients that have been using the Windows box and are now trying to connect to the new server.

Upon the initial load of the client software from the server, I'm getting an error dialog:

"Java Web Start - Launch File Error"
"Unable to launch Servoy Client"

Here is a dump of the contents of the error dialog:


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



<?xml version="1.0" encoding="utf-8"?>
<jnlp spec="1.0+"
codebase="http://192.168.21.80:8080" href="/servoy-client/servoy_client.jnlp">
<information>
<title>Servoy Client</title>
<vendor>Servoy</vendor>
<homepage href="http://www.servoy.com/"/>
<description>Database client</description>
<icon href="/lib/images/servoy_client_icon.gif"/>
<icon kind="splash" href="/lib/splashclient.gif"/>
<offline-allowed/>
</information>
<resources>
<j2se version="1.4+"/>
<j2se version="1.3+"/>
<jar href="/lib/j2db.jar" main="true" download="eager"/>
<jar href="/lib/js.jar" part="script" download="eager"/>
<jar href="/lib/MRJAdapter.jar" part="mac_menu" download="eager"/>
<package name="org.mozilla.*" part="script" recursive="true"/>
<extension name="LAFS_and_BEANS" href="/servoy-client/unsigned.jnlp"/>
<extension name="agent.jar" href="/servoy-client/plugins/agent.jar.jnlp"/>
<extension name="dialog.jar" href="/servoy-client/plugins/dialog.jar.jnlp"/>
<extension name="tabxport.jar" href="/servoy-client/plugins/tabxport.jar.jnlp"/>
<extension name="http.jar" href="/servoy-client/plugins/http.jar.jnlp"/>
<extension name="mail.jar" href="/servoy-client/plugins/mail.jar.jnlp"/>
<extension name="file.jar" href="/servoy-client/plugins/file.jar.jnlp"/>
<extension name="excelxport.jar" href="/servoy-client/plugins/excelxport.jar.jnlp"/>
<extension name="scheduler.jar" href="/servoy-client/plugins/scheduler.jar.jnlp"/>
</resources>
<application-desc main-class="com.servoy.j2db.J2DBClient">
</application-desc>
<security>
<all-permissions/>
</security>
</jnlp>





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


<jnlp spec="1.0+" codebase="http://192.168.21.80:8080/" href="http://192.168.21.80:8080/servoy-client/servoy_client.jnlp">


<information>


<title>Servoy Client</title>


<vendor>Servoy</vendor>


<homepage href="http://www.servoy.com/"/>


<description>Database client</description>


<description kind="short">Database client</description>


<description kind="one-line">Database client</description>


<description kind="tooltip">Database client</description>


<icon href="http://192.168.21.80:8080/lib/images/servoy_client_icon.gif" kind="default"/>


<icon href="http://192.168.21.80:8080/lib/splashclient.gif" kind="splash"/>


<offline-allowed/>


</information>


<security>


<all-permissions/>


</security>


<resources>


<j2se initial-heap-size="-1" max-heap-size="-1" version="1.4+"/>


<j2se initial-heap-size="-1" max-heap-size="-1" version="1.3+"/>


<jar href="http://192.168.21.80:8080/lib/j2db.jar" download="eager" main="true"/>


<jar href="http://192.168.21.80:8080/lib/js.jar" part="script" download="eager" main="false"/>


<jar href="http://192.168.21.80:8080/lib/MRJAdapter.jar" part="mac_menu" download="eager" main="false"/>


<package name="org.mozilla." part="script" recursive="true"/>


<extension href="http://192.168.21.80:8080/servoy-client/unsigned.jnlp" name="LAFS_and_BEANS"/>


<extension href="http://192.168.21.80:8080/servoy-client/plugins/agent.jar.jnlp" name="agent.jar"/>


<extension href="http://192.168.21.80:8080/servoy-client/plugins/dialog.jar.jnlp" name="dialog.jar"/>


<extension href="http://192.168.21.80:8080/servoy-client/plugins/tabxport.jar.jnlp" name="tabxport.jar"/>


<extension href="http://192.168.21.80:8080/servoy-client/plugins/http.jar.jnlp" name="http.jar"/>


<extension href="http://192.168.21.80:8080/servoy-client/plugins/mail.jar.jnlp" name="mail.jar"/>


<extension href="http://192.168.21.80:8080/servoy-client/plugins/file.jar.jnlp" name="file.jar"/>


<extension href="http://192.168.21.80:8080/servoy-client/plugins/excelxport.jar.jnlp" name="excelxport.jar"/>


<extension href="http://192.168.21.80:8080/servoy-client/plugins/scheduler.jar.jnlp" name="scheduler.jar"/>


</resources>


<application-desc main-class="com.servoy.j2db.J2DBClient"/>


</jnlp> ]


at com.sun.javaws.LaunchDownload.checkSignedResourcesHelper(Unknown Source)


at com.sun.javaws.LaunchDownload.checkSignedResources(Unknown Source)


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


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


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


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


at java.lang.Thread.run(Unknown Source)
mpwiedemann
 
Posts: 49
Joined: Sun Jun 01, 2003 9:08 pm
Location: Seattle, WA

Postby jcompagner » Wed Apr 28, 2004 10:12 pm

on those windows machine's can't you flush the javawebstart cache?
(can be done in the java webstart program/console)

or look at the directory:

c:\documents and settings\username\.javaws\cache\http

And then delete there the files.
It seems that it is mixing up and old and some new jars.
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8829
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Postby mpwiedemann » Thu Apr 29, 2004 12:49 am

Tried your suggestions, both clearing the cache from JWS console and removing contents of cache/http folder. Still have the same problem. :(
mpwiedemann
 
Posts: 49
Joined: Sun Jun 01, 2003 9:08 pm
Location: Seattle, WA

Postby jcompagner » Thu Apr 29, 2004 10:34 am

do you have a clean install of the servoy 2.0 release (in a different dir) for testing? Because maybe then the server has some mixed up jars (old and new version)

can you give me an dir listing of the servoy\lib dir? (that includes sizes and timestamps_
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8829
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Postby mpwiedemann » Thu Apr 29, 2004 9:49 pm

Here is the servoy/lib directory from the Linux box.

54665 Mar 18 14:48 activation.jar
296708 Mar 18 14:48 antlr.jar
90503 Mar 18 14:48 commons-collections.jar
67556 Mar 18 14:48 commons-dbcp.jar
22379 Mar 18 14:48 commons-fileupload-1.0.jar
31605 Mar 18 14:48 commons-logging.jar
28932 Mar 18 14:48 commons-pool.jar
234086 Mar 18 14:48 help-4_1_16.jar
292066 Dec 16 15:44 help.jar
913675 Mar 26 06:26 hibernate2.jar
4096 Apr 9 10:15 images
892554 Apr 3 06:14 j2dbdev.jar
1541 Mar 18 14:48 j2db.gif
15086 Mar 18 14:48 j2db.ico
1297736 Apr 3 06:14 j2db.jar
84854 Mar 18 14:48 jdbc2_0-stdext.jar
98496 Mar 18 14:48 jndi.jar
592945 Mar 18 14:48 js.jar
17619 Mar 18 14:48 jta.jar
26623 Mar 18 14:48 jug.jar
327603 Mar 18 14:48 mail.jar
40793 Mar 18 14:48 MRJAdapter.jar
25604 Mar 18 14:48 naming-common.jar
36194 Mar 18 14:48 naming-resources.jar
1241337 Mar 18 14:48 ohj-jewt-4_1_16.jar
1386465 Dec 22 12:57 ohj-jewt.jar
549142 Mar 18 14:48 oracle_ice-5_06_10.jar
740578 Aug 22 2003 oracle_ice.jar
26134 Mar 18 14:48 server-bootstrap.jar
75126 Mar 18 14:48 servlet.jar
17322 Mar 18 14:48 splashclient.gif
1808883 Mar 18 14:48 xerces.jar



Should I just perform a clean install on the server?
mpwiedemann
 
Posts: 49
Joined: Sun Jun 01, 2003 9:08 pm
Location: Seattle, WA

Postby Jan Blok » Sat May 01, 2004 12:15 am

mpwiedemann wrote:Should I just perform a clean install on the server?

Will work, or do an install in seperate dir and copy all lib files to current failing 2.0 when no Servoy processes are running (are you sure you where not running the server during autoupdate in developer?, because server has file locks on jars)
Jan Blok
Servoy
Jan Blok
 
Posts: 2684
Joined: Mon Jun 23, 2003 11:15 am
Location: Amsterdam

Postby mpwiedemann » Mon May 03, 2004 10:19 pm

I have installed into a new folder on the Linux box. Copied lib files over the old install. Still have same problem.

I removed both old and new installs and installed fresh. Still the same problem.

Image

Image
mpwiedemann
 
Posts: 49
Joined: Sun Jun 01, 2003 9:08 pm
Location: Seattle, WA

Postby mpwiedemann » Wed May 05, 2004 12:58 am

This is only happening with clients that have connected to the older Windows 2000 Servoy Server in the past. Newly installed clients connecting to the new Linux server work just fine. :(
mpwiedemann
 
Posts: 49
Joined: Sun Jun 01, 2003 9:08 pm
Location: Seattle, WA

Postby Jan Blok » Wed May 05, 2004 9:16 am

We are unable to explain this currently, there is also no relation between clients having started from other servers.
So when connecting to new server you always will recieve a new client application.
Some questions:
-are you sure the clients you start are all clients from the same server?
-did you shutdown all other Servoy servers so there can be no mistake from which you are starting?
Jan Blok
Servoy
Jan Blok
 
Posts: 2684
Joined: Mon Jun 23, 2003 11:15 am
Location: Amsterdam

Postby mpwiedemann » Fri May 07, 2004 8:47 am

Looked at the users local webstart folder and compared it to a known working system. It seems that the computers that had this problem were missing some of the JAR files that were present on the working machines. We copied over the webstart folder from a worrking machine and it solved the problem. It seems that, in our case anyway, a machine that worked fine connecting to our Win2000 Servoy server, would develop this problem when attempting to connect to the new RH Linux Servoy server.

I guess the main question would be; Why are these machines are not installing/dowloading all the needed JAR files?

Thanks,
Martin
mpwiedemann
 
Posts: 49
Joined: Sun Jun 01, 2003 9:08 pm
Location: Seattle, WA

Postby Jan Blok » Fri May 07, 2004 10:38 am

-what version of web start is running on the machines which failed?
-if you touch the files in the lib dir, you still have the same problem?
Jan Blok
Servoy
Jan Blok
 
Posts: 2684
Joined: Mon Jun 23, 2003 11:15 am
Location: Amsterdam

Postby Karel Broer » Tue May 10, 2005 5:27 pm

I do have the same problem. Clients don't run on customer OS X 10.3 machines after installing new Servoy solution :( . Did empty the cache folders but no succes....

<b>General</b>
Code: Select all
An error occurred while launching/running the application.

Title: Servoy Client - SmartStudio
Vendor: Servoy
Category: Download Error

Missing version field in response from server when accessing resource: (http://192.168.100.6:9090/lib/j2db.jar, 1115483141000)


<b>Launch file</b>
Code: Select all
<?xml version="1.0" encoding="utf-8"?>
<jnlp spec="1.0+" codebase="http://192.168.100.6:9090" href="/servoy-client/servoy_client_SmartStudio.jnlp">
   <information>
      <title>Servoy Client - SmartStudio</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"/>
      <offline-allowed/>
      <shortcut online="true">
      <desktop/>
      </shortcut>
   </information>
   <resources>
      <j2se version="1.4+"  />
      <jar href="/lib/j2db.jar" main="true" version="1115483141000" download="eager"/>
      <jar href="/lib/js.jar" part="script" version="1115483141000" download="eager"/>
      <jar href="/lib/MRJAdapter.jar" part="mac_menu" version="1113912971000" download="eager"/>
      <package name="org.mozilla.*" part="script" recursive="true"/>
      <extension name="LAFS_and_BEANS" href="/servoy-client/unsigned.jnlp" version="1112709240000"/>
      <extension name="agent.jar" href="/servoy-client/plugins/agent.jar.jnlp" version="1115483141000"/>
      <extension name="amortization.jar" href="/servoy-client/plugins/amortization.jar.jnlp" version="1115483141000"/>
      <extension name="dialog.jar" href="/servoy-client/plugins/dialog.jar.jnlp" version="1115483141000"/>
      <extension name="excelxport.jar" href="/servoy-client/plugins/excelxport.jar.jnlp" version="1115483141000"/>
      <extension name="file.jar" href="/servoy-client/plugins/file.jar.jnlp" version="1115483141000"/>
      <extension name="http.jar" href="/servoy-client/plugins/http.jar.jnlp" version="1115483141000"/>
      <extension name="it2be_splash.jar" href="/servoy-client/plugins/it2be_splash.jar.jnlp" version="1108231484000"/>
      <extension name="it2be_tools.jar" href="/servoy-client/plugins/it2be_tools.jar.jnlp" version="1105348970000"/>
      <extension name="mail.jar" href="/servoy-client/plugins/mail.jar.jnlp" version="1115483141000"/>
      <extension name="pdf_forms.jar" href="/servoy-client/plugins/pdf_forms.jar.jnlp" version="1112709238000"/>
      <extension name="pdf_output.jar" href="/servoy-client/plugins/pdf_output.jar.jnlp" version="1112709235000"/>
      <extension name="runtime_builder.jar" href="/servoy-client/plugins/runtime_builder.jar.jnlp" version="1115483141000"/>
      <extension name="scheduler.jar" href="/servoy-client/plugins/scheduler.jar.jnlp" version="1115483141000"/>
      <extension name="tabxport.jar" href="/servoy-client/plugins/tabxport.jar.jnlp" version="1115483141000"/>
   </resources>
   <application-desc main-class="com.servoy.j2db.J2DBClient">
      <argument>SmartStudio</argument>
   </application-desc>
   <security>
      <all-permissions/>
   </security>
</jnlp>


<b>Exeption</b>
Code: Select all
JNLPException[category: Download Error : Exception: null : LaunchDesc: null ]
   at com.sun.javaws.cache.DownloadProtocol.doDownload(DownloadProtocol.java:566)
   at com.sun.javaws.cache.DownloadProtocol.getDownloadSize(DownloadProtocol.java:850)
   at com.sun.javaws.LaunchDownload.downloadJarFiles(LaunchDownload.java:580)
   at com.sun.javaws.LaunchDownload.downloadEagerorAll(LaunchDownload.java:544)
   at com.sun.javaws.Launcher.downloadResources(Launcher.java:742)
   at com.sun.javaws.Launcher.handleApplicationDesc(Launcher.java:298)
   at com.sun.javaws.Launcher.handleLaunchFile(Launcher.java:199)
   at com.sun.javaws.Launcher.run(Launcher.java:167)
   at java.lang.Thread.run(Thread.java:552)


<b>Console</b>
Code: Select all
Java Web Start 1.4.2_05 Console, started Tue May 10 17:11:55 CEST 2005
Java 2 Runtime Environment: Version 1.4.2_05 by Apple Computer, Inc.


Servoy Application Server runs on OS X 10.3.9 Server.
Karel Broer
ServoyCamp - http://www.servoycamp.com
User avatar
Karel Broer
 
Posts: 779
Joined: Mon May 03, 2004 12:49 am
Location: Doetinchem

Postby Karel Broer » Tue May 24, 2005 12:22 pm

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 data), install new Servoy application and copy nessesary .db files to database folder. Link these files and import solution after that!

Sometimes logic isn't simple :wink:
Karel Broer
ServoyCamp - http://www.servoycamp.com
User avatar
Karel Broer
 
Posts: 779
Joined: Mon May 03, 2004 12:49 am
Location: Doetinchem

Re: Client Certificate Error

Postby popdizzle » Thu Feb 26, 2009 1:34 am

Error:
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

Background:
-User has used web client in the past successfully.
-Gave user link to download smart client this week.
-User got in one day.
-User can't get in now. She gets this message above.

I saw a thread from 2004, but didn't see any resolution that fit my scenario.

Environment:
-Windows Server 2003
-Servoy 3.5.7 Server
-Mysql 5.0.x
-IT2BE data plugin
-IT2BE datastream plugin
-User is on Windows XP (She's in a corporate environment that I don't have access to, physically or remotely)

Things I've tried:
-redownload client
-uninstall client
-uninstall client and delete .servoy directory

Any thoughts? This is urgent for my client's business. Thanks.

--Jason
popdizzle
 
Posts: 144
Joined: Fri Feb 08, 2008 6:07 am

Re: Client Certificate Error

Postby popdizzle » Thu Feb 26, 2009 1:54 am

Just a little more info...

The user's computer is on java 1.4. I've asked her to talk to her IT dept and upgrade to 1.6. We'll see how that goes.

Interesting thing is that she did run smart client successfully one time. Then the 2nd time, it gave this error above.
popdizzle
 
Posts: 144
Joined: Fri Feb 08, 2008 6:07 am

Next

Return to Servoy Client

Who is online

Users browsing this forum: No registered users and 10 guests