[ 
http://issues.ops4j.org/browse/PAXWEB-209?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13490#action_13490
 ] 

Bryan Keller commented on PAXWEB-209:
-------------------------------------

Actually, the code I gave is not correct. The "default" string is not the name 
of the servlet, but rather the base path of the resource.

> War extender default context should be named "default"
> ------------------------------------------------------
>
>                 Key: PAXWEB-209
>                 URL: http://issues.ops4j.org/browse/PAXWEB-209
>             Project: Pax Web
>          Issue Type: Bug
>          Components: War Extender
>            Reporter: Bryan Keller
>            Assignee: Alin Dreghiciu
>
> The Pax-Web War Extender creates a default context with an empty string ("") 
> as its name. The standard name for this context when running Jetty standalone 
> is the name "default". Tools such as Spring MVC and Spring Roo expect this to 
> be the name of the default context when running in Jetty.
> The relevant line of code is in 
> org.ops4j.pax.web.extender.war.internal.RegisterWebAppVisitorWC.java, line 
> 126.
>             m_webContainer.registerResources(
>                 "/",
>                 "",
>                 m_httpContext
>             );
> should be:
>             m_webContainer.registerResources(
>                 "/",
>                 "default",
>                 m_httpContext
>             );

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.ops4j.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to