Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.0-FINAL
-
None
Description
I had an error in my portlet.xml file; it referenced a security role that was not registered in web.xml. Instead of telling me this, PortletApplicationManager.java threw a "Failed to load portlet application for ..." exception. A new exception was thrown, so I could not see the real error.
I fixed this by changing the throw at line PortletApplicationManager.java:273 to include the nested exception.
Old:
catch (Exception e)
New:
catch (Exception e)
I've never commited code to your project and I'm not currently able to do a full build. (I built the jetspeed-portal-2.0.jar and copied it to a binary distribution.)