title: IO error accessing file in WS02 API manager on Amazon Linuc with Oracle JDK 1.8
body: <p>I am getting a few IO errors when trying to add items on the API manager console. Seems it can not find file /idpmgt/idp-mgt-edit.jsp I also get this error on file /generic/add_edit.jsp. I am currently running the application as root so it should have access to all the files it needs. </p>
  
  <p>Anyone know how to fix this?</p>
  
  <hr>
  
  <pre><code>2015-04-14 18:52:36,351 [-] [http-nio-9443-exec-44] ERROR RoleSecurityTagSupport IO Error executing tag: JSPException while including path '/idpmgt/idp-mgt-edit.jsp'. ServletException while including page.
  java.io.IOException: JSPException while including path '/idpmgt/idp-mgt-edit.jsp'. ServletException while including page.
          at org.apache.tiles.jsp.context.JspTilesRequestContext.include(JspTilesRequestContext.java:91)
          at org.apache.tiles.jsp.context.JspTilesRequestContext.dispatch(JspTilesRequestContext.java:82)
          at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:465)
          at org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttributeTag.java:140)
          at org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttributeTag.java:117)
          at org.apache.tiles.jsp.taglib.RenderTagSupport.execute(RenderTagSupport.java:171)
          at org.apache.tiles.jsp.taglib.RoleSecurityTagSupport.doEndTag(RoleSecurityTagSupport.java:75)
          at org.apache.tiles.jsp.taglib.ContainerTagSupport.doEndTag(ContainerTagSupport.java:80)
          at org.apache.jsp.admin.layout.template_jsp._jspx_meth_tiles_insertAttribute_7(org.apache.jsp.admin.layout.template_jsp:603)
          at org.apache.jsp.admin.layout.template_jsp._jspService(org.apache.jsp.admin.layout.template_jsp:335)
          at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
          at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:403)
          at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:492)
          at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:378)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
          at org.wso2.carbon.ui.JspServlet.service(JspServlet.java:155)
          at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:80)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
          at org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:37)
          at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
          at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
          at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
          at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
          at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)
          at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:487)
          at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:412)
          at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:339)
          at org.eclipse.equinox.http.servlet.internal.RequestDispatcherAdaptor.forward(RequestDispatcherAdaptor.java:30)
          at org.eclipse.equinox.http.helper.ContextPathServletAdaptor$RequestDispatcherAdaptor.forward(ContextPathServletAdaptor.java:362)
          at org.apache.tiles.servlet.context.ServletTilesRequestContext.forward(ServletTilesRequestContext.java:198)
          at org.apache.tiles.servlet.context.ServletTilesRequestContext.dispatch(ServletTilesRequestContext.java:185)
          at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:419)
          at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:370)
          at org.wso2.carbon.ui.action.ActionHelper.render(ActionHelper.java:52)
          at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:101)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
          at org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:37)
          at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
          at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
          at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
          at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
          at org.wso2.carbon.tomcat.ext.filter.CharacterSetFilter.doFilter(CharacterSetFilter.java:61)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
          at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
          at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
          at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
          at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
          at org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:178)
          at org.wso2.carbon.tomcat.ext.valves.CarbonTomcatValve$1.invoke(CarbonTomcatValve.java:47)
          at org.wso2.carbon.webapp.mgt.TenantLazyLoaderValve.invoke(TenantLazyLoaderValve.java:56)
          at org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:47)
          at org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:141)
          at org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:156)
          at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)
          at org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:52)
          at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
          at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
          at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
          at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
          at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1653)
          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
          at java.lang.Thread.run(Thread.java:745)
  </code></pre>