2012-11-01 40 views
0

我有一个使用Oracle 11g作为数据库的应用程序,我们忽略了将密​​码过期设置为从不当原始密码过期时,应用程序本身就会失败。我们纠正了这种情况,并将密码重置为原始密码,出于某种原因,当大多数功能正常工作时,其中一部分不是(在标题中引发错误)。以下是日志文件的输出。我试过重新启动服务器等,但仍然得到同样的问题。任何想法?org.apache.commons.dbcp.SQLNestedException:无法创建PoolableConnectionFactory(ORA-28001:密码已过期)

谢谢!

INFO | jvm 1 | 2012/11/01 13:13:23 | INFO: webClient: Request attributes: [service=tsapprovals][tb=managedresources][oid=][action=splitpanecontroller][orderBy=][sortBy=] from Host[108.28.145.157] 
INFO | jvm 1 | 2012/11/01 13:13:23 | AbandonedObjectPool is used ([email protected]) 
INFO | jvm 1 | 2012/11/01 13:13:23 | LogAbandoned: true 
INFO | jvm 1 | 2012/11/01 13:13:23 | RemoveAbandoned: true 
INFO | jvm 1 | 2012/11/01 13:13:23 | RemoveAbandonedTimeout: 300 
INFO | jvm 1 | 2012/11/01 13:13:24 | org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (ORA-28001: the password has expired 
INFO | jvm 1 | 2012/11/01 13:13:24 |) 
INFO | jvm 1 | 2012/11/01 13:13:24 | at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1225) 
INFO | jvm 1 | 2012/11/01 13:13:24 | at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:880) 
INFO | jvm 1 | 2012/11/01 13:13:24 | at isc.thinclient.util.DBConnectionFactory.getPooledConnection(DBConnectionFactory.java:459) 
INFO | jvm 1 | 2012/11/01 13:13:24 | at isc.thinclient.util.DBConnectionFactory.getConnection(DBConnectionFactory.java:242) 
INFO | jvm 1 | 2012/11/01 13:13:24 | at isc.thinclient.util.DBConnectionFactory.getConnection(DBConnectionFactory.java:221) 
INFO | jvm 1 | 2012/11/01 13:13:24 | at isc.thinclient.util.DBConnectionFactory.<init>(DBConnectionFactory.java:157) 
INFO | jvm 1 | 2012/11/01 13:13:24 | at isc.thinclient.util.DBConnectionFactory.getInstance(DBConnectionFactory.java:208) 
INFO | jvm 1 | 2012/11/01 13:13:24 | at isc.thinclient.report.db.CrossPointDBUtility.<init>(CrossPointDBUtility.java:45) 
INFO | jvm 1 | 2012/11/01 13:13:24 | at isc.thinclient.report.queries.DBQuery.initialize(DBQuery.java:64) 
INFO | jvm 1 | 2012/11/01 13:13:24 | at isc.thinclient.report.queries.approval.PendingApprovalsQuery.initialize(PendingApprovalsQuery.java:34) 
INFO | jvm 1 | 2012/11/01 13:13:24 | at isc.thinclient.web.command.splitpane.services.PendingApprovals.execute(PendingApprovals.java:65) 
INFO | jvm 1 | 2012/11/01 13:13:24 | at isc.thinclient.web.command.splitpane.SplitPaneCommand.displayControllerPane(SplitPaneCommand.java:120) 
INFO | jvm 1 | 2012/11/01 13:13:24 | at isc.thinclient.web.command.splitpane.SplitPaneCommand.execute(SplitPaneCommand.java:57) 
INFO | jvm 1 | 2012/11/01 13:13:24 | at isc.thinclient.web.servlet.CommandProcessor.processAction(CommandProcessor.java:1587) 
INFO | jvm 1 | 2012/11/01 13:13:24 | at isc.thinclient.web.servlet.CommandProcessor.process(CommandProcessor.java:1156) 
INFO | jvm 1 | 2012/11/01 13:13:24 | at isc.thinclient.web.servlet.Controller.handleRequest(Controller.java:210) 
INFO | jvm 1 | 2012/11/01 13:13:24 | at org.apache.velocity.servlet.VelocityServlet.doRequest(VelocityServlet.java:358) 
INFO | jvm 1 | 2012/11/01 13:13:24 | at isc.thinclient.web.servlet.Controller.doRequest(Controller.java:838) 
INFO | jvm 1 | 2012/11/01 13:13:24 | at org.apache.velocity.servlet.VelocityServlet.doGet(VelocityServlet.java:317) 
INFO | jvm 1 | 2012/11/01 13:13:24 | at javax.servlet.http.HttpServlet.service(HttpServlet.java:690) 
INFO | jvm 1 | 2012/11/01 13:13:24 | at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) 
INFO | jvm 1 | 2012/11/01 13:13:24 | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) 
INFO | jvm 1 | 2012/11/01 13:13:24 | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) 
INFO | jvm 1 | 2012/11/01 13:13:24 | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) 
INFO | jvm 1 | 2012/11/01 13:13:24 | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174) 
INFO | jvm 1 | 2012/11/01 13:13:24 | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) 
INFO | jvm 1 | 2012/11/01 13:13:24 | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) 
INFO | jvm 1 | 2012/11/01 13:13:24 | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) 
INFO | jvm 1 | 2012/11/01 13:13:24 | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174) 
INFO | jvm 1 | 2012/11/01 13:13:24 | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874) 
INFO | jvm 1 | 2012/11/01 13:13:24 | at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665) 
INFO | jvm 1 | 2012/11/01 13:13:24 | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528) 
INFO | jvm 1 | 2012/11/01 13:13:24 | at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81) 
INFO | jvm 1 | 2012/11/01 13:13:24 | at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689) 
INFO | jvm 1 | 2012/11/01 13:13:24 | at java.lang.Thread.run(Thread.java:595) 
INFO | jvm 1 | 2012/11/01 13:13:24 | Caused by: java.sql.SQLException: ORA-28001: the password has expired 
INFO | jvm 1 | 2012/11/01 13:13:24 | 
INFO | jvm 1 | 2012/11/01 13:13:24 | at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112) 
INFO | jvm 1 | 2012/11/01 13:13:24 | at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331) 
INFO | jvm 1 | 2012/11/01 13:13:24 | at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:283) 
INFO | jvm 1 | 2012/11/01 13:13:24 | at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:278) 
INFO | jvm 1 | 2012/11/01 13:13:24 | at oracle.jdbc.driver.T4CTTIoauthenticate.receiveOauth(T4CTTIoauthenticate.java:791) 
INFO | jvm 1 | 2012/11/01 13:13:24 | at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:362) 
INFO | jvm 1 | 2012/11/01 13:13:24 | at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:439) 
INFO | jvm 1 | 2012/11/01 13:13:24 | at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:165) 
INFO | jvm 1 | 2012/11/01 13:13:24 | at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:35) 
INFO | jvm 1 | 2012/11/01 13:13:24 | at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:801) 
INFO | jvm 1 | 2012/11/01 13:13:24 | at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:38) 
INFO | jvm 1 | 2012/11/01 13:13:24 | at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:294) 
INFO | jvm 1 | 2012/11/01 13:13:24 | at org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:1247) 
INFO | jvm 1 | 2012/11/01 13:13:24 | at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1221) 
INFO | jvm 1 | 2012/11/01 13:13:24 | ... 34 more 
INFO | jvm 1 | 2012/11/01 13:13:24 | loggedInUSer: System Administrator Thu Nov 01 18:13:24 UTC 2012 
INFO | jvm 1 | 2012/11/01 13:13:24 | isc.thinclient.api.ThinAPIException: org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (ORA-28001: the password has expired 

回答

0

这似乎为用户配置文件的密码已经过期,请尝试执行下面的查询,可以解决这个问题 - 为usernamepassword使用你的价值观。

ALTER USER username IDENTIFIED BY password; 
相关问题