iceScrum | Server is crashing when i login with a normal user – iceScrum

iceScrum Forums Discutez d'iceScrum

11 sujets de 1 à 11 (sur un total de 11)

  • Auteur
    Messages
  • #10685

    Kagilum
    Maître des clés

    HI,

    im new to the Software Icescrum and my new Linux Server 😕

    I have a Debian Server(VM 2,2GB RAM and 50GB HDD) with MYSQL, OPENJDK-6-JRE and Tomcat7.

    I can install Icescrum and it is running. I can logon with the admin. But as soon as i log on with another user my Server wont work anymore. The Icescrum.log fie is getting realy big, over 1000mb if i dont restart the server, because i cant even stop the tomcat7 service with the console anymore. It is saying:

    « -bash: fork: Cannot allocate memory »

    So i hope with the log files and cofiguration you can help me.

    Here are the logs from Catlina.out:

    Nov 08, 2014 7:21:14 PM org.apache.coyote.AbstractProtocol init
    INFO: Initializing ProtocolHandler ["http-nio-8080"]
    Nov 08, 2014 7:21:14 PM org.apache.tomcat.util.net.NioSelectorPool getSharedSelector
    INFO: Using a shared selector for servlet write/read
    Nov 08, 2014 7:21:14 PM org.apache.catalina.startup.Catalina load
    INFO: Initialization processed in 1917 ms
    Nov 08, 2014 7:21:14 PM org.apache.catalina.core.StandardService startInternal
    INFO: Starting service Catalina
    Nov 08, 2014 7:21:14 PM org.apache.catalina.core.StandardEngine startInternal
    INFO: Starting Servlet Engine: Apache Tomcat/7.0.28
    Nov 08, 2014 7:21:14 PM org.apache.catalina.startup.HostConfig deployDescriptor
    INFO: Deploying configuration descriptor /etc/tomcat7/Catalina/localhost/manager.xml
    Nov 08, 2014 7:21:27 PM org.apache.catalina.util.SessionIdGenerator createSecureRandom
    INFO: Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [11,330] milliseconds.
    Nov 08, 2014 7:21:27 PM org.apache.catalina.startup.HostConfig deployDescriptor
    INFO: Deploying configuration descriptor /etc/tomcat7/Catalina/localhost/host-manager.xml
    Nov 08, 2014 7:21:27 PM org.apache.catalina.startup.HostConfig deployDescriptor
    INFO: Deploying configuration descriptor /etc/tomcat7/Catalina/localhost/examples.xml
    Nov 08, 2014 7:21:28 PM org.apache.catalina.startup.TaglibUriRule body
    INFO: TLD skipped. URI: http://java.sun.com/jstl/core_rt is already defined
    Nov 08, 2014 7:21:28 PM org.apache.catalina.startup.TaglibUriRule body
    INFO: TLD skipped. URI: http://java.sun.com/jstl/core is already defined
    Nov 08, 2014 7:21:28 PM org.apache.catalina.startup.TaglibUriRule body
    INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/core is already defined
    Nov 08, 2014 7:21:28 PM org.apache.catalina.startup.TaglibUriRule body
    INFO: TLD skipped. URI: http://java.sun.com/jstl/fmt_rt is already defined
    Nov 08, 2014 7:21:28 PM org.apache.catalina.startup.TaglibUriRule body
    INFO: TLD skipped. URI: http://java.sun.com/jstl/fmt is already defined
    Nov 08, 2014 7:21:28 PM org.apache.catalina.startup.TaglibUriRule body
    INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/fmt is already defined
    Nov 08, 2014 7:21:28 PM org.apache.catalina.startup.TaglibUriRule body
    INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/functions is already defined
    Nov 08, 2014 7:21:28 PM org.apache.catalina.startup.TaglibUriRule body
    INFO: TLD skipped. URI: http://jakarta.apache.org/taglibs/standard/permittedTaglibs is already defined
    Nov 08, 2014 7:21:28 PM org.apache.catalina.startup.TaglibUriRule body
    INFO: TLD skipped. URI: http://jakarta.apache.org/taglibs/standard/scriptfree is already defined
    Nov 08, 2014 7:21:28 PM org.apache.catalina.startup.TaglibUriRule body
    INFO: TLD skipped. URI: http://java.sun.com/jstl/sql_rt is already defined
    Nov 08, 2014 7:21:28 PM org.apache.catalina.startup.TaglibUriRule body
    INFO: TLD skipped. URI: http://java.sun.com/jstl/sql is already defined
    Nov 08, 2014 7:21:28 PM org.apache.catalina.startup.TaglibUriRule body
    INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/sql is already defined
    Nov 08, 2014 7:21:28 PM org.apache.catalina.startup.TaglibUriRule body
    INFO: TLD skipped. URI: http://java.sun.com/jstl/xml_rt is already defined
    Nov 08, 2014 7:21:28 PM org.apache.catalina.startup.TaglibUriRule body
    INFO: TLD skipped. URI: http://java.sun.com/jstl/xml is already defined
    Nov 08, 2014 7:21:28 PM org.apache.catalina.startup.TaglibUriRule body
    INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/xml is already defined
    Nov 08, 2014 7:21:28 PM org.apache.catalina.startup.HostConfig deployDescriptor
    INFO: Deploying configuration descriptor /etc/tomcat7/Catalina/localhost/docs.xml
    Nov 08, 2014 7:21:28 PM org.apache.catalina.startup.HostConfig deployWAR
    INFO: Deploying web application archive /var/lib/tomcat7/webapps/icescrum.war
    Nov 08, 2014 7:21:29 PM org.apache.catalina.loader.WebappClassLoader validateJarFile
    INFO: validateJarFile(/var/lib/tomcat7/webapps/icescrum/WEB-INF/lib/geronimo-servlet_3.0_spec-1.0.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
    Server Timezone : UTC
    log dir : logs
    Including configuration file specified on command line: /etc/icescrum/icescrum_config.groovy
    (*) grails.config.locations = [file:/etc/icescrum/icescrum_config.groovy]

    Configuring Spring Security Core ...
    ... finished configuring Spring Security Core


    Configuring Spring Security ACL ...
    ... finished configuring Spring Security ACL

    /home/icescrum/images/users/
    Starting iceScrum version:R6#13 SCR:#UNKNOWN Build date:Tue Mar 11 14:40:49 UTC 2014
    Nov 08, 2014 7:23:19 PM org.apache.catalina.startup.HostConfig deployDirectory
    INFO: Deploying web application directory /var/lib/tomcat7/webapps/ROOT
    Nov 08, 2014 7:23:20 PM org.apache.coyote.AbstractProtocol start
    INFO: Starting ProtocolHandler ["http-nio-8080"]
    Nov 08, 2014 7:23:20 PM org.apache.catalina.startup.Catalina start
    INFO: Server startup in 126194 ms

    The log from icescrum.log:

    2014-11-08 19:29:17,883 [localhost-startStop-1] INFO  grails.spring.BeanBuilder  - [RuntimeConfiguration] Configuring data source for environment: PRODUCTION
    2014-11-08 19:29:28,998 [localhost-startStop-1] WARN grails.util.GrailsUtil - [WARNING] Property [data] of domain class pl.burningice.plugins.image.ast.Image has type [ and doesn't support constraint [blank]. This constraint will not be checked during validation.
    2014-11-08 19:29:30,020 [localhost-startStop-1] WARN net.sf.ehcache.config.ConfigurationFactory - No configuration found. Configuring ehcache from ehcache-failsafe.xml found in the classpath: jar:file:/var/lib/tomcat7/webapps/icescrum/WEB-INF/lib/ehcache-core-1.7.1.jar!/ehcache-failsafe.xml
    2014-11-08 19:29:38,302 [localhost-startStop-1] WARN net.sf.ehcache.config.ConfigurationFactory - No configuration found. Configuring ehcache from ehcache-failsafe.xml found in the classpath: jar:file:/var/lib/tomcat7/webapps/icescrum/WEB-INF/lib/ehcache-core-1.7.1.jar!/ehcache-failsafe.xml
    2014-11-08 19:29:38,341 [localhost-startStop-1] WARN net.sf.ehcache.CacheManager - Creating a new instance of CacheManager using the diskStorePath "/tmp/tomcat7-tomcat7-tmp" which is already used by an existing CacheManager.
    The source of the configuration was classpath.
    The diskStore path for this CacheManager will be set to /tmp/tomcat7-tomcat7-tmp/ehcache_auto_created_1415474978341.
    To avoid this warning consider using the CacheManager factory methods to create a singleton CacheManager or specifying a separate ehcache configuration (ehcache.xml) for each CacheManager instance.
    2014-11-08 19:29:40,172 [localhost-startStop-1] WARN net.sf.ehcache.config.ConfigurationFactory - No configuration found. Configuring ehcache from ehcache-failsafe.xml found in the classpath: jar:file:/var/lib/tomcat7/webapps/icescrum/WEB-INF/lib/ehcache-core-1.7.1.jar!/ehcache-failsafe.xml
    2014-11-08 19:29:40,187 [localhost-startStop-1] WARN net.sf.ehcache.CacheManager - Creating a new instance of CacheManager using the diskStorePath "/tmp/tomcat7-tomcat7-tmp" which is already used by an existing CacheManager.
    The source of the configuration was classpath.
    The diskStore path for this CacheManager will be set to /tmp/tomcat7-tomcat7-tmp/ehcache_auto_created_1415474980187.
    To avoid this warning consider using the CacheManager factory methods to create a singleton CacheManager or specifying a separate ehcache configuration (ehcache.xml) for each CacheManager instance.
    2014-11-08 19:29:44,001 [localhost-startStop-1] INFO org.codehaus.groovy.grails.scaffolding.DefaultGrailsTemplateGenerator - Scaffolding template generator set to use resource loader org.codehaus.groovy.grails.commons.spring.GrailsWebApplicationContext@18e108d2: startup date [Sat Nov 08 19:29:23 UTC 2014]; parent: Root WebApplicationContext
    2014-11-08 19:30:08,153 [localhost-startStop-1] ERROR org.hibernate.util.JDBCExceptionReporter - Unknown column 'text_as' in 'field list'
    2014-11-08 19:30:17,811 [localhost-startStop-1] INFO AutobaseGrailsPlugin - ---- Starting Autobase migrations ----
    2014-11-08 19:30:18,617 [localhost-startStop-1] INFO liquibase.ext.logging.LiquibaseSlf4jLogger - Successfully acquired change log lock
    2014-11-08 19:30:22,908 [localhost-startStop-1] INFO liquibase.ext.logging.LiquibaseSlf4jLogger - Reading from `DATABASECHANGELOG`
    2014-11-08 19:30:23,367 [localhost-startStop-1] WARN liquibase.ext.logging.LiquibaseSlf4jLogger - modifyDataType will lose primary key/autoincrement/not null settings for mysql. Use and re-specify all configuration if this is the case
    2014-11-08 19:30:23,441 [localhost-startStop-1] INFO liquibase.ext.logging.LiquibaseSlf4jLogger - Successfully released change log lock
    2014-11-08 19:30:23,446 [localhost-startStop-1] INFO AutobaseGrailsPlugin - ---- Autobase migrations completed ----
    2014-11-08 19:30:24,654 [localhost-startStop-1] WARN grails.util.GrailsUtil - [WARNING] Property [data] of domain class pl.burningice.plugins.image.ast.Image has type [ and doesn't support constraint [blank]. This constraint will not be checked during validation.
    2014-11-08 19:30:24,674 [localhost-startStop-1] INFO org.codehaus.groovy.grails.web.context.GrailsConfigUtils - [GrailsContextLoader] Grails application loaded.
    2014-11-08 19:30:24,833 [localhost-startStop-1] INFO org.atmosphere.cpr.AtmosphereFramework - Installing BroadcastFilter class(es) org.atmosphere.client.TrackMessageSizeFilter
    2014-11-08 19:30:24,868 [localhost-startStop-1] INFO org.atmosphere.cpr.AtmosphereFramework - Installed AtmosphereHandler org.icescrum.atmosphere.IceScrumAtmosphereHandler@3e50a29e mapped to context-path: /stream/app/*
    2014-11-08 19:30:24,945 [localhost-startStop-1] INFO org.atmosphere.cpr.DefaultBroadcaster - /stream/app/* support Out Of Order Broadcast: false
    2014-11-08 19:30:24,956 [localhost-startStop-1] INFO org.atmosphere.cpr.AtmosphereFramework - Auto detecting WebSocketHandler in /WEB-INF/classes/
    2014-11-08 19:30:34,314 [localhost-startStop-1] INFO org.atmosphere.cpr.AtmosphereFramework - Installed WebSocketProtocol org.atmosphere.websocket.protocol.SimpleHttpProtocol
    2014-11-08 19:30:34,321 [localhost-startStop-1] INFO org.atmosphere.cpr.AtmosphereFramework - Atmosphere is using async support: org.atmosphere.container.Servlet30CometSupport running under container: Apache Tomcat/7.0.28 using javax.servlet/3.0
    2014-11-08 19:30:34,322 [localhost-startStop-1] INFO org.atmosphere.cpr.AtmosphereFramework - Installed AtmosphereInterceptor Browser disconnection detection.
    2014-11-08 19:30:34,322 [localhost-startStop-1] INFO org.atmosphere.cpr.AtmosphereFramework - Installed AtmosphereInterceptor Atmosphere JavaScript Protocol.
    2014-11-08 19:30:34,323 [localhost-startStop-1] WARN org.atmosphere.cpr.AtmosphereFramework - No BroadcasterCache configured. Broadcasted message between client reconnection will be LOST. It is recommended to configure the org.atmosphere.cache.UUIDBroadcasterCache
    2014-11-08 19:30:34,323 [localhost-startStop-1] INFO org.atmosphere.cpr.AtmosphereFramework - Using BroadcastFilter: org.atmosphere.client.TrackMessageSizeFilter
    2014-11-08 19:30:34,323 [localhost-startStop-1] INFO org.atmosphere.cpr.AtmosphereFramework - Shared ExecutorService supported: true
    2014-11-08 19:30:34,323 [localhost-startStop-1] INFO org.atmosphere.cpr.AtmosphereFramework - HttpSession supported: false
    2014-11-08 19:30:34,323 [localhost-startStop-1] INFO org.atmosphere.cpr.AtmosphereFramework - Using BroadcasterFactory: org.atmosphere.cpr.DefaultBroadcasterFactory
    2014-11-08 19:30:34,323 [localhost-startStop-1] INFO org.atmosphere.cpr.AtmosphereFramework - Using WebSocketProcessor: org.atmosphere.websocket.DefaultWebSocketProcessor
    2014-11-08 19:30:34,323 [localhost-startStop-1] INFO org.atmosphere.cpr.AtmosphereFramework - Using Broadcaster: org.icescrum.atmosphere.IceScrumBroadcaster
    2014-11-08 19:30:34,325 [localhost-startStop-1] INFO org.atmosphere.cpr.AtmosphereFramework - Atmosphere Framework 1.0.15 started.
    2014-11-08 19:30:34,326 [localhost-startStop-1] INFO org.atmosphere.cpr.AtmosphereFramework -

    For Atmosphere Framework Commercial Support, visit
    http://www.async-io.org/ or send an email to support@async-io.org

    2014-11-08 19:30:35,844 [Thread-7] INFO org.atmosphere.cpr.AtmosphereFramework -

    Current version of Atmosphere 1.0.15
    Newest version of Atmosphere available 2.0.10


    2014-11-08 19:31:25,458 [Timer-0] WARN groovyx.net.http.ParserRegistry - Could not find charset in response
    2014-11-08 19:31:55,797 [http-nio-8080-exec-2] WARN org.atmosphere.cpr.AtmosphereServlet - TomcatCometSupport7 is enabled, switching to it
    2014-11-08 19:32:04,655 [http-nio-8080-exec-3] INFO org.atmosphere.cpr.DefaultBroadcaster - /stream/app/* support Out Of Order Broadcast: false
    2014-11-08 19:32:11,631 [http-nio-8080-exec-3] INFO org.atmosphere.cpr.DefaultBroadcaster - /stream/app/* support Out Of Order Broadcast: false
    2014-11-08 19:32:11,686 [http-nio-8080-exec-3] INFO org.atmosphere.cpr.DefaultBroadcaster - product-1 support Out Of Order Broadcast: false
    2014-11-08 19:32:24,566 [http-nio-8080-exec-10] INFO org.atmosphere.cpr.DefaultBroadcaster - /stream/app/* support Out Of Order Broadcast: false
    2014-11-08 19:32:27,169 [http-nio-8080-exec-7] INFO org.atmosphere.cpr.DefaultBroadcaster - /stream/app/* support Out Of Order Broadcast: false
    2014-11-08 19:32:32,117 [http-nio-8080-exec-1] ERROR org.codehaus.groovy.grails.web.errors.GrailsExceptionResolver - Exception occurred when processing request: [GET] /icescrum/p/SOFTWARE
    Stacktrace follows:
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'teamProductCache': Invocation of init method failed; nested exception is java.lang.OutOfMemoryError: unable to create new native thread
    at grails.spring.BeanBuilder.createApplicationContext(BeanBuilder.java:582)
    at grails.spring.BeanBuilder$createApplicationContext.call(Unknown Source)
    at grails.plugin.springcache.SpringcacheService.createNewCacheWithDefaults(SpringcacheService.groovy:172)
    at grails.plugin.springcache.SpringcacheService.this$2$createNewCacheWithDefaults(SpringcacheService.groovy)
    at grails.plugin.springcache.SpringcacheService$this$2$createNewCacheWithDefaults.callCurrent(Unknown Source)
    at grails.plugin.springcache.SpringcacheService.getOrCreateCache(SpringcacheService.groovy:142)
    at grails.plugin.springcache.SpringcacheService$getOrCreateCache.callCurrent(Unknown Source)
    at grails.plugin.springcache.SpringcacheService.doWithCache(SpringcacheService.groovy:79)
    at grails.plugin.springcache.SpringcacheService$doWithCache.call(Unknown Source)
    at org.icescrum.core.services.SecurityService.openProductTeam(SecurityService.groovy:228)
    at org.icescrum.core.services.SecurityService$openProductTeam.callCurrent(Unknown Source)
    at org.icescrum.core.services.SecurityService.scrumMaster(SecurityService.groovy:254)
    at org.icescrum.core.services.SecurityService$scrumMaster.callCurrent(Unknown Source)
    at org.icescrum.core.services.SecurityService$scrumMaster.callCurrent(Unknown Source)
    at org.icescrum.core.services.SecurityService.filterRequest(SecurityService.groovy:517)
    at org.icescrum.core.services.SecurityService$$FastClassByCGLIB$$9a2cdc3f.invoke()
    at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
    at org.icescrum.core.services.SecurityService$$EnhancerByCGLIB$$b627b01b.filterRequest(
    )
    at org.icescrum.core.services.SecurityService$filterRequest.call(Unknown Source)
    at IceScrumFilters$_closure1_closure4_closure16.doCall(IceScrumFilters.groovy:89)
    at IceScrumFilters$_closure1_closure4_closure16.doCall(IceScrumFilters.groovy)
    at grails.plugin.springcache.web.GrailsFragmentCachingFilter.doFilter(GrailsFragmentCachingFilter.groovy:66)
    at net.sf.ehcache.constructs.web.filter.Filter.doFilter(Filter.java:86)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:745)
    Caused by: java.lang.OutOfMemoryError: unable to create new native thread
    at java.lang.Thread.start0(Native Method)
    at java.lang.Thread.start(Thread.java:714)
    at net.sf.ehcache.store.DiskStore.(DiskStore.java:171)
    at net.sf.ehcache.Cache.createDiskStore(Cache.java:732)
    at net.sf.ehcache.Cache.initialise(Cache.java:682)
    at net.sf.ehcache.CacheManager.addCacheNoCheck(CacheManager.java:811)
    at net.sf.ehcache.CacheManager.addCache(CacheManager.java:801)
    ... 26 more
    2014-11-08 19:32:32,237 [http-nio-8080-exec-1] ERROR org.codehaus.groovy.grails.web.errors.GrailsExceptionResolver - Exception occurred when processing request: [GET] /icescrum/p/SOFTWARE
    Stacktrace follows:
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'teamProductCache': Invocation of init method failed; nested exception is java.lang.OutOfMemoryError: unable to create new native thread
    at grails.spring.BeanBuilder.createApplicationContext(BeanBuilder.java:582)
    at grails.spring.BeanBuilder$createApplicationContext.call(Unknown Source)
    at grails.plugin.springcache.SpringcacheService.createNewCacheWithDefaults(SpringcacheService.groovy:172)
    at grails.plugin.springcache.SpringcacheService.this$2$createNewCacheWithDefaults(SpringcacheService.groovy)
    at grails.plugin.springcache.SpringcacheService$this$2$createNewCacheWithDefaults.callCurrent(Unknown Source)
    at grails.plugin.springcache.SpringcacheService.getOrCreateCache(SpringcacheService.groovy:142)
    at grails.plugin.springcache.SpringcacheService$getOrCreateCache.callCurrent(Unknown Source)
    at grails.plugin.springcache.SpringcacheService.doWithCache(SpringcacheService.groovy:79)
    at grails.plugin.springcache.SpringcacheService$doWithCache.call(Unknown Source)
    at org.icescrum.core.services.SecurityService.openProductTeam(SecurityService.groovy:228)
    at org.icescrum.core.services.SecurityService$openProductTeam.callCurrent(Unknown Source)
    at org.icescrum.core.services.SecurityService.scrumMaster(SecurityService.groovy:254)
    at org.icescrum.core.services.SecurityService$scrumMaster.callCurrent(Unknown Source)
    at org.icescrum.core.services.SecurityService$scrumMaster.callCurrent(Unknown Source)
    at org.icescrum.core.services.SecurityService.filterRequest(SecurityService.groovy:517)
    at org.icescrum.core.services.SecurityService$$FastClassByCGLIB$$9a2cdc3f.invoke()
    at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
    at org.icescrum.core.services.SecurityService$$EnhancerByCGLIB$$b627b01b.filterRequest(
    )
    at org.icescrum.core.services.SecurityService$filterRequest.call(Unknown Source)
    at IceScrumFilters$_closure1_closure4_closure16.doCall(IceScrumFilters.groovy:89)
    at IceScrumFilters$_closure1_closure4_closure16.doCall(IceScrumFilters.groovy)
    at grails.plugin.springcache.web.GrailsFragmentCachingFilter.doFilter(GrailsFragmentCachingFilter.groovy:66)
    at net.sf.ehcache.constructs.web.filter.Filter.doFilter(Filter.java:86)
    at grails.plugin.springcache.web.GrailsFragmentCachingFilter.doFilter(GrailsFragmentCachingFilter.groovy:66)
    at net.sf.ehcache.constructs.web.filter.Filter.doFilter(Filter.java:86)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:745)
    Caused by: java.lang.OutOfMemoryError: unable to create new native thread
    at java.lang.Thread.start0(Native Method)
    at java.lang.Thread.start(Thread.java:714)
    at net.sf.ehcache.store.DiskStore.(DiskStore.java:171)
    at net.sf.ehcache.Cache.createDiskStore(Cache.java:732)
    at net.sf.ehcache.Cache.initialise(Cache.java:682)
    at net.sf.ehcache.CacheManager.addCacheNoCheck(CacheManager.java:811)
    at net.sf.ehcache.CacheManager.addCache(CacheManager.java:801)
    ... 28 more

    Here is my setenv.sh:

    CATALINA_OPTS="-Dicescrum_config_location=/etc/icescrum/icescrum_config.groovy"
    JAVA_OPTS="-Djava.awt.headless=true "
    JAVA_OPTS="-Xms512M -Xmx1024M"
    JAVA_OPTS="-XX:NewSize=512m -XX:MaxNewSize=512m"
    JAVA_OPTS="-XX:PermSize=512m -XX:MaxPermSize=512m"
    JAVA_OPTS="-XX:+DisableExplicitGC"
    JAVA_OPTS="-Dfile.encoding=UTF-8"
    JAVA_OPTS="-Dcom.sun.management.jmxremote"
    JAVA_OPTS="-server"
    JAVA_OPTS="-Duser.timezone=UTC"

    And the icescrum_config.groovy:

    icescrum.project.import.enable = true
    icescrum.project.export.enable = true
    icescrum.project.creation.enable = true
    icescrum.project.private.enable = true
    icescrum.project.private.default = false

    icescrum.gravatar.secure = false
    icescrum.gravatar.enable = false
    icescrum.registration.enable = true
    icescrum.login.retrieve.enable = true

    icescrum.auto_follow_productowner = true
    icescrum.auto_follow_stakeholder = true
    icescrum.auto_follow_scrummaster = true
    icescrum.alerts.errors.to = "dev@icescrum.org"
    icescrum.alerts.subject_prefix = "[icescrum]"
    icescrum.alerts.enable = true
    icescrum.alerts.default.from = "webmaster@icescrum.org"

    icescrum.attachments.enable = true

    icescrum.debug.enable = false
    icescrum.securitydebug.enable = false

    icescrum.baseDir = "/home/icescrum"


    icescrum.cors.enable = true
    icescrum.cors.allow.origin.regex = "*"


    grails.serverURL = "http://******:8080/icescrum"

    grails.mail.host = "smtp.gmail.com"
    grails.mail.port = 465
    grails.mail.username = "alex.siedler@gmail.com"
    grails.mail.password = "********"
    grails.mail.props = ["mail.smtp.auth":"true",
    "mail.smtp.socketFactory.port":"465",
    "mail.smtp.socketFactory.class":"javax.net.ssl.SSLSocketFactory",
    "mail.smtp.socketFactory.fallback":"false"]


    dataSource.dialect = "org.hibernate.dialect.MySQL5InnoDBDialect"
    dataSource.driverClassName = "com.mysql.jdbc.Driver"
    dataSource.url = "jdbc:mysql://localhost:3306/icescrum?useUnicode=true&characterEncoding=utf8"
    dataSource.username = "root"
    dataSource.password = "******"

    I hope you can help me 🙂

    now im getting a new Message:

    Grails Runtime Exception

    Error Details

    Error 500: Error creating bean with name 'scrumMasterCache': Invocation of init method failed; nested exception is net.sf.ehcache.ObjectExistsException: Cache scrumMasterCache already exists
    Servlet: grails
    URI: /icescrum/grails/errors/memory.dispatch
    Exception Message: Cache scrumMasterCache already exists
    Caused by: Error creating bean with name 'scrumMasterCache': Invocation of init method failed; nested exception is net.sf.ehcache.ObjectExistsException: Cache scrumMasterCache already exists
    Class: GrailsFragmentCachingFilter
    At Line: [66]
    Code Snippet:

    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'scrumMasterCache': Invocation of init method failed; nested exception is net.sf.ehcache.ObjectExistsException: Cache scrumMasterCache already exists

    at grails.spring.BeanBuilder.createApplicationContext(BeanBuilder.java:582)

    at grails.spring.BeanBuilder$createApplicationContext.call(Unknown Source)

    at grails.plugin.springcache.SpringcacheService.createNewCacheWithDefaults(SpringcacheService.groovy:172)

    at grails.plugin.springcache.SpringcacheService.this$2$createNewCacheWithDefaults(SpringcacheService.groovy)

    at grails.plugin.springcache.SpringcacheService$this$2$createNewCacheWithDefaults.callCurrent(Unknown Source)

    at grails.plugin.springcache.SpringcacheService.getOrCreateCache(SpringcacheService.groovy:142)

    at grails.plugin.springcache.SpringcacheService$getOrCreateCache.callCurrent(Unknown Source)

    at grails.plugin.springcache.SpringcacheService.doWithCache(SpringcacheService.groovy:79)

    at grails.plugin.springcache.SpringcacheService$doWithCache.call(Unknown Source)

    at org.icescrum.core.services.SecurityService.isScrumMaster(SecurityService.groovy:273)

    at org.icescrum.core.services.SecurityService$isScrumMaster.callCurrent(Unknown Source)

    at org.icescrum.core.services.SecurityService.scrumMaster(SecurityService.groovy:264)

    at org.icescrum.core.services.SecurityService$scrumMaster.callCurrent(Unknown Source)

    at org.icescrum.core.services.SecurityService$scrumMaster.callCurrent(Unknown Source)

    at org.icescrum.core.services.SecurityService.filterRequest(SecurityService.groovy:517)

    at org.icescrum.core.services.SecurityService$$FastClassByCGLIB$$9a2cdc3f.invoke()

    at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)

    at org.icescrum.core.services.SecurityService$$EnhancerByCGLIB$$84d7b438.filterRequest(
    )

    at org.icescrum.core.services.SecurityService$filterRequest.call(Unknown Source)

    at IceScrumFilters$_closure1_closure4_closure16.doCall(IceScrumFilters.groovy:89)

    at IceScrumFilters$_closure1_closure4_closure16.doCall(IceScrumFilters.groovy)

    at grails.plugin.springcache.web.GrailsFragmentCachingFilter.doFilter(GrailsFragmentCachingFilter.groovy:66)

    at net.sf.ehcache.constructs.web.filter.Filter.doFilter(Filter.java:86)

    at grails.plugin.springcache.web.GrailsFragmentCachingFilter.doFilter(GrailsFragmentCachingFilter.groovy:66)

    at net.sf.ehcache.constructs.web.filter.Filter.doFilter(Filter.java:86)

    at grails.plugin.springcache.web.GrailsFragmentCachingFilter.doFilter(GrailsFragmentCachingFilter.groovy:66)

    at net.sf.ehcache.constructs.web.filter.Filter.doFilter(Filter.java:86)

    at grails.plugin.springcache.web.GrailsFragmentCachingFilter.doFilter(GrailsFragmentCachingFilter.groovy:66)

    at net.sf.ehcache.constructs.web.filter.Filter.doFilter(Filter.java:86)

    at grails.plugin.springcache.web.GrailsFragmentCachingFilter.doFilter(GrailsFragmentCachingFilter.groovy:66)

    at net.sf.ehcache.constructs.web.filter.Filter.doFilter(Filter.java:86)

    at grails.plugin.springcache.web.GrailsFragmentCachingFilter.doFilter(GrailsFragmentCachingFilter.groovy:66)

    at net.sf.ehcache.constructs.web.filter.Filter.doFilter(Filter.java:86)

    at grails.plugin.springcache.web.GrailsFragmentCachingFilter.doFilter(GrailsFragmentCachingFilter.groovy:66)

    at net.sf.ehcache.constructs.web.filter.Filter.doFilter(Filter.java:86)

    at grails.plugin.springcache.web.GrailsFragmentCachingFilter.doFilter(GrailsFragmentCachingFilter.groovy:66)

    at net.sf.ehcache.constructs.web.filter.Filter.doFilter(Filter.java:86)

    at grails.plugin.springcache.web.GrailsFragmentCachingFilter.doFilter(GrailsFragmentCachingFilter.groovy:66)

    at net.sf.ehcache.constructs.web.filter.Filter.doFilter(Filter.java:86)

    at grails.plugin.springcache.web.GrailsFragmentCachingFilter.doFilter(GrailsFragmentCachingFilter.groovy:66)

    at net.sf.ehcache.constructs.web.filter.Filter.doFilter(Filter.java:86)

    at grails.plugin.springcache.web.GrailsFragmentCachingFilter.doFilter(GrailsFragmentCachingFilter.groovy:66)

    at net.sf.ehcache.constructs.web.filter.Filter.doFilter(Filter.java:86)

    at grails.plugin.springcache.web.GrailsFragmentCachingFilter.doFilter(GrailsFragmentCachingFilter.groovy:66)

    at net.sf.ehcache.constructs.web.filter.Filter.doFilter(Filter.java:86)

    at grails.plugin.springcache.web.GrailsFragmentCachingFilter.doFilter(GrailsFragmentCachingFilter.groovy:66)

    at net.sf.ehcache.constructs.web.filter.Filter.doFilter(Filter.java:86)

    at grails.plugin.springcache.web.GrailsFragmentCachingFilter.doFilter(GrailsFragmentCachingFilter.groovy:66)

    at net.sf.ehcache.constructs.web.filter.Filter.doFilter(Filter.java:86)

    at grails.plugin.springcache.web.GrailsFragmentCachingFilter.doFilter(GrailsFragmentCachingFilter.groovy:66)

    at net.sf.ehcache.constructs.web.filter.Filter.doFilter(Filter.java:86)

    at grails.plugin.springcache.web.GrailsFragmentCachingFilter.doFilter(GrailsFragmentCachingFilter.groovy:66)

    at net.sf.ehcache.constructs.web.filter.Filter.doFilter(Filter.java:86)

    at grails.plugin.springcache.web.GrailsFragmentCachingFilter.doFilter(GrailsFragmentCachingFilter.groovy:66)

    at net.sf.ehcache.constructs.web.filter.Filter.doFilter(Filter.java:86)

    at grails.plugin.springcache.web.GrailsFragmentCachingFilter.doFilter(GrailsFragmentCachingFilter.groovy:66)

    at net.sf.ehcache.constructs.web.filter.Filter.doFilter(Filter.java:86)

    at grails.plugin.springcache.web.GrailsFragmentCachingFilter.doFilter(GrailsFragmentCachingFilter.groovy:66)

    at net.sf.ehcache.constructs.web.filter.Filter.doFilter(Filter.java:86)

    at grails.plugin.springcache.web.GrailsFragmentCachingFilter.doFilter(GrailsFragmentCachingFilter.groovy:66)

    at net.sf.ehcache.constructs.web.filter.Filter.doFilter(Filter.java:86)

    at grails.plugin.springcache.web.GrailsFragmentCachingFilter.doFilter(GrailsFragmentCachingFilter.groovy:66)

    at net.sf.ehcache.constructs.web.filter.Filter.doFilter(Filter.java:86)

    at grails.plugin.springcache.web.GrailsFragmentCachingFilter.doFilter(GrailsFragmentCachingFilter.groovy:66)

    at net.sf.ehcache.constructs.web.filter.Filter.doFilter(Filter.java:86)

    at grails.plugin.springcache.web.GrailsFragmentCachingFilter.doFilter(GrailsFragmentCachingFilter.groovy:66)

    at net.sf.ehcache.constructs.web.filter.Filter.doFilter(Filter.java:86)

    at grails.plugin.springcache.web.GrailsFragmentCachingFilter.doFilter(GrailsFragmentCachingFilter.groovy:66)

    at net.sf.ehcache.constructs.web.filter.Filter.doFilter(Filter.java:86)

    at grails.plugin.springcache.web.GrailsFragmentCachingFilter.doFilter(GrailsFragmentCachingFilter.groovy:66)

    at net.sf.ehcache.constructs.web.filter.Filter.doFilter(Filter.java:86)

    at grails.plugin.springcache.web.GrailsFragmentCachingFilter.doFilter(GrailsFragmentCachingFilter.groovy:66)

    at net.sf.ehcache.constructs.web.filter.Filter.doFilter(Filter.java:86)

    at grails.plugin.springcache.web.GrailsFragmentCachingFilter.doFilter(GrailsFragmentCachingFilter.groovy:66)

    at net.sf.ehcache.constructs.web.filter.Filter.doFilter(Filter.java:86)

    at grails.plugin.springcache.web.GrailsFragmentCachingFilter.doFilter(GrailsFragmentCachingFilter.groovy:66)

    at net.sf.ehcache.constructs.web.filter.Filter.doFilter(Filter.java:86)

    at grails.plugin.springcache.web.GrailsFragmentCachingFilter.doFilter(GrailsFragmentCachingFilter.groovy:66)

    at net.sf.ehcache.constructs.web.filter.Filter.doFilter(Filter.java:86)

    at grails.plugin.springcache.web.GrailsFragmentCachingFilter.doFilter(GrailsFragmentCachingFilter.groovy:66)

    at net.sf.ehcache.constructs.web.filter.Filter.doFilter(Filter.java:86)

    Caused by: net.sf.ehcache.ObjectExistsException: Cache scrumMasterCache already exists

    at net.sf.ehcache.CacheManager.addCacheNoCheck(CacheManager.java:807)

    at net.sf.ehcache.CacheManager.addCache(CacheManager.java:801)

    ... 81 more

    [/code]

    #10971

    Kagilum
    Maître des clés

    Ok i dont know how but the Problem with the login doesn´t exit anymore now. But we are having a Problem in the App. Everytime i try to create or change a story etc. the message appers : iceScrum doesn’t have enough memory. Please contact your admin (more information in log file)
    .

    But it is taking the changes or creating the story. So not a big Problem.

    But i cant login on my server with putty anymore with the message: Server unexpectedly closed network connection. So i cant get to the log file. I still see the Ressourcen of the Server in my Parellels Power Panel und the RAM has 1,5 gb free space. But i dont have access to the File-Managaer.

    I hope you can help me.

    #10972

    Nicolas Noullet
    Maître des clés

    Hello,

    Did you configure the JVM heap size used by Tomcat in the CATALINA_OPTS system variable as indicated in the install guide : https://www.icescrum.com/fr/documentation/install-guide/#application-server?

    #10973

    Kagilum
    Maître des clés

    Hi,

    thank you for your reply. Yes i configure the JVM heap size. Here are my configurations:

    CATALINA_OPTS="-Dicescrum_config_location=/etc/icescrum/icescrum_config.groovy"
    JAVA_OPTS="-Djava.awt.headless=true "
    JAVA_OPTS="-Xms512M -Xmx1024M"
    JAVA_OPTS="-XX:NewSize=512m -XX:MaxNewSize=512m"
    JAVA_OPTS="-XX:PermSize=512m -XX:MaxPermSize=512m"
    JAVA_OPTS="-XX:+DisableExplicitGC"
    JAVA_OPTS="-Dfile.encoding=UTF-8"
    JAVA_OPTS="-Dcom.sun.management.jmxremote"
    JAVA_OPTS="-server"
    JAVA_OPTS="-Duser.timezone=UTC"
    #10974

    Nicolas Noullet
    Maître des clés

    Where did you put this configuration?

    There is a problem here: you override the JAVA_OPTS on each new assignment. You should either define it on one line or repeat the variable at the beginning of each assignment.

    Also, you should probably export the variables, so it would rather look like:


    export CATALINA_OPTS="$CATALINA_OPTS -Dicescrum_config_location=/etc/icescrum/icescrum_config.groovy"
    export JAVA_OPTS="$JAVA_OPTS -Djava.awt.headless=true"
    export JAVA_OPTS="$JAVA_OPTS -Xms512M -Xmx1024M"
    ...
    #10975

    Kagilum
    Maître des clés

    Thank you, i will try it like you said.

    I have put this configuration in my setenv.sh file.

    #10976

    Nicolas Noullet
    Maître des clés

    That is the right place.

    You can check that the options are taken into account by restarting Tomcat and checking that the command corresponding to the JAVA process include them (ps x).

    #10977

    Kagilum
    Maître des clés

    So i tried it like you suggested but there isnt any improvement. Now it wont even safe new Task etc. And i cant dispay the Sandbox sometimes..

    Here is the icescrum.log:

    2014-11-10 21:36:07,316 [Timer-0] WARN  groovyx.net.http.ParserRegistry  - Could not find charset in response
    2014-11-10 22:30:58,046 [http-nio-8080-exec-4] WARN org.atmosphere.cpr.AtmosphereServlet - TomcatCometSupport7 is enabled, switching to it
    2014-11-10 22:31:12,762 [http-nio-8080-exec-6] INFO org.atmosphere.cpr.DefaultBroadcaster - /stream/app/* support Out Of Order Broadcast: false
    2014-11-10 22:31:12,939 [http-nio-8080-exec-10] INFO org.atmosphere.cpr.DefaultBroadcaster - /stream/app/* support Out Of Order Broadcast: false
    2014-11-10 22:31:12,970 [http-nio-8080-exec-1] INFO org.atmosphere.cpr.DefaultBroadcaster - product-1 support Out Of Order Broadcast: false
    2014-11-10 22:31:13,026 [http-nio-8080-exec-7] INFO org.atmosphere.cpr.DefaultBroadcaster - product-1 support Out Of Order Broadcast: false
    2014-11-10 22:31:13,041 [http-nio-8080-exec-3] INFO org.atmosphere.cpr.DefaultBroadcaster - product-1 support Out Of Order Broadcast: false
    2014-11-10 22:31:22,317 [http-nio-8080-exec-10] ERROR org.codehaus.groovy.grails.web.errors.GrailsExceptionResolver - Exception occurred when processing request: [GET] /icescrum/p/1/openWindow/sandbox
    Stacktrace follows:
    org.codehaus.groovy.grails.web.servlet.mvc.exceptions.ControllerExecutionException: Executing action
      of controller [org.icescrum.web.presentation.app.project.SandboxController] caused exception: Error executing tag : Error executing tag : Error creating bean with name 'storyCache': Invocation of init method failed; nested exception is java.lang.OutOfMemoryError: unable to create new native thread at /WEB-INF/grails-app/views/sandbox/window/_postitsView.gsp:37 at /WEB-INF/grails-app/views/sandbox/window/_postitsView.gsp:37
      at grails.plugin.springcache.web.GrailsFragmentCachingFilter.doFilter(GrailsFragmentCachingFilter.groovy:66)
      at net.sf.ehcache.constructs.web.filter.Filter.doFilter(Filter.java:86)
      at org.icescrum.core.taglib.WindowTagLib.includeContent(WindowTagLib.groovy:437)
      at org.icescrum.core.taglib.WindowTagLib$_closure1.doCall(WindowTagLib.groovy:58)
      at org.icescrum.core.taglib.WindowTagLib.invokeMethod(WindowTagLib.groovy)
      at org.icescrum.web.presentation.ScrumOSController$_closure3.doCall(ScrumOSController.groovy:188)
      at org.icescrum.web.presentation.ScrumOSController$_closure3.doCall(ScrumOSController.groovy)
      at grails.plugin.springcache.web.GrailsFragmentCachingFilter.doFilter(GrailsFragmentCachingFilter.groovy:66)
      at net.sf.ehcache.constructs.web.filter.Filter.doFilter(Filter.java:86)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      at java.lang.Thread.run(Thread.java:745)
      Caused by: org.codehaus.groovy.grails.web.taglib.exceptions.GrailsTagException: Error executing tag : Error executing tag : Error creating bean with name 'storyCache': Invocation of init method failed; nested exception is java.lang.OutOfMemoryError: unable to create new native thread at /WEB-INF/grails-app/views/sandbox/window/_postitsView.gsp:37 at /WEB-INF/grails-app/views/sandbox/window/_postitsView.gsp:37
      at gsp_icescrum_sandbox_window_postitsView_gsp.run(gsp_icescrum_sandbox_window_postitsView_gsp.groovy:33)
      at org.icescrum.web.presentation.app.project.SandboxController$_closure2.doCall(SandboxController.groovy:68)
      at org.icescrum.web.presentation.app.project.SandboxController$_closure2.doCall(SandboxController.groovy)
      ... 12 more
      Caused by: org.codehaus.groovy.grails.web.taglib.exceptions.GrailsTagException: Error executing tag
      : Error creating bean with name 'storyCache': Invocation of init method failed; nested exception is java.lang.OutOfMemoryError: unable to create new native thread at /WEB-INF/grails-app/views/sandbox/window/_postitsView.gsp:37
      at gsp_icescrum_sandbox_window_postitsView_gsp$_run_closure1.doCall(gsp_icescrum_sandbox_window_postitsView_gsp.groovy:30)
      at org.icescrum.core.taglib.ScrumTagLib$_closure3_closure23.doCall(ScrumTagLib.groovy:159)
      at org.icescrum.core.taglib.ScrumTagLib$_closure3.doCall(ScrumTagLib.groovy:157)
      ... 15 more
      Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'storyCache': Invocation of init method failed; nested exception is java.lang.OutOfMemoryError: unable to create new native thread
      at grails.spring.BeanBuilder.createApplicationContext(BeanBuilder.java:582)
      at grails.spring.BeanBuilder$createApplicationContext.call(Unknown Source)
      at grails.plugin.springcache.SpringcacheService.createNewCacheWithDefaults(SpringcacheService.groovy:172)
      at grails.plugin.springcache.SpringcacheService.this$2$createNewCacheWithDefaults(SpringcacheService.groovy)
      at grails.plugin.springcache.SpringcacheService$this$2$createNewCacheWithDefaults.callCurrent(Unknown Source)
      at grails.plugin.springcache.SpringcacheService.getOrCreateCache(SpringcacheService.groovy:142)
      at grails.plugin.springcache.SpringcacheService$getOrCreateCache.callCurrent(Unknown Source)
      at grails.plugin.springcache.SpringcacheService.doWithCache(SpringcacheService.groovy:79)
      at grails.plugin.springcache.SpringcacheService$doWithCache.call(Unknown Source)
      at org.icescrum.presentation.taglib.UtilsTagLib$_closure11.doCall(UtilsTagLib.groovy:336)
      ... 18 more
      Caused by: java.lang.OutOfMemoryError: unable to create new native thread
      at java.lang.Thread.start0(Native Method)
      at java.lang.Thread.start(Thread.java:714)
      at net.sf.ehcache.store.DiskStore.(DiskStore.java:171)
      at net.sf.ehcache.Cache.createDiskStore(Cache.java:732)
      at net.sf.ehcache.Cache.initialise(Cache.java:682)
      at net.sf.ehcache.CacheManager.addCacheNoCheck(CacheManager.java:811)
      at net.sf.ehcache.CacheManager.addCache(CacheManager.java:801)
      ... 28 more
      2014-11-10 22:31:25,845 [http-nio-8080-exec-5] WARN net.sf.ehcache.constructs.web.filter.Filter - Throwable thrown during doFilter on request with URI: /icescrum/grails/scrumOS/openWindow.dispatch and Query: nullError creating bean with name 'releaseCache': Invocation of init method failed; nested exception is java.lang.OutOfMemoryError: unable to create new native thread
      org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'releaseCache': Invocation of init method failed; nested exception is java.lang.OutOfMemoryError: unable to create new native thread
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1420)
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
      at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
      at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
      at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)
      at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)
      at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:563)
      at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)
      at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)
      at org.codehaus.groovy.grails.commons.spring.DefaultRuntimeSpringConfiguration.getApplicationContext(DefaultRuntimeSpringConfiguration.java:154)
      at grails.spring.BeanBuilder.createApplicationContext(BeanBuilder.java:582)
      at grails.spring.BeanBuilder$createApplicationContext.call(Unknown Source)
      at grails.plugin.springcache.SpringcacheService.createNewCacheWithDefaults(SpringcacheService.groovy:172)
      at grails.plugin.springcache.SpringcacheService.this$2$createNewCacheWithDefaults(SpringcacheService.groovy)
      at grails.plugin.springcache.SpringcacheService$this$2$createNewCacheWithDefaults.callCurrent(Unknown Source)
      at grails.plugin.springcache.SpringcacheService.getOrCreateCache(SpringcacheService.groovy:142)
      at grails.plugin.springcache.SpringcacheService$getOrCreateCache.callCurrent(Unknown Source)
      at grails.plugin.springcache.SpringcacheService.getOrCreateBlockingCache(SpringcacheService.groovy:120)
      at grails.plugin.springcache.SpringcacheService$getOrCreateBlockingCache.call(Unknown Source)
      at grails.plugin.springcache.web.GrailsFragmentCachingFilter.buildPageInfo(GrailsFragmentCachingFilter.groovy:82)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:606)
      at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSiteNoUnwrapNoCoerce.invoke(PogoMetaMethodSite.java:266)
      at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:51)
      at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:44)
      at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:56)
      at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:157)
      at grails.plugin.springcache.web.GrailsFragmentCachingFilter.doFilter(GrailsFragmentCachingFilter.groovy:62)
      at net.sf.ehcache.constructs.web.filter.Filter.doFilter(Filter.java:86)
      at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237)
      at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:690)
      at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:599)
      at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:536)
      at org.codehaus.groovy.grails.web.util.WebUtils.includeForUrl(WebUtils.java:378)
      at org.codehaus.groovy.grails.web.util.WebUtils.includeForUrlMappingInfo(WebUtils.java:339)
      at org.codehaus.groovy.grails.web.util.WebUtils$includeForUrlMappingInfo.call(Unknown Source)
      at org.icescrum.core.taglib.WindowTagLib.includeContent(WindowTagLib.groovy:437)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:606)
      at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
      at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
      at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1058)
      at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1070)
      at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:886)
      at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1003)
      at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1070)
      at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:886)
      at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:66)
      at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:149)
      at org.icescrum.core.taglib.WindowTagLib$_closure1.doCall(WindowTagLib.groovy:58)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:606)
      at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
      at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
      at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1058)
      at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1070)
      at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:886)
      at groovy.lang.Closure.call(Closure.java:282)
      at org.codehaus.groovy.grails.web.pages.GroovyPage.captureTagOutput(GroovyPage.java:539)
      at org.codehaus.groovy.grails.web.pages.GroovyPage$captureTagOutput.call(Unknown Source)
      at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:40)
      at org.codehaus.groovy.grails.web.pages.GroovyPage$captureTagOutput.call(Unknown Source)
      at org.codehaus.groovy.grails.web.plugins.support.WebMetaUtils$_registerMethodMissingForTags_closure22.doCall(WebMetaUtils.groovy:246)
      at sun.reflect.GeneratedMethodAccessor477.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:606)
      at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
      at org.codehaus.groovy.runtime.metaclass.ClosureMetaMethod.invoke(ClosureMetaMethod.java:80)
      at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
      at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1058)
      at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1070)
      at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:886)
      at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:706)
      at org.icescrum.core.taglib.WindowTagLib.invokeMethod(WindowTagLib.groovy)
      at groovy.lang.GroovyObject$invokeMethod.call(Unknown Source)
      at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:40)
      at groovy.lang.GroovyObject$invokeMethod.call(Unknown Source)
      at org.codehaus.groovy.grails.web.taglib.NamespacedTagDispatcher.invokeMethod(NamespacedTagDispatcher.groovy:49)
      at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:45)
      at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:128)
      at org.icescrum.web.presentation.ScrumOSController$_closure3.doCall(ScrumOSController.groovy:188)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:606)
      at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSite.invoke(PogoMetaMethodSite.java:225)
      at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:51)
      at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:149)
      at org.icescrum.web.presentation.ScrumOSController$_closure3.doCall(ScrumOSController.groovy)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:606)
      at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
      at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
      at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1058)
      at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1070)
      at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:886)
      at groovy.lang.Closure.call(Closure.java:282)
      at groovy.lang.Closure.call(Closure.java:277)
      at org.codehaus.groovy.grails.web.servlet.mvc.SimpleGrailsControllerHelper.handleAction(SimpleGrailsControllerHelper.java:368)
      at org.codehaus.groovy.grails.web.servlet.mvc.SimpleGrailsControllerHelper.executeAction(SimpleGrailsControllerHelper.java:232)
      at org.codehaus.groovy.grails.web.servlet.mvc.SimpleGrailsControllerHelper.handleURI(SimpleGrailsControllerHelper.java:190)
      at org.codehaus.groovy.grails.web.servlet.mvc.SimpleGrailsControllerHelper.handleURI(SimpleGrailsControllerHelper.java:129)
      at org.codehaus.groovy.grails.web.servlet.mvc.SimpleGrailsController.handleRequest(SimpleGrailsController.java:73)
      at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
      at org.codehaus.groovy.grails.web.servlet.GrailsDispatcherServlet.doDispatch(GrailsDispatcherServlet.java:292)
      at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)
      at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:644)
      at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:549)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
      at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:70)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
      at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:70)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
      at javax.servlet.FilterChain$doFilter.call(Unknown Source)
      at grails.plugin.springcache.web.GrailsFragmentCachingFilter.doFilter(GrailsFragmentCachingFilter.groovy:66)
      at net.sf.ehcache.constructs.web.filter.Filter.doFilter(Filter.java:86)
      at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237)
      at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
      at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:70)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:690)
      at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:477)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:402)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:329)
      at org.codehaus.groovy.grails.web.util.WebUtils.forwardRequestForUrlMappingInfo(WebUtils.java:298)
      at org.codehaus.groovy.grails.web.util.WebUtils.forwardRequestForUrlMappingInfo(WebUtils.java:264)
      at org.codehaus.groovy.grails.web.util.WebUtils.forwardRequestForUrlMappingInfo(WebUtils.java:255)
      at org.codehaus.groovy.grails.web.mapping.filter.UrlMappingsFilter.doFilterInternal(UrlMappingsFilter.java:183)
      at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
      at org.codehaus.groovy.grails.web.sitemesh.GrailsPageFilter.obtainContent(GrailsPageFilter.java:245)
      at org.codehaus.groovy.grails.web.sitemesh.GrailsPageFilter.doFilter(GrailsPageFilter.java:134)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
      at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:369)
      at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109)
      at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)
      at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:381)
      at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:97)
      at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:381)
      at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:78)
      at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:381)
      at org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter.doFilter(RememberMeAuthenticationFilter.java:119)
      at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:381)
      at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:54)
      at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:381)
      at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:187)
      at org.codehaus.groovy.grails.plugins.springsecurity.RequestHolderAuthenticationFilter.doFilter(RequestHolderAuthenticationFilter.java:40)
      at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:381)
      at org.codehaus.groovy.grails.plugins.springsecurity.MutableLogoutFilter.doFilter(MutableLogoutFilter.java:79)
      at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:381)
      at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:79)
      at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:381)
      at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:168)
      at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237)
      at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
      at org.codehaus.groovy.grails.web.servlet.mvc.GrailsWebRequestFilter.doFilterInternal(GrailsWebRequestFilter.java:69)
      at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
      at org.codehaus.groovy.grails.web.filters.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:69)
      at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
      at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
      at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
      at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237)
      at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
      at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
      at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1002)
      at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579)
      at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1653)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      at java.lang.Thread.run(Thread.java:745)
      Caused by: java.lang.OutOfMemoryError: unable to create new native thread
      at java.lang.Thread.start0(Native Method)
      at java.lang.Thread.start(Thread.java:714)
      at net.sf.ehcache.store.DiskStore.
      (DiskStore.java:171)
      at net.sf.ehcache.Cache.createDiskStore(Cache.java:732)
      at net.sf.ehcache.Cache.initialise(Cache.java:682)
      at net.sf.ehcache.CacheManager.addCacheNoCheck(CacheManager.java:811)
      at net.sf.ehcache.CacheManager.addCache(CacheManager.java:801)
      at org.springframework.cache.ehcache.EhCacheFactoryBean.afterPropertiesSet(EhCacheFactoryBean.java:302)
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1477)
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1417)
      ... 206 more
      2014-11-10 22:31:25,946 [http-nio-8080-exec-5] ERROR org.codehaus.groovy.grails.web.errors.GrailsExceptionResolver - Exception occurred when processing request: [GET] /icescrum/p/1/openWindow/timeline
      Stacktrace follows:
      org.codehaus.groovy.grails.web.servlet.mvc.exceptions.ControllerExecutionException: Executing action [openWindow] of controller [org.icescrum.web.presentation.ScrumOSController] caused exception: Unable to execute include: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'releaseCache': Invocation of init method failed; nested exception is java.lang.OutOfMemoryError: unable to create new native thread
      at grails.plugin.springcache.web.GrailsFragmentCachingFilter.doFilter(GrailsFragmentCachingFilter.groovy:66)
      at net.sf.ehcache.constructs.web.filter.Filter.doFilter(Filter.java:86)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      at java.lang.Thread.run(Thread.java:745)
      Caused by: org.codehaus.groovy.grails.web.servlet.mvc.exceptions.ControllerExecutionException: Unable to execute include: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'releaseCache': Invocation of init method failed; nested exception is java.lang.OutOfMemoryError: unable to create new native thread
      at org.icescrum.core.taglib.WindowTagLib.includeContent(WindowTagLib.groovy:437)
      at org.icescrum.core.taglib.WindowTagLib$_closure1.doCall(WindowTagLib.groovy:58)
      at org.icescrum.core.taglib.WindowTagLib.invokeMethod(WindowTagLib.groovy)
      at org.icescrum.web.presentation.ScrumOSController$_closure3.doCall(ScrumOSController.groovy:188)
      at org.icescrum.web.presentation.ScrumOSController$_closure3.doCall(ScrumOSController.groovy)
      ... 5 more
      Caused by: javax.servlet.ServletException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'releaseCache': Invocation of init method failed; nested exception is java.lang.OutOfMemoryError: unable to create new native thread
      at net.sf.ehcache.constructs.web.filter.Filter.logThrowable(Filter.java:143)
      at net.sf.ehcache.constructs.web.filter.Filter.doFilter(Filter.java:91)
      ... 10 more
      Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'releaseCache': Invocation of init method failed; nested exception is java.lang.OutOfMemoryError: unable to create new native thread
      at grails.spring.BeanBuilder.createApplicationContext(BeanBuilder.java:582)
      at grails.spring.BeanBuilder$createApplicationContext.call(Unknown Source)
      at grails.plugin.springcache.SpringcacheService.createNewCacheWithDefaults(SpringcacheService.groovy:172)
      at grails.plugin.springcache.SpringcacheService.this$2$createNewCacheWithDefaults(SpringcacheService.groovy)
      at grails.plugin.springcache.SpringcacheService$this$2$createNewCacheWithDefaults.callCurrent(Unknown Source)
      at grails.plugin.springcache.SpringcacheService.getOrCreateCache(SpringcacheService.groovy:142)
      at grails.plugin.springcache.SpringcacheService$getOrCreateCache.callCurrent(Unknown Source)
      at grails.plugin.springcache.SpringcacheService.getOrCreateBlockingCache(SpringcacheService.groovy:120)
      at grails.plugin.springcache.SpringcacheService$getOrCreateBlockingCache.call(Unknown Source)
      at grails.plugin.springcache.web.GrailsFragmentCachingFilter.buildPageInfo(GrailsFragmentCachingFilter.groovy:82)
      at grails.plugin.springcache.web.GrailsFragmentCachingFilter.doFilter(GrailsFragmentCachingFilter.groovy:62)
      at net.sf.ehcache.constructs.web.filter.Filter.doFilter(Filter.java:86)
      ... 10 more

    And i sometimes get this error now:

    Apache Tomcat/7.0.28 - Error report HTTP Status 500 - java.lang.OutOfMemoryError: unable to create new native threadtype Exception reportmessage java.lang.OutOfMemoryError: unable to create new native threaddescription The server encountered an internal error (java.lang.OutOfMemoryError: unable to create new native thread) that prevented it from fulfilling this request.exception org.atmosphere.cpr.DefaultBroadcasterFactory$BroadcasterCreationException: java.lang.OutOfMemoryError: unable to create new native thread
    org.atmosphere.cpr.DefaultBroadcasterFactory.createBroadcaster(DefaultBroadcasterFactory.java:189)
    org.atmosphere.cpr.DefaultBroadcasterFactory.lookup(DefaultBroadcasterFactory.java:263)
    org.atmosphere.cpr.DefaultBroadcasterFactory.get(DefaultBroadcasterFactory.java:162)
    org.atmosphere.cpr.DefaultBroadcasterFactory.get(DefaultBroadcasterFactory.java:147)
    org.atmosphere.cpr.AsynchronousProcessor.action(AsynchronousProcessor.java:213)
    org.atmosphere.cpr.AsynchronousProcessor.suspended(AsynchronousProcessor.java:167)
    org.atmosphere.container.Tomcat7CometSupport.service(Tomcat7CometSupport.java:88)
    org.atmosphere.cpr.AtmosphereFramework.doCometSupport(AtmosphereFramework.java:1445)
    org.atmosphere.cpr.AtmosphereServlet.event(AtmosphereServlet.java:361)
    org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
    org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
    org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
    org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
    org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1002)
    org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579)
    org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1653)
    java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    java.lang.Thread.run(Thread.java:745)
    root cause java.lang.OutOfMemoryError: unable to create new native thread
    java.lang.Thread.start0(Native Method)
    java.lang.Thread.start(Thread.java:714)
    java.util.concurrent.ThreadPoolExecutor.addWorker(ThreadPoolExecutor.java:949)
    java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1360)
    java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:110)
    org.atmosphere.cpr.DefaultBroadcaster.spawnReactor(DefaultBroadcaster.java:682)
    org.atmosphere.cpr.DefaultBroadcaster.start(DefaultBroadcaster.java:664)
    org.atmosphere.cpr.DefaultBroadcasterFactory.createBroadcaster(DefaultBroadcasterFactory.java:178)
    org.atmosphere.cpr.DefaultBroadcasterFactory.lookup(DefaultBroadcasterFactory.java:263)
    org.atmosphere.cpr.DefaultBroadcasterFactory.get(DefaultBroadcasterFactory.java:162)
    org.atmosphere.cpr.DefaultBroadcasterFactory.get(DefaultBroadcasterFactory.java:147)
    org.atmosphere.cpr.AsynchronousProcessor.action(AsynchronousProcessor.java:213)
    org.atmosphere.cpr.AsynchronousProcessor.suspended(AsynchronousProcessor.java:167)
    org.atmosphere.container.Tomcat7CometSupport.service(Tomcat7CometSupport.java:88)
    org.atmosphere.cpr.AtmosphereFramework.doCometSupport(AtmosphereFramework.java:1445)
    org.atmosphere.cpr.AtmosphereServlet.event(AtmosphereServlet.java:361)
    org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
    org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
    org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
    org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
    org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1002)
    org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579)
    org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1653)
    java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    java.lang.Thread.run(Thread.java:745)
    note The full stack trace of the root cause is available in the Apache Tomcat/7.0.28 logs.Apache Tomcat/7.0.28

    here is my now used sevent.sh:

    export CATALINA_OPTS="$CATALINA_OPTS -Dicescrum_config_location=/etc/icescrum/icescrum_config.groovy"
    export JAVA_OPTS="$JAVA_OPTS -Xms1024M -Xmx1536M -Djava.awt.headless=true"
    export JAVA_OPTS="$JAVA_OPTS -Dcom.sun.management.jmxremote"
    export JAVA_OPTS="$JAVA_OPTS -server"
    export JAVA_OPTS="$JAVA_OPTS -Duser.timezone=UTC"
    export JAVA_OPTS="-Dstringchararrayaccessor.disabled=true"
    #10984

    Nicolas Noullet
    Maître des clés

    Hello,

    You forgot to include $JAVA_OPTS in your last assignment so your JAVA_OPTS are still erased…

    Also, fixing that may not solve your issue because the error you get is not related to the heap size. It rather indicates that the maximum number of native threads is reached. This number is configured at the OS level (on unix based machines you can get it with ulimit -u). I have never seen this error before with iceScrum so the lack of available OS threads is probably related to other applications you run.

    #10985

    Kagilum
    Maître des clés

    Hello,

    my Server is a Debian 7.0 Wheezy Minimalsystem (64 Bit)

    Here is a copy from ulimit -a:

    ulimit -a
    core file size (blocks, -c) unlimited
    data seg size (kbytes, -d) unlimited
    scheduling priority (-e) 0
    file size (blocks, -f) unlimited
    pending signals (-i) 385261
    max locked memory (kbytes, -l) 64
    max memory size (kbytes, -m) unlimited
    open files (-n) 1024
    pipe size (512 bytes, -p) 8
    POSIX message queues (bytes, -q) 819200
    real-time priority (-r) 0
    stack size (kbytes, -s) 10240
    cpu time (seconds, -t) unlimited
    max user processes (-u) 1000000
    virtual memory (kbytes, -v) unlimited
    file locks (-x) unlimited

    So Maybe i need to increase one value?

    #10987

    Nicolas Noullet
    Maître des clés

    There should be widely enough user processes here (1000000).

    You should check if there is no other application that consumes all the threads. If iceScrum consumes thousands of threads then there must be a huge misconfiguration so I recommend that your start over the install by following the install guide: https://www.icescrum.com/documentation/install-guide.

    Since this is the first time I see this problem, I think that it does not come from a bug in iceScrum.

11 sujets de 1 à 11 (sur un total de 11)

Le forum ‘Installation’ est fermé à de nouveaux sujets et réponses.