关于部署JdonNews时的问题

06-06-06 sunyanbing
我在网上下载jdon framework1.4后,按照install说明部署news,jboss

版本为4.02,控制台成功启动后,在ie中运行http://127.0.0.1:8080/MyWeb后控制台报如下错误,请问是什么原因造成的啊?谢谢

22:58:37,622 INFO [Server] JBoss (MX MicroKernel) [4.0.2 (build: CVSTag=JBoss_4

_0_2 date=200505022023)] Started in 20s:870ms

22:58:45,313 INFO [ContainerDirector] <======== Jdon Framework started succes

sfully! =========>

22:58:45,454 ERROR [MethodInvokerUtil] [JdonFramework] method invoke IllegalArgu

mentException: java.lang.IllegalArgumentException: object is not an instance of

declaring class

22:58:45,454 ERROR [root] news.web.NewsTypeListAction

java.lang.reflect.UndeclaredThrowableException

at $Proxy79.getNewsTypePage(Unknown Source)

at news.web.NewsTypeListAction.getPageIterator(NewsTypeListAction.java:2

2)

at com.jdon.strutsutil.ModelListAction.execute(ModelListAction.java:65)

at org.apache.struts.action.RequestProcessor.processActionPerform(Reques

tProcessor.java:419)

at org.apache.struts.action.RequestProcessor.process(RequestProcessor.ja

va:224)

at org.apache.struts.action.ActionServlet.process(ActionServlet.java:119

4)

at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)

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

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.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:81)

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.CustomPrincipalValve.invoke(CustomPrinc

ipalValve.java:39)

at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Securit

yAssociationValve.java:153)

at org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica

torBase.java:407)

at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValv

e.java:59)

at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j

ava:126)

at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j

ava:105)

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

:856)

at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce

ssConnection(Http11Protocol.java:744)

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)

Caused by: java.lang.Throwable: java.lang.Throwable: java.lang.Throwable: java.l

ang.Throwable: check your interceptor :

at com.jdon.bussinessproxy.dyncproxy.DynamicProxyWeaving.invoke(DynamicP

roxyWeaving.java:66)

... 32 more

Caused by: java.lang.Throwable: java.lang.Throwable: java.lang.Throwable: check

your interceptor :

at com.jdon.aop.AopClient.invoke(AopClient.java:100)

at com.jdon.bussinessproxy.dyncproxy.DynamicProxyWeaving.invoke(DynamicP

roxyWeaving.java:61)

... 32 more

Caused by: java.lang.Throwable: java.lang.Throwable: check your interceptor :

at com.jdon.aop.reflection.ProxyMethodInvocation.methodInvoke(ProxyMetho

dInvocation.java:114)

at com.jdon.aop.reflection.ProxyMethodInvocation.proceed(ProxyMethodInvo

cation.java:76)

at com.jdon.aop.interceptor.CacheInterceptor.invoke(CacheInterceptor.jav

a:59)

at com.jdon.aop.reflection.ProxyMethodInvocation.proceed(ProxyMethodInvo

cation.java:84)

at com.jdon.aop.AopClient.invoke(AopClient.java:95)

... 33 more

Caused by: java.lang.Throwable: check your interceptor :

at com.jdon.aop.reflection.MethodInvokerUtil.execute(MethodInvokerUtil.j

ava:61)

at com.jdon.aop.reflection.ProxyMethodInvocation.methodInvoke(ProxyMetho

dInvocation.java:105)

... 37 more

Caused by: java.lang.IllegalArgumentException: object is not an instance of decl

aring class

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.

java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces

sorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:585)

at com.jdon.aop.reflection.MethodInvokerUtil.execute(MethodInvokerUtil.j

ava:56)

... 38 more

22:58:45,454 WARN [RequestProcessor] Unhandled Exception thrown: class java.lan

g.Exception

22:58:45,464 ERROR [[action]] Servlet.service() for servlet action threw excepti

on

java.lang.Exception: getPageIterator's result is null, check your ModelListActio

n subclass

at com.jdon.strutsutil.ModelListAction.execute(ModelListAction.java:67)

at org.apache.struts.action.RequestProcessor.processActionPerform(Reques

tProcessor.java:419)

at org.apache.struts.action.RequestProcessor.process(RequestProcessor.ja

va:224)

at org.apache.struts.action.ActionServlet.process(ActionServlet.java:119

4)

at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)

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

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.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:81)

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.CustomPrincipalValve.invoke(CustomPrinc

ipalValve.java:39)

at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Securit

yAssociationValve.java:153)

at org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica

torBase.java:407)

at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValv

e.java:59)

at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j

ava:126)

at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j

ava:105)

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

:856)

at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce

ssConnection(Http11Protocol.java:744)

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)

banq
2006-06-08 09:45
>object is not an instance of declaring class

重新启动JBoss。

sunyanbing
2006-06-08 20:02
重新启动后问题依旧,还会是什么问题呢?我的jdk1.5.06,jboss4.02,会和版本有关系吗?谢谢!

banq
2006-06-09 11:21
这个问题研究中。。。

sunyanbing
2006-06-09 18:41
等待中...

springwinder
2007-04-23 14:23
我也遇到了这个问题;

banq 研究出来了吗?

猜你喜欢