Hi:
Why have the follows error?
2038032[ ConnectionFactory.java:74 :ERROR]
---- runtime exception report --------------------------------------------------
There was an error getting a DBCP datasource.
Exception: java.lang.NullPointerException
Message: null
---- stack trace ---------------------------------------------------------------
java.lang.NullPointerException
org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:771)
org.apache.commons.dbcp.PoolingDataSource.getConnection(PoolingDataSource.java:95)
org.ofbiz.entity.transaction.DBCPConnectionFactory.getConnection
(DBCPConnectionFactory.java:62)
org.ofbiz.entity.jdbc.ConnectionFactory.tryGenericConnectionSources(ConnectionFactory.java:71)
org.ofbiz.entity.transaction.JNDIFactory.getConnection(JNDIFactory.java:158)
org.ofbiz.entity.transaction.TransactionFactory.getConnection
(TransactionFactory.java:105)
org.ofbiz.entity.jdbc.ConnectionFactory.getConnection(ConnectionFactory.java:53)
org.ofbiz.entity.jdbc.SQLProcessor.getConnection(SQLProcessor.java:267)
org.ofbiz.entity.jdbc.SQLProcessor.prepareStatement
(SQLProcessor.java:367)
org.ofbiz.entity.jdbc.SQLProcessor.prepareStatement(SQLProcessor.java:338)
org.ofbiz.entity.datasource.GenericDAO.singleUpdate(GenericDAO.java:265)
org.ofbiz.entity.datasource.GenericDAO.customUpdate
(GenericDAO.java:213)
org.ofbiz.entity.datasource.GenericDAO.update(GenericDAO.java:207)
org.ofbiz.entity.datasource.GenericHelperDAO.store(GenericHelperDAO.java:263)
org.ofbiz.entity.GenericDelegator.store(GenericDelegator.java
:1793)
org.ofbiz.entity.GenericDelegator.store(GenericDelegator.java:1773)
org.ofbiz.entity.GenericValue.store(GenericValue.java:95)
org.ofbiz.content.stats.VisitHandler.setInitials(VisitHandler.java:82)
org.ofbiz.content.stats.VisitHandler.setInitialVisit
(VisitHandler.java:65)
org.ofbiz.content.webapp.control.RequestHandler.doRequest(RequestHandler.java:143)
org.ofbiz.content.webapp.control.ControlServlet.doGet(ControlServlet.java:190)
javax.servlet.http.HttpServlet.service
(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
org.apache.catalina.core.ApplicationFilterChain.doFilter
(ApplicationFilterChain.java:157)
org.ofbiz.content.webapp.control.ContextFilter.doFilter(ContextFilter.java:136)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
org.apache.catalina.core.StandardValveContext.invokeNext
(StandardValveContext.java:104)
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
org.apache.catalina.core.StandardContextValve.invoke
(StandardContextValve.java:152)
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
org.apache.catalina.core.StandardHostValve.invoke
(StandardHostValve.java:137)
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
org.apache.catalina.core.StandardValveContext.invokeNext
(StandardValveContext.java:102)
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
org.apache.catalina.core.StandardValveContext.invokeNext
(StandardValveContext.java:104)
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:535)
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
org.apache.catalina.core.StandardPipeline.invoke
(StandardPipeline.java:520)
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
org.apache.coyote.http11.Http11Processor.process
(Http11Processor.java:799)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run
(ThreadPool.java:683)
java.lang.Thread.run(Thread.java:536)
--------------------------------------------------------------------------------
LinYong
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users