wso2 am - javax.servlet.jsp.JspException: IO Error executing tag: JSPException while including path '/generic-sts/sts.jsp' -
enviroments:
- wso2 api manager 1.9.1
- os: ubuntu 12.08
- jdk: 1.7
problem:
when tried add service provider on carbon web console , enabled saml2 web sso configuration , clicked configurate had error next message:
[2015-10-27 17:32:42,713] error - applicationdispatcher servlet.service() servlet bridgeservlet threw exception java.io.filenotfoundexception: /sso-saml/add_service_provider.jsp @ org.apache.jasper.servlet.jspservlet.servicejspfile(jspservlet.java:463) @ org.apache.jasper.servlet.jspservlet.service(jspservlet.java:378) @ javax.servlet.http.httpservlet.service(httpservlet.java:848) @ org.wso2.carbon.ui.jspservlet.service(jspservlet.java:155) @ org.wso2.carbon.ui.tilesjspservlet.service(tilesjspservlet.java:80) @ javax.servlet.http.httpservlet.service(httpservlet.java:848) @ org.eclipse.equinox.http.helper.contextpathservletadaptor.service(contextpathservletadaptor.java:37) @ org.eclipse.equinox.http.servlet.internal.servletregistration.service(servletregistration.java:61) @ org.eclipse.equinox.http.servlet.internal.proxyservlet.processalias(proxyservlet.java:128) @ org.eclipse.equinox.http.servlet.internal.proxyservlet.service(proxyservlet.java:68) @ javax.servlet.http.httpservlet.service(httpservlet.java:848) @ org.wso2.carbon.tomcat.ext.servlet.delegationservlet.service(delegationservlet.java:68) @ org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:303) @ org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:208) @ org.apache.catalina.core.applicationdispatcher.invoke(applicationdispatcher.java:748) @ org.apache.catalina.core.applicationdispatcher.doinclude(applicationdispatcher.java:604) @ org.apache.catalina.core.applicationdispatcher.include(applicationdispatcher.java:543) @ org.eclipse.equinox.http.servlet.internal.requestdispatcheradaptor.include(requestdispatcheradaptor.java:37) @ org.eclipse.equinox.http.helper.contextpathservletadaptor$requestdispatcheradaptor.include(contextpathservletadaptor.java:369) @ org.apache.jasper.runtime.jspruntimelibrary.include(jspruntimelibrary.java:1015) @ org.apache.jasper.runtime.pagecontextimpl.include(pagecontextimpl.java:700) @ sun.reflect.generatedmethodaccessor39.invoke(unknown source) @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:43) @ java.lang.reflect.method.invoke(method.java:606) @ org.apache.tiles.jsp.context.jsputil.doinclude(jsputil.java:87) @ org.apache.tiles.jsp.context.jsptilesrequestcontext.include(jsptilesrequestcontext.java:88) @ org.apache.tiles.jsp.context.jsptilesrequestcontext.dispatch(jsptilesrequestcontext.java:82) @ org.apache.tiles.impl.basictilescontainer.render(basictilescontainer.java:465) @ org.apache.tiles.jsp.taglib.insertattributetag.render(insertattributetag.java:140) @ org.apache.tiles.jsp.taglib.insertattributetag.render(insertattributetag.java:117) @ org.apache.tiles.jsp.taglib.rendertagsupport.execute(rendertagsupport.java:171) @ org.apache.tiles.jsp.taglib.rolesecuritytagsupport.doendtag(rolesecuritytagsupport.java:75) @ org.apache.tiles.jsp.taglib.containertagsupport.doendtag(containertagsupport.java:80) @ org.apache.jsp.admin.layout.template_jsp._jspx_meth_tiles_ins`enter code here`ertattribute_7(org.apache.jsp.admin.layout.template_jsp:603) @ org.apache.jsp.admin.layout.template_jsp._jspservice(org.apache.jsp.admin.layout.template_jsp:335) @ org.apache.jasper.runtime.httpjspbase.service(httpjspbase.java:111) @ javax.servlet.http.httpservlet.service(httpservlet.java:848) @ org.apache.jasper.servlet.jspservletwrapper.service(jspservletwrapper.java:403) @ org.apache.jasper.servlet.jspservlet.servicejspfile(jspservlet.java:492) @ org.apache.jasper.servlet.jspservlet.service(jspservlet.java:378) @ javax.servlet.http.httpservlet.service(httpservlet.java:848) @ org.wso2.carbon.ui.jspservlet.service(jspservlet.java:155) @ org.wso2.carbon.ui.tilesjspservlet.service(tilesjspservlet.java:80) @ javax.servlet.http.httpservlet.service(httpservlet.java:848)
if start apim in linux environment please verify wso2server.sh file has following configuration.
-dorg.apache.jasper.compiler.parser.strict_quote_escaping=false \”
if starts apim window service, in carbon 4.4.x, default wrapper.conf file needs updated following additional entries.
wrapper.java.additional.26 = -dwso2.carbon.xml=${carbon_home}\\repository\\conf\\carbon.xml wrapper.java.additional.27 = -dwso2.registry.xml=${carbon_home}\\repository\\conf\\registry.xml wrapper.java.additional.28 = -dwso2.user.mgt.xml=${carbon_home}\\repository\\conf\\user-mgt.xml wrapper.java.additional.29 = -dwso2.transports.xml=${carbon_home}\\repository\\conf\\mgt-transports.xml wrapper.java.additional.31 = -dorg.apache.jasper.compiler.parser.strict_quote_escaping=false wrapper.java.additional.33 = -dfile.encoding=utf8
you can verify these configurations in wrapper.conf , these configurations may solve jsp error.
Comments
Post a Comment