2014-01-14 40 views
3

我有一個以前安裝的ColdFusion 10多服務器安裝,運行良好。當我創建一個新的實例時,通過ColdFusion管理員,勾選「創建Windows服務」,所有人似乎都很好;新的實例顯示在管理員中,並且新的目錄結構在服務器上創建,但新實例不會啓動。如果我去到Windows Services面板,在服務器上,並嘗試手動啓動新的服務,我得到:新的ColdFusion 10服務器實例無法啓動

Windows could not start the ColdFusion 10 Application Server newServer on Local 
Computer. For more information, review the System Event Log. If this is a 
non-Microsoft service, contact the service vendor and refer to the service 
specific error code 2. 

Windows系統事件日誌包含以下內容:

The ColdFusion Application Server newServer service terminated with non-specific 
error. The system cannot find the file specified. 

我有在網站和Adobe網站上搜索解決方案,但都是空手而歸。我將不勝感激。

在此先感謝。從評論

開始從命令提示符服務

更新我看到這個錯誤:

C:\ColdFusion10\newServer\bin>coldfusion.exe -start -console 
ERROR: transport error 202: bind failed: Address already in use 
ERROR: JDWP Transport dt_socket failed to initialize, 
TRANSPORT_INIT(510) JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): 
No transports initialized [../. ./../src/share/back/debugInit.c:741] 
FATAL ERROR in native method: JDWP No transports initialized, 
jvmtiError=AGENT_E RROR_TRANSPORT_INIT(197) 
+5

檢查ColdFusion日誌文件是否存在特定錯誤。 –

+4

這個問題更適合於ServerFault –

+2

正如Miguel所說,請查看標題爲「cfusion-out.log」(或xxx-out.log,取決於您的安裝配置)的文件。您也可以嘗試從命令行開始測試。 –

回答

2

該錯誤實際上是由調試器中衝突的端口號引起的。參考ColdFusion管理員界面==>調試和記錄==>調試器設置。調試器端口必須設置爲每個服務器實例的唯一值。如果兩個或多個實例設置爲相同的值,則會導致端口衝突。

7

這可能是端口衝突問題。您可以檢查事件查看器日誌。請嘗試以下操作: -

  1. 停止ColdFusion服務
  2. 啓動命令提示符管理員
  3. 瀏覽cf_root \ cfusion \ bin並運行以下命令coldfusion.exe -start -console
  4. 嘗試訪問CF管理員,一旦服務啓動。

如果出現錯誤信息,請分享。

+0

顯然,你是完全正確的。這對我來說是朝着正確方向邁出的一大步。錯誤文本爲C:\ ColdFusion10 \ newServer \ bin> coldfusion.exe -start -console 錯誤:傳輸錯誤202:綁定失敗:地址已在使用中 錯誤:JDWP傳輸dt_socket初始化失敗,TRANSPORT_INIT(510) JDWP退出錯誤AGENT_ERROR_TRANSPORT_INIT(197):沒有傳輸初始化[../。 ./../src/share/back/debugInit.c:741] 本地方法中的致命錯誤:JDWP沒有傳輸初始化,jvmtiError = AGENT_E RROR_TRANSPORT_INIT(197)' – user1172456

+1

打開C:\ server.xml文件。 ColdFusion10 \ \ runtime \ conf並檢查連接器端口和關閉端口。使用netstat -ano獲取端口列表並檢查是否存在端口衝突 –

0

這對我有效。首先,如果您處於Windows環境中,請使用

netstat -ano

獲取正在使用的端口列表。然後,打開 c:\ ColdFusion11 {instancename} \ bin \ jvm.config,並在JVM參數中查找端口地址,如果端口不唯一,請將其更改爲。然後像這樣從命令行啓動CF:

c:\coldfusion11{instancename}\bin\coldfusion.exe -start -console

現在應該正確啓動或指出是否仍有問題。

0

這發生在系統更新後我的本地Dev安裝。我只是嘗試將默認端口從8500更改爲8501,它工作。