|Redeploy / ClassLoader problem [message #1053123]
||Thu, 02 May 2013 10:47
| etherny etherny
Registered: February 2013
Hi all i have a problem with the bundle redeploy procedure :|
Here the code in Application bundle :
if (message instanceof SimpleRequest)
SimpleRequest request = (SimpleRequest) message;
return new SimpleResponse(request.getMessage() + " MODIFIED !");
When i send the message to the application through the router, the message is catch by the appliaction and all works.
If i make a redeploy of communication bundle only (via pickup or eclipse virgo tool), i have an error in application bundle.
The message is not identified as SimpleRequest. If i cheat the IF case, i have an exception like : SimpleRequest cannot be cast to SimpleRequest.
SmpleRequest is declared only in communication bundle.
That's look like the class loader have two declaration of the SmpleRequest class.
I have look in deployer folder of virgo, i have find two SimpleRequest.class, one in work\deployer\s\global\23\0 and another in work\deployer\s\global\23\1.
I have join a message workflow image.
Thx for your help.
No idea ?
[Updated on: Wed, 08 May 2013 13:31]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.12488 seconds