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