|[ECF/R-OSGi] java.lang.IllegalAccessError after 16 remote service calls [message #990861]
||Fri, 14 December 2012 14:59
| ben ben
Registered: June 2012
I use R-OSGi over ECF to call remote services.
After EXACTLY 16 remote calls on the same service, I systematically get this :
java.lang.IllegalAccessError: class sun.reflect.GeneratedMethodAccessor15 cannot access its superclass sun.reflect.MethodAccessorImpl
Restarting client or service provider solves the problem. It looks like there is a limitation on number of calls on the same service.
Someone has an idea ?
Thanks in advance.
[Updated on: Fri, 14 December 2012 15:09]
Report message to a moderator
|Re: [ECF/R-OSGi] java.lang.IllegalAccessError after several remote service call [message #991042 is a reply to message #990891]
||Mon, 17 December 2012 07:41
On 12/14/2012 05:50 PM, ben ben wrote:|
> JDK : 1.6
> Eclipse : Indigo
> ECF : 3.1
> R-OSGi : 1.0.0.RC4
> This problems occured on all my services, interfaces are very basic.
> I use DS, bellow is an example or one of my Service Components.
> If it can help, I use EObjects in service parameters/return. After
> several days of work I succeeded in serializing them ;)
> <?xml version="1.0" encoding="UTF-8"?>
> <scr:component xmlns:scr="http://www.osgi.org/xmlns/scr/v1.1.0"
> enabled="true" immediate="true" name="NACA4ServiceProvider">
> <property name="service.exported.interfaces" type="String" value="*"/>
> <property name="service.exported.configs" type="String"
first of all, you are on very old version of ECF. The most recent one is
3.5.6 . Can you verify that the IllegalAccessError also shows up with
ECF current too?
Second, you say that EMF EObjects are used as parameters/return values.
Do you know if this bug appeared first, when you started using them?
Lets try to isolate technologies...
Btw. do you have the complete stack trace for the
Powered by FUDForum
. Page generated in 0.02797 seconds