肯请banq能提供本论坛的源码和具体配置说明。

04-11-10 chenzq7

为了jive论坛,我买了java实用系统开发指南,可是按书上和本论坛的指引,我下载了jivedon2(不知是不最新版,说是utf-8 的,还有一个jivedon_2.5 好像是2002年的)。但按说明和配置,我一直没有成功,不知还要做那些修改,,问题有二,一是: Jive论坛版本: Jive(J��)) ,这里有乱码,另一个是:后台管理登录后,出现,Jive论坛Jive(J��)) 管理工具错误:

java.lang.NullPointerException

at com.jivesoftware.forum.database.DbAuthorizationFactory.createAuthorization(DbAuthorizationFactory.java:73)

at com.jivesoftware.forum.AuthorizationFactory.getAuthorization(AuthorizationFactory.java:57)

at org.apache.jsp.admin.login_jsp._jspService(login_jsp.java:66)

at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)

at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)

at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)

at com.jdon.util.HttpResponseCacheFilter.doFilter(HttpResponseCacheFilter.java:52)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)

at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)

at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)

at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)

at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)

at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)

at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)

at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)

at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)

at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)

at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)

at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)

at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)

at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)

at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)

at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)

at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)

at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)

at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)

at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)

at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)

at java.lang.Thread.run(Thread.java:534)

这可能是跟我的库没有连上,可是我改了jive_config.xml里的配置mysql的地方啊。还有一个问题就是,我用这个jivedon 版改成我的商业论坛,去运行,是否合法?谢谢!

banq
2004-11-10 09:42

这个问题以前帖子有回答,好像说是程序BUG,但是在我机器上运行正常,本程序只是研究学习用,无论从技术和法律上都不适合商业用。