Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » Problems running equinox weaved with aspectj
Problems running equinox weaved with aspectj [message #106466] Mon, 17 March 2008 21:27
Eclipse UserFriend
Originally posted by: kievgama.hotmail.com

Hello everyone,

I am weaving the equinox framework v3.2.2 with AspectJ. Weaving works
fine, however when I try to run the code I cannot start the framework. The
following happens:

Exception in thread "main" java.lang.NoClassDefFoundError:
org/eclipse/osgi/framework/log/FrameworkLogEntry
Caused by: java.lang.ClassNotFoundException:
org.eclipse.osgi.framework.log.FrameworkLogEntry
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)


That class is inside the jar. I checked it.

I could weave and run with no problems Felix and Knopflerfish
implementations.

I appreciate any help.

Thanks in advance,

Kiev Gama


PS:
I try to answer some possible questions that may clear things out:

Why am I trying to weave equinox code?
R. I need to. It's something I'm doing for my masters research that needs
to be added to OSGi. I've chosen to use AOP instead of changing source
code.

Why am I not using equinox latest version?
R. That version (3.3) uses digitally signed jar. Since weaving bytecodes
would change the hash, that would not work. Maybe later I will try to find
out how (if possible) to turn that verification off.

Why am I not using the Equinox Aspects project?
R. Equinox aspects seems to target AOP in bundles. I need to weave the
framework code.


Thanks in advance.
Previous Topic:ClassLoader issue: Loading classes of other bundles
Next Topic:Passing an object into a servlet(context)
Goto Forum:
  


Current Time: Thu Apr 25 15:56:02 GMT 2024

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

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

Back to the top