[ 
https://issues.apache.org/jira/browse/GERONIMO-6126?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13098647#comment-13098647
 ] 

Han Hong Fang commented on GERONIMO-6126:
-----------------------------------------

It is required to updated geronimo-web.xml and web.xml before the app can be 
sucessfully deployed on Geronimo. See 
https://issues.apache.org/jira/browse/GERONIMO-6121 for the details.

> deploy of the Spring petclinic.war sample app fails
> ---------------------------------------------------
>
>                 Key: GERONIMO-6126
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-6126
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>    Affects Versions: 3.0
>            Reporter: Kevan Miller
>             Fix For: 3.0
>
>
> Deploying the petclinic.war app on Geroimo 3.0 fails as follows:
> {code}
> $ ./deploy deploy 
> ~/spring/spring-samples/petclinic/trunk/target/petclinic.war 
> Using GERONIMO_HOME:   
> /Users/kevan/geronimo/server/trunk/assemblies/geronimo-tomcat7-javaee6/target/geronimo-tomcat7-javaee6-3.0-SNAPSHOT
> Using GERONIMO_TMPDIR: var/temp
> Using JRE_HOME:        
> /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home
> 2011-08-25 11:37:05,880 ERROR [DeployTool] Error: 
> org.apache.geronimo.common.DeploymentException: Unable to deploy 
> petclinic.war: Problems encountered parsing web.xml: [
> No servlet matching servlet mappings for default]
>       at 
> org.apache.geronimo.deployment.cli.CommandDeploy.runCommand(CommandDeploy.java:43)
>       at 
> org.apache.geronimo.deployment.cli.CommandDistribute.executeOnline(CommandDistribute.java:148)
>       at 
> org.apache.geronimo.deployment.cli.CommandDistribute.execute(CommandDistribute.java:124)
>       at 
> org.apache.geronimo.deployment.cli.DeployTool.execute(DeployTool.java:171)
>       at 
> org.apache.geronimo.system.main.MainBridge.execute(MainBridge.java:64)
>       at org.apache.geronimo.main.Bootstrapper.execute(Bootstrapper.java:65)
>       at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:65)
>       at 
> org.apache.geronimo.cli.deployer.DeployerCLI.main(DeployerCLI.java:32)
> {code}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to