End Google Tag Manager (noscript) -->
USA +1 866 806 2068 | UK +44 203 1292 513 | JAPAN +81 3 45208991 担当:萩原 info@openlm.com

OpenLM Broker will not work on Unix / Linux: TS-BR008

Symptom

OpenLM Broker will not work on Linux / Unix systems

Cause

The current run_broker.sh and runbrokerconfig.sh are missing Java and Installation information to work properly. The Java path and the Installation path need to be defined as variables. Command lines need to updated to include those variables.

Solution

  • Add JAVA_HOME= (to your installation path of Java)
  • Add  INSTDIR= (to your installation path of OpenLM)
  • Change <%JavaHome%> to

$JAVA_HOME and <%InstallDir%> to $INSTDIR

  • Change “<%JavaHome%>/bin/java” -jar “<%InstallDir%>/OpenLMBroker.jar”  start “<%InstallDir%>/broker.xml” to

“$JAVA_HOME/bin/java” -jar “$INSTDIR/OpenLMBroker.jar”  start “$INSTDIR/broker.xml”

Example 1: run_broker.sh

JAVA_HOME=/usr/java/jdk1.7.0_55/jre

INSTDIR=/usr/local/openlm/broker2

“$JAVA_HOME/bin/java” -jar “$INSTDIR/OpenLMBroker.jar”  start “$INSTDIR/broker.xml”

Example 2: run_brokerconfig.sh

JAVA_HOME=/usr/java/jdk1.7.0_55/jre

INSTDIR=/usr/local/openlm/broker2

“$JAVA_HOME/bin/java” -jar “$INSTDIR/BrokerConfigurator.jar” -setup