Uploaded image for project: 'Geronimo'
  1. Geronimo
  2. GERONIMO-4533

Fix "This is ridiculous" error messages on command execution

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1.3, 2.2
    • 2.1.4, 2.1.5, 2.2
    • None
    • Security Level: public (Regular issues)
    • None

    Description

      Depending on the terminal you're running from, some commands will display a "This is ridiculous" error message:

      bash-3.2$ ./deploy.sh undeploy com.test/testwar/1.0/war
      Using GERONIMO_HOME: /Users/kevan/geronimo/server/branches/2.1/target/geronimo-tomcat6-javaee5-2.1.4-SNAPSHOT
      Using GERONIMO_TMPDIR: var/temp
      Using JRE_HOME: /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home
      Username: system
      system
      Password: ***
      Module com.test/testwar/1.0/war unloaded.
      Module com.test/testwar/1.0/war uninstalled.

      line= Undeployed com.test/testwar/1.0/war; indent= 4; endCol= 0
      Exception in thread "main" java.lang.IllegalArgumentException: This is ridiculous! line= Undeployed com.test/testwar/1.0/war; indent= 4; endCol= 0
      at org.apache.geronimo.deployment.cli.DeployUtils.println(DeployUtils.java:103)
      at org.apache.geronimo.deployment.cli.CommandStart.execute(CommandStart.java:66)
      at org.apache.geronimo.deployment.cli.DeployTool.execute(DeployTool.java:164)
      at org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(MainConfigurationBootstrapper.java:45)
      at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:67)
      at org.apache.geronimo.cli.deployer.DeployerCLI.main(DeployerCLI.java:31)

      Attachments

        Issue Links

          Activity

            People

              drwoods Donald Woods
              kevan Kevan Lee Miller
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: