`
li.feixiang
  • 浏览: 117643 次
  • 性别: 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

分享到:
评论

相关推荐

    exits完全退出

    exits完全退出

    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 清屏,清除(之前的内容并未删除,只是...

    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 ...

    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.

    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. ...

    Redirecting Standard Output to a CEdit Control

    来源: http://www.codeguru.com/Cpp/misc/misc/article.php/c321/ Environment: The demo was built with Microsoft Developer Studio 97 (Visual C++ 5.0) and has been tested with Windows 95, Windows 98 and ...

    media-devnode.rar_The Last

    Called when the last user of the media device exits.

    nao机器人java语音源码

    /// Exits and unregisters the module. /// public void exit() { Variant result = call("exit" ); // no return value } /// /// Outputs the languages installed on the system. /// /// ...

    droplol::mobile_phone_with_arrow:drop.lol CLI客户端,可轻松进行对等文件传输

    the file is sent and then the program exits.When no file is provided, the program will receive all files andsave them in the current directory.全局安装( npm install -g droplol )时,该命令可以作为...

    tor-exits:处理 Node.js 中的 Tor 出口节点

    Tor退出安装 npm install tor-exits用法 var tor = require ( 'tor-exits' ) ;tor . fetch ( function ( err , data ) { if ( err ) return console . error ( err ) ; var nodes = tor . parse ( data ) ; console ...

    Borland Together key

    Fixed (Bug 4496): When you copy elements with hyperlinks from a referenced project, the hyperlink destination is now changed to the corresponding element in the target project. Fixed (Bug 4520): ...

    8-07-14_MegaCLI for linux_windows

    SCGCQ00475159 (DFCT) - While printing the ldinfo, there are some tabs instead of spaces for indentation so replaced all tabs with spaces. SCGCQ00531245 (ENHREQ) - Display the NCQ enabled/disabled ...

Global site tag (gtag.js) - Google Analytics