com.sun.enterprise.cli.framework.CommandException: CLI175 Invalid target server specified, target sh ould be a cluster or server instance.

Coderanch | Rikin Asher | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Help!

    Coderanch | 1 decade ago | Rikin Asher
    com.sun.enterprise.cli.framework.CommandException: CLI175 Invalid target server specified, target sh ould be a cluster or server instance.

    Root Cause Analysis

    1. com.sun.enterprise.cli.framework.CommandException

      CLI175 Invalid target server specified, target sh ould be a cluster or server instance.

      at com.sun.enterprise.cli.commands.DeployCommand.runCommand()
    2. com.sun.enterprise
      DeployCommand.runCommand
      1. com.sun.enterprise.cli.commands.DeployCommand.runCommand(DeployCommand.java:104)
      1 frame
    3. CLI Framework
      CLIMain.invokeCLI
      1. com.sun.enterprise.cli.framework.CLIMain.invokeCommand(CLIMain.java:135)
      2. com.sun.enterprise.cli.framework.CLIMain.invokeCLI(CLIMain.java:31)
      2 frames
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:324)
      4 frames
    5. org.apache.tools
      AdminTask.execute
      1. org.apache.tools.ant.taskdefs.optional.sun.appserv.AppServerAdmin.execAdminCommand(AppServerAdmin.java:497)
      2. org.apache.tools.ant.taskdefs.optional.sun.appserv.AdminTask.execute(AdminTask.java:236)
      3. org.apache.tools.ant.taskdefs.optional.sun.appserv.AppServerAdmin.execute(AppServerAdmin.java:391)
      4. org.apache.tools.ant.taskdefs.optional.sun.appserv.AdminTask.execute(AdminTask.java:153)
      4 frames
    6. Ant
      Main.main
      1. org.apache.tools.ant.Task.perform(Task.java:341)
      2. org.apache.tools.ant.Target.execute(Target.java:309)
      3. org.apache.tools.ant.Target.performTasks(Target.java:336)
      4. org.apache.tools.ant.Project.executeTarget(Project.java:1339)
      5. org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:397)
      6. org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:143)
      7. org.apache.tools.ant.Task.perform(Task.java:341)
      8. org.apache.tools.ant.Target.execute(Target.java:309)
      9. org.apache.tools.ant.Target.performTasks(Target.java:336)
      10. org.apache.tools.ant.Project.executeTarget(Project.java:1339)
      11. org.apache.tools.ant.Project.executeTargets(Project.java:1255)
      12. org.apache.tools.ant.Main.runBuild(Main.java:609)
      13. org.apache.tools.ant.Main.start(Main.java:196)
      14. org.apache.tools.ant.Main.main(Main.java:235)
      14 frames