Issue #1809 - update for yajsw compatibility
Former-commit-id: ef772adffd15534b79ac36ac55ca0f8ac8b62677
This commit is contained in:
parent
fa15f03e1b
commit
dd8d462790
1 changed files with 3 additions and 3 deletions
|
@ -191,8 +191,8 @@ public class Wes2BridgeManager {
|
|||
/* Disable JMX. */
|
||||
private void updateEdexWrapper(String srcEdexDirectory, String edexDirectory)
|
||||
throws FileNotFoundException, IOException {
|
||||
String srcwrapper_conf = srcEdexDirectory + "/bin/wrapper.conf";
|
||||
String wrapper_conf = edexDirectory + "/bin/wrapper.conf";
|
||||
String srcwrapper_conf = srcEdexDirectory + "/conf/wrapper.conf";
|
||||
String wrapper_conf = edexDirectory + "/conf/wrapper.conf";
|
||||
|
||||
BufferedReader br = this.getBufferedReader(srcwrapper_conf);
|
||||
BufferedWriter bw = this.getBufferedWriter(wrapper_conf);
|
||||
|
@ -269,7 +269,7 @@ public class Wes2BridgeManager {
|
|||
|
||||
final String line1 = "EDEX_INSTALL=";
|
||||
final String line2 = "export DATA_ARCHIVE_ROOT=";
|
||||
final String line3 = "CAMELPROCESS=`ps -ef | grep \"edex.dev.mode\"|grep -c \"edex.run.mode=${1} \" `";
|
||||
final String line3 = "CAMELPROCESS=`ps -ef | grep \"aw.site.identifier\"|grep -c \"edex.run.mode=${1} \" `";
|
||||
|
||||
String line = StringUtils.EMPTY;
|
||||
while ((line = br.readLine()) != null) {
|
||||
|
|
Loading…
Add table
Reference in a new issue