Serial Version UID problem [message #62063] |
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
|
|
|
|
Re: Serial Version UID problem [message #62112 is a reply to message #62088] |
Sat, 18 February 2006 20:39 |
Eclipse User |
|
|
|
Originally posted by: ytgyazilim.gmail.com
Hello Eugune,
Thanks for the response. I will be looking into it...
H.Ceylan
Eugene Kuleshov wrote:
>
> You can calculate and inject suids into the code before weaving. Such
> transformer would be only few lines in ASM...
>
> regards,
> Eugene
>
>
> H.Ceylan wrote:
>> 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.
>>.......
|
|
|
|
Re: Serial Version UID problem [message #592298 is a reply to message #62088] |
Sat, 18 February 2006 20:39 |
Eclipse User |
|
|
|
Originally posted by: ytgyazilim.gmail.com
Hello Eugune,
Thanks for the response. I will be looking into it...
H.Ceylan
Eugene Kuleshov wrote:
>
> You can calculate and inject suids into the code before weaving. Such
> transformer would be only few lines in ASM...
>
> regards,
> Eugene
>
>
> H.Ceylan wrote:
>> 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.
>>.......
|
|
|
Powered by
FUDForum. Page generated in 0.04023 seconds