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

Ivan commented on GERONIMO-6126:
--------------------------------

There is no default value for the servlet name , the name "default" is from the 
Tomcat server configuration, which is for accessing static resources in the web 
application, you might check the file in the var/catalina/conf/web.xml file. I 
think that the problem here is that, whether it is allowed users to override 
the default configurations for the 'default' and 'jsp' servlet from the web 
application's web.xml file.

> 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