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.