Hello again guys, Do you mind if I open defects on these issues to let be in touch with and keep it on track?
On Tue, May 3, 2011 at 16:13, Maverick Crank GRey < maverick.crank.g...@gmail.com> wrote: > Hello Damien, > On Sun, May 1, 2011 at 21:52, Damien Raude-Morvan <draz...@debian.org> > wrote: > >> Could you include something like readme.txt in your package, please? > > > There is some missing components for Apache Felix for it to be really > useful > > as a "full" standalone OSGi container. > Okay. I see. > > > AFAIK, we need felix-shell and felix-bundlerepository > > to be able to simply launch "java -jar org.apache.felix.main.jar". > Actually, I cannot confirm that I can run Felix using "java -jar > org.apache.felix.main.jar" =\ > I've got the following output: > >>> > ~$ java -jar /usr/share/java/org.apache.felix.main.jar > ~/.felix/felix-cache/ > No config.properties found. > > Welcome to Felix > ================ > > Could not create framework: java.lang.ClassNotFoundException: > org.apache.felix.framework.FrameworkFactory > java.lang.ClassNotFoundException: > org.apache.felix.framework.FrameworkFactory > 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:307) > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) > at java.lang.ClassLoader.loadClass(ClassLoader.java:248) > at java.lang.Class.forName0(Native Method) > at java.lang.Class.forName(Class.java:169) > at org.apache.felix.main.Main.getFrameworkFactory(Main.java:332) > at org.apache.felix.main.Main.main(Main.java:289) > <<< > > The cause is a "behavior" of "-jar" option. See > http://download.oracle.com/javase/6/docs/technotes/tools/windows/java.html > - "When you use this option, the JAR file is the source of all user > classes, and other user class path settings are ignored." > > I have to fix org.apache.felix.main.jar/META-INF/MANIFEST.MF file a > little bit adding the following line. > >>> > Class-Path: org.apache.felix.framework-2.0.5.jar org.eclipse.osgi.jar > <<< > BTW, it looks odd to me use classes from another OSGi framework to run > Felix. Is it okay for you? > > Unfortunately, even with a "fixed" manifest I cannot get a "Felix > shell prompt" =\ > >>> > ~$ java -jar /usr/share/java/org.apache.felix.main.jar > ~/.felix/felix-cache/ > No config.properties found. > > Welcome to Felix > ================ > > <<< > Have you any suggestions? > > -- > Be Happy!!! > UIN ICQ: 9487080 > skype:maverick.crank.grey > -- Be Happy!!! UIN ICQ: 9487080 skype:maverick.crank.grey
__ This is the maintainer address of Debian's Java team <http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers>. Please use debian-j...@lists.debian.org for discussions and questions.