Code Monkey home page Code Monkey logo

karaf_examples's Introduction

Installing Apache Karaf

Configuration

Pax-CDI Implementation Code Discovery

Module: war-jsf22-cdi

In order to run Pax-CDI successfully these are the features that needs to be enabled

  • feature:install scr
  • feature:install http
  • feature:install webconsole
  • feature:install http-whiteboard
  • feature:install war
  • feature:install pax-jsf-support

Unfortunately pax-jsf-support is using Myfaces 2.2 and Pax-CDI was expecting 2.3

We can proceed with installation of Pax-CDI dependencies

  • feature:install pax-cdi
  • feature:install pax-cdi-web
  • feature:install pax-cdi-web-weld
  • feature:install pax-cdi-web-weld-jetty

We can now instal MyFaces 2.3

  • install mvn:org.apache.myfaces.core/myfaces-api/2.3.8
  • install -s mvn:org.apache.myfaces.core/myfaces-impl/2.3.8

Start the MyFaces 2.3 bundles which are not active see

  • bundle:list
  • start [ids space separated]

Building the modules mvn clean install

Install Services Greeter

  • bundle:install -s mvn:com.inkman/osgi-intro-sample-api/1.0-SNAPSHOT
  • bundle:install -s mvn:com.inkman/osgi-intro-sample-service/1.0-SNAPSHOT

Install JSF App

bundle:install -s webbundle:mvn:org.ops4j.pax.web.samples/war-jsf22-cdi/1.0-SNAPSHOT/war?Web-ContextPath=war-jsf22-cdi

Running in Cellar

Hawt.io

karaf_examples's People

Contributors

albertoclarit avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.