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

SAXException in opencms

Started by Jaipal, May 13, 2009, 04:00:26 pm

Previous topic - Next topic

Jaipal

hi,
        I am trying opencms7.0.5 integration with the konakart server, and followed the instructions to setup openCms. I imported the konakart-opencms module (com.konakart_22.60.0.zip)

in to openCms and restarted the tomcat servlet container.

On invoking, http://localhost:8080/opencms/opencms/konakart-integration/index.jsp, I get the SAXException (please see below).

Obviously, I have missed something . Any clues will be much appreciated.

Thanks for the help,
--Jaipal.


javax.servlet.ServletException: javax.servlet.jsp.JspException: ; nested exception is:
   org.xml.sax.SAXException: Invalid element in com.konakart.wsapp.Product - storeId
   at org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:837)
   at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:774)
   at org.apache.jsp.WEB_002dINF.jsp.offline.sites.default_.konakart_002dintegration.index_jsp._jspService(index_jsp.java:84)
   at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
   at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331)
   at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
   at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
   at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:679)
   at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:584)
   at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:497)
   at org.opencms.flex.CmsFlexRequestDispatcher.includeExternal(CmsFlexRequestDispatcher.java:194)
   at org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:169)
   at org.opencms.loader.CmsJspLoader.service(CmsJspLoader.java:1193)
   at org.opencms.flex.CmsFlexRequestDispatcher.includeInternalWithCache(CmsFlexRequestDispatcher.java:423)
   at org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:173)
   at org.opencms.loader.CmsJspLoader.dispatchJsp(CmsJspLoader.java:1227)
   at org.opencms.loader.CmsJspLoader.load(CmsJspLoader.java:1171)
   at org.opencms.loader.CmsResourceManager.loadResource(CmsResourceManager.java:964)
   at org.opencms.main.OpenCmsCore.showResource(OpenCmsCore.java:1498)
   at org.opencms.main.OpenCmsServlet.doGet(OpenCmsServlet.java:152)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:627)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
   at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
   at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
   at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:875)
   at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
   at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
   at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
   at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
   at java.lang.Thread.run(Thread.java:595)

egf

Hi,

I have the same exception but working with OpenCms 7.5.0 and konakart 4.1.0.0 in Tomcat 5.5. I have followed the instructions of the Documentation included in the Konakart-OpenCms module without problems.

The exact exception is:

javax.servlet.ServletException: javax.servlet.jsp.JspException: ; nested exception is:
   java.net.ConnectException: Connection refused: connect
   at org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:837)
   at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:774)
   at org.apache.jsp.WEB_002dINF.jsp.offline.sites.default_.konakart_002dintegration.index_jsp._jspService(index_jsp.java:84)
   at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
   at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331)
   at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
   at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
   at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:679)
   at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:584)
   at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:497)
   at org.opencms.flex.CmsFlexRequestDispatcher.includeExternal(CmsFlexRequestDispatcher.java:194)
   at org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:169)
   at org.opencms.loader.CmsJspLoader.service(CmsJspLoader.java:555)
   at org.opencms.flex.CmsFlexRequestDispatcher.includeInternalWithCache(CmsFlexRequestDispatcher.java:423)
   at org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:173)
   at org.opencms.loader.CmsJspLoader.dispatchJsp(CmsJspLoader.java:829)
   at org.opencms.loader.CmsJspLoader.load(CmsJspLoader.java:512)
   at org.opencms.loader.CmsResourceManager.loadResource(CmsResourceManager.java:964)
   at org.opencms.main.OpenCmsCore.showResource(OpenCmsCore.java:1524)
   at org.opencms.main.OpenCmsServlet.doGet(OpenCmsServlet.java:152)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:627)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
   at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
   at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
   at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:875)
   at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
   at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
   at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
   at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
   at java.lang.Thread.run(Unknown Source)

Any idea would be very useful.

Thanks

trevor

They don't look the same to me except that they are both nested exceptions. The first one says:

org.xml.sax.SAXException: Invalid element in com.konakart.wsapp.Product - storeId

and yours says:

java.net.ConnectException: Connection refused: connect