unomi-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bhagi Raj Limbu <ningwano...@gmail.com>
Subject Re: Integrating with an Apache HTTP Web Server : Configuration
Date Sun, 22 Sep 2019 07:57:09 GMT
Hi Jason,

Thanks for your reply. After spending 16 hours to look into the issue, I manage to run the
solution. However, it keeps showing a warning message which does not show on version-1.4.
Here's a configuration detail.

JAVA_HOME = /usr/lib/jvm/java-8-openjdk-amd64/
fusionadmin@apache-unomi:~$ java -version
openjdk version "1.8.0_222"
OpenJDK Runtime Environment (build 1.8.0_222-8u222-b10-1ubuntu1~18.04.1-b10)
OpenJDK 64-Bit Server VM (build 25.222-b10, mixed mode)

The solution files has deployed on /opt/unomi and symbolic link point to /opt/unomi-default.
The solution version is 1.5 which has created from local machine. The cluster public address
use Let's encrypt SSL whereas internal address use self-sign certificate.

org.apache.unomi.cluster.public.address=${env:UNOMI_CLUSTER_PUBLIC_ADDRESS:-https://democdpdev.southeastasia.cloudapp.azure.com}
org.apache.unomi.cluster.internal.address=${env:UNOMI_CLUSTER_INTERNAL_ADDRESS:-https://democdpdev.southeastasia.cloudapp.azure.com:9443}

At first, when I run command on terminal - sudo /opt/unomi-default/bin/karaf. it throws an
exception - 

: not founddefault/bin/karaf: 18: /opt/unomi-default/bin/setenv:
: not founddefault/bin/karaf: 26: /opt/unomi-default/bin/setenv:
: not founddefault/bin/karaf: 33: /opt/unomi-default/bin/setenv:
: not founddefault/bin/karaf: 49: /opt/unomi-default/bin/setenv:
: not founddefault/bin/karaf: 52: /opt/unomi-default/bin/setenv:
Invalid maximum heap size: -Xmx3G
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

After change Java heap size on /opt/unomi-default/bin/setenv file - 
export JAVA_OPTS="-Dfile.encoding=UTF-8 -Xms128m -Xmx1024m -XX:PermSize=64m 
-XX:MaxPermSize=256m"

and run again - 
fusionadmin@apache-unomi:~$ sudo /opt/unomi-default/bin/karaf
: not founddefault/bin/karaf: 18: /opt/unomi-default/bin/setenv:
: not founddefault/bin/karaf: 26: /opt/unomi-default/bin/setenv:
: not founddefault/bin/karaf: 33: /opt/unomi-default/bin/setenv:
: not founddefault/bin/karaf: 49: /opt/unomi-default/bin/setenv:
: not founddefault/bin/karaf: 52: /opt/unomi-default/bin/setenv:
OpenJDK 64-Bit Server VM warning: ignoring option PermSize=64m; support was removed in 8.0
; support was removed in 8.0ning: ignoring option MaxPermSize=256m

Its still display not found, but let run Karaf and access on context and cluster. I wonder
have you face similar issue that I have.


Thank you.


Regards and Metta,
Bhagi
















On 2019/09/21 08:53:48, "Jason Hegna - Crystal Lake" <jhegna@shawmedia.com> wrote: 
> Hello,I am currently at an industry conference and will have limited
> access to email.  I will return on Monday, September 23rd and will return
> your email at that time.
>  Best,Jason
> 
> 

Mime
View raw message