2013-06-19 54 views
1

我試着升級到windows7 64bit和java 7.0.21上的GGTS 3.2。在互聯網設置中啓用代理服務器配置的電腦上運行GGTS 3.2控制檯在新Grails項目上的timout失敗

我在新的工作區中創建一個新項目。然後我嘗試運行該應用程序的控制檯。

控制檯啓動,你可以使用約60秒。該STS IDE拋出一個超時錯誤和控制檯被殺害後

在日誌中的錯誤是這樣的:

!ENTRY org.grails.ide.eclipse.core 4 0 2013-06-18 22:08:15.103 
!MESSAGE Problem executing: console 
!STACK 1 
org.eclipse.core.runtime.CoreException: The command 'C:\Program Files (x86)\Java\jdk1.7.0_21\bin\javaw.exe (18 Jun 2013 22:06:14)' was terminated because it didn't produce new output for some time. 

See details for the output produced so far. 

If you think the command simply needed more time, you can increase the time limit in the Grails preferences page. 

See menu Windows >> Preferences >> Grails >> Launch 
    at org.grails.ide.eclipse.core.launch.SynchLaunch$LaunchResult.getCoreException(SynchLaunch.java:168) 
    at org.grails.ide.eclipse.core.launch.SynchLaunch.synchExec(SynchLaunch.java:57) 
    at org.grails.ide.eclipse.commands.GrailsExecutor.synchExec(GrailsExecutor.java:131) 
    at org.grails.ide.eclipse.commands.GrailsCommand.synchExec(GrailsCommand.java:169) 
    at org.grails.ide.eclipse.ui.internal.inplace.GrailsLaunchUtils$1.run(GrailsLaunchUtils.java:120) 
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53) 
Contains: ------System.out:----------- 
| Loading Grails 2.2.1 
| Configuring classpath. 
| Environment set to development..... 
| Packaging Grails application.... 
| Compiling 1 source files..... 
| Packaging Grails application. 
| Compiling 1 source files..... 
Contains: ------System.err:----------- 

Terminating process: Timeout: no new output for 60000 milliseconds 
!SUBENTRY 1 org.grails.ide.eclipse.core 4 4 2013-06-18 22:08:15.103 
!MESSAGE The command 'C:\Program Files (x86)\Java\jdk1.7.0_21\bin\javaw.exe (18 Jun 2013 22:06:14)' was terminated because it didn't produce new output for some time. 

See details for the output produced so far. 

If you think the command simply needed more time, you can increase the time limit in the Grails preferences page. 

See menu Windows >> Preferences >> Grails >> Launch 
!SUBENTRY 2 org.grails.ide.eclipse.core 4 0 2013-06-18 22:08:15.103 
!MESSAGE ------System.out:----------- 
| Loading Grails 2.2.1 
| Configuring classpath. 
| Environment set to development..... 
| Packaging Grails application.... 
| Compiling 1 source files..... 
| Packaging Grails application. 
| Compiling 1 source files..... 
!SUBENTRY 2 org.grails.ide.eclipse.core 4 0 2013-06-18 22:08:15.103 
!MESSAGE ------System.err:----------- 

Terminating process: Timeout: no new output for 60000 milliseconds 

有這樣的事情是STS/ggts論壇聲稱它已被固定在3.3平方米。可能與pref> groovy> grails>啓動 - 保持運行標誌 - 但我enebaled和diabsled這一點,它沒有區別

我試着安裝3.3m2,並嘗試相同的 - 新工作區 - 新項目。我運行控制檯60秒後,我收到了超時丁基控制檯熬夜 - 錯誤現在讀取

| Configuring classpath. 
| Environment set to development..... 
| Packaging Grails application.... 
| Compiling 1 source files..... 
| Packaging Grails application. 
| Compiling 1 source files..... 
Contains: ------System.err:----------- 

!SUBENTRY 1 org.grails.ide.eclipse.core 4 4 2013-06-18 23:27:11.110 
!MESSAGE Command terminated with an exception: java.io.IOException: Cannot run program "jps": CreateProcess error=2, The system cannot find the file specified (see details for partial output) 
!STACK 0 
java.io.IOException: Cannot run program "jps": CreateProcess error=2, The system cannot find the file specified 
    at java.lang.ProcessBuilder.start(Unknown Source) 
    at org.grails.ide.eclipse.longrunning.client.GrailsProcessStackTracer.exec(GrailsProcessStackTracer.java:104) 
    at org.grails.ide.eclipse.longrunning.client.GrailsProcessStackTracer.getGrailsProcessId(GrailsProcessStackTracer.java:72) 
    at org.grails.ide.eclipse.longrunning.client.GrailsProcessStackTracer.getStackTraces(GrailsProcessStackTracer.java:92) 
    at org.grails.ide.eclipse.longrunning.client.GrailsClient.executeCommand(GrailsClient.java:381) 
    at org.grails.ide.eclipse.longrunning.client.GrailsCommandExecution.execute(GrailsCommandExecution.java:85) 
    at org.grails.ide.eclipse.longrunning.LongRunningProcessGrailsExecutor.synchExec(LongRunningProcessGrailsExecutor.java:82) 
    at org.grails.ide.eclipse.commands.GrailsCommand.synchExec(GrailsCommand.java:169) 
    at org.grails.ide.eclipse.ui.internal.inplace.GrailsLaunchUtils$1.run(GrailsLaunchUtils.java:127) 
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53) 
Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified 
    at java.lang.ProcessImpl.create(Native Method) 
    at java.lang.ProcessImpl.<init>(Unknown Source) 
    at java.lang.ProcessImpl.start(Unknown Source) 
    ... 10 more 
!SUBENTRY 2 org.grails.ide.eclipse.core 4 0 2013-06-18 23:27:11.110 
!MESSAGE ------System.out:----------- 
Loading Grails 2.2.2 
| Configuring classpath. 
| Environment set to development..... 
| Packaging Grails application.... 
| Compiling 1 source files..... 
| Packaging Grails application. 
| Compiling 1 source files..... 
!SUBENTRY 2 org.grails.ide.eclipse.core 4 0 2013-06-18 23:27:11.110 
!MESSAGE ------System.err:----------- 

任何一個人都有這個,是有解決方法嗎?

回答

1

「執行Grails命令」功能不是爲支持持久性進程而設計的。它以前偶然的工作,但不再。

在Eclipse/STS/GGTS中執行長時間運行的grails進程的推薦方法是配置一個eclipse運行配置來執行長時間運行的grails命令。 (運行 - >運行配置...)