/**
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright (c) 2008 Sun Microsystems, Inc. All Rights Reserved.
*
* The contents of this file are subject to the terms
* of the Common Development and Distribution License
* (the License). You may not use this file except in
* compliance with the License.
*
* You can obtain a copy of the License at
* See the License for the specific language governing
* permission and limitations under the License.
*
* When distributing Covered Code, include this CDDL
* Header Notice in each file and include the License file
* at opensso/legal/CDDLv1.0.txt.
* If applicable, add the following below the CDDL Header,
* with the fields enclosed by brackets [] replaced by
* your own identifying information:
* "Portions Copyrighted [year] [name of copyright owner]"
*
* $Id: UpdateServerClassPath.java,v 1.2 2008/11/28 12:36:23 saueree Exp $
*/
ITask {
boolean status = true;
try {
super.getSetClasspathScriptFile(stateAccess);
//status = status && copyAgentAppWarFile(stateAccess);
status = false;
"UpdateServerClasspath.execute() - encountered exception "
}
return status;
}
boolean status = true;
int index = -1;
false, true, 0) == -1) {
.log("UpdateServerClasspath.updateSetClasspathScript(): " +
STR_CLASSPATH_LINE, true,
false, true, 0)) != -1) {
} else {
.log("UpdateServerClasspath." +
"updateSetClasspathScript(): "
+ "could not find classpath location");
}
} else {
}
} else {
.log("UpdateServerClasspath.updateSetClasspathScript(): " +
"agent classpath already present");
}
return status;
}
throws Exception {
boolean status = true;
+ " : " + destFile);
return status;
}
throws Exception
{
} else {
}
+ "tokens.txt";
return destFile;
}
boolean status = true;
try {
+ destDir);
} catch (Exception e) {
.log("UpdateServerClasspath.copyAgentAppWarFile() - " +
"Error occured while copying "
+ " from "
+ srcDir
+ " to " + destDir);
status = false;
}
return status;
}
}
Map properties) {
super.getSetClasspathScriptFile(stateAccess);
return message;
}
Map properties) {
return message;
}
boolean status = false;
return status;
}
return _agentLibPath;
}
}
return _agentLocaleDir;
}
}
return _agentInstanceConfigDirPath;
}
private void setAgentInstanceConfigDirPathe(
}
return _catalinaCommonLibDir;
}
}
return _catalinaServerLibDir;
}
}
return _catalinaJarPath;
}
}
= "TSK_MSG_UPDATE_SET_CLASSPATH_SCRIPT_EXECUTE";
= "TSK_MSG_UPDATE_SET_CLASSPATH_SCRIPT_ROLLBACK";
}