请教用Oracle连接JIVE是driver和driverURL怎么配呀?

05-10-31 eee13
请教用Oracle连接JIVE是driver和driverURL怎么配呀?

// 在此输入java代码
        <defaultProvider>
            <driver>oracle.jdbc.driver.OracleDriver</driver>
            <serverURL>jdbc:oracle:thin:@127.0.0.1:1521:JIVE</serverURL>
            <username>jive</username>
            <password>jive</password>
            <minConnections>5</minConnections>
            <maxConnections>50</maxConnections>
            <connectionTimeout>0.5</connectionTimeout>
        </defaultProvider>

<p>

我的数据库

表空间名字:JIVE

用户名:jive

密码:jive

启动时系统报错:

// 在此输入java代码
java.io.IOException

	at com.jivesoftware.forum.database.DefaultConnectionProvider$ConnectionPool.<init>(DefaultConnectionProvider.java:462)

	at com.jivesoftware.forum.database.DefaultConnectionProvider.start(DefaultConnectionProvider.java:85)

	at com.jivesoftware.forum.database.ConnectionManager.setConnectionProvider(ConnectionManager.java:185)

	at com.jivesoftware.forum.database.ConnectionManager.getConnection(ConnectionManager.java:86)

	at com.jivesoftware.forum.database.DbPermissionsManager.getUserPermissions(DbPermissionsManager.java:423)

	at com.jivesoftware.forum.database.DbPermissionsManager.getFinalUserPerms(DbPermissionsManager.java:373)

	at com.jivesoftware.forum.database.DbForumFactory.getPermissions(DbForumFactory.java:592)

	at com.jivesoftware.forum.ForumFactory.getInstance(ForumFactory.java:90)

	at com.jdon.web.UserEnvFront.registeUserInit(UserEnvFront.java:33)

	at org.apache.jsp.index_jsp._jspService(index_jsp.java:107)

	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)

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

	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)

	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)

	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)

	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.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)

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

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

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

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

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

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

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

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

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

Error starting DbConnectionDefaultPool: java.io.IOException

java.io.IOException

	at com.jivesoftware.forum.database.DefaultConnectionProvider$ConnectionPool.<init>(DefaultConnectionProvider.java:467)

	at com.jivesoftware.forum.database.DefaultConnectionProvider.start(DefaultConnectionProvider.java:85)

	at com.jivesoftware.forum.database.ConnectionManager.setConnectionProvider(ConnectionManager.java:185)

	at com.jivesoftware.forum.database.ConnectionManager.getConnection(ConnectionManager.java:86)

	at com.jivesoftware.forum.database.DbPermissionsManager.getUserPermissions(DbPermissionsManager.java:423)

	at com.jivesoftware.forum.database.DbPermissionsManager.getFinalUserPerms(DbPermissionsManager.java:373)

	at com.jivesoftware.forum.database.DbForumFactory.getPermissions(DbForumFactory.java:592)

	at com.jivesoftware.forum.ForumFactory.getInstance(ForumFactory.java:90)

	at com.jdon.web.UserEnvFront.registeUserInit(UserEnvFront.java:33)

	at org.apache.jsp.index_jsp._jspService(index_jsp.java:107)

	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)

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

	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)

	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)

	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)

	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.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)

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

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

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

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

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

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

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

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

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

Warning: DbConnectionDefaultPool.getConnection() wascalled before the internal pool has been initialized.

java.lang.NullPointerException

	at com.jivesoftware.forum.database.ConnectionManager.setMetaData(ConnectionManager.java:335)

	at com.jivesoftware.forum.database.ConnectionManager.setConnectionProvider(ConnectionManager.java:190)

	at com.jivesoftware.forum.database.ConnectionManager.getConnection(ConnectionManager.java:86)

	at com.jivesoftware.forum.database.DbPermissionsManager.getUserPermissions(DbPermissionsManager.java:423)

	at com.jivesoftware.forum.database.DbPermissionsManager.getFinalUserPerms(DbPermissionsManager.java:373)

	at com.jivesoftware.forum.database.DbForumFactory.getPermissions(DbForumFactory.java:592)

	at com.jivesoftware.forum.ForumFactory.getInstance(ForumFactory.java:90)

	at com.jdon.web.UserEnvFront.registeUserInit(UserEnvFront.java:33)

	at org.apache.jsp.index_jsp._jspService(index_jsp.java:107)

	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)

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

	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)

	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)

	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)

	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.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)

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

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

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

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

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

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

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

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

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

Warning: DbConnectionDefaultPool.getConnection() wascalled before the internal pool has been initialized.

WARNING: ConnectionManager.getConnection() failed to obtain a connection.

java.lang.NullPointerException

	at com.jivesoftware.forum.database.DbPermissionsManager.getUserPermissions(DbPermissionsManager.java:456)

	at com.jivesoftware.forum.database.DbPermissionsManager.getFinalUserPerms(DbPermissionsManager.java:373)

	at com.jivesoftware.forum.database.DbForumFactory.getPermissions(DbForumFactory.java:592)

	at com.jivesoftware.forum.ForumFactory.getInstance(ForumFactory.java:90)

	at com.jdon.web.UserEnvFront.registeUserInit(UserEnvFront.java:33)

	at org.apache.jsp.index_jsp._jspService(index_jsp.java:107)

	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)

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

	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)

	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)

	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)

	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.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)

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

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

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

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

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

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

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

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

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

java.lang.NullPointerException

	at com.jivesoftware.forum.database.DbPermissionsManager.getUserPermissions(DbPermissionsManager.java:458)

	at com.jivesoftware.forum.database.DbPermissionsManager.getFinalUserPerms(DbPermissionsManager.java:373)

	at com.jivesoftware.forum.database.DbForumFactory.getPermissions(DbForumFactory.java:592)

	at com.jivesoftware.forum.ForumFactory.getInstance(ForumFactory.java:90)

	at com.jdon.web.UserEnvFront.registeUserInit(UserEnvFront.java:33)

	at org.apache.jsp.index_jsp._jspService(index_jsp.java:107)

	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)

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

	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)

	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)

	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)

	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.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)

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

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

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

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

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

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

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

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

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

java.lang.NullPointerException

	at org.apache.jsp.index_jsp._jspService(index_jsp.java:335)

	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)

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

	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)

	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)

	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)

	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.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)

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

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

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

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

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

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

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

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

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

Warning: DbConnectionDefaultPool.getConnection() wascalled before the internal pool has been initialized.

WARNING: ConnectionManager.getConnection() failed to obtain a connection.

java.lang.NullPointerException

	at com.jivesoftware.forum.database.DbSearchManager.updateIndex(DbSearchManager.java:490)

	at com.jivesoftware.forum.database.DbSearchManager$IndexTask.run(DbSearchManager.java:667)

	at com.jivesoftware.forum.util.TaskEngine$TaskEngineWorker.run(TaskEngine.java:165)

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

java.lang.NullPointerException

	at com.jivesoftware.forum.database.DbSearchManager.updateIndex(DbSearchManager.java:537)

	at com.jivesoftware.forum.database.DbSearchManager$IndexTask.run(DbSearchManager.java:667)

	at com.jivesoftware.forum.util.TaskEngine$TaskEngineWorker.run(TaskEngine.java:165)

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

java.lang.NullPointerException

	at com.jivesoftware.forum.database.DbSearchManager.updateIndex(DbSearchManager.java:539)

	at com.jivesoftware.forum.database.DbSearchManager$IndexTask.run(DbSearchManager.java:667)

	at com.jivesoftware.forum.util.TaskEngine$TaskEngineWorker.run(TaskEngine.java:165)

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

java.lang.NullPointerException

	at com.jivesoftware.forum.database.DbSearchManager.updateIndex(DbSearchManager.java:541)

	at com.jivesoftware.forum.database.DbSearchManager$IndexTask.run(DbSearchManager.java:667)

	at com.jivesoftware.forum.util.TaskEngine$TaskEngineWorker.run(TaskEngine.java:165)

	at java.lang.Thread.run(Thread.java:534)
<p>

请教各位高手,我该怎么改呀。

hehp
2006-01-05 16:38
<serverURL>jdbc:oracle:thin:@127.0.0.1:1521:JIVE</serverURL>

中的JIVE 应为数据库实例名。

另外要注意: 把classes12.jar驱动拷到tomcat\common\lib 目录下。

我的为:(仅作参考)

<database>

<defaultProvider>

<driver>oracle.jdbc.OracleDriver</driver>

<serverURL>jdbc:oracle:thin:@192.168.0.74:1521:hp</serverURL>

<username>jivi</username>

<password>jivi</password>

<useUnicode>ture</useUnicode>

<character>UTF-8</character>

<minConnections>3</minConnections>

<maxConnections>10</maxConnections>

<connectionTimeout>0.5</connectionTimeout>

</defaultProvider>

</database>

猜你喜欢