SQL>conn / as sysdba
SQL> shutdown immediate
SQL> startup
ORACLE 例程已经启动。
Total System Global Area 135338868 bytes
Fixed Size 453492 bytes
Variable Size 109051904 bytes
Database Buffers 25165824 bytes
Redo Buffers 667648 bytes
ORA-01991: ???????'E:\oracle\ora92\DATABASE\PWDsdnt.ORA'
解决方法,由于未运行在归档模式下,使用orapwd重建oracle的密码文件:
host del E:\oracle\ora92\DATABASE\PWDsdnt.ORA
host orapwd file=E:\oracle\ora92\DATABASE\PWDsdnt.ORA password=system entries=10
alter database open
SQL>conn / as sysdba
SQL> shutdown immediate
重启tomcat问题解决,又可以正常的访问数据库了