Details
-
Bug
-
Status: Closed
-
Resolution: Fixed
-
6.2.10 EE GA1, 6.2.X EE, 7.0.0 Beta 5
-
6.2.x
-
Committed
-
1.25
-
3
Description
Reproduction Steps:
- Deploy Marketplace and Web Form portlets
- Deploy the attached SpringMVCTest web plugin that depends on Marketplace and Web Form portlets and uses PortalDelegateServlet delegating to Spring's DispatcherServlet.
- Visit the link http://localhost:8080/delegate/users/synchronize
Checkpoint: The plugin deploys correctly and you see the log message:Controller executed successfully.
- Restart the portal
- Visit the link http://localhost:8080/delegate/users/synchronize
Result:
Actual: You are redirected to portal welcome page and following appears in log:
13:42:23,689 WARN [PageNotFound:1114] No mapping found for HTTP request with URI [/delegate/users/synchronize] in DispatcherServlet with name 'delegate' 13:42:23,752 WARN [http-bio-8080-exec-10][code_jsp:130] {code="404", msg="", uri=/delegate/users/synchronize}
Expected: You see the log message:
Controller executed successfully.
Note: As Tomcat's FAQ says: "There is no expected startup order." (http://wiki.apache.org/tomcat/FAQ/Miscellaneous#Q27) In my environment the issue was reproducible, because Tomcat tried to deploy SpringMVCTest after Marketplace portlet, but before web-form-portlet. Due to this fact it may be possible that you won't be able to reproduce the issue with the above steps and test portlet.
Attachments
Issue Links
- relates
-
LPE-14703 Spring Web MVC module which uses PortalDelegateServlet doesn't initialize correctly
-
- Closed
-