Cherry Web Portal

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

License

License

GroupId

GroupId

de.mhus.cherry
ArtifactId

ArtifactId

cherry-web
Last Version

Last Version

7.1.0
Release Date

Release Date

Type

Type

pom
Description

Description

Cherry Web Portal
A virtual host enabling web portal, based on OSGi / apache karaf
Project URL

Project URL

http://www.mhus.de
Source Code Management

Source Code Management

https://github.com/mhus/cherry-web

Download cherry-web

Filename Size
cherry-web-7.1.0.pom 2 KB
Browse

How to add to project

<!-- https://jarcasting.com/artifacts/de.mhus.cherry/cherry-web/ -->
<dependency>
    <groupId>de.mhus.cherry</groupId>
    <artifactId>cherry-web</artifactId>
    <version>7.1.0</version>
    <type>pom</type>
</dependency>
// https://jarcasting.com/artifacts/de.mhus.cherry/cherry-web/
implementation 'de.mhus.cherry:cherry-web:7.1.0'
// https://jarcasting.com/artifacts/de.mhus.cherry/cherry-web/
implementation ("de.mhus.cherry:cherry-web:7.1.0")
'de.mhus.cherry:cherry-web:pom:7.1.0'
<dependency org="de.mhus.cherry" name="cherry-web" rev="7.1.0">
  <artifact name="cherry-web" type="pom" />
</dependency>
@Grapes(
@Grab(group='de.mhus.cherry', module='cherry-web', version='7.1.0')
)
libraryDependencies += "de.mhus.cherry" % "cherry-web" % "7.1.0"
[de.mhus.cherry/cherry-web "7.1.0"]

Dependencies

compile (8)

Group / Artifact Type Version
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
org.apache.geronimo.specs : geronimo-ws-metadata_2.0_spec jar 1.1.3

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

  • web-api
  • web-core
  • web-util
  • web-jetty

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