Does not echo the command after expection occur in command line deploy.sh
-------------------------------------------------------------------------
Key: GERONIMO-4589
URL: https://issues.apache.org/jira/browse/GERONIMO-4589
Project: Geronimo
Issue Type: Bug
Security Level: public (Regular issues)
Components: commands
Affects Versions: 2.1.4
Environment: This problem is reproduced on following platforms:
- Redhat 5.2
- AIX 6.1
- Susu Linux Enterprise Server 10
- Ubuntu 8
Reporter: Han Hong Fang
Steps to reproduce this problem:
1. start Geronimo server
2. deploy a sample web app from command line using: ./deploy.sh deploy
$sample_home/cviewer-2.1.1.2.war, and it can be installed and started
successfully, and its module id is com.ibm.wasce.samples/cviewer/2.1.1.2/car;
3. Try to stop the module from command line with wrong module id: ./deploy.sh
stop com.ibm.wasce.samples/cviewer, then the following exception occurs
Using GERONIMO_HOME: /home/jeff/IBM/Framework-1.0_online_J2EE_deployer
Using GERONIMO_TMPDIR: var/temp
Using JRE_HOME: /opt/ibm/java-i386-60/jre
Exception in thread "main" java.lang.IllegalArgumentException: id must be in
the form
[groupId]/[artifactId]/[version]/[type] : com.ibm.wasce.samples/cviewer/2.1.1.2
at java.lang.Throwable.<init>(Throwable.java:67)
at
org.apache.geronimo.kernel.repository.Artifact.create(Artifact.java:59)
at
org.apache.geronimo.kernel.repository.Artifact.create(Artifact.java:51)
at
org.apache.geronimo.deployment.plugin.ConfigIDExtractor.identifyTargetModuleIDs(ConfigIDExtractor.java:193)
at
org.apache.geronimo.deployment.cli.CommandStart.execute(CommandStart.java:57)
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)
The problem is after this exception, the terminal will no echo any command you
type. e.g,. if you type "ls", you can not see "ls" being ehcoed in terminal,
but if you click enter, you can see the command still works.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.