初学者请教Jivejon3的问题

08-10-26 raylin
请问一下我装了JIVEJON3 但启动http://localhost:8080/jivejdon/的时候出现错误,
请问是不是只能用论坛的JBOSS才可以?

oojdon
2008-10-26 01:16
出现错误要把错误日志帖出来,这样才可以找出错根源。
tomcat版jivejdon可以提供快速的体验,呵呵!!
http://www.jdon.com/jdonframework/download.html

raylin
2008-10-26 10:40
谢谢,昨晚贴错误日志的时候,可能由于日志太多,老是发不出去:

SuppressTransformationErrors set to true in jboss.aop:service=AspectManager

2008-10-25 10:38:44,203 DEBUG [org.jboss.mq.pm.jdbc2.PersistenceManager] Could not create table with SQL: CREATE CACHED TABLE JMS_MESSAGES ( MESSAGEID INTEGER NOT NULL, DESTINATION VARCHAR(255) NOT NULL, TXID INTEGER, TXOP CHAR(1), MESSAGEBLOB OBJECT, PRIMARY KEY (MESSAGEID, DESTINATION) )
java.sql.SQLException: Table already exists: JMS_MESSAGES in statement [CREATE CACHED TABLE JMS_MESSAGES]
at org.hsqldb.jdbc.Util.throwError(Unknown Source)
at org.hsqldb.jdbc.jdbcPreparedStatement.executeUpdate(Unknown Source)
at org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.executeUpdate(WrappedPreparedStatement.java:227)
at org.jboss.mq.pm.jdbc2.PersistenceManager.createSchema(PersistenceManager.java:240)
at org.jboss.mq.pm.jdbc2.PersistenceManager.startService(PersistenceManager.java:1490)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:287)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:236)
at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:974)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:453)
at org.jboss.system.ServiceController.start(ServiceController.java:471)
at org.jboss.system.ServiceController.start(ServiceController.java:471)
at org.jboss.system.ServiceController.start(ServiceController.java:471)
at org.jboss.system.ServiceController.start(ServiceController.java:471)
at org.jboss.system.ServiceController.start(ServiceController.java:471)
at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
at $Proxy4.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:276)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
at org.jboss.mx.server.MBeanServerImpl.invoke

banq
2008-10-27 13:41
这个jms durable数据库没有配问题,不是jdon框架错误,可以正常使用。

raylin
2008-10-27 23:31
谢谢bang老师,但我用http://localhost:8080/jivejdon/的时候出现以下错误:
type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

org.apache.jasper.JasperException
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:370)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
com.jdon.jivejdon.presentation.filter.DisableUrlSessionFilter.doFilter(DisableUrlSessionFilter.java:80)
org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:738)
com.jdon.util.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:92)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)


root cause

java.lang.NullPointerException
org.apache.struts.taglib.TagUtils.computeURLWithCharEncoding(TagUtils.java:446)
org.apache.struts.taglib.TagUtils.computeURLWithCharEncoding(TagUtils.java:329)
org.apache.struts.taglib.logic.RedirectTag.generateRedirectURL(RedirectTag.java:296)
org.apache.struts.taglib.logic.RedirectTag.doEndTag(RedirectTag.java:270)
org.apache.jsp.index_jsp._jspx_meth_logic_redirect_0(org.apache.jsp.index_jsp:81)
org.apache.jsp.index_jsp._jspService(org.apache.jsp.index_jsp:57)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
com.jdon.jivejdon.presentation.filter.DisableUrlSessionFilter.doFilter(DisableUrlSessionFilter.java:80)
org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:738)
com.jdon.util.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:92)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)


note The full stack trace of the root cause is available in the Apache Tomcat/5.5.9 logs.

banq
2008-10-28 15:05
你贴的日子问题不是出错的根本原因,而是别的出错导致这里出错,要找到根本原因。

按照JiveJdon3说明书,打开server.log日志,寻找第一个ERROR,对于JavaEE初学者,建议使用本站提供的JBoss运行,因为自己配置JBoss调试需要很多JEE基础知识,不能一蹴而就。

raylin
2008-11-01 09:22
谢谢,我已使用本站提供的JBOSS,可以运行,但我一发帖子就出现了问题:
操作显示成功,但插入数据失败:
09:10:47,906 ERROR [POJOObjectFactory] [JdonFramework]create error: java.lang.No
ClassDefFoundError: org/jdom/Content
09:10:47,906 ERROR [DefaultTargetServiceFactory] [JdonFramework]create error: ja
va.lang.Exception: java.lang.NoClassDefFoundError: org/jdom/Content
09:10:47,906 ERROR [Debug] com.jdon.aop.interceptor.PoolInterceptor
java.lang.NullPointerException
at com.jdon.aop.interceptor.PoolInterceptor.invoke(PoolInterceptor.java:
105)
at com.jdon.aop.reflection.ProxyMethodInvocation.proceed(ProxyMethodInvo
cation.java:84)
at com.jdon.jivejdon.auth.PermissionInterceptor.invoke(PermissionInterce
ptor.java:113)
at com.jdon.aop.reflection.ProxyMethodInvocation.proceed(ProxyMethodInvo
cation.java:84)
at com.jdon.aop.interceptor.CacheInterceptor.invoke(CacheInterceptor.jav
a:58)
at com.jdon.aop.reflection.ProxyMethodInvocation.proceed(ProxyMethodInvo
cation.java:84)
at com.jdon.aop.AopClient.invoke(AopClient.java:73)
at com.jdon.container.access.ServiceAccessorImp.executeService(ServiceAc
cessorImp.java:50)
at com.jdon.controller.service.WebServiceDecorator.execute(WebServiceDec
orator.java:87)
at com.jdon.controller.service.WebServiceImp.execute(WebServiceImp.java:
73)
at com.jdon.controller.service.WebServiceImp.execute(WebServiceImp.java:
58)
at com.jdon.model.handler.XmlModelHandler.serviceAction(XmlModelHandler.
java:132)
at com.jdon.strutsutil.ModelSaveAction.execute(ModelSaveAction.java:88)
at org.apache.struts.action.RequestProcessor.processActionPerform(Reques
tProcessor.java:421)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.ja
va:226)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:116
4)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:415)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:173)
at com.jdon.jivejdon.presentation.filter.DisableUrlSessionFilter.doFilte
r(DisableUrlSessionFilter.java:80)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:173)
at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewrit
eFilter.java:738)

raylin
2008-11-01 09:23
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:173)
at com.jdon.jivejdon.presentation.filter.SpamFilter.doFilter(SpamFilter.
java:104)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:173)
at com.jdon.util.SetCharacterEncodingFilter.doFilter(SetCharacterEncodin
gFilter.java:92)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:173)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFi
lter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:178)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Securit
yAssociationValve.java:175)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica
torBase.java:524)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValv
e.java:74)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:105)
at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConne
ctionValve.java:156)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.p
rocessConnection(Http11BaseProtocol.java:664)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo
int.java:527)
at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWor
kerThread.java:112)
at java.lang.Thread.run(Thread.java:595)
不知道怎么回事。