WAR NÃO STARTA NO TOMCAT 6/7
06/12/2012 01:11
0
Pessoal,

Estou com um projeto praticamente finalizado, bonitinho... o primeiro sisteminha ;)

Ele roda legal na minha IDE quand eu dou 'run-app' nenhum warning nem nada do tipo

Quando gero o War também não dá pau nenhum

Já quanto tento subir o war para o servidor apache 6 (ou 7)... o bicho não vai.

gerei o war com


grails prod war
grails prod war nome.war
grails war
grails prod war


e também tentei

grails dev war
grails dev war nome.war
grails dev war


De todo jeito o apache falha na hora de subir o war com a mensagem a seguir .
COnsole do APACHE:

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

Dez 05, 2012 10:49:32 PM org.apache.catalina.core.StandardContext startInternal
SEVERE: Error listenerStart
Dez 05, 2012 10:49:32 PM org.apache.catalina.core.StandardContext startInternal
SEVERE: Context [/helloWorld] startup failed due to previous errors
Dez 05, 2012 10:49:32 PM org.apache.catalina.loader.WebappClassLoader clearRefer
encesThreads
SEVERE: The web application [/helloWorld] appears to have started a thread named [n
et.sf.ehcache.CacheManager@5fa672c3] but has failed to stop it. This is very lik
ely to create a memory leak.
Dez 05, 2012 10:49:32 PM org.apache.catalina.loader.WebappClassLoader clearRefer
encesThreads
SEVERE: The web application [/helloWorld] appears to have started a thread named [c
om.helloWorld.Role.data] but has failed to stop it. This is very likely to create a
memory leak.
Dez 05, 2012 10:49:32 PM org.apache.catalina.loader.WebappClassLoader clearRefer
encesThreads
SEVERE: The web application [/helloWorld] appears to have started a thread named [o
rg.hibernate.cache.UpdateTimestampsCache.data] but has failed to stop it. This i
s very likely to create a memory leak.
Dez 05, 2012 10:49:32 PM org.apache.catalina.loader.WebappClassLoader clearRefer
encesThreads
SEVERE: The web application [/helloWorld] appears to have started a thread named [o
rg.hibernate.cache.StandardQueryCache.data] but has failed to stop it. This is v
ery likely to create a memory leak.
Dez 05, 2012 10:49:32 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory D:\SERVER\apache7\apache-tomcat-7.0.33
\webapps\manager
Dez 05, 2012 10:49:32 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory D:\SERVER\apache7\apache-tomcat-7.0.33
\webapps\ROOT
Dez 05, 2012 10:49:32 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-apr-8000"]
Dez 05, 2012 10:49:32 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["ajp-apr-8009"]
Dez 05, 2012 10:49:32 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 15321 ms



Config.groovy

grails.project.groupId = helloGrails // change this to alter the default package name and Maven publishing destination
grails.mime.file.extensions = true // enables the parsing of file extensions from URLs into the request format
grails.mime.use.accept.header = false
grails.mime.types = [ html: ['text/html','application/xhtml+xml'],
xml: ['text/xml', 'application/xml'],
text: 'text/plain',
js: 'text/javascript',
rss: 'application/rss+xml',
atom: 'application/atom+xml',
css: 'text/css',
csv: 'text/csv',
all: '*/*',
json: ['application/json','text/json'],
form: 'application/x-www-form-urlencoded',
multipartForm: 'multipart/form-data'
]

// URL Mapping Cache Max Size, defaults to 5000
//grails.urlmapping.cache.maxsize = 1000

// What URL patterns should be processed by the resources plugin
grails.resources.adhoc.patterns = ['/images/*', '/css/*', '/js/*', '/plugins/*']


// The default codec used to encode data with ${}
grails.views.default.codec = "none" // none, html, base64
grails.views.gsp.encoding = "UTF-8"
grails.converters.encoding = "UTF-8"
// enable Sitemesh preprocessing of GSP pages
grails.views.gsp.sitemesh.preprocess = true
// scaffolding templates configuration
grails.scaffolding.templates.domainSuffix = 'Instance'

// Set to false to use the new Grails 1.2 JSONBuilder in the render method
grails.json.legacy.builder = false
// enabled native2ascii conversion of i18n properties files
grails.enable.native2ascii = true
// packages to include in Spring bean scanning
grails.spring.bean.packages = []
// whether to disable processing of multi part requests
grails.web.disable.multipart=false

// request parameters to mask when logging exceptions
grails.exceptionresolver.params.exclude = ['password']

// enable query caching by default
grails.hibernate.cache.queries = true

// set per-environment serverURL stem for creating absolute links
environments {
development {
grails.logging.jul.usebridge = true
}
production {
grails.logging.jul.usebridge = false
// TODO: grails.serverURL = "http://www.changeme.com"
}
}

// log4j configuration
log4j = {
// Example of changing the log pattern for the default console
// appender:
//
//appenders {
// console name:'stdout', layout:pattern(conversionPattern: '%c{2} %m%n')
//}

error 'org.codehaus.groovy.grails.web.servlet', // controllers
'org.codehaus.groovy.grails.web.pages', // GSP
'org.codehaus.groovy.grails.web.sitemesh', // layouts
'org.codehaus.groovy.grails.web.mapping.filter', // URL mapping
'org.codehaus.groovy.grails.web.mapping', // URL mapping
'org.codehaus.groovy.grails.commons', // core / classloading
'org.codehaus.groovy.grails.plugins', // plugins
'org.codehaus.groovy.grails.orm.hibernate', // hibernate integration
'org.springframework',
'org.hibernate',
'net.sf.ehcache.hibernate'
}

grails.config.defaults.locations = [KickstartResources]
// Added by the Spring Security Core plugin:
grails.plugins.springsecurity.userLookup.userDomainClassName = 'com.helloGrails.User'
grails.plugins.springsecurity.userLookup.authorityJoinClassName = 'com.helloGrails.UserRole'
grails.plugins.springsecurity.authority.className = 'com.helloGrails.Role'


O BuildConfig.groovy
Já tentei sem as linhas


grails.servlet.version = "2.5" // Change depending on target container compliance (2.5 or 3.0)
grails.project.class.dir = "target/classes"
grails.project.test.class.dir = "target/test-classes"
grails.project.test.reports.dir = "target/test-reports"
grails.project.target.level = 1.6
grails.project.source.level = 1.6
//grails.project.war.file = "target/${appName}-${appVersion}.war"

grails.project.dependency.resolution = {
// inherit Grails' default dependencies
inherits("global") {
// uncomment to disable ehcache
// excludes 'ehcache'
}
log "error" // log level of Ivy resolver, either 'error', 'warn', 'info', 'debug' or 'verbose'
checksums true // Whether to verify checksums on resolve

repositories {
inherits true // Whether to inherit repository definitions from plugins
grailsPlugins()
grailsHome()
grailsCentral()
mavenCentral()

// uncomment these to enable remote dependency resolution from public Maven repositories
mavenCentral()
mavenLocal()
mavenRepo "http://snapshots.repository.codehaus.org"
mavenRepo "http://repository.codehaus.org"
mavenRepo "http://download.java.net/maven/2/"
mavenRepo "http://repository.jboss.com/maven2/"
}
dependencies {
// specify dependencies here under either 'build', 'compile', 'runtime', 'test' or 'provided' scopes eg.

//runtime 'mysql:mysql-connector-java:5.1.16'
}

plugins {
runtime ":hibernate:$grailsVersion"
runtime ":jquery:1.7.1"
runtime ":resources:1.1.6"
compile ":kickstart-with-bootstrap:0.8.6"
compile ":spring-security-core:1.2.7.3"


build ":tomcat:$grailsVersion"
}
}



Qualquer ideia é bem vinda...

Já dei 'grails clean', 'compile'....
comentar linha, descomentar as do maven..

Tags: war deploy prod problema


0
Eu vi no log a seguinte informação


but has failed to stop it. This is very likely to create a
memory leak.


Talvez seja por que não tem memória suficiente para iniciar, utiliza a seguintes configuração no CATALINA_OPTS

-server -Xmx512M -XX:MaxPermSize=256m


http://grails.org/doc/latest/guide/gettingStarted.html#deployingAnApplication
06/12/2012 01:25


0
Obrigado fernando pelo rápido retorno!

Essa linha também foi a que me chamou atenção...
Inclusive eu tinha caçado na internet e achei uma sugestão de configuração do catalina.sh para a linha
#JAVA_OPTS=”-server -Xms512m -Xmx1564m -XX:MaxPermSize=1564m -XX:-UseGCOverheadLimit”

Alterei para linha sugerida por vc e no link passa mas o erro foi o mesmo:


INFO: Deploying web application archive D:\SERVER\apache7\apache-tomcat-7.0.33\w
ebapps\helloGrails.war

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

Dez 05, 2012 11:36:12 PM org.apache.catalina.core.StandardContext startInternal
SEVERE: Error listenerStart
Dez 05, 2012 11:36:12 PM org.apache.catalina.core.StandardContext startInternal
SEVERE: Context [/helloGrails] startup failed due to previous errors
Dez 05, 2012 11:36:12 PM org.apache.catalina.loader.WebappClassLoader clearRefer
encesThreads
SEVERE: The web application [/helloGrails] appears to have started a thread named [n
et.sf.ehcache.CacheManager@5502736c] but has failed to stop it. This is very lik
ely to create a memory leak.
Dez 05, 2012 11:36:12 PM org.apache.catalina.loader.WebappClassLoader clearRefer
encesThreads
SEVERE: The web application [/helloGrails] appears to have started a thread named [c
om.helloGrails.Role.data] but has failed to stop it. This is very likely to create a
memory leak.
Dez 05, 2012 11:36:12 PM org.apache.catalina.loader.WebappClassLoader clearRefer
encesThreads
SEVERE: The web application [/helloGrails] appears to have started a thread named [o
rg.hibernate.cache.UpdateTimestampsCache.data] but has failed to stop it. This i
s very likely to create a memory leak.
Dez 05, 2012 11:36:12 PM org.apache.catalina.loader.WebappClassLoader clearRefer
encesThreads
SEVERE: The web application [/helloGrails] appears to have started a thread named [o
rg.hibernate.cache.StandardQueryCache.data] but has failed to stop it. This is v
ery likely to create a memory leak.


Tem outra ideia?

Obrigado
06/12/2012 01:38


0
na verdade o erro tá aqui:
Dez 05, 2012 10:49:32 PM org.apache.catalina.core.StandardContext startInternal
SEVERE: Error listenerStart


dá uma olhada nesse post: Aqui

dae vai começar a aparecer coisas a mais no log do tomcat

eu ACHO que é alguma coisa com o banco de dados (no meu caso era)
06/12/2012 11:11


0
Eu ainda não entendi muito bem o porque
Mas por algum motivo o tomcat come alguns logs antes de iniciar a aplicação e quando tá rodando o BootStrap....e esses properties forçam eles a aparecerem

PS: os properties não devem ficar em produção, senão vão lotar o arquivo de log
06/12/2012 11:15


0
Mussato,

E em qual diretório o meu log vai ser gerado?

Obrigado
06/12/2012 18:44


0
Deve ser pau no meu apache....


Acabei de criar um projeto novo CRU CRU CRU chamado "makoto" (sf4 ;)

dei um 'grails prod war'

e retornou o erro abaixo


INFO: Deploying web application archive D:\SERVER\apache7\apache-tomcat-7.0.33\w
ebapps\makoto-0.1.war
2012-12-06 17:01:57,115 [http-apr-8000-exec-5] ERROR plugins.DefaultGrailsPlugin
Manager - Error configuring dynamic methods for plugin [resources:1.1.5]: java.
lang.OutOfMemoryError: PermGen space
org.codehaus.groovy.runtime.InvokerInvocationException: java.lang.OutOfMemoryErr
or: PermGen space
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultM
BeanServerInterceptor.java:819)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:791
)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.
java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:603)
at java.lang.Thread.run(Thread.java:722)
Caused by: java.lang.OutOfMemoryError: PermGen space
at java.lang.ClassLoader.defineClass(ClassLoader.java:791)
at org.grails.plugin.resource.mapper.ResourceMapper.invoke(ResourceMappe
r.groovy:139)
at org.grails.plugin.resource.mapper.ResourceMapper.invokeIfNotExcluded(
ResourceMapper.groovy:128)
at org.grails.plugin.resource.ResourceProcessor.applyMappers(ResourcePro
cessor.groovy:587)
at org.grails.plugin.resource.ResourceProcessor.prepareResource(Resource
Processor.groovy:533)
06/12/2012 19:03


0
os logs eram pra ficar no catalina.out mesmo..........


estranho esse erro de memória, tentou aumentar já?
06/12/2012 20:45


0
Mussatto,

Já tentei aumentar a memória e não deu não.

Decidi que ia começar um novo projeto e ficar gerando war de tempos em tempos para ver o que estava dando pau... e com o primeiro plugin já ferrou...

1 - Gerei uma aplicação crua com grails.. criou
1.1 - Rodei a aplicação c run-app.. rodou
1.2 - Gerei 'grails prod war'.. gerou
1.3 - Subi no tomcat.. e SUBIU!! (Aplicação cruaa)

######Aqui já ferrou########
2 - Instalei o plugin kickstart-with-bootstrap
2.1 - Dei o comando 'grails kickstart'
2.2 - Rodei a aplicacao c/ 'run-app' (bala)
2.3 - Gerei o war com 'grails prod war'
2.4 - TENTEI subir no tomcat... não deu e o erro foi semelhante... acho que ele tava zicando comigo
2.4.2 Tentei rodar com grails run-war e funcionou!!!

o erro, já com as properties que vc sugeriu está abaixo:
Tem alguma ideia? já colocou algum war usando esse plugin?
Ele é ótimo, mas só consegui usá-lo qnd rodo pela minha IDE
A


Dez 07, 2012 12:23:40 AM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive D:\SERVER\apache7\apache-tomcat-7.0.33\w
ebapps\kickstart-0.1.war
Dez 07, 2012 12:23:56 AM org.apache.catalina.core.StandardContext startInternal
SEVERE: Error listenerStart
Dez 07, 2012 12:23:56 AM org.apache.catalina.core.StandardContext startInternal
SEVERE: Context [/kickstart-0.1] startup failed due to previous errors
Dez 07, 2012 12:23:57 AM org.apache.catalina.loader.WebappClassLoader clearRefer
encesThreads
SEVERE: The web application [/kickstart-0.1] appears to have started a thread na
med [Timer-0] but has failed to stop it. This is very likely to create a memory
leak.
Dez 07, 2012 12:23:57 AM org.apache.catalina.loader.WebappClassLoader clearRefer
encesThreads
SEVERE: The web application [/kickstart-0.1] appears to have started a thread na
med [net.sf.ehcache.CacheManager@7b927ef9] but has failed to stop it. This is ve
ry likely to create a memory leak.
Dez 07, 2012 12:23:57 AM org.apache.catalina.loader.WebappClassLoader clearRefer
encesThreads
SEVERE: The web application [/kickstart-0.1] appears to have started a thread na
med [org.hibernate.cache.UpdateTimestampsCache.data] but has failed to stop it.
This is very likely to create a memory leak.
Dez 07, 2012 12:23:57 AM org.apache.catalina.loader.WebappClassLoader clearRefer
encesThreads
SEVERE: The web application [/kickstart-0.1] appears to have started a thread na
med [org.hibernate.cache.StandardQueryCache.data] but has failed to stop it. Thi
s is very likely to create a memory leak.
Dez 07, 2012 12:23:57 AM org.apache.catalina.loader.WebappClassLoader clearRefer
encesThreads
SEVERE: The web application [/kickstart-0.1] appears to have started a thread na
med [H2 Log Writer PRODDB] but has failed to stop it. This is very likely to cre
ate a memory leak.
Dez 07, 2012 12:25:53 AM org.apache.catalina.loader.WebappClassLoader loadClass
INFO: Illegal access: this web application instance has been stopped already. C
ould not load net.sf.ehcache.store.compound.CompoundStore$KeySet. The eventual
following stack trace is caused by an error thrown for debugging purposes as wel
l as to attempt to terminate the thread which caused the illegal access, and has
no functional impact.
java.lang.IllegalStateException
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa
der.java:1600)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa
der.java:1559)
at net.sf.ehcache.store.compound.CompoundStore.keySet(CompoundStore.java
:216)
at net.sf.ehcache.store.compound.factories.DiskStorageFactory$DiskExpiry
Task.run(DiskStorageFactory.java:670)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:47
1)
at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java
:351)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.
access$301(ScheduledThreadPoolExecutor.java:178)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.
run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.
java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:603)
at java.lang.Thread.run(Thread.java:722)


07/12/2012 02:39


0
Que estranho, era pra aparecer um log antes do:

Dez 07, 2012 12:23:56 AM org.apache.catalina.core.StandardContext startInternal
SEVERE: Error listenerStart
Dez 07, 2012 12:23:56 AM org.apache.catalina.core.StandardContext startInternal
SEVERE: Context [/kickstart-0.1] startup failed due to previous errors


vou tentar replicar o erro aqui =)
07/12/2012 10:40


0
ah, verdade

qual versão do grails, java, tomcat e plugin vc ta usando?
07/12/2012 10:40


0
Rafael, esse foi o log de erro que deu aqui:


SEVERE: Exception sending context initialized event to listener instance of class org.codehaus.groovy.grails.web.context.GrailsContextLoaderListener
org.springframework.beans.factory.access.BootstrapException: Error executing bootstraps; nested exception is org.codehaus.groovy.runtime.InvokerInvocationException: java.io.FileNotFoundException: /home/vitormussatto/des/apache-tomcat-7.0.32/bin/./grails-app/i18n
at org.codehaus.groovy.grails.web.context.GrailsContextLoader.initWebApplicationContext(GrailsContextLoader.java:118)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4791)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5285)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:968)
at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1646)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
Caused by: org.codehaus.groovy.runtime.InvokerInvocationException: java.io.FileNotFoundException: /home/vitormussatto/des/apache-tomcat-7.0.32/bin/./grails-app/i18n
at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:97)
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1071)
at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1110)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:901)
at groovy.lang.Closure.call(Closure.java:415)
at org.codehaus.groovy.grails.plugins.DefaultGrailsPlugin.doWithApplicationContext(DefaultGrailsPlugin.java:495)
at org.codehaus.groovy.grails.plugins.AbstractGrailsPluginManager.doPostProcessing(AbstractGrailsPluginManager.java:173)
at org.codehaus.groovy.grails.commons.spring.GrailsRuntimeConfigurator.performPostProcessing(GrailsRuntimeConfigurator.java:238)
at org.codehaus.groovy.grails.commons.spring.GrailsRuntimeConfigurator.configure(GrailsRuntimeConfigurator.java:178)
at org.codehaus.groovy.grails.commons.spring.GrailsRuntimeConfigurator.configure(GrailsRuntimeConfigurator.java:127)
at org.codehaus.groovy.grails.web.context.GrailsConfigUtils.configureWebApplicationContext(GrailsConfigUtils.java:121)
at org.codehaus.groovy.grails.web.context.GrailsContextLoader.initWebApplicationContext(GrailsContextLoader.java:104)
... 15 more
Caused by: java.io.FileNotFoundException: /home/vitormussatto/des/apache-tomcat-7.0.32/bin/./grails-app/i18n
at org.codehaus.groovy.runtime.DefaultGroovyMethods.checkDir(DefaultGroovyMethods.java:16448)
at org.codehaus.groovy.runtime.DefaultGroovyMethods.eachFileRecurse(DefaultGroovyMethods.java:16527)
at org.codehaus.groovy.runtime.DefaultGroovyMethods.eachFileRecurse(DefaultGroovyMethods.java:16766)
at org.codehaus.groovy.runtime.dgm$187.invoke(Unknown Source)
at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoMetaMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:271)
at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:53)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
at KickstartWithBootstrapGrailsPlugin$_closure1.doCall(KickstartWithBootstrapGrailsPlugin.groovy:48)
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:601)
at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
... 27 more

Dec 07, 2012 9:06:03 AM org.apache.catalina.core.StandardContext startInternal
SEVERE: Error listenerStart
Dec 07, 2012 9:06:03 AM org.apache.catalina.core.StandardContext startInternal
SEVERE: Context [/kickstart-test-0.1] startup failed due to previous errors


pelo stacktrace é alguma coisa com esse plugin
07/12/2012 11:24


0
org.springframework.beans.factory.access.BootstrapException: Error executing bootstraps; nested exception is org.codehaus.groovy.runtime.InvokerInvocationException: java.io.FileNotFoundException: /home/vitormussatto/des/apache-tomcat-7.0.32/bin/./grails-app/i18n

Caused by: org.codehaus.groovy.runtime.InvokerInvocationException: java.io.FileNotFoundException: /home/vitormussatto/des/apache-tomcat-7.0.32/bin/./grails-app/i18n


Comigo também deu esses paus de arquivos nao localizados nuns diretórios nada a ver.

Obrigado pela força, Mussatto...

Vou ver que que eu faço =\
07/12/2012 12:10


0
tentei procurar alguma coisa na documentação, mas não encontrei....

parece ser alguma coisa de configuração
07/12/2012 12:19


0
que estranho, entrei no projeto do github e tinha isso no changelog:

0.8.8 Fixed Bug with i18n directory when deploying. Removed domain Object for demo page.

parece ser o erro que temos....

tenta usar o projeto do github, parece que a versão que está aprovada (0.8.6) tem algum bug
07/12/2012 12:25


1
Mussatto,

Encontrei em https://github.com/joergrech/KickstartWithBootstrap

Um changelog que informa que na versão 0.8.8 esse pau com i18n foi corrigido:
0.8.8 Fixed Bug with i18n directory when deploying. Removed domain Object for demo page.
0.8.7 Improved the date binding to use default.date.datepicker.format or default.date.format (removing non-Date items).


Acabei de testar com essa versão e funfou!!!!

Obrigado mais uma vez pela força, Mussatto!

Abs!
07/12/2012 12:32


0
Puts!

Tinha acabado de ver isso também rs!
07/12/2012 12:33


0
ehehehe

boa =)

esse negocio de colocar o logging.properties já me salvou mais de uma vez....
07/12/2012 14:05



Ainda não faz parte da comunidade???

Para se registrar, clique aqui.


Aprenda Groovy e Grails com a Formação itexto!

Newsletter Semana Groovy

Assinar

Envie seu link!


Livro de Grails


/dev/All

Os melhores blogs de TI (e em português) em um único lugar!

 
Creative Commons
RSS Grails Brasil é mantido por itexto Consultoria.
Em caso de problemas contacte Henrique Lobo Weissmann (Kico) por e-mail: kico@itexto.com.br
Todo o conteúdo presente neste site adota o Creative Commons como licença padrão.
Ver: 4.14.0
itexto