2012-12-28 37 views
2

當我在生產模式下使用以下命令啓動我的play應用程序時。[play framework 1.2.5]'play start'無法正常工作(windows XP)

play start 'path to application' -Dprecompiled=true

下面的輸出來的命令提示符: -

C:\Documents and Settings\328982>play start C:\328982\RCM\RCMComm\branches\Code\ 
WorkingCopy\RCMCommercial -Dprecompiled=true 
~  _   _ 
~ _ __ | | __ _ _ _| | 
~ | '_ \| |/ _' | || |_| 
~ | __/|_|\____|\__ (_) 
~ |_|   |__/ 
~ 
~ play! 1.2.5, http://www.playframework.org 
~ framework ID is prod 
~ 
~ OK, C:\328982\RCM\RCMComm\branches\Code\WorkingCopy\RCMCommercial is started 
~ output is redirected to C:\328982\RCM\RCMComm\branches\Code\WorkingCopy\RCMCom 
mercial\logs\system.out 
~ pid is 4244 
~ 

但是當我關閉命令提示符下,應用程序也將停止。

請指導我如何在內置服務器jboss netty的生產模式中託管應用程序[version 1.2.5]。

問候, Uttmesh

回答

0

你檢查過輸出(日誌/的System.out)?我的猜測是,因爲你在生產模式下運行,它試圖綁定到端口80,除非你以管理員身份運行,否則你不能這樣做。

+0

嗨,謝謝你的回覆。 我已經檢查日誌和沒有「BindingException」在日誌 更多在我沒有給綁定端口的任何設置:如果您需要更改HTTP端口 #服務器配置 #~~~~~ # ,取消註釋(默認設置爲9000) #http.port = 9000 此致,Uttmesh – user1933656

相關問題