View Full Version : Migrating from resin 3 to 4, hessian/burlap problem

06-22-2010, 03:09 PM
I'm migrating an application from Resin 3 to Resin 4 and I'm getting a strange error:

Hessian/Burlap: 'icosystem.lib.stat.IcoRandom' is an unknown class in EnvironmentClassLoader[server:app-tier:main]:
java.lang.ClassNotFoundException: icosystem.lib.stat.IcoRandom in EnvironmentClassLoader[server:app-tier:main]
[10-06-21 21:54:36.561] {http://*:80-2} Hessian/Burlap: 'cern.jet.random.engine.MersenneTwister' is an unknown class in EnvironmentClassLoader[server:app-tier:main]:

Any idea of what could be going wrong? The application itself doesn't use Hessian/Burlap and I don't know what's triggering this. Maybe the sessions are being serialized to disk?
The application does some bridging between php and java.
Could this (http://forum.caucho.com/showthread.php?p=13204) be related?

Resin-4.0.6 (built Tue, 13 Apr 2010 08:55:42 PDT)
Linux 2.6.31-302-ec2 amd64
Java(TM) SE Runtime Environment 1.6.0_15-b03, UTF-8, en
Java HotSpot(TM) 64-Bit Server VM 14.1-b02, 64, mixed mode, Sun Microsystems Inc.

Any pointers would be greatly appreciated.

06-22-2010, 06:08 PM
Hi Federico,

What does your resin.xml look like? The classloader that's throwing the error is the one at the server level, which is a bit unusual. One thing that could be happening is a service that's registered at a level above the webapp. Can you also increase the logging level to fine or finer to reveal the stack trace of the exception?


06-23-2010, 05:29 AM
I've a similar problem but only happens some times. I will try to increase the log and will post it if happens again.

06-25-2010, 09:27 PM
Thanks for the answers emil & juancho, I tried to reproduce it in the last few days, but the problem is gone.
I'll repost if I find anything new.