Client download error: swingbeans corruption

Questions, answers, tips and ideas on Servoy Client

Client download error: swingbeans corruption

Postby lucidlee » Mon Oct 29, 2007 4:34 pm

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
Lee Rydstrand
quipu pty ltd
lucidlee
 
Posts: 52
Joined: Sun Jan 11, 2004 5:25 am
Location: Sydney, Australia

Postby ROCLASI » Sun Nov 04, 2007 10:28 pm

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 Ivens
SAN Developer / Servoy Valued Professional / Servoy Certified Developer

ROCLASI Software Solutions / JBS Group, Partner
Mastodon: @roclasi
--
ServoyForge - Building Open Source Software.
PostgreSQL - The world's most advanced open source database.
User avatar
ROCLASI
Servoy Expert
 
Posts: 5438
Joined: Thu Oct 02, 2003 9:49 am
Location: Netherlands/Belgium

Postby lucidlee » Mon Nov 05, 2007 2:45 pm

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.
Lee Rydstrand
quipu pty ltd
lucidlee
 
Posts: 52
Joined: Sun Jan 11, 2004 5:25 am
Location: Sydney, Australia

Postby ROCLASI » Mon Nov 05, 2007 2:46 pm

Hi Lee,

Sorry, yes the Servoy server installation.
Robert Ivens
SAN Developer / Servoy Valued Professional / Servoy Certified Developer

ROCLASI Software Solutions / JBS Group, Partner
Mastodon: @roclasi
--
ServoyForge - Building Open Source Software.
PostgreSQL - The world's most advanced open source database.
User avatar
ROCLASI
Servoy Expert
 
Posts: 5438
Joined: Thu Oct 02, 2003 9:49 am
Location: Netherlands/Belgium

Postby lucidlee » Tue Nov 06, 2007 12:43 pm

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.
Lee Rydstrand
quipu pty ltd
lucidlee
 
Posts: 52
Joined: Sun Jan 11, 2004 5:25 am
Location: Sydney, Australia

Postby rgansevles » Wed Nov 07, 2007 10:00 am

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
Rob Gansevles
Servoy
User avatar
rgansevles
 
Posts: 1927
Joined: Wed Nov 15, 2006 6:17 pm
Location: Amersfoort, NL


Return to Servoy Client

Who is online

Users browsing this forum: No registered users and 5 guests