mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
CLOUDSTACK-6360: adding mysql-connector to class path and it will be loaded while starting cloudstack-usage
This commit is contained in:
parent
a864272ad5
commit
90287cc60a
@ -75,9 +75,9 @@ setJavaHome
|
||||
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…
x
Reference in New Issue
Block a user