[ http://issues.apache.org/jira/browse/GERONIMO-480?page=all ]
Vamsavardhana Reddy closed GERONIMO-480. ---------------------------------------- > Poor Error Message on Deploy of Existing WebApp > ----------------------------------------------- > > Key: GERONIMO-480 > URL: http://issues.apache.org/jira/browse/GERONIMO-480 > Project: Geronimo > Issue Type: Bug > Components: deployment > Affects Versions: 1.0-M3 > Environment: WinXP, JDK 1.4.2 > Reporter: Seth Ladd > Assigned To: Aaron Mulder > Fix For: 1.0-M5 > > Attachments: geronimo-480.patch > > > I successfully deployed a simple webapp using the commandline deploy tool. I > attempted to deploy the webapp again, thinking it might redeploy the webapp. > I received a cryptic stack trace: > C:\geronimo-1.0-M3>java -jar bin\deployer.jar deploy > c:\eclipse\workspace\Minima > lWebapp\build\minimaltest.war > Username: system > Password: manager > Deployment failed > Server reports: Unable to register configuration > org.apache.geronimo.kernel.config.InvalidConfigException: Unable to register > con > figuration > at > org.apache.geronimo.kernel.config.ConfigurationManagerImpl.load(Confi > gurationManagerImpl.java:161) > at > org.apache.geronimo.kernel.config.ConfigurationManagerImpl.load(Confi > gurationManagerImpl.java:146) > at > org.apache.geronimo.kernel.config.ConfigurationManagerImpl.load(Confi > gurationManagerImpl.java:127) > at > org.apache.geronimo.kernel.Kernel.startConfiguration(Kernel.java:416) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > It would be nice if a helpful error message was displayed, something like > "Error: deployment failed. Reason: application already exists in server. > Please undeploy or use the ReDeploy task". -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira