"1.) It says we should load this bundle in Felix:
That version is no longer available, it needs to be -1.2.8.jar"
README.html now says to use these versions:
g! install http://repo2.maven.org/maven2/org/apache/felix/org.apache.felix.configadmin/1.2.8/org.apache.felix.configadmin-1.2.8.jar
Bundle ID: 5
g! install http://repo1.maven.org/maven2/org/apache/felix/org.apache.felix.eventadmin/1.2.10/org.apache.felix.eventadmin-1.2.10.jar
"2.) The text says: "To run the example, you would need to build the WAR file"
Let us know the maven command to build it and deploy it. "mvn clean install" should be sufficient."
<h2>Running the Example</h2>
<p>To run the example, you would need to build the WAR file
and install it to an OSGi runtime (e.g. Apache Felix) together with other OSGi modules.
Look at the attached <tt>functional-test</tt> module for details on the programatical runtime configuration.
To build the war archive and run the tests, you can just launch
<pre>%mvn clean install
"4.) Another problem, even if I use that new name Felix can't load it:
g! install file:war-bundle-1.5.war
java.io.FileNotFoundException: war-bundle-1.5.war (The system cannot find the file specified)
Because this file is not in my local felix folder. The README needs to be updated to tell the user to copy this WAR to the felix folder, or (preferably) give us a command to use so that it will load the WAR already installed in our local Maven repo."
%cp war-bundle/target/war-bundle*war felix-framework-3.0.9
%java -jar bin/felix.jar
"5.) Finally, the two links at the bottom of the README, telling us where we can see the resources, aren't working even after successful bundle deployment. They both return this error:
HTTP ERROR 404
Problem accessing /helloworld/webresources/another. Reason:
Powered by Jetty://
While the Felix command window had this to say (indicating it was properly running):
g! start 5 7 8 9 10 11 19
g! Mar 2, 2011 9:36:19 PM com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
INFO: Initiating Jersey application, version 'Jersey: 1.5-SNAPSHOT 01/12/2011 01:30 PM'
It would be good to test again to make sure the bundles are working on your end. I'm using Maven 2.2.1, Windows 7, JDK 1.6 build 22. "
This sample tested okay using the latest README.html on windows XP, using Maven 2.2.1, and java version "1.6.0_23"
Java(TM) SE Runtime Environment (build 1.6.0_23-b05)
Java HotSpot(TM) Client VM (build 19.0-b09, mixed mode, sharing)
both resources were available at :