关于ofbiz安装

03-07-11 priam

参照,我建立tomcat4.1.7+mysql4.0.1+ofbiz2.1.0

http://www.jdon.com/jive/thread.jsp?forum=62&thread=7486

的安装过程

目录结构

c:\ofbiz\ofbiz

c:\ofbiz\tomcat

相关的环境变量都设置好了

c:\ofbiz\ofbiz下

执行:

ant clean

ant install

ant

ant deploy

通过。

ofbiz run

通过

运行:http://localhost:8080/webtools/control/main

报错:

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

exception

java.lang.IllegalArgumentException: The delgator passed to countHit cannot be null

at org.ofbiz.core.stats.ServerHitBin.countHit(ServerHitBin.java:111)

at org.ofbiz.core.stats.ServerHitBin.countHit(ServerHitBin.java:83)

at org.ofbiz.core.stats.ServerHitBin.countRequest(ServerHitBin.java:56)

at org.ofbiz.core.control.ControlServlet.doGet(ControlServlet.java:250)

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

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

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

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

at org.ofbiz.core.control.ContextSecurityFilter.doFilter(ContextSecurityFilter.java:158)

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

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

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

at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)

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

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

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

at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)

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

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

at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2350)

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

at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)

at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)

at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)

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

at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)

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

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

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

at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)

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

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

at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)

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

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

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

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

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

----------------------------------------

这是什么原因阿???我是第一次接触ofbiz,请多多关照

priam
2003-07-14 08:55

怎么没有回答阿?

priam
2003-07-17 11:53

tomcat的好几个版本我都式了,报的同样的错

有没有人知道啊,指点一下

ssjava
2003-07-17 12:53

>The delgator passed to countHit cannot be null

从这句出错信息判断,可能是你的entityengine.xml的相关设置不对。

priam
2003-07-17 15:32

能说的详细点吗