Windchill MethodServer启动后自动关闭

启动Windchill的MethodServer 时 ,窗口自动关闭,查看日志和窗口上的错误如下:

 

日志路径D:\ptc\Windchill_10.1\Windchill\logs\

MethodServer.log :提示以下错误

java.io.IOException: com.infoengine.exception.adapter.IEAdapterException; 嵌套异常是:
javax.naming.CommunicationException: windchilltest.com.cn:389 [Root exception is java.net.ConnectException: Connection refused: connect]

ServerManager.log提示以下错误

3-02-20 16:16:40,332 ERROR [MethodServerMonitor] wt.manager.ServerManagerImpl - Start of MethodServer timed out.
2013-02-20 16:16:40,332 ERROR [MethodServerMonitor] wt.server.manager.startup - Unable to launch 1 MethodServer instance
wt.util.WTRemoteException: 无法获取服务器; 嵌套异常是:
 (wt.manager.managerResource/3) wt.util.WTException: 启动MethodServer超时。

解决方法

1.判断389端口是否被占用。 netstat -nao

2.判断是否已经开启DS服务。Windchill_9.1/WindchillDS/server/bat目录下,双击control-panel.bat启动,同时,可以进行注册为Windows Service。

原文地址:https://www.cnblogs.com/Snowfun/p/2919050.html