2013-06-19 3 views
1

Я попытался перейти на GGTS 3.2 на windows7 64bit и java 7.0.21. работа на ПК с установленной конфигурацией прокси в настройках ИнтернетаОшибка тайм-аута консоли GGTS 3.2 на новом проекте Grails

Я создаю новый проект в новом рабочем пространстве. Затем я попробую запустить консоль для приложения.

пульт запускается, и вы можете использовать его в течение ~ 60 секунд. После того, что ГНС язь бросает ошибку тайм-аут и консоль убит

ошибка в журнале выглядит следующим образом:

!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 

Существовал что-то, как это УСН/Ггц форум, который утверждал, что это было зафиксировано в 3.3m2. и, возможно, это было связано с pref> groovy> grails> запуск - держать флаг запуска - однако я обманул и разобрал это, и это не имело значения

Я попытался установить 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» не была предназначена для поддержки постоянных процессов. Он работал раньше случайно, но больше не работает.

Рекомендуемый способ выполнения длительных процессов grails в Eclipse/STS/GGTS состоит в том, чтобы настроить конфигурацию запуска eclipse для выполнения длинных команд grails. (Run -> Run Configurations ...)

Смежные вопросы