Searched refs:asadmin (Results 1 - 12 of 12) sorted by relevance

/glassfish-3.1.2/tests/quicklook/cluster/clustersetup/src/test/clustersetup/
H A DClusterSetupTest.java69 retStatus = report(tn + "create-cluster", asadmin("create-cluster", cname));
75 report(tn + "create-local-instance1", asadmin("create-local-instance",
80 retStatus = report(tn + "create-local-instance2", asadmin("create-local-instance",
91 report(tn + "start-local-instance1", asadmin("start-local-instance", i1name));
92 report(tn + "start-local-instance2", asadmin("start-local-instance", i2name));
96 report(tn + "list-instances", asadmin("list-instances"));
/glassfish-3.1.2/common/common-util/src/main/java/com/sun/enterprise/universal/process/
H A DLocalAdminCommand.java57 asadmin = new File(SystemPropertyConstants.getAsAdminScriptLocation());
58 cmds.add(asadmin.getAbsolutePath());
70 if (!asadmin.canExecute())
71 throw new ProcessManagerException("asadmin is not executable!");
83 private final File asadmin; field in class:LocalAdminCommand
/glassfish-3.1.2/tests/quicklook/cluster/helloworld/src/test/hellocluster/
H A DClusterHelloworldTest.java71 retStatus = report(tn + "deploy", asadmin("deploy", "--target", cname, webapp.getAbsolutePath()));
88 retStatus = report(tn + "undeploy", asadmin("undeploy", "--target", cname, "helloworld"));
/glassfish-3.1.2/ant-tasks/src/main/java/org/glassfish/ant/tasks/
H A DAdminTask.java127 File asadmin = getAsAdmin(f);
128 Process pr = Runtime.getRuntime().exec(asadmin.getAbsolutePath() + " " + commandExec);
144 log("asadmin command exited with error code "+exitVal);
159 return new File(binDir, "asadmin");
161 return new File(binDir, "asadmin.bat");
/glassfish-3.1.2/tests/quicklook/utils/src/com/sun/appserv/test/
H A DAdminBaseDevTest.java130 asadmin("start-domain", domainname));
135 asadmin("start-domain"));
140 asadmin("stop-domain", domainname));
145 asadmin("stop-domain"));
223 // note that the returned string is full of junk -- namely the HUGE asadmin
238 // e.g. "asadmin blah foo=xyz len==20, index==13, start at index=17
H A DBaseDevTest.java95 public boolean asadmin(final String... args) { method in class:BaseDevTest
112 String cmd = isWindows() ? "/bin/asadmin.bat" : "/bin/asadmin";
/glassfish-3.1.2/cluster/ssh/src/main/java/org/glassfish/cluster/ssh/connect/
H A DNodeRunner.java98 * Run an asadmin command on a Node. The node may be local or remote. If
100 * The args list is all parameters passed to "asadmin", but not
101 * "asadmin" itself. So an example args is:
105 * @param node The node to run the asadmin command on
109 * @param args The arguments to the asadmin command. This includes
110 * parameters for asadmin (like --host) as well as the
113 * string "asadmin" itself.
114 * @return The status of the asadmin command. Typically 0 if the
177 File asadmin = new File(SystemPropertyConstants.getAsAdminScriptLocation(installDir));
178 fullcommand.add(asadmin
[all...]
H A DNodeRunnerDcom.java90 WindowsRemoteAsadmin asadmin = dcomInfo.getAsadmin();
100 String out = asadmin.run(fullcommand);
135 * Put the file in the same directory that asadmin lives in (bin)
/glassfish-3.1.2/cluster/admin/src/main/java/com/sun/enterprise/v3/admin/cluster/
H A DCreateRemoteNodeCommand.java265 File asadmin = new File(SystemPropertyConstants.getAsAdminScriptLocation(installDir));
266 fullcommand.add(asadmin.getAbsolutePath());
H A DDeleteNodeRemoteCommand.java218 File asadmin = new File(SystemPropertyConstants.getAsAdminScriptLocation(installDir));
219 fullcommand.add(asadmin.getAbsolutePath());
/glassfish-3.1.2/cluster/cli/src/main/java/com/sun/enterprise/admin/cli/cluster/
H A DInstallNodeSshCommand.java301 * Uses SSH launcher to execute 'asadmin version'
311 String asadmin = Constants.v4 ? "/lib/nadmin' version --local --terse" : "/bin/asadmin' version --local --terse";
312 String cmd = "'" + sshInstallDir + "/" + SystemPropertyConstants.getComponentName() + asadmin;
/glassfish-3.1.2/packager/nucleus-base/config/
H A Dasenv.bat53 REM the asadmin and appclient scripts do indeed invoke this file as a

Completed in 2502 milliseconds