TA的每日心情 | 开心 2015-11-15 23:14 |
---|
签到天数: 1 天 连续签到: 1 天 [LV.1]测试小兵
|
软件:Quality Center v10.0,
数据库:Oracle 10G
系统:win2003
故障情况:
1:登陆QC浏览器报错Invild server responsp
2:查询系统日志,发现OracleDBConsoleorcl无法启动,报错Oracle net helpmsg 3547
检查以后发现Error大概如下几类:
1:ObjectName: jboss:service=WebService
State: FAILED
Reason: java.lang.Exception: Port 8083 already in use.
Depends On Me:
jboss.ejb:service=EJBDeployer
jboss.ws4ee:service=AxisService
2:ObjectName: jboss:service=Hypersonic,database=localDB
State: FAILED
Reason:
java.sql.SQLException: The database is already in use by another process:
org.hsqldb.persist.NIOLockFile@2e76493f
[file =C:\Program Files\HP\Quality Center\jboss\server\default\data\hypersonic\localDB.lck,
exists=true, locked=false, valid=false, fl =null]:
java.lang.Exception: 另一个程序已锁定文件的一部分,进程无法访问。 :
C:\Program Files\HP\Quality Center\jboss\server\default\data\hypersonic\localDB.lck
Depends On Me:
jboss.jca:service=ManagedConnectionFactory,name=DefaultDS
--------------------俺是分割线---------------------------------------------------------------------------
此上的问题1是端口被占用,查下PID杀掉进程即可,
问题2 是程序被锁定了,解除锁定找了下,有个bat这样写即可:
@echo on
taskkill /im explorer.exe /f
taskkill /im wscript.exe
start reg add HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\EXplorer\Advanced /v ShowSuperHidden /t REG_DWORD /d 1 /f
start reg import kill.reg
del c:\autorun.* /f /q /as
del %SYSTEMROOT%\system32\autorun.* /f /q /as
del d:\autorun.* /f /q /as
del e:\autorun.* /f /q /as
del f:\autorun.* /f /q /as
del g:\autorun.* /f /q /as
del h:\autorun.* /f /q /as
del i:\autorun.* /f /q /as
del j:\autorun.* /f /q /as
del k:\autorun.* /f /q /as
del l:\autorun.* /f /q /as
start explorer.exe |
|