Hello,
Late last week I installed the latest ConcourseSuite Community Edition on a Debian "testing" system running Tomcat 5.5.25, PostgreSQL 8.2, and Sun JVM 1.6. The install went OK but now I have a problem when trying to add a Contact to an Account. When I click on the "Add a contact" link I get taken to the URL "/Contacts.do?command=Prepare&orgId=1" and below the CS headers all I get on the page is the following text in red: "The included page caused a problem." In the Centric Tomcat log I see the following entry which points to a problem resolving the type of the CountrySelect. Does anybody have any idea of what's wrong?
ERROR [org.apache.catalina.core.ApplicationDispatcher] [23 Jan 2008 14:33:52,354] - Servlet.service() for servlet jsp threw exception
org.apache.jasper.JasperException: Unable to compile class for JSP:
JSP FileName:/accounts/../contacts/contact_include.jsp
Java FileName:/var/lib/tomcat5.5/work/Catalina/localhost/concoursesuite//org/apache/jsp/accounts/accounts_005fcontacts_005fadd_jsp.java
An error occurred at line: 427 in the jsp file: /accounts/../contacts/contact_include.jsp
CountrySelect cannot be resolved to a type
424: <%-- <script type="text/javascript">
425: update('address<%= acount %>country','<%= acount %>');
426: </script> --%>
427: <% CountrySelect = new CountrySelect(systemStatus); %>
428: </td>
429: </tr>
430: <tr class="containerBody">
JSP FileName:/accounts/../contacts/contact_include.jsp
Java FileName:/var/lib/tomcat5.5/work/Catalina/localhost/concoursesuite//org/apache/jsp/accounts/accounts_005fcontacts_005fadd_jsp.java
An error occurred at line: 534 in the jsp file: /accounts/../contacts/contact_include.jsp
CountrySelect cannot be resolved to a type
531: <%-- <script type="text/javascript">
532: update('address<%= acount %>country','<%= acount %>');
533: </script> --%>
534: <% CountrySelect = new CountrySelect(systemStatus); %>
535: </td>
536: </tr>
537: <tr class="containerBody">
JSP FileName:/accounts/../contacts/contact_include.jsp
Java FileName:/var/lib/tomcat5.5/work/Catalina/localhost/concoursesuite//org/apache/jsp/accounts/accounts_005fcontacts_005fadd_jsp.java
An error occurred at line: 641 in the jsp file: /accounts/../contacts/contact_include.jsp
CountrySelect cannot be resolved to a type
638: <%-- <script type="text/javascript">
639: update('address<%= acount %>country','<%= acount %>');
640: </script> --%>
641: <% CountrySelect = new CountrySelect(systemStatus); %>
642: </td>
643: </tr>
644: <tr class="containerBody">
Stacktrace:
at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:98)
at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)
at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:435)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:298)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:277)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:265)
at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:564)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:302)
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:802)
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:691)
at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:594)
at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:505)
at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:965)
at org.apache.jsp.templates.template1nav_jsp._jspService(template1nav_jsp.java:1013)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
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:802)
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:691)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:469)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:403)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
at com.darkhorseventures.framework.servlets.ControllerServlet.forward(Unknown Source)
at com.darkhorseventures.framework.servlets.ControllerServlet.service(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
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:691)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:469)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:403)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
at com.darkhorseventures.framework.servlets.ControllerServlet.forward(Unknown Source)
at com.darkhorseventures.framework.servlets.ControllerServlet.service(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
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:174)
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:151)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
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:619)
Thanks!
-Jason