[Opensource] Help with kicking the tires
David Herron
davidh at 7gen.com
Tue Jul 16 21:06:14 PDT 2002
[Sandra will like to read this] - I'm setting up Expresso & eForum
and have also started on a toy application. But I'm running into a
few problems, some of which I've solved.
First, I'm using expresso 4.1ea3 -complete along with eForum 2-21
Like I said, I've written a toy app (single table) just to play
around. I remember from previous tire kicking sessions that there
was a simple way to run any DBObject class through some servlet
parameters w/o having to write any jsp/struts code. But I'm not
finding discussion in the documentation on doing this. I want to run
the class first to see that *it* is working before I dive into
learning struts.
Secondly, I decided to set up eForum, especially since Sandra claimed
it would be so easy ;-) ...
Problem 1: the class com.jcorporate.eforum.dbobj.ForumSecurity threw
a nasty Error in getValidValues. The line "String myName = ..." is
where the Error was thrown, and commenting it out cured the problem
(myName was not used anywhere).
Problem 2: First it was difficult from the documentation to figger
out where the main page for eForum would be. But I figgered that
out. However, in compiling frame.jsp a syntax error was found in
standard.inc. Changing the first couple lines to read as so fixed
it, but I also noticed elsewhere a CheckLogin.getInstance()... call
which would also work.
<% CheckLogin cl = new CheckLogin();
cl.checkLogin(request, response, getServletConfig());
...
%>
Problem 3: How do you set up new forums? I don't see documentation of this.
Problem 4: Now if I go to
http://127.0.0.1:8080/expresso/components/eforum/frame.jsp everything
loads except for the lefthand frame (loaded by toc.jsp). I get the
following report from Tomcat, and I've run out of time this evening
to do anything more. Where is GenericSession to be found??
type Exception report
message Internal Server Error
description The server encountered an internal error (Internal Server
Error) that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: Unable to compile class for JSP
An error occurred between lines: 8 and 71 in the jsp file:
/expresso/components/eforum/../../jsp/properSetup.inc
Generated servlet error:
/Users/david/Expresso/run/work/localhost/_/expresso/components/eforum/toc$jsp.java:130:
Undefined variable or class name: GenericSession
Object o =
GenericSession.getAttribute(request, "CurrentLogin");
^
An error occurred between lines: 8 and 71 in the jsp file:
/expresso/components/eforum/../../jsp/properSetup.inc
Generated servlet error:
/Users/david/Expresso/run/work/localhost/_/expresso/components/eforum/toc$jsp.java:154:
Class org.apache.jsp.DBException not found.
} catch(DBException e) {
^
Note:
/Users/david/Expresso/run/work/localhost/_/expresso/components/eforum/toc$jsp.java
uses or overrides a deprecated API. Recompile with "-deprecation"
for details.
2 errors, 1 warning
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:285)
at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:552)
at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:177)
at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:189)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at
org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2343)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1012)
at
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1107)
at java.lang.Thread.run(Thread.java:496)
More information about the Opensource
mailing list