mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-6360: adding mysql-connector to class path and it will be loaded while starting cloudstack-usage
This commit is contained in:
parent
a512b7847a
commit
1ec77ec4b8
|
|
@ -59,9 +59,9 @@ export JAVA_HOME
|
|||
SCP=""
|
||||
DCP=""
|
||||
UCP=`ls /usr/share/cloudstack-usage/cloud-usage-*.jar`":"`ls /usr/share/cloudstack-usage/lib/*.jar | tr '\n' ':'`
|
||||
JCP="/usr/share/java/commons-daemon.jar"
|
||||
JCP="/usr/share/java/commons-daemon.jar":"/usr/share/java/mysql-connector-java.jar"
|
||||
|
||||
# We need to append the JSVC daemon JAR to the classpath
|
||||
# We need to append the JSVC daemon and mysql-connector JAR to the classpath
|
||||
# AgentShell implements the JSVC daemon methods
|
||||
export CLASSPATH="$SCP:$DCP:$UCP:$JCP:/etc/cloudstack/usage"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue