Searched refs:cmd (Results 1 - 25 of 51) sorted by relevance

123

/glassfish-3.1.2/tests/quicklook/ejb/mdb/src/test/mdb/
H A DMDBTests.java53 private String cmd; field in class:MDBTests
59 cmd = ASADMIN + " multimode --file " + batchFile1;
60 execReturn = RtExec.execute(cmd);
67 cmd = ASADMIN + " deploy --retrieve=" + mdbAppDir
69 //System.out.println("CMD = "+cmd);
70 execReturn = RtExec.execute(cmd);
77 cmd = APPCLIENT+" -client "+mdbAppDir+mdbApp+"Client.jar ";
79 execReturn = RtExec.execute(cmd);
85 cmd = ASADMIN + " undeploy " + mdbApp;
86 //System.out.println("CMD = "+cmd);
[all...]
/glassfish-3.1.2/tests/quicklook/admincli/src/test/admincli/
H A DExistStatusTests.java51 private String cmd, cmd1; field in class:ExistStatusTests
55 cmd = ASADMIN + " create-jdbc-connection-pool " +
59 execReturn = RtExec.execute(cmd);
66 cmd = ASADMIN + " ping-connection-pool DerbyPool";
67 RtExec.execute(cmd);
75 cmd = ASADMIN + " delete-jdbc-connection-pool QLJdbcPool";
76 execReturn = RtExec.execute(cmd);
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/ssi/
H A DSSIProcessor.java225 * @param cmd
229 protected String[] parseParamNames(StringBuilder cmd, int start) { argument
235 while (bIdx < cmd.length()) {
237 while (bIdx < cmd.length() && isSpace(cmd.charAt(bIdx)))
239 if (bIdx >= cmd.length()) break;
242 while (bIdx < cmd.length() && cmd.charAt(bIdx) != '=') {
243 retBuf.append(cmd.charAt(bIdx));
250 for (; bIdx < cmd
279 parseParamValues(StringBuilder cmd, int start, int count) argument
330 parseCmd(StringBuilder cmd) argument
[all...]
/glassfish-3.1.2/admin/cli/src/main/java/com/sun/enterprise/admin/cli/
H A DHelpCommand.java69 private String cmd; field in class:HelpCommand
89 return cmd != null ? cmd : DEFAULT_HELP_PAGE;
113 CLICommand cmd = CLICommand.getCommand(habitat, getCommandName());
114 Reader r = cmd.getManPage();
H A DCLIProcessExecutor.java58 * @param cmd the command to execute
62 public void execute(String name, String[] cmd, boolean wait) argument
64 process = Runtime.getRuntime().exec(cmd);
H A DRestartDomainCommand.java95 RemoteCommand cmd =
107 cmd.executeAndReturnOutput("restart-domain", "--debug", debug.toString());
109 cmd.executeAndReturnOutput("restart-domain");
125 CLICommand cmd = habitat.getComponent(CLICommand.class, "start-domain");
155 return cmd.execute(opts.toArray(new String[opts.size()]));
H A DVersionCommand.java88 RemoteCommand cmd = new RemoteCommand("version", programOpts, env);
91 version = cmd.executeAndReturnOutput("version", "--verbose");
93 version = cmd.executeAndReturnOutput("version");
H A DListCommandsCommand.java138 for (String cmd : commands) {
140 if (!cmd.startsWith("_"))
141 matched.add(cmd);
144 if (re.matcher(cmd).find())
145 if (!cmd.startsWith("_") ||
147 matched.add(cmd);
H A DMonitorTask.java62 private RemoteCommand cmd; field in class:MonitorTask
82 cmd = new RemoteCommand(remoteArgs[0], programOpts, env);
142 cmd.execute(remoteArgs);
/glassfish-3.1.2/tests/quicklook/admincli/src/test/admincli/util/
H A DRtExec.java60 public static boolean execute(String cmd) throws IOException { argument
62 proc = rt.exec(cmd);
/glassfish-3.1.2/admin/cli/src/main/java/com/sun/enterprise/admin/cli/remote/
H A DDASUtils.java74 RemoteCommand cmd = new RemoteCommand("version", programOpts, env);
75 cmd.executeAndReturnOutput(new String[]{"version"});
108 RemoteCommand cmd = new RemoteCommand("version", programOpts, env);
109 cmd.executeAndReturnOutput(new String[]{"version"});
/glassfish-3.1.2/admin/cli/src/test/java/com/sun/enterprise/admin/cli/
H A DNewSyntaxTest.java66 String cmd = "foo";
70 String[] argv = new String[] { cmd };
87 String cmd = "new-command";
94 "--secure", cmd, cmdArg1, cmdArg2
99 assertEquals(cmd, r.getCommandName());
112 String cmd = "some-cmd";
118 String[] cmdline = new String[]{"--host", pHost, cmd, arg1, arg2, arg3};
122 assertEquals(cmd, r.getCommandName());
185 String cmd
[all...]
/glassfish-3.1.2/common/amx-config/src/main/java/org/glassfish/admin/amx/intf/config/
H A DAnonymousElementList.java94 * @param cmd the operation to perform
98 public String[] modifyAnonymousElementList(final String elementName, final String cmd, final String[] args); argument
/glassfish-3.1.2/cluster/cli/src/main/java/com/sun/enterprise/admin/cli/cluster/
H A DRestartLocalInstanceCommand.java87 RemoteCommand cmd = new RemoteCommand("_restart-instance", programOpts, env);
90 cmd.executeAndReturnOutput("_restart-instance", "--debug", debug.toString());
92 cmd.executeAndReturnOutput("_restart-instance");
101 CLICommand cmd = habitat.getComponent(CLICommand.class, "start-local-instance");
133 return cmd.execute(opts.toArray(new String[opts.size()]));
/glassfish-3.1.2/admin/cli-optional/src/main/java/com/sun/enterprise/admin/cli/optional/
H A DStartDatabaseCommand.java87 ArrayList<String> cmd = new ArrayList<String>();
88 cmd.add(sJavaHome + File.separator + "bin" + File.separator + "java");
89 cmd.add("-Djava.library.path=" + sInstallRoot + File.separator + "lib");
91 cmd.add("-Dderby.storage.fileSyncTransactionLog=True");
93 cmd.add("-cp");
94 cmd.add(sClasspath + File.pathSeparator + sDatabaseClasspath);
96 cmd.addAll(Arrays.asList(jvmoptions));
98 cmd.add("com.sun.enterprise.admin.cli.optional.DerbyControl");
99 cmd.add("start");
100 cmd
[all...]
H A DBackupDomainCommand.java165 RemoteCommand cmd = new RemoteCommand("list-commands",
167 String response = cmd.executeAndReturnOutput("list-commands");
185 RemoteCommand cmd = new RemoteCommand("suspend-domain",
187 String response = cmd.executeAndReturnOutput("suspend-domain",
/glassfish-3.1.2/cluster/common/src/main/java/com/sun/enterprise/util/cluster/windows/process/
H A DWindowsRemoteAsadmin.java84 * @param cmd e.g. "start-local-instance i1"
89 public final String run(String cmd) throws WindowsException { argument
92 sb.append(cmd);
H A DWindowsRemoteScripter.java78 * @param cmd e.g. "C:/glassfish3/bin/asadmin" "start-local-instance" "i1"
96 * @param cmd e.g. "C:/glassfish3/bin/asadmin start-local-instance i1"
99 public String run(String cmd) throws WindowsException { argument
100 if (cmd == null || cmd.isEmpty())
120 new JIString("%comspec% /c " + cmd)
/glassfish-3.1.2/extras/upgrade/upgrade-jar/src/main/java/com/sun/enterprise/tools/upgrade/common/arguments/
H A DArgumentHandler.java65 String cmd = null; field in class:ArgumentHandler
76 cmd = c;
79 return cmd;
100 * Indicate if this cmd option requires a parameter.
/glassfish-3.1.2/extras/upgrade/upgrade-jar/src/main/java/com/sun/enterprise/tools/upgrade/common/
H A DArgsParser.java111 private ArgumentHandler getArgHandler(String cmd) { argument
115 clazz = Class.forName("com.sun.enterprise.tools.upgrade.common.arguments.ARG_" + cmd);
129 aHandler.setCmd(cmd);
132 sm.getString("enterprise.tools.upgrade.cli.invalid_option",cmd), ex);
/glassfish-3.1.2/common/glassfish-api/src/main/java/org/glassfish/api/admin/
H A DInstanceState.java148 public void addFailedCommands(String cmd) { argument
154 failedCommands.add(cmd);
/glassfish-3.1.2/core/kernel/src/main/java/com/sun/enterprise/v3/admin/
H A DListCommandDescriptorsCommand.java81 for (AdminCommand cmd : adminCmds) {
82 cliCmds.add(reflect(cmd));
93 private CLICommand reflect(AdminCommand cmd) { argument
94 CLICommand cliCmd = new CLICommand(cmd);
96 for (Field f : cmd.getClass().getDeclaredFields()) {
/glassfish-3.1.2/cluster/ssh/src/main/java/org/glassfish/cluster/ssh/connect/
H A DNodeRunnerDcom.java137 private void setupAuthTokenFile(List<String> cmd, List<String> stdin) throws WindowsException { argument
144 cmd.add(AsadminInput.CLI_INPUT_OPTION);
145 cmd.add(authTokenFilePath);
214 private boolean isCommand(List<String> args, final String cmd) { argument
215 if (!ok(cmd))
219 if (arg != null && arg.equals(cmd))
/glassfish-3.1.2/common/common-util/src/main/java/com/sun/enterprise/util/
H A DProcessExecutor.java94 public ProcessExecutor(String[] cmd) argument
96 this(cmd, DEFAULT_TIMEOUT_SEC, null);
102 public ProcessExecutor(String[] cmd, String[] inputLines) argument
104 this(cmd, DEFAULT_TIMEOUT_SEC, inputLines);
110 public ProcessExecutor(String[] cmd, long timeoutSeconds) argument
112 this(cmd, timeoutSeconds, null);
115 public ProcessExecutor(String[] cmd, long timeoutSeconds, String[] inputLines) argument
117 this(cmd, timeoutSeconds, inputLines, null, null);
123 @param cmd String that has command name and its command line arguments
128 public ProcessExecutor(String[] cmd, lon argument
[all...]
/glassfish-3.1.2/tests/quicklook/admin/src/test/admin/util/
H A DGeneralUtils.java82 * @param cmd
87 public static String toFinalURL(String adminUrl, String cmd, Map<String, String>options, String operand) { argument
88 if (adminUrl == null || cmd == null)
89 throw new IllegalArgumentException("null adminURL/cmd not allowed");
93 buffer.append(cmd);

Completed in 130 milliseconds

123