51Testing软件测试论坛

 找回密码
 (注-册)加入51Testing

QQ登录

只需一步,快速开始

微信登录,快人一步

手机号码,快捷登录

查看: 1839|回复: 1
打印 上一主题 下一主题

[求助] 紧急求助!安装补丁后采用oracle的项目无法启动

[复制链接]

该用户从未签到

跳转到指定楼层
1#
发表于 2009-5-21 01:21:27 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
QC服务器为2003,jboss平台,所建项目一个域的项目采用的是sqlserver,另一个域下的项目用的oracle。在安装了vss版本控制补丁后。采用oracle数据库的域其中一个项目无法启动,后卸载补丁,问题仍旧存在,启动项目时弹出提示“"Failed to get Project Properties" ”详细信息内容如下
  1. jdbc:mercury:oracle://qcserver:1521;sid=ora9

  2. Messages:
  3. Failed to Test Connection;
  4. Test connection failed;
  5. Cannot build directory item for key '[qualitymanager_dfshenma_db@jdbc:mercury:oracle://qcserver:1521;sid=ora9(qualitymanager_dfshenma_db)]' in TD Tables Struct Dir;
  6. Failed to fill table struct for table null in database qualitymanager_dfshenma_db@jdbc:mercury:oracle://qcserver:1521;sid=ora9(qualitymanager_dfshenma_db);
  7. [Mercury][Oracle JDBC Driver][Oracle]ORA-01017: invalid username/password; logon denied;

  8. Stack Trace:
  9. com.mercury.jdbc.base.BaseSQLException: [Mercury][Oracle JDBC Driver][Oracle]ORA-01017: invalid username/password; logon denied

  10. at com.mercury.jdbc.base.BaseExceptions.createException(Unknown Source)
  11. at com.mercury.jdbc.base.BaseExceptions.getException(Unknown Source)
  12. at com.mercury.jdbc.oracle.OracleImplConnection.connectAndAuthenticate(Unknown Source)
  13. at com.mercury.jdbc.oracle.OracleImplConnection.open(Unknown Source)
  14. at com.mercury.jdbc.base.BaseConnection.connect(Unknown Source)
  15. at com.mercury.jdbc.base.BaseConnectionStartup.run(Unknown Source)
  16.         wrapped in com.mercury.optane.core.CTdException:
  17. at com.mercury.optane.core.db.CTdDriverManager.getConnection(CTdDriverManager.java:81)
  18. at com.mercury.optane.core.db.CConnectionPool.newConnection(CConnectionPool.java:624)
  19. at com.mercury.optane.core.db.CConnectionPool.tryToGetConnection(CConnectionPool.java:468)
  20. at com.mercury.optane.core.db.CConnectionPool.getConnection(CConnectionPool.java:293)
  21. at com.mercury.optane.core.db.CConnectionManager.getNotTransactedConnection(CConnectionManager.java:288)
  22. at com.mercury.optane.core.db.CConnectionManager.getConnection(CConnectionManager.java:266)
  23. at com.mercury.optane.core.db.CDatabaseFieldsInfo.obtainInfo(CDatabaseFieldsInfo.java:135)
  24.         wrapped in com.mercury.optane.core.CTdException: Failed to fill table struct for table null in database qualitymanager_dfshenma_db@jdbc:mercury:oracle://qcserver:1521;sid=ora9(qualitymanager_dfshenma_db)
  25. at com.mercury.optane.core.db.CDatabaseFieldsInfo.obtainInfo(CDatabaseFieldsInfo.java:161)
  26. at com.mercury.td.CTdDatabaseFieldsInfo.obtainInfo(CTdDatabaseFieldsInfo.java:80)
  27. at com.mercury.optane.core.db.CDatabaseFieldsInfo.<init>(CDatabaseFieldsInfo.java:77)
  28. at com.mercury.td.CTdDatabaseFieldsInfo.<init>(CTdDatabaseFieldsInfo.java:58)
  29. at com.mercury.td.CTdTablesStructDirectory.createDirectoryItem(CTdTablesStructDirectory.java:167)
  30. at com.mercury.optane.core.directory.CAbsDirectory.getDirectoryItem(CAbsDirectory.java:81)
  31.         wrapped in com.mercury.optane.core.CTdException: Cannot build directory item for key '[qualitymanager_dfshenma_db@jdbc:mercury:oracle://qcserver:1521;sid=ora9(qualitymanager_dfshenma_db)]' in TD Tables Struct Dir
  32. at com.mercury.optane.core.directory.CAbsDirectory.getDirectoryItem(CAbsDirectory.java:87)
  33. at com.mercury.td.CTdTablesStructDirectory.getDirectoryItem(CTdTablesStructDirectory.java:151)
  34. at com.mercury.optane.core.db.CAbsTablesStructDirectory.getDatabaseFieldsInfo(CAbsTablesStructDirectory.java:101)
  35. at com.mercury.td.saserver.directory.CProject.getProjectDbContext(CProject.java:1311)
  36. at com.mercury.td.saserver.api.logics.CAdminLogic.testConnection(CAdminLogic.java:610)
  37.         wrapped in com.mercury.optane.core.CTdException: Test connection failed
  38. at com.mercury.td.saserver.api.logics.CAdminLogic.testConnection(CAdminLogic.java:624)
  39. at com.mercury.td.saserver.web.CTdSiteAdminServlet.redirectTestConnection(CTdSiteAdminServlet.java:736)
  40. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  41. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  42. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  43. at java.lang.reflect.Method.invoke(Method.java:324)
  44. at com.mercury.optane.core.web.CAbsServlet.executeFunction(CAbsServlet.java:554)
  45.         wrapped in com.mercury.optane.core.CTdException: Failed to Test Connection
  46. at com.mercury.optane.core.web.CAbsServlet.executeFunction(CAbsServlet.java:560)
  47. at com.mercury.optane.core.web.CAbsServlet.processRequest(CAbsServlet.java:535)
  48. at com.mercury.optane.core.web.CAbsServlet.doPost(CAbsServlet.java:418)
  49. at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
  50. at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
  51. at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
  52. at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  53. at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
  54. at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  55. at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  56. at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
  57. at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
  58. at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
  59. at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:153)
  60. at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
  61. at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
  62. at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
  63. at org.apache.catalina.valves.FastCommonAccessLogValve.invoke(FastCommonAccessLogValve.java:481)
  64. at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
  65. at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
  66. at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
  67. at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
  68. at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
  69. at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
  70. at java.lang.Thread.run(Thread.java:534)
复制代码
采用oracle的另一个项目可正常启动,在DB Server标签中测试其链接正常,但在有问题的项目中测试链接却失败。通过错误提示分析,感觉像是用户名密码的问题,但对比之前备份的dbid.xml,并没有什么变化。

看到08年kasimxiao的【QC 还原项目】的帖子,其中提到“2.查询分析器进入qcsiteadmin_db,输入:sp_change_users_login 'report',可以看到td用户被孤立,还原数据库后无法登录qc都是因为td用户被孤立了,输入:sp_change_users_login 'update_one','td','td',使登录用户和数据库的孤立用户对应起来。
(完成后进入qc后台可以看到所有用户、域以及项目都显示出来了,剩下的只需要还原每一个项目的数据库)”
请问在oracle中如何操作?

[ 本帖最后由 softpk 于 2009-5-21 01:28 编辑 ]
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏
回复

使用道具 举报

  • TA的每日心情
    郁闷
    2016-11-23 09:27
  • 签到天数: 55 天

    连续签到: 1 天

    [LV.5]测试团长

    2#
    发表于 2009-5-22 09:34:43 | 只看该作者
    没看明白,但是从ORA-01017: invalid username/password; logon denied看
    感觉你oracle帐户有问题
    回复 支持 反对

    使用道具 举报

    本版积分规则

    关闭

    站长推荐上一条 /1 下一条

    小黑屋|手机版|Archiver|51Testing软件测试网 ( 沪ICP备05003035号 关于我们

    GMT+8, 2024-11-11 14:39 , Processed in 0.070332 second(s), 28 queries .

    Powered by Discuz! X3.2

    © 2001-2024 Comsenz Inc.

    快速回复 返回顶部 返回列表