• Welcome to KonaKart Community Forum. Please login or sign up.
 

OpenCms Module demo: error (403)Forbidden

Started by mathias.lin, May 14, 2011, 03:20:23 pm

Previous topic - Next topic

mathias.lin

I've build the latest KK and KK Admin and deployed it on the same Tomcat under port 8080 where I have my OpenCms installation running (all on localhost).
Further, I have installed the OpenCms module. I also edited the port number in the OpenCms module to port 8080 and built the konakart-opencms.jar and deployed that to the Tomcat lib folder again afterwards.
Further, I modified both server-config.wsdd files in the deployed KK and KK Admin projects: changed the allowedMethods parameter to "*".
And restarted Tomcat.

Now when I open the /opencms/konakart-integration/index.jsp demo page in OpenCms, I am getting a 403 error.
Anything I've missed?

javax.servlet.ServletException: javax.servlet.jsp.JspException: (403)Forbidden
at org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:911)
at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:844)
at org.apache.jsp.WEB_002dINF.jsp.offline.sites.default_.konakart_002dintegration.index_jsp._jspService(index_jsp.java:96)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:417)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:391)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:306)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:581)
at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:518)
at org.opencms.flex.CmsFlexRequestDispatcher.includeExternal(CmsFlexRequestDispatcher.java:196)
at org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:171)
at org.opencms.loader.CmsJspLoader.service(CmsJspLoader.java:627)
at org.opencms.flex.CmsFlexRequestDispatcher.includeInternalWithCache(CmsFlexRequestDispatcher.java:425)
at org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:175)
at org.opencms.loader.CmsJspLoader.dispatchJsp(CmsJspLoader.java:901)
at org.opencms.loader.CmsJspLoader.load(CmsJspLoader.java:532)
at org.opencms.loader.CmsResourceManager.loadResource(CmsResourceManager.java:1057)
at org.opencms.main.OpenCmsCore.showResource(OpenCmsCore.java:1619)
at org.opencms.main.OpenCmsServlet.doGet(OpenCmsServlet.java:162)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:306)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:383)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:243)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:188)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:288)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:680)
Caused by: (403)Forbidden
at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:744)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:144)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:2443)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
at com.konakart.ws.KKWebServiceEngSoapBindingStub.getAllProducts(Unknown Source)
at org.apache.jsp.WEB_002dINF.jsp.offline.system.modules.com_konakart.elements.NewProductsBody_jsp._jspService(NewProductsBody_jsp.java:77)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:417)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:391)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:306)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:581)
at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:518)
at org.opencms.flex.CmsFlexRequestDispatcher.includeExternal(CmsFlexRequestDispatcher.java:196)
at org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:171)
at org.opencms.loader.CmsJspLoader.service(CmsJspLoader.java:627)
at org.opencms.flex.CmsFlexRequestDispatcher.includeInternalWithCache(CmsFlexRequestDispatcher.java:425)
at org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:175)
at org.opencms.jsp.CmsJspTagInclude.includeActionWithCache(CmsJspTagInclude.java:364)
at org.opencms.jsp.CmsJspTagInclude.includeTagAction(CmsJspTagInclude.java:240)
at org.opencms.jsp.CmsJspTagInclude.includeTagAction(CmsJspTagInclude.java:171)
at org.opencms.jsp.CmsJspActionElement.include(CmsJspActionElement.java:520)
at org.opencms.jsp.CmsJspActionElement.include(CmsJspActionElement.java:545)
at org.opencms.jsp.CmsJspActionElement.include(CmsJspActionElement.java:432)
at org.apache.jsp.WEB_002dINF.jsp.offline.sites.default_.konakart_002dintegration.index_jsp._jspService(index_jsp.java:79)
... 38 more

mathias.lin

Forgot to mention, I'm on Mac OS X 10.6.7 and firewall is (as per default) turned off.

mathias.lin

Checking the user guide again, I guess I missed to also change the axis client properties regarding different port, beside just the module wsdl file. Will try that later.