Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Virgo » Redeploy / ClassLoader problem
Redeploy / ClassLoader problem [message #1053123] Thu, 02 May 2013 14:47 Go to next message
etherny etherny is currently offline etherny ethernyFriend
Messages: 9
Registered: February 2013
Junior Member
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 ?
  • Attachment: probVirgo.png
    (Size: 16.61KB, Downloaded 143 times)

[Updated on: Wed, 08 May 2013 17:31]

Report message to a moderator

Re: Redeploy / ClassLoader problem [message #1058249 is a reply to message #1053123] Mon, 13 May 2013 10:56 Go to previous message
Glyn Normington is currently offline Glyn NormingtonFriend
Messages: 1222
Registered: July 2009
Senior Member
It seems that this scenario does not drive refresh packages to update the application bundle appropriately. You probably need to debug into the Virgo code to determine what's going on.
Previous Topic:Creating test - doesn't reach to the point where tests are executed
Next Topic:Random Problem While Booting Virgo
Goto Forum:
  


Current Time: Fri Apr 19 01:04:27 GMT 2024

Powered by FUDForum. Page generated in 0.01700 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top