2013-06-19 3 views
1

Windows7 64 비트 및 Java 7.0.21에서 GGTS 3.2로 업그레이드하려고했습니다. 인터넷 설정에서 프록시 설정이 활성화 된 컴퓨터에서 실행됩니다.새 Grails 프로젝트에서 GGTS 3.2 콘솔 시간 초과 오류

저는 새 작업 공간에서 새 프로젝트를 만듭니다. 그런 다음 앱용 콘솔을 실행 해 봅니다.

콘솔이 켜지고 ~ 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.3m2. pref> groovy> grails> launch - running flag -와 같이 할 수 있었지만 이것으로 enebaled하고 diabsled했고 아무런 차이가 없었습니다.

나는 3.3m2를 설치하려고 시도하고 새로운 작업 공간 - 새로운 프로젝트를 시도했습니다. 오류가 지금

| 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:----------- 

다른 사람이 있었다 어느 하나를 읽고 해결이 - 나는 콘솔을 실행 60 초 후에 내가 콘솔 부틸 시간 초과가 유지 얻을?

답변

1

"Execute Grails Command"기능은 지속적인 프로세스를 지원하도록 설계되지 않았습니다. 이전에는 우연히 작동했지만 더 이상 작동하지 않습니다.

Eclipse/STS/GGTS에서 장기 실행 grails 프로세스를 실행하는 권장 방법은 장기 실행 grails 명령을 실행하도록 Eclipse 실행 구성을 구성하는 것입니다. (실행 -> 실행 구성 ...)