我使用Java SE平臺的Java IDL組件開發了CORBA服務器/客戶端。將CORBA orbd-Name服務安裝爲Windows服務
我想在Windows平臺上啓動此應用程序作爲服務,所以我使用了Java Service wrapper,並將應用程序安裝爲服務。
但在啓動服務器之前,我需要啓動orbd.exe - 來自Oracle的CORBA命名服務。
我試圖使用sc create
命令從Windows安裝此exe作爲服務。
但是當我開始使用sc start
它會掛起並引發以下錯誤此ORB服務:
[SC] StartService FAILED 1053:
The service did not respond to the start or control request in a timely fashion.
哪些錯誤與此窗口服務?
如何作爲Windows服務啓動CORBA命名服務?
解決方案... – ajduke 2012-04-25 10:26:09
一個問題,如果我想的副作用,同時啓動/停止服務,如刪除任何目錄,我怎樣才能實現? (實際上我想刪除orb.db目錄) – ajduke 2012-04-30 08:47:34