2013-06-19 33 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命令。 (运行 - >运行配置...)