Serial Version UID problem [message #592278] |
Sat, 18 February 2006 00:41 |
Eclipse User |
|
|
|
Originally posted by: ytgyazilim.gmail.com
Hello,
I have been trying to intercept my calls to jboss server thorough
ejb3 calls. I have been successfully intercept the
org.jboss.ejb3.stateful.StatefulRemoteProxy class.
However jboss developers do not assign explicit SUIDs.
And woven jar (jbossall-client.jar) has the classes with the different
serial UIDs. Thus streaming facility firing InvalidClassExcepton as it
thinks local and remote classes are not the same. Well that's true but
in theory.
Is there any way to suppress this check or have the aspectj compiler use
the same SUID as of the original class?
I try to intercept StatefulRemoteProxy.invoke() ony because I cannot
intercept the client proxies created after context look ups.
I tried the interface+, etc. with no success. As this proxy is created
by reflection (I think) there is no way to intercept it without load
time weaving.
But that is another story. Since my app is an RCP application it runs
within the osgi platform which likes to control the class loading all
by itself. So does the load time weaving. Which leads to a nonstarter place.
Now,
HAs anyone have any idea to overcome this problem?
Thanks in advance,
H.Ceylan
|
|
|
Powered by
FUDForum. Page generated in 0.03059 seconds