Page 1 of 1

Client download error: swingbeans corruption

PostPosted: Mon Oct 29, 2007 4:34 pm
by lucidlee
I've recently redeployed an application to a Servoy running on an Windows XP m/c. I can log into this machine as admin and doodle around, no problems, but when I try to download the Client I get a download error. The dialog informs me that the swingbeans.jar won't download due to corruption. The exception report suggests that the version is more recent than it should be.
Code: Select all
java.io.IOException: Corrupted pack file: magic/ver = CAFED00D/160.1 should be CAFED00D/150.7

   at com.sun.java.util.jar.pack.NativeUnpack.start(Native Method)
   at com.sun.java.util.jar.pack.NativeUnpack.run(NativeUnpack.java:168)
   at com.sun.java.util.jar.pack.NativeUnpack.run(NativeUnpack.java:217)
   at com.sun.java.util.jar.pack.UnpackerImpl.unpack(UnpackerImpl.java:104)
   at com.sun.javaws.net.BasicDownloadLayer.download(BasicDownloadLayer.java:61)
   at com.sun.javaws.cache.DownloadProtocol$RetrieveAction.actionDownload(DownloadProtocol.java:460)
   at com.sun.javaws.cache.DownloadProtocol.doDownload(DownloadProtocol.java:653)
   at com.sun.javaws.cache.DownloadProtocol.getResource(DownloadProtocol.java:822)
   at com.sun.javaws.LaunchDownload.downloadJarFiles(LaunchDownload.java:739)
   at com.sun.javaws.LaunchDownload.downloadEagerorAll(LaunchDownload.java:662)
   at com.sun.javaws.Launcher.downloadResources(Launcher.java:1022)
   at com.sun.javaws.Launcher.handleApplicationDesc(Launcher.java:382)
   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)
We had some trouble finding and downloading the v2.2.7 Servoy package, but having done so (I think) one expects that the appropriate java files would be installed.
Any suggestions on how to get past this problem?

Lee
Servoy 2.2.7on Windows XP, clients fail in Windows XP and Mac OSX 10.4.10

PostPosted: Sun Nov 04, 2007 10:28 pm
by ROCLASI
Hi Lee,

You can force Servoy server to repack the files by cleaning out the 'server/work/' directory that you find in the Servoy directory.
Just delete everything in there and reload the client.

Hope this helps.

PostPosted: Mon Nov 05, 2007 2:45 pm
by lucidlee
ROCLASI wrote:Hi Lee,

You can force Servoy server to repack the files by cleaning out the 'server/work/' directory that you find in the Servoy directory.
Just delete everything in there and reload the client.

Hope this helps.
Robert, do you mean the work directory on the server or on the client machine? I suspect the server machine but your direction is a little ambiguous. Since I'm testing on a machine with a full install I can't tell what the client downloads.

PostPosted: Mon Nov 05, 2007 2:46 pm
by ROCLASI
Hi Lee,

Sorry, yes the Servoy server installation.

PostPosted: Tue Nov 06, 2007 12:43 pm
by lucidlee
ROCLASI wrote:Sorry, yes the Servoy server installation.
Hi Robert, well we've gone through the suggestion you made and got the same error, so I guess there must be something deeper out of kilter.
Code: Select all
JNLPException[category: Download Error : Exception: java.io.IOException: Corrupted pack file: magic/ver = CAFED00D/160.1 should be CAFED00D/150.7

Unfortunately I'm flying a little blind here - I know very little about Java and nothing about the deployment platform (Win XP), while the chap who does (our networking guy) knows nothing about Servoy, databases or Java for that matter.

My main guess is that the java installed in XP is the wrong version compared to the version that Servoy expects. If so how to correct it? In fact how do we verify this?

Of course any other suggestions would be welcome.

PostPosted: Wed Nov 07, 2007 10:00 am
by rgansevles
Lee,

What java version are you running on the server?
Try different java versions.

Are you using other plugins (not from Servoy)?
If yes, using which java version have they been compiled?

Also consider upgrading to Servoy 3.5.

Rob