geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron Mulder (JIRA)" <...@geronimo.apache.org>
Subject [jira] Updated: (GERONIMO-480) Poor Error Message on Deploy of Existing WebApp
Date Sat, 27 Aug 2005 02:05:06 GMT
     [ http://issues.apache.org/jira/browse/GERONIMO-480?page=all ]

Aaron Mulder updated GERONIMO-480:
----------------------------------

      Component: deployment
                     (was: web)
    Fix Version: 1.0-M5
    Description: 
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".

  was:
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".

      Assign To: Aaron Mulder

> Poor Error Message on Deploy of Existing WebApp
> -----------------------------------------------
>
>          Key: GERONIMO-480
>          URL: http://issues.apache.org/jira/browse/GERONIMO-480
>      Project: Geronimo
>         Type: Bug
>   Components: deployment
>     Versions: 1.0-M3
>  Environment: WinXP, JDK 1.4.2
>     Reporter: Seth Ladd
>     Assignee: 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


Mime
View raw message