You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Han Hong Fang (JIRA)" <ji...@apache.org> on 2011/09/07 11:03:10 UTC

[jira] [Issue Comment Edited] (GERONIMO-6126) deploy of the Spring petclinic.war sample app fails

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

Han Hong Fang edited comment on GERONIMO-6126 at 9/7/11 9:02 AM:
-----------------------------------------------------------------

Sorry, I read the comments in web.xml incorrectly. According to the comments, GlassFish should not accept servlet-mapping using an undefined "default" servlet. Will check on GlassFish later.

      was (Author: hanhongfang):
    Sorry, I read the comments in web.xml incorrectly. According to the comments, GlassFish should not accept servlet-mapping use an undefined servlet with name as "default". Will check on GlassFish later.
  
> 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