Client Certificate Error

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"?>


Servoy Client Servoy Database client

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

Servoy Client

Servoy

Database client

Database client

Database client

Database client

]

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)

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.

Tried your suggestions, both clearing the cache from JWS console and removing contents of cache/http folder. Still have the same problem. :(

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_

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

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.

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. :(

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?

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

-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?

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…

General

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)

Launch file

<?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>

Exeption

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)

Console

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.

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:

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

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.

Did you try to upgrade the server? copied jars manually into install?

I found a .java directory under c:/documents and settings/username/… and deleted that. I then went into the Java console and deleted the temp files.

After these two steps, this user started working.

Thanks.

–Jason

User worked for one login, then got same error. Another user just installed…same problem.

I’ve asked them to upgrade Java, so I’m waiting to hear back on that.

If only certain users have this problem, can it be related to jars on the server?

In general, is Java 1.4 under windows still supported by Servoy, or is 1.5 or 1.6 now the minimum?

Servoy 4.x requires Java 1.5, all older version will run fine in Java 1.4

Updated from Java 1.4 to 1.6.

Seems to be working now. Will reply if not.