标题: Quality Center v10.0报错Invild server responsp [打印本页] 作者: mwb9709 时间: 2014-3-17 11:04 标题: Quality Center v10.0报错Invild server responsp 软件: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作者: mwb9709 时间: 2014-3-17 11:06 本帖最后由 mwb9709 于 2014-3-17 11:16 编辑
3:main ERR com.mercury.td.tdserver.CTdServerNode CTdServerNode
Error in initilizing Server Node
Failed to initialize TD server named grg-e7f7be25f3c on machine grg-e7f7be25f3
-------------------俺是分隔符-----------------------------------------------------------------------------
问题3是Server初始化问题,同1、2可以解决
但是有疑问,就是OracleDBConsoleorcl服务没有启动起来就能正常进入QC 并使用,
这个是否有问题?但是实际使用没有遇到,想知道是否重要这个服务;作者: mwb9709 时间: 2014-3-17 11:09
4:INFO [STDOUT] [Mercury][Oracle JDBC Driver]Error establishing socket to host and port: 10.1.21.159:1521. Reason: No route to host: connect;
09:03:29,562 INFO [STDOUT]
-------------------------俺还是分隔符-------------------------------------------------------------------------
问题4是Oracle JDBC Driver问题,查一下数据库服务,"服务"里面OracleDBConsoleorcl没有启动导致的,启动之.OK作者: mwb9709 时间: 2014-3-17 11:11
4:INFO [STDOUT] [Mercury][Oracle JDBC Driver]Error establishing socket to host and port: 10.1.21.159:1521. Reason: No route to host: connect;
09:03:29,562 INFO [STDOUT]
-------------------俺是分隔符-----------------------------------------------------------------------------
问题4是OracleDBConsoleorcl服务启动起来就能正常进入QC 并使用了