Repository: incubator-unomi Updated Branches: refs/heads/master ebd7e9838 -> 8b1c30a22
UNOMI-73 Add a log when Unomi is properly initialized. - Add message to signal start of Unomi initialization - Fix issue with RMI stub by using boot delegation setting Signed-off-by: Serge Huber <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/incubator-unomi/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-unomi/commit/8b1c30a2 Tree: http://git-wip-us.apache.org/repos/asf/incubator-unomi/tree/8b1c30a2 Diff: http://git-wip-us.apache.org/repos/asf/incubator-unomi/diff/8b1c30a2 Branch: refs/heads/master Commit: 8b1c30a227f9fbd884946422e76cab48e72ac487 Parents: ebd7e98 Author: Serge Huber <[email protected]> Authored: Mon Jan 23 10:17:56 2017 +0100 Committer: Serge Huber <[email protected]> Committed: Mon Jan 23 10:17:56 2017 +0100 ---------------------------------------------------------------------- .../src/main/java/org/apache/unomi/lifecycle/BundleWatcher.java | 1 + package/src/main/resources/etc/custom.properties | 2 ++ src/site/markdown/clustering.md | 2 +- 3 files changed, 4 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-unomi/blob/8b1c30a2/lifecycle-watcher/src/main/java/org/apache/unomi/lifecycle/BundleWatcher.java ---------------------------------------------------------------------- diff --git a/lifecycle-watcher/src/main/java/org/apache/unomi/lifecycle/BundleWatcher.java b/lifecycle-watcher/src/main/java/org/apache/unomi/lifecycle/BundleWatcher.java index edce52d..3f4ab5a 100644 --- a/lifecycle-watcher/src/main/java/org/apache/unomi/lifecycle/BundleWatcher.java +++ b/lifecycle-watcher/src/main/java/org/apache/unomi/lifecycle/BundleWatcher.java @@ -74,6 +74,7 @@ public class BundleWatcher implements SynchronousBundleListener, ServiceListener bundleContext.addServiceListener(this); loadLogo(); startupTime = System.currentTimeMillis(); + System.out.println("Initializing Unomi..."); logger.info("Bundle watcher initialized."); } http://git-wip-us.apache.org/repos/asf/incubator-unomi/blob/8b1c30a2/package/src/main/resources/etc/custom.properties ---------------------------------------------------------------------- diff --git a/package/src/main/resources/etc/custom.properties b/package/src/main/resources/etc/custom.properties index 1f2b7e6..95a152b 100644 --- a/package/src/main/resources/etc/custom.properties +++ b/package/src/main/resources/etc/custom.properties @@ -31,3 +31,5 @@ org.ops4j.pax.web.ssl.keystore=${karaf.etc}/keystore org.ops4j.pax.web.ssl.password=changeme org.ops4j.pax.web.ssl.keypassword=changeme org.osgi.service.http.port.secure=9443 + +org.osgi.framework.bootdelegation=org.apache.karaf.jaas.boot,org.apache.karaf.jaas.boot.principal,sun.*,com.sun.*,javax.transaction,javax.transaction.*,javax.xml.crypto,javax.xml.crypto.*,org.apache.xerces.jaxp.datatype,org.apache.xerces.stax,org.apache.xerces.parsers,org.apache.xerces.jaxp,org.apache.xerces.jaxp.validation,org.apache.xerces.dom,javax.management.remote.rmi http://git-wip-us.apache.org/repos/asf/incubator-unomi/blob/8b1c30a2/src/site/markdown/clustering.md ---------------------------------------------------------------------- diff --git a/src/site/markdown/clustering.md b/src/site/markdown/clustering.md index 03e19fe..1e5c27d 100644 --- a/src/site/markdown/clustering.md +++ b/src/site/markdown/clustering.md @@ -33,7 +33,7 @@ For the actual ElasticSearch configuration however, this must be done using the Depending on the cluster size, you will want to adjust the following parameters to make sure your setup is optimal in terms of performance and safety. -#### 2 nodes configuration +#### 2 nodes configuration One node dedicated to context server, 1 node for elasticsearch storage. Node A :
