Richard S. Hall wrote:
So, doesn't anyone have any input on this issue?

I believe that Alex had Felix running on a SLUG...I cannot remember any of the details.


Yeah I did but this was a long time ago. I never ran into many problems with our simple examples.

I'd have to find my slug and play with the configuration to be of any value on this problem. Don't have time for that right now tho sorry :(.

Alex

-> richard

arobert wrote:
I am trying to use Felix on an NSLU plateform with a jamvm java virtual machine. I use 2 bundles communicating through event admin service. When an event is published, the handleEvent method of the second bundle is well activated, but after it crash with a NoClassDefFoundError for a class which is in the same package (in the same bundle).

here is the trace:
Exception in thread "Thread-13" java.lang.NoClassDefFoundError: fr/imag/adele/rf
id/filter/impl/EPCTagData
at fr.imag.adele.rfid.filter.impl.EPCNamingImpl.setGuid(EPCNamingImpl.java:46
)
at fr.imag.adele.rfid.filter.impl.EPCNamingImpl.<init>(EPCNamingImpl.java:242
)
at fr.imag.adele.rfid.filter.impl.FilterImpl.handleEvent(FilterImpl.java:149) at fr.imag.adele.bundle.eventadmin.EventHandlerWrapper$HandleEventOnTime.run(
Unknown Source)
   at java.lang.Thread.run(Thread.java:710)
Caused by: java.lang.LinkageError: duplicate class definition
   at java.lang.VMClassLoader.defineClass(Native Method)
at java.lang.VMClassLoader.defineClassWithTransformers(VMClassLoader.java:374
)
   at java.lang.ClassLoader.defineClass(ClassLoader.java:472)
   at java.lang.ClassLoader.defineClass(ClassLoader.java:437)
at org.apache.felix.framework.searchpolicy.ContentClassLoader.findClass(Conte
ntClassLoader.java:155)
at org.apache.felix.framework.searchpolicy.ContentClassLoader.loadClassFromMo
dule(ContentClassLoader.java:48)
at org.apache.felix.framework.searchpolicy.ContentLoaderImpl.getClass(Content
LoaderImpl.java:108)
at org.apache.felix.framework.searchpolicy.R4SearchPolicyCore.findClassOrReso
urce(R4SearchPolicyCore.java:247)
at org.apache.felix.framework.searchpolicy.R4SearchPolicyCore.findClass(R4Sea
rchPolicyCore.java:132)
at org.apache.felix.framework.searchpolicy.R4SearchPolicy.findClass(R4SearchP
olicy.java:42)
at org.apache.felix.framework.searchpolicy.ContentClassLoader.loadClass(Conte
ntClassLoader.java:67)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:294)
at fr.imag.adele.rfid.filter.impl.EPCNamingImpl.setGuid(EPCNamingImpl.java:46
)
   ...4 more

The same testcase correctly works on a PC with Sun JVM.

Anyone knows sush a problem on Felix, and this virtual machine?


Reply via email to