Running PAX-WICKET
PAX-WICKET can run on any OSGi framework compliant with the R4 Core specifications. In addition to the org.ops4j.pax.wicket.service bundle the following services need to be available:
- A HTTP Service that is R3 compliant.
- CGLib (mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.cglib/2.2_2)
- Pax Logging Service (or any other SLF4J frontend) (mvn:org.ops4j.pax/pax-logging-api/1.6.4,mvn:org.ops4j.pax/pax-logging-service/1.6.4)
In addition the following dependencies are optional, depending on what you exactly require from pax-wicket:
- Aries Blueprint
- SpringDM
Running on Apache Karaf
If you develop based on the Apache Karaf server it is even much simpler:
1. Download the latest version of Apache Karaf (if you're not already running one).
2. Start Apache Karaf by executing bin/karaf.bat or bin/karaf (depending on your platform)
3. Install the pax-wicket features file:
4. Install the PAX-WICKET feature:
What's next
Now that PAX-WICKET is running on your OSGi environment we get a Wicket Application up and running in the next section.


3 Comments
comments.show.hide-
-
Permalink
-
-
Permalink
-
-
Permalink
Add CommentJan 02, 2012
Anonymous
Hi,
Just installed pax-wicket in karaf, the features file has a new location:
features:addurl mvn:org.ops4j.pax.wicket/features/PAX_WICKET_VERSION/xml/features
Should be changed to:
features:addurl mvn:org.ops4j.pax.wicket/pax-wicket-features/PAX_WICKET_VERSION/xml/features
(I've tried to create an account and make the change myself but this doesn't seem to work)
Bram
Jan 06, 2012
Harald Wellmann
Bram, thanks for noticing! I've updated the mvn: URL.
Cheers,
Harald
Mar 18, 2012
Anonymous
Am very new to wicket pax and osgi, so sorry if am talking rubish, but trying to run:
features:addurl mvn:org.ops4j.pax.wicket/features/0.8.3/xml/features
gives:
[Fatal Error] :43:3: The element type "link" must be terminated by the matching end-tag "</link>".
Could not add Feature Repository:
org.xml.sax.SAXParseException: The element type "link" must be terminated by the matching end-tag "</link>".
but it seems to work if I do:
features:addurl mvn:org.ops4j.pax.wicket/features/0.8.2/xml/features