Консоль grails3 всегда висит на: bootRun <=========== -> 88% EXECUTING [1m 20s]>: bootRun - PullRequest
0 голосов
/ 02 июля 2019

консоль grails всегда висит на: bootRun, приложение grails работает нормально, я могу получить к нему доступ по URL http://localhost:8080, Но я не могу проверить журнал в консоли.Приложение полностью запущено, но в выводе указано s.th.например, 88% EXECUTING [1m 20s]>: bootRun <=========== -> 88% EXECUTING [1m 20s]>: bootRun

Я использую Ubuntu 16.04, Grails 3.3.9, JVM 1.8.0_45

Вот application.yml

---
grails:
    profile: web
    codegen:
        defaultPackage: com.test
    gorm:
        reactor:
            # Whether to translate GORM events into Reactor events
            # Disabled by default for performance reasons
            events: false
        autowire: true

spring:
    main:
        banner-mode: "off"

server:
    contextPath: '/time'
    port: 8080

# Spring Actuator Endpoints are Disabled by Default
endpoints:
    enabled: false
    jmx:
        enabled: true
info:
    app:
        name: '@info.app.name@'
        version: '@info.app.version@'
        grailsVersion: '@info.app.grailsVersion@'
---
grails:
    mime:
        disable:
            accept:
                header:
                    userAgents:
                        - Gecko
                        - WebKit
                        - Presto
                        - Trident
        types:
            all: '*/*'
            atom: application/atom+xml
            css: text/css
            csv: text/csv
            form: application/x-www-form-urlencoded
            html:
              - text/html
              - application/xhtml+xml
            js: text/javascript
            json:
              - application/json
              - text/json
            multipartForm: multipart/form-data
            pdf: application/pdf
            rss: application/rss+xml
            text: text/plain
            hal:
              - application/hal+json
              - application/hal+xml
            xml:
              - text/xml
              - application/xml
    urlmapping:
        cache:
            maxsize: 1000
    controllers:
        defaultScope: singleton
    converters:
        encoding: UTF-8
    views:
        default:
            codec: html
        gsp:
            encoding: UTF-8
            htmlcodec: xml
            codecs:
                expression: html
                scriptlets: html
                taglib: none
                staticparts: none
endpoints:
    jmx:
        unique-names: true

---
hibernate:
    cache:
        use_second_level_cache: true
        use_query_cache: false
        region:
            factory_class:org.hibernate.cache.ehcache.EhCacheRegionFactory
    flush:
        mode: AUTO

dataSource:
    pooled: true
    jmxExport: true
    driverClassName: org.h2.Driver
    username: sa
    password: ''

environments:
    development:
        dataSource:
            dialect: org.hibernate.dialect.H2Dialect
            dbCreate: update
            url: jdbc:h2:databases/development/DB/myDB;MVCC=TRUE;LOCK_TIMEOUT=10000;DB_CLOSE_ON_EXIT=TRUE;AUTO_SERVER=TRUE
            properties:
                maxActive: -1
                timeBetweenEvictionRunsMillis: 1800000
                minEvictableIdleTimeMillis: 1800000
                numTestsPerEvictionRun: 3
                testOnBorrow: true
                testWhileIdle: true
                testOnReturn: false
                validationQuery: SELECT 1
                jdbcInterceptors: ConnectionState    # TRANSACTION_READ_COMMITTED
                dialect: org.hibernate.dialect.H2Dialects
            logSql: true

Журнал консоли всегда показывает

    <===========--> 88% EXECUTING [1m 20s]> :bootRun<===========--> 88% EXECUTING [1m 20s]> :bootRun<===========--> 88% EXECUTING [1m 20s]> 
:bootRun<===========--> 88% EXECUTING [1m 20s]> :bootRun<===========--> 88% EXECUTING [1m 21s]> :bootRun<===========--> 88% EXECUTING [1m 21s]> 
:bootRun<===========--> 88% EXECUTING [1m 21s]> :bootRun<===========--> 88% EXECUTING [1m 21s]> :bootRun<===========--> 88% EXECUTING [1m 21s]> 
:bootRun<===========--> 88% EXECUTING [1m 21s]> :bootRun<===========--> 88% EXECUTING [1m 21s]> :bootRun<===========--> 88% EXECUTING [1m 21s]> 
:bootRun<===========--> 88% EXECUTING [1m 21s]> :bootRun<===========--> 
88% EXECUTING [1m 21s]> :bootRun<===========--> 88% EXECUTING [1m 22s]> 
:bootRun<===========--> 88% EXECUTING [1m 22s]> :bootRun<===========--> 
88% EXECUTING [1m 22s]> :bootRun<===========--> 88% EXECUTING [1m 22s]> \:bootRun<===========--> 88% EXECUTING [1m 22s]> :bootRun<===========--> 88% EXECUTING [1m 22s]> :bootRun<===========--> 88% EXECUTING [1m 22s]> 
:bootRun<===========--> 88% EXECUTING [1m 22s]> :bootRun<===========--> 
88% EXECUTING [1m 22s]> :bootRun<===========--> 88% EXECUTING [1m 22s]> 
:bootRun<===========--> 88% EXECUTING [1m 23s]> :bootRun<===========--> 88% EXECUTING [1m 23s]> :bootRun<===========--> 88% EXECUTING [1m 23s]> :bootRun<===========--> 88% EXECUTING [1m 23s]> :bootRun<===========--> 88% EXECUTING [1m 23s]> :bootRun<===========--> 88% EXECUTING [1m 23s]> :bootRun<===========--> 88% EXECUTING [1m 23s]> :bootRun<===========--> 88% EXECUTING [1m 23s]> :bootRun<===========--> 88% EXECUTING [1m 23s]> :bootRun<===========--> 88% EXECUTING [1m 23s]> :bootRun<===========--> 88% EXECUTING [1m 24s]> :bootRun<===========--> 88% EXECUTING [1m 24s]> :bootRun<===========--> 88% EXECUTING [1m 24s]> :bootRun<===========--> 88% EXECUTING [1m 24s]> :bootRun<===========--> 88% EXECUTING [1m 24s]> :bootRun<===========--> 88% EXECUTING [1m 24s]> :bootRun<===========--> 88% EXECUTING [1m 24s]> :bootRun<===========--> 88% EXECUTING [1m 24s]> :bootRun<===========--> 88% EXECUTING [1m 24s]> :bootRun<===========--> 88% EXECUTING [1m 24s]> :bootRun<===========--> 88% EXECUTING [1m 25s]> :bootRun<===========--> 88% EXECUTING [1m 25s]> :bootRun<===========--> 88% EXECUTING [1m 25s]> :bootRun<===========--> 88% EXECUTING [1m 25s]> :bootRun<===========--> 88% EXECUTING [1m 25s]> :bootRun<===========--> 88% EXECUTING [1m 25s]> :bootRun<===========--> 88% EXECUTING [1m 25s]> :bootRun<===========--> 88% EXECUTING [1m 25s]> :bootRun<===========--> 88% EXECUTING [1m 25s]> :bootRun<===========--> 88% EXECUTING [1m 25s]> :bootRun<===========--> 88% EXECUTING [1m 26s]> :bootRun<===========--> 88% EXECUTING [1m 26s]> :bootRun<===========--> 88% EXECUTING [1m 26s]> :bootRun<===========--> 88% EXECUTING [1m 26s]> :bootRun<===========--> 88% EXECUTING [1m 26s]> :bootRun<===========--> 88% EXECUTING [1m 26s]> :bootRun<===========--> 88% EXECUTING [1m 26s]> :bootRun<===========--> 88% EXECUTING [1m 26s]> :bootRun<===========--> 88% EXECUTING [1m 26s]> :bootRun<===========--> 88% EXECUTING [1m 26s]> :bootRun<===========--> 88% EXECUTING [1m 27s]> :bootRun<===========--> 88% EXECUTING [1m 27s]> :bootRun<===========--> 88% EXECUTING [1m 27s]> :bootRun<===========--> 88% EXECUTING [1m 27s]> :bootRun<===========--> 88% EXECUTING [1m 27s]> :bootRun<===========--> 88% EXECUTING [1m 27s]> :bootRun<===========--> 88% EXECUTING [1m 27s]> :bootRun<===========--> 88% EXECUTING [1m 27s]> :bootRun<===========--> 88% EXECUTING [1m 27s]> :bootRun<===========--> 88% EXECUTING [1m 27s]> :bootRun<===========--> 88% EXECUTING [1m 28s]> :bootRun<===========--> 88% EXECUTING [1m 28s]> :bootRun<===========--> 88% EXECUTING [1m 28s]> :bootRun<===========--> 88% EXECUTING [1m 28s]> :bootRun
...