de.mhus.cherry:web-jetty

A virtual host enabling web portal, based on OSGi / apache karaf

License

License

Categories

Categories

Jetty Container Application Servers
GroupId

GroupId

de.mhus.cherry
ArtifactId

ArtifactId

web-jetty
Last Version

Last Version

7.1.0
Release Date

Release Date

Type

Type

bundle
Description

Description

A virtual host enabling web portal, based on OSGi / apache karaf

Download web-jetty

Dependencies

compile (10)

Group / Artifact Type Version
de.mhus.cherry : web-api jar 7.1.0
de.mhus.cherry : web-core jar 7.1.0
org.apache.geronimo.specs : geronimo-ws-metadata_2.0_spec jar 1.1.3
de.mhus.lib : lib-annotations jar 7.1.0
de.mhus.lib : lib-core jar 7.1.0
de.mhus.lib : lib-j2ee jar 7.1.0
de.mhus.osgi : osgi-services jar 7.1.0
org.osgi : org.osgi.core jar 6.0.0
javax.servlet : javax.servlet-api jar 3.1.0
biz.aQute.bnd : bndlib jar 2.4.0

test (5)

Group / Artifact Type Version
org.junit.jupiter : junit-jupiter-engine jar 5.6.2
org.junit.jupiter : junit-jupiter-api jar 5.6.2
org.junit.platform : junit-platform-commons jar 1.6.2
org.junit.platform : junit-platform-launcher jar 1.6.2
org.hamcrest : hamcrest-all jar 1.3

Project Modules

There are no modules declared in this project.

feature:repo-add mvn:de.mhus.osgi/mhus-features/7.0.0-SNAPSHOT/xml/features feature:install mhu-osgi-base feature:install http

install -s mvn:de.mhus.app/web-api/1.0.0-SNAPSHOT install -s mvn:de.mhus.app/web-core/1.0.0-SNAPSHOT install -s mvn:de.mhus.app/web-util/1.0.0-SNAPSHOT

install -s mvn:de.mhus.app/web-jetty/1.0.0-SNAPSHOT


Use javaxt http server

  1. Install javaxt port and javaxt connector

install -s mvn:de.mhus.ports/ports-javaxt/1.3.6-SNAPSHOT install -s mvn:de.mhus.app/web-javaxt/1.0.0-SNAPSHOT

  1. Modify configuration (optional)

mhus-config.xml default values:

<de.mhus.app.web.javaxt.JavaXtServer ssl="false" port="9080" threads="50" keystore="etc/keystore.jks" keystorePassword="password" truststore="etc/truststore.jks" truststorePassword="password" />

  1. Enable SSL (Optional)

To enable ssl the minimum configuration must be

<de.mhus.app.web.javaxt.JavaXtServer ssl="true" />

create the key files using the keytool, by default they are located in the karaf/etc directory:

keytool -genkeypair -alias certificatekey -keyalg RSA -keysize 2048 -keystore etc/keystore.jks keytool -export -alias certificatekey -keystore etc/keystore.jks -rfc -file etc/selfsignedcert.cer keytool -import -alias certificatekey -file etc/selfsignedcert.cer -keystore etc/truststore.jks

Versions

Version
7.1.0
7.0.0
6.3.0
1.6.2
1.6.1
1.6.0