这个错是什么原因呢?

06-08-31 wind13

是少了什么文件吗?好象能想到的都有了,不知道是少了什么包还是什么配置文件?

17:14:39,453 INFO [Configuration] processing one-to-many association mappings

17:14:39,453 INFO [Configuration] processing one-to-one association property references

17:14:39,453 INFO [Configuration] processing foreign key constraints

17:14:39,453 WARN [SettingsFactory] No dialect set - using GenericDialect: The dialect was not set. Set the property hibernate.dialect.

17:14:39,453 INFO [Dialect] Using dialect: net.sf.hibernate.dialect.GenericDialect

17:14:39,453 INFO [SettingsFactory] Use outer join fetching: true

17:14:39,453 WARN [UserSuppliedConnectionProvider] No connection properties specified - the user must supply JDBC connections

17:14:39,468 INFO [TransactionManagerLookupFactory] No TransactionManagerLookup configured (in JTA environment, use of process level read-write cache is not recommended)

17:14:39,468 INFO [SettingsFactory] Use scrollable result sets: false

17:14:39,468 INFO [SettingsFactory] Use JDBC3 getGeneratedKeys(): false

17:14:39,468 INFO [SettingsFactory] Optimize cache for minimal puts: false

17:14:39,468 INFO [SettingsFactory] Query language substitutions: {}

17:14:39,468 INFO [SettingsFactory] cache provider: net.sf.hibernate.cache.EhCacheProvider

17:14:39,734 ERROR [POJOObjectFactory] [JdonFramework]create error: java.lang.NoClassDefFoundError: net/sf/ehcache/CacheException

17:14:39,734 ERROR [DefaultTargetServiceFactory] [JdonFramework]create error: java.lang.Exception: java.lang.NoClassDefFoundError: net/sf/ehcache/CacheException

17:14:39,734 ERROR [root] com.jdon.aop.interceptor.PoolInterceptor

java.lang.NullPointerException

at com.jdon.aop.interceptor.PoolInterceptor.invoke(PoolInterceptor.java:106)

at com.jdon.aop.reflection.ProxyMethodInvocation.proceed(ProxyMethodInvocation.java:84)

at com.jdon.aop.interceptor.CacheInterceptor.invoke(CacheInterceptor.java:59)

at com.jdon.aop.reflection.ProxyMethodInvocation.proceed(ProxyMethodInvocation.java:84)

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

at com.jdon.container.access.ServiceAccessorImp.executeService(ServiceAccessorImp.java:50)

at com.jdon.controller.service.WebServiceDecorator.execute(WebServiceDecorator.java:87)

at com.jdon.controller.service.WebServiceImp.execute(WebServiceImp.java:69)

at com.jdon.controller.service.WebServiceImp.execute(WebServiceImp.java:57)

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(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.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(ApplicationFilterChain.java:252)

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

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

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

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

at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

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

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

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

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

at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)

at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)

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

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

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

at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)

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

at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)

at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)

at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)

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

17:22:28,609 INFO [TomcatDeployer] deploy, ctxPath=/testWeb, warUrl=.../tmp/deploy/tmp8100testWeb-exp.war/

17:22:30,140 INFO [InitPlugIn] look up a config: jdonframework.xml

17:22:30,140 INFO [InitPlugIn] got the config: jdonframework.xml

wind13
2006-08-31 20:43

有时候在部署的时候会产生下面这样的错,会是什么原因呢?本身部署的是一个最简单的例子。

23:48:26,968 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/

23:48:27,828 INFO [TomcatDeployer] deploy, ctxPath=/testall, warUrl=.../tmp/deploy/tmp27154testall-exp.war/

23:48:59,234 ERROR [ContainerSetupScript] [JdonFramework] destroyed error: java.lang.IllegalStateException: Not started

23:49:00,015 INFO [InitPlugIn] look up a config: jdonframework.xml

23:49:00,031 INFO [InitPlugIn] got the config: jdonframework.xml

banq
2006-09-01 14:30

以后帖子贴到JF专门论坛去,才能得到及时回复。

前面一个原因:ERROR [POJOObjectFactory] [JdonFramework]create error: java.lang.NoClassDefFoundError: net/sf/ehcache/CacheException

使用了Hibernate2的encache,如果是Hibernate3就要改变包名。

第二个错误原因:具体原因不清楚,是部署时,微容器没有启动,关系不大,可下载最新的jdonframework.jar。