jdon6.2.1出错了!!!

10-03-07 yuanhotel

下载SimpleJdonFrameworkTest.rar例子,不行

是jdonframework_6.2.1.zip版本的例子,启动tomcat5.5报错如下:

btw:java version "1.6.0_17"

信息: SessionListener: contextInitialized()

2010-3-7 13:34:53 org.apache.coyote.http11.Http11BaseProtocol start

信息: Starting Coyote HTTP/1.1 on http-8080

2010-3-7 13:34:53 org.apache.jk.common.ChannelSocket init

信息: JK: ajp13 listening on /0.0.0.0:8009

2010-3-7 13:34:53 org.apache.jk.server.JkMain start

信息: Jk running ID=0 time=0/159 config=null

2010-3-7 13:34:53 org.apache.catalina.storeconfig.StoreLoader load

信息: Find registry server-registry.xml at classpath resource

2010-3-7 13:34:53 org.apache.catalina.startup.Catalina start

信息: Server startup in 9794 ms

2010-3-7 13:35:01 net.sf.ehcache.distribution.MulticastRMICacheManagerPeerProvider init

严重: Error starting heartbeat. Error was: 没有该设备

java.net.SocketException: 没有该设备

at java.net.PlainDatagramSocketImpl.join(Native Method)

at java.net.PlainDatagramSocketImpl.join(PlainDatagramSocketImpl.java:172)

at java.net.MulticastSocket.joinGroup(MulticastSocket.java:276)

at net.sf.ehcache.distribution.MulticastKeepaliveHeartbeatReceiver.init(MulticastKeepaliveHeartbeatReceiver.java:86)

at net.sf.ehcache.distribution.MulticastRMICacheManagerPeerProvider.init(MulticastRMICacheManagerPeerProvider.java:94)

at net.sf.ehcache.CacheManager.init(CacheManager.java:241)

at net.sf.ehcache.CacheManager.<init>(CacheManager.java:210)

at com.jdon.components.encache.EncacheProvider.start(EncacheProvider.java:52)

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:597)

at org.picocontainer.defaults.LifecycleVisitor.traverse(LifecycleVisitor.java:75)

at org.picocontainer.defaults.LifecycleVisitor.start(LifecycleVisitor.java:113)

at com.jdon.container.pico.JdonPicoContainer.start(JdonPicoContainer.java:411)

at com.jdon.container.pico.PicoContainerWrapper.start(PicoContainerWrapper.java:163)

at com.jdon.container.builder.ContainerDirector.startup(ContainerDirector.java:62)

at com.jdon.container.startup.ContainerSetupScript.startup(ContainerSetupScript.java:102)

at com.jdon.container.finder.ContainerFinderImp.findContainer(ContainerFinderImp.java:52)

at com.jdon.controller.WebAppUtil.getComponentInstance(WebAppUtil.java:118)

at com.jdon.strutsutil.ModelBaseAction.intContext(ModelBaseAction.java:51)

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

at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)

at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)

at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)

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

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

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

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

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

at com.jdon.util.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:92)

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

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:172)

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:174)

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

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)

查询jdon发现少了aopalliance.jar,在jdon3.62中没有找到,下载aopalliance.jar1.0版的,还是报上面的错,不知道是什么原因

oojdon
2010-03-07 14:23

运行的时候电脑连上外网试试

yuanhotel
2010-03-07 15:42

连上外网不报上面的错了,但是还是查不出数据,谢谢你的回复;

后台报错:

2010-03-07 15:36:13 ERROR [ModelListAction.java:63] com.jdon.strutsutil.ModelListAction.execute() - getPageIterator not be implemented, you must implement either of them

2010-03-07 15:36:13 DEBUG [RequestProcessor.java:366] org.apache.struts.action.RequestProcessor.processForwardConfig() - processForwardConfig(ForwardConfig[name=success,path=/userList.jsp,redirect=false,contextRelative=false,module=null])

2010-03-07 15:36:13 DEBUG [ApplicationDispatcher.java:185] org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/crm].<init>() - servletPath=/userList.jsp, pathInfo=null, queryString=null, name=null

2010-03-07 15:36:13 DEBUG [ApplicationDispatcher.java:371] org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/crm].doForward() - Path Based Forward

我看了,struts-config.xml配置好着哪

<action name="listForm" path="/userListAction" type="com.jdon.framework.test.web.UserListAction" scope="request">

<forward name="success" path="/userList.jsp" />

</action>

jdownframework.xml应该也调用了,配置如下

<plug-in className="com.jdon.strutsutil.InitPlugIn">

<set-property property="modelmapping-config" value="jdonframework.xml" />

</plug-in>

yuanhotel
2010-03-10 09:20

不知道哪这个为什么要连外网才可以哪,是不个jar包的。

还有这个testWeb的例子为什么报错哪:

前台:

ype Exception report

message

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

exception

javax.servlet.ServletException: System error! please call system Admin.java.lang.Exception: serviceAction Error:java.lang.Exception: execute Service error: java.lang.Throwable: java.lang.Throwable: java.lang.Throwable: Errors happened in your method:[com.jdon.framework.test.service.TestServicePOJOImp.count] org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:516) org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:423) org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226) org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164) org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397) javax.servlet.http.HttpServlet.service(HttpServlet.java:627) javax.servlet.http.HttpServlet.service(HttpServlet.java:729) com.jdon.util.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:92)
root cause

java.lang.Exception: System error! please call system Admin.java.lang.Exception: serviceAction Error:java.lang.Exception: execute Service error: java.lang.Throwable: java.lang.Throwable: java.lang.Throwable: Errors happened in your method:[com.jdon.framework.test.service.TestServicePOJOImp.count] com.jdon.strutsutil.ServiceMethodAction.execute(ServiceMethodAction.java:92) org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421) org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226) org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164) org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397) javax.servlet.http.HttpServlet.service(HttpServlet.java:627) javax.servlet.http.HttpServlet.service(HttpServlet.java:729) com.jdon.util.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:92)
note The full stack trace of the root cause is available in the Apache Tomcat/5.5.27 logs.
<p>

后台:

2010-03-10 09:13:26 ERROR [MethodInvokerUtil.java:75] com.jdon.aop.reflection.MethodInvokerUtil.execute() - Errors happened in your method:[com.jdon.framework.test.service.TestServicePOJOImp.count]
2010-03-10 09:13:26 ERROR [ServiceAccessorImp.java:70] com.jdon.container.access.ServiceAccessorImp.executeService() - [JdonFramework]  execute Service error: java.lang.Throwable: java.lang.Throwable: java.lang.Throwable: Errors happened in your method:[com.jdon.framework.test.service.TestServicePOJOImp.count]
2010-03-10 09:13:26 ERROR [WebAppUtil.java:175] com.jdon.controller.WebAppUtil.callService() - [JdonFramework] serviceAction Error: java.lang.Exception:   execute Service error: java.lang.Throwable: java.lang.Throwable: java.lang.Throwable: Errors happened in your method:[com.jdon.framework.test.service.TestServicePOJOImp.count]
2010-03-10 09:13:26 ERROR [ServiceMethodAction.java:91] com.jdon.strutsutil.ServiceMethodAction.execute() - [JdonFramework]please check your service 、 model or form :java.lang.Exception:  serviceAction Error:java.lang.Exception:   execute Service error: java.lang.Throwable: java.lang.Throwable: java.lang.Throwable: Errors happened in your method:[com.jdon.framework.test.service.TestServicePOJOImp.count]
2010-03-10 09:13:26  WARN [RequestProcessor.java:509] org.apache.struts.action.RequestProcessor.processException() - Unhandled Exception thrown: class java.lang.Exception
2010-03-10 09:13:26 ERROR [StandardWrapperValve.java:253] apache.catalina.core.ContainerBase.[Catalina].[localhost].[/crm].[action].invoke() - Servlet.service() for servlet action threw exception
java.lang.Exception: System error! please call system Admin.java.lang.Exception:  serviceAction Error:java.lang.Exception:   execute Service error: java.lang.Throwable: java.lang.Throwable: java.lang.Throwable: Errors happened in your method:[com.jdon.framework.test.service.TestServicePOJOImp.count]
	at com.jdon.strutsutil.ServiceMethodAction.execute(ServiceMethodAction.java:92)
	at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
	at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
	at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
	at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:627)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
	at com.jdon.util.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:92)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
	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:172)
	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:174)
	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:875)
	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)
2010-03-10 09:14:08 DEBUG [ManagerBase.java:677] org.apache.catalina.session.ManagerBase.processExpires() - Start expire sessions StandardManager at 1268183648273 sessioncount 1
2010-03-10 09:14:08 DEBUG [ManagerBase.java:685] org.apache.catalina.session.ManagerBase.processExpires() - End expire sessions StandardManager processingTime 1 expired sessions: 0
<p>

banq
2010-03-10 10:00

不是不帮你,自己要学会eclipse断点调试,调试是程序员基本技能哦。

2Go 1 2 下一页