Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsRedeploy / ClassLoader problem
https://www.eclipse.org/forums/index.php/mv/msg/486015/1053123/#msg_1053123
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 ?
]]>etherny etherny2013-05-02T14:47:48-00:00Re: Redeploy / ClassLoader problem
https://www.eclipse.org/forums/index.php/mv/msg/486015/1058249/#msg_1058249
Glyn Normington2013-05-13T10:56:36-00:00