Strange error: error creating a pack file: jai_imageio.jar

Hi, checking our production environment, i saw a new, unfamiliar error message in the server log:

error creating a pack file: jai_imageio.jar

This production environment has been up and runnign with the same solution, same release, same OS, same Java version for months now, never saw this error before.

Couldn’t find anything usefull through Google, except that it has something to do with Image functions in Java.

Except displaying some images, the solution does nothing with images.

I’m kind of clueless…

Paul

Server Information
Servoy version R2 2.2.4-build 336, repository version 27
Current time: Thu Aug 03 16:40:25 CEST 2006
Uptime: 3 days 2 hours 2 minutes 52 seconds

JDK Information
java.vm.name=Java HotSpot™ Client VM
java.vm.version=1.5.0_02-b09
java.vm.info=mixed mode, sharing
java.vm.vendor=Sun Microsystems Inc.

Operating System Information
os.name=Linux
os.version=2.4.20-8smp
os.arch=i386

Full log:

2006-07-31 14:37 : Loading servoy.properties from /usr/local/servoy/servoy.properties
2006-07-31 14:37 : Loading - Done
2006-07-31 14:37 : Using RMI registry on port 1099
2006-07-31 14:40 : Loading servoy.properties from /usr/local/servoy/servoy.properties
2006-07-31 14:40 : Loading - Done
2006-07-31 14:53 : Error flushing message buffer to client 6f2855ee-2092-11db-a89f-f488d0ba6c6b, Connection refused to host: 10.10.100.40; nested exception is: java.net.ConnectException: Connection timed out
2006-08-03 09:09 : error creating a pack file: jai_imageio.jar
2006-08-03 09:10 : error creating a pack file: jai_imageio.jar
2006-08-03 15:28 : Error flushing message buffer to client fdc9ccb8-22d9-11db-a89f-f488d0ba6c6b, Error unmarshaling return header; nested exception is: java.net.SocketException: Connection reset

This library is used by the images plugin. Maybe a reinstall of it (and the images/jai_imageio.jar) solves the error…

The images plugin is not used in this environment nor has the environment changed, so why I’m getting these messages all of a sudden makes me wonder…

All plugins etc. are “packed” on the server in server\work\localhost to be transferred to the client. I have seen this error before on Linux and it was a problem with the rights set on the localhost dir. All plugins were transferred to the client anyway, though. So it seems that packing is not necessary, but tried to avoid larger file transfers. Maybe Servoy could comment on why and how these jars are packed?

Paul, not used or not installed? Have you tried flushing jws cache.

Hi Marcel,

It certainly is not used, it’s probably installed, would have to check. flushing the JWS cache? This is on the Server, so I don’t think JWS is involved, is it not?

Patrick, tnx for the explanation. This direction might give a little insight. Would like to hear some further explanation, if possible, from the Servoy crew on this though.

Paul