directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pierre-Arnaud Marcelot (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DIRSERVER-1669) Embed Custom Felix Framework
Date Mon, 17 Oct 2011 15:36:10 GMT

    [ https://issues.apache.org/jira/browse/DIRSERVER-1669?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13128947#comment-13128947
] 

Pierre-Arnaud Marcelot commented on DIRSERVER-1669:
---------------------------------------------------

The patch got applied by Emmanuel.

Really good job.

I was almost able to run ApacheDS inside Felix. Unfortunately recent modifications done in
the interceptors projects has made the bundle hierarchy a little inconsistent (see the log
file).

I had to manually add the 'felix.jar' from the 'bin' folder to the build path to be able to
run Felix, otherwise I'd get the following error:
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/felix/main/Main
Caused by: java.lang.ClassNotFoundException: org.apache.felix.main.Main
	at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:247)

Is this normal ?

Looking forward to be able to fully run it.

                
> Embed Custom Felix Framework
> ----------------------------
>
>                 Key: DIRSERVER-1669
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1669
>             Project: Directory ApacheDS
>          Issue Type: New Feature
>    Affects Versions: 2.0.0-M4
>         Environment: linux
>            Reporter: Göktürk Gezer
>              Labels: apacheds, felix, osgi
>             Fix For: 2.0.0-M4
>
>         Attachments: custom-felix.diff
>
>
> ApacheDS is moving on OSGI. To easily run and debug code on OSGI, custom Felix Framework
and its launchers must be added to ApacheDS.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Mime
View raw message