Introduction

Cipango could be started in an OSGi environment with the module cipango-osgi-boot based on jetty-osgi-boot.

Installation in equinox

  1. Download Equinox framework (implementation in a standalone package as a jar).
  2. Copy bundles in bundle directory
    mkdir ${equinox.home}/bundle
    cp ${jetty.home}/lib/*.jar ${equinox.home}/bundle/
    cp ${jetty.home}/lib/sip/*.jar ${equinox.home}/bundle/
    
    
  3. Start equinox
    java -jar org.eclipse.osgi_3.7.1.R37x_v20110808-1106.jar -console
  4. Execute the following commands to install required bundles
    install file:bundle/cipango-dar-2.1-SNAPSHOT.jar
    install file:bundle/cipango-deploy-2.2-SNAPSHOT.jar
    install file:bundle/cipango-server-2.2-SNAPSHOT.jar
    install file:bundle/jetty-client-7.5.0.v20110901.jar
    install file:bundle/jetty-continuation-7.5.0.v20110901.jar
    install file:bundle/jetty-deploy-7.5.0.v20110901.jar
    install file:bundle/jetty-http-7.5.0.v20110901.jar
    install file:bundle/jetty-io-7.5.0.v20110901.jar
    install file:bundle/jetty-jmx-7.5.0.v20110901.jar
    install file:bundle/jetty-osgi-boot-jsp-7.5.0.v20110901.jar
    install file:bundle/jetty-osgi-boot-warurl-7.5.0.v20110901.jar
    install file:bundle/jetty-security-7.5.0.v20110901.jar
    install file:bundle/jetty-server-7.5.0.v20110901.jar
    install file:bundle/jetty-servlet-7.5.0.v20110901.jar
    install file:bundle/jetty-servlets-7.5.0.v20110901.jar
    install file:bundle/jetty-util-7.5.0.v20110901.jar
    install file:bundle/jetty-webapp-7.5.0.v20110901.jar
    install file:bundle/jetty-websocket-7.5.0.v20110901.jar
    install file:bundle/jetty-xml-7.5.0.v20110901.jar
    install file:bundle/servlet-api-2.5.jar
    install file:bundle/sip-api-1.1.jar
    install file:bundle/org.eclipse.osgi.services_3.3.0.v20110513.jar
    install file:bundle/cipango-osgi-boot-2.2-SNAPSHOT.jar
    
    

Demonstration

Start equinox with the command:

java -Djetty.etc.config.urls=etc/cipango.xml;etc/cipango-deploy.xml -Djetty.home=jettyhome -jar org.eclipse.osgi_3.7.1.R37x_v20110808-1106.jar  -console