`
li.feixiang
  • 浏览: 120503 次
  • 性别: Icon_minigender_1
  • 来自: 武汉
社区版块
存档分类
最新评论

MethodServer Exits Prematurely With the Error *com.ptc.windchill.upgrade.history

阅读更多

Description
-----------------
Methodserver exits prematurely with the following exception when attempting to start.

ManagerServiceFactory: All managers shut down.
*ERROR*: ManagerServiceFactory: Unable to start all managers.
*ERROR*: MethodServerMain abort: wt.services.ManagerException: Unable to start all managers. Nested exception is:
*ERROR*: (wt.services.servicesResource/21) wt.services.ManagerException: Unable to start manager: "com.ptc.windchill.upgrade.history.service.DatabaseVersioningService" with implementation class: "com.ptc.windchill.upgrade.history.service.StandardDatabaseVersioningService"; nested exception is:
*ERROR*: wt.services.ManagerException; nested exception is:
*ERROR*: com.ptc.windchill.upgrade.history.IUHException: Cannot activate installation that is not the latest one
*ERROR*: at com.ptc.windchill.upgrade.history.InstallAndUpgradeHistory.activateWorkingInstallation(InstallAndUpgradeHistory.java:164)
*ERROR*: at com.ptc.windchill.upgrade.history.service.StandardDatabaseVersioningService.performStartupProcess(StandardDatabaseVersioningService.java:176)
*ERROR*: at wt.services.StandardManager.startup(StandardManager.java:626)
*ERROR*: at wt.services.ManagerImplementation.startup(ManagerImplementation.java:446)
*ERROR*: at wt.services.DefaultStartupHandler.startup(DefaultStartupHandler.java:205)
*ERROR*: at wt.services.StandardManagerService.performStartupProcess(StandardManagerService.java:215)
*ERROR*: at wt.services.StandardManager.startup(StandardManager.java:626)
*ERROR*: at wt.services.StandardServicesHandler.start(StandardServicesHandler.java:43)
*ERROR*: at wt.method.MethodServerMain.run(MethodServerMain.java:278)
*ERROR*: at wt.method.MethodServerMain.main(MethodServerMain.java:183)
Stopping services...
ManagerServiceFactory: All managers shut down.
MethodServer stopped.

Alternate Technique
-----------------
See Resolution below.

Resolution
-----------------
During method server startup the StandardDatabaseVersioningService looks into the database to see what versions of each product are registered. This error can occur

1) If the versions in the database are older than what is reported by 'windchill version'

or

2) The current installation directory is missing some of the components when the database was last initialized

The most typical cause of the problem is to have two different installations pointing at the same database and not having the same products installed.

To see what the difference between the database and the codebase is, run the following from <WT_HOME>\bin directory to see the database versions:

upgrademanager -exportdbhistory <some-name>.xml

Eg: upgrademanager -exportdbhistory dbHistory.xml

Then run the following to get the codebase versions:

windchill version

To resolve the issue, compare the dbHistory.xml and the output of 'windchill version'. Then modify the XML file to contain correct information and run the following command to update the version history in the database

upgrademanager -importdbhistory path/to/xmlfile

Eg: upgrademanager -importdbhistory dbHistory.xml

分享到:
评论

相关推荐

    intellij idea 中调用kettle9.2.0.0-290样例

    【标题】"IntelliJ IDEA 中调用 Kettle 9.2.0.0-290 示例"涉及的关键知识点主要包括IntelliJ IDEA的集成开发环境(IDE)使用以及Kettle(Pentaho Data Integration,PDI)工具的集成与执行。Kettle是一款强大的ETL...

    PMP认证考试试题精选

    - **问题:** 阶段退出点(Phase exits)、终止点(Kill points)和阶段关卡(Stage gates)用于什么目的? - **选项:** - A. 规划项目下一阶段 - B. 向利益相关者传达里程碑 - C. 决定项目是否应继续进入下一...

    exits完全退出

    ### 完全退出机制在Android应用中的实现 #### 背景介绍 在Android应用程序开发过程中,有时我们需要实现一个“完全退出”的功能,即当用户选择退出应用时,不仅仅关闭当前活动(Activity),而是将应用的所有活动...

    esp-idf-v3.2.zip

    Enter key exits the help screen. Use Space key, or Y and N keys to enable (Yes) and disable (No) configuration items with checkboxes "[*]" Pressing ? while highlighting a configuration item displays ...

    ouch:(WIP)统一压缩和解压缩工具

    ouch(正在进行中) ouch是明显的统一压缩(和解压缩)助手。 支持的格式。柏油。压缩.tar。{。lz * ,....{。lz * 、.... ouch从其命令行选项的扩展名推断......FLAGS: -h, --help Displays this message and exits -V, --v

    2009 达内Unix学习笔记

    DOS内部命令 用于退出当前的命令处理器(COMMAND.COM) 恢复前一个命令处理器。 Ctrl+d 跟exit一样效果,表中止本次操作。 logout 当csh时可用来退出,其他shell不可用。 clear 清屏,清除(之前的内容并未删除,只是...

    ABAP增强 基础 详解 PDF

    Function exits:函数增强(最常用,在SAP上线很多年后都会使用)。 * C. GUI codes:GUI增强。 * S. Screens:屏幕增强。 * T. Tabes:表结构增强。 查找 Enhancement 的方法 * 在程序中搜索CUSTOMER-FUNCTION...

    The GNU C Library

    The GNU C Library GNU C 库 Short Contents * Main Menu * 1 Introduction * 2 Error Reporting * 3 Virtual Memory Allocation And Paging * 4 Character Handling * 5 String and Array Utilities * 6 ...

    Developing Applications for IBM MQ V9.pdf 官方文档英文版

    User exits, API exits, and IBM MQ installable services.....................................................................280 Building a procedural application...........................................

    Determining the stack usage of applications.pdf

    Determining the required stack sizes for a software project is a crucial part of the development process. The developer aims to create a ... when the function exits, it removes that data from the stack.

    武汉大学计算机学院 陈刚 unix

    tcp exits 0 on success, and &gt;0 if an error occurred. SEE ALSO tcpm(1), lseek(2), read(2), write(2) NOTES The code for the tcp utility is, of course, well-formatted and can be compiled using the -Wall ...

    武汉大学unix第一次上机实验作业

    tcp exits 0 on success, and &gt;0 if an error occurred. SEE ALSO tcpm(1), lseek(2), read(2), write(2) NOTES The code for the tcp utility is, of course, well-formatted and can be compiled using the -Wall ...

    Turbo C++ 3.0[DISK]

    the compiler will search for test.cpp, and give an error if a file of that name cannot be found. If you want to have the command-line compiler assume a .c extension and C language source, use the ...

    Turbo C++ 3.00[DISK]

    the compiler will search for test.cpp, and give an error if a file of that name cannot be found. If you want to have the command-line compiler assume a .c extension and C language source, use the ...

    10代笔记本图纸 INTEL 10nm ICL-U RDK(1).pdf

    1. THIS SCHEMATIC DOCUMENTS THE GENERIC PRODUCT WITH ALL POSSIBLE CONFIGURATIONS. 6. THIS DOCUMENT ALSO EXISTS ON ELECTRONIC MEDIA. 5. \I SUFFIX INDICATES SIGNAL EXITS HIERARCHICAL BLOCK.

    xShell技巧收集

    - **退出确认对话框**:避免不必要的关闭提示,可在**Tools → Options → Advanced**菜单中调整**Confirm connection close when session exits**和**Confirm connection close when XShell exits**选项,减少操作...

    Python程序设计(第二版).chm

    Program Exits Section 3.5. Interprocess Communication Section 3.6. Pipes Section 3.7. Signals Section 3.8. Launching Programs on Windows Section 3.9. Other System Tools Chapter 4. ...

Global site tag (gtag.js) - Google Analytics