Problema deploy grails 1.3.4 em jboss 4.2
26/10/2010 00:00
0
Olá pessoal, eu já vi na internet vários tutoriais para resolver estes problemas inclusive o do Lucas. Mas mesmo removendo do arquivo war os arquivos do log4 continuo tendo problemas. Eu criei uma aplicação vazia e removi os arquivos:

jcl-over-slf4j-1.5.8.jar
log4j-1.2.15.jar
slf4j-api-1.5.8.jar
slf4j-log4j12-1.5.8.jar

------------------------------------------------------
DETALHES DO TESTE

nome app: testejboss
arquivo war: testejboss.war
grails 1.3.4
java 1.5.0_06
jboss 4.2.3.GA - server DEFAULT

------------------------------------------------------

Obs: Eu sei que as versões são diferentes. Simplesmente não consegui fazer um servidor 5.1 subir com jdk 1.5. Então estou fazendo no jboss 4.2.3. E tb pq é a versão do jboss que a empresa usa <!-- s:P --><img src="{SMILIES_PATH}/icon_razz.gif" alt=":P" title="Razz" /><!-- s:P -->.

Na hora de subir o servidor aparece a seguinte mensagem:


===============================================================================

...
17&#58;29&#58;43,212 ERROR [ContextLoader] Context initialization failed
org.springframework.beans.factory.BeanCreationException&#58; Error creating bean with name 'pluginManager' defined in ServletContext resource [/WEB-INF/applicationContext.xml]&#58; Invocation of init method failed; nested exception is org.codehaus.groovy.grails.exceptions.NewInstanceCreationException&#58; Could not create a new instance of class [HibernateGrailsPlugin]!
at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java&#58;164)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java&#58;659)
at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java&#58;164)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java&#58;659)
at org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java&#58;301)
at org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeployer.java&#58;104)
at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java&#58;375)
at org.jboss.web.WebModule.startModule(WebModule.java&#58;83)
at org.jboss.web.WebModule.startService(WebModule.java&#58;61)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java&#58;289)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java&#58;245)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java&#58;155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java&#58;94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java&#58;86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java&#58;264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java&#58;659)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java&#58;978)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java&#58;417)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java&#58;155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java&#58;94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java&#58;86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java&#58;264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java&#58;659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java&#58;210)
at $Proxy44.start(Unknown Source)
at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java&#58;466)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java&#58;155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java&#58;94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java&#58;133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java&#58;88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java&#58;142)
at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java&#58;97)
at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java&#58;238)
at org.jboss.wsf.container.jboss42.DeployerInterceptor.start(DeployerInterceptor.java&#58;87)
at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java&#58;188)
at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java&#58;95)
at org.jboss.mx.server.Invocation.invoke(Invocation.java&#58;88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java&#58;264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java&#58;659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java&#58;210)
at $Proxy45.start(Unknown Source)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java&#58;1025)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java&#58;819)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java&#58;782)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java&#58;155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java&#58;94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java&#58;133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java&#58;88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java&#58;142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java&#58;88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java&#58;264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java&#58;659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java&#58;210)
at $Proxy9.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java&#58;421)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java&#58;634)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java&#58;263)
at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java&#58;336)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java&#58;289)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java&#58;245)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java&#58;155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java&#58;94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java&#58;86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java&#58;264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java&#58;659)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java&#58;978)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java&#58;417)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java&#58;155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java&#58;94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java&#58;86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java&#58;264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java&#58;659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java&#58;210)
at $Proxy4.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java&#58;304)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java&#58;1025)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java&#58;819)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java&#58;782)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java&#58;766)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java&#58;155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java&#58;94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java&#58;133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java&#58;88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java&#58;142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java&#58;88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java&#58;264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java&#58;659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java&#58;210)
at $Proxy5.deploy(Unknown Source)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java&#58;482)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java&#58;362)
at org.jboss.Main.boot(Main.java&#58;200)
at org.jboss.Main$1.run(Main.java&#58;508)
at java.lang.Thread.run(Thread.java&#58;595)
Caused by&#58; org.codehaus.groovy.grails.exceptions.NewInstanceCreationException&#58; Could not create a new instance of class [HibernateGrailsPlugin]!
... 96 more
Caused by&#58; java.lang.NoClassDefFoundError&#58; org/slf4j/LoggerFactory
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java&#58;164)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java&#58;164)
at HibernateGrailsPlugin.class$(HibernateGrailsPlugin.groovy)
at HibernateGrailsPlugin.$get$$class$org$codehaus$groovy$grails$plugins$orm$hibernate$HibernatePluginSupport(HibernateGrailsPlugin.groovy)
at HibernateGrailsPlugin.<init>(HibernateGrailsPlugin.groovy&#58;50)
... 96 more
17&#58;29&#58;43,212 ERROR [[/testejboss]] Exception sending context initialized event to listener instance of class org.codehaus.groovy.grails.web.context.GrailsContextLoaderListener
org.springframework.beans.factory.BeanCreationException&#58; Error creating bean with name 'pluginManager' defined in ServletContext resource [/WEB-INF/applicationContext.xml]&#58; Invocation of init method failed; nested exception is org.codehaus.groovy.grails.exceptions.NewInstanceCreationException&#58; Could not create a new instance of class [HibernateGrailsPlugin]!
at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java&#58;164)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java&#58;659)
at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java&#58;164)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java&#58;659)
at org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java&#58;301)
at org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeployer.java&#58;104)
at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java&#58;375)
at org.jboss.web.WebModule.startModule(WebModule.java&#58;83)
at org.jboss.web.WebModule.startService(WebModule.java&#58;61)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java&#58;289)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java&#58;245)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java&#58;155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java&#58;94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java&#58;86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java&#58;264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java&#58;659)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java&#58;978)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java&#58;417)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java&#58;155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java&#58;94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java&#58;86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java&#58;264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java&#58;659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java&#58;210)
at $Proxy44.start(Unknown Source)
at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java&#58;466)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java&#58;155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java&#58;94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java&#58;133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java&#58;88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java&#58;142)
at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java&#58;97)
at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java&#58;238)
at org.jboss.wsf.container.jboss42.DeployerInterceptor.start(DeployerInterceptor.java&#58;87)
at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java&#58;188)
at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java&#58;95)
at org.jboss.mx.server.Invocation.invoke(Invocation.java&#58;88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java&#58;264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java&#58;659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java&#58;210)
at $Proxy45.start(Unknown Source)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java&#58;1025)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java&#58;819)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java&#58;782)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java&#58;155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java&#58;94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java&#58;133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java&#58;88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java&#58;142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java&#58;88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java&#58;264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java&#58;659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java&#58;210)
at $Proxy9.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java&#58;421)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java&#58;634)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java&#58;263)
at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java&#58;336)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java&#58;289)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java&#58;245)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java&#58;155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java&#58;94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java&#58;86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java&#58;264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java&#58;659)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java&#58;978)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java&#58;417)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java&#58;155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java&#58;94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java&#58;86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java&#58;264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java&#58;659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java&#58;210)
at $Proxy4.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java&#58;304)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java&#58;1025)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java&#58;819)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java&#58;782)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java&#58;766)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java&#58;155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java&#58;94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java&#58;133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java&#58;88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java&#58;142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java&#58;88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java&#58;264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java&#58;659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java&#58;210)
at $Proxy5.deploy(Unknown Source)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java&#58;482)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java&#58;362)
at org.jboss.Main.boot(Main.java&#58;200)
at org.jboss.Main$1.run(Main.java&#58;508)
at java.lang.Thread.run(Thread.java&#58;595)
Caused by&#58; org.codehaus.groovy.grails.exceptions.NewInstanceCreationException&#58; Could not create a new instance of class [HibernateGrailsPlugin]!
... 96 more
Caused by&#58; java.lang.NoClassDefFoundError&#58; org/slf4j/LoggerFactory
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java&#58;164)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java&#58;164)
at HibernateGrailsPlugin.class$(HibernateGrailsPlugin.groovy)
at HibernateGrailsPlugin.$get$$class$org$codehaus$groovy$grails$plugins$orm$hibernate$HibernatePluginSupport(HibernateGrailsPlugin.groovy)
at HibernateGrailsPlugin.<init>(HibernateGrailsPlugin.groovy&#58;50)
... 96 more
17&#58;29&#58;43,212 ERROR [StandardContext] Error listenerStart
17&#58;29&#58;43,212 ERROR [StandardContext] Context [/testejboss] startup failed due to previous errors

Tags: Grails


0
Já que o erro está em torno do hibernate, ja tentou remover os Jars do hibernate da aplicação? O Jboss tem os jars dentro da pasta lib dele, provavelmente deve estar dando conflito, só verifica as versões do hibernate, a do JBoss que vc esta usando deve ser um pouco mais antiga que a que o grails está usando!
26/10/2010 00:00


0
[quote=&quot;Yarkhs&quot;]Olá pessoal, eu já vi na internet vários tutoriais para resolver estes problemas inclusive o do Lucas. Mas mesmo removendo do arquivo war os arquivos do log4 continuo tendo problemas. Eu criei uma aplicação vazia e removi os arquivos:

jcl-over-slf4j-1.5.8.jar
log4j-1.2.15.jar
slf4j-api-1.5.8.jar
slf4j-log4j12-1.5.8.jar

[....]

===============================================================================

...

Caused by: java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:164)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:164)
at HibernateGrailsPlugin.class$(HibernateGrailsPlugin.groovy)
at

HibernateGrailsPlugin.$get$$class$org$codehaus$groovy$grails$plugins$orm$hibernate$HibernatePluginSupport(HibernateGrailsPlugin.groovy)
at HibernateGrailsPlugin.<init>(HibernateGrailsPlugin.groovy&#58;50)
... 96 more

[/quote]


O Erro Destacado acima mostra que o uma classe não foi encontrada. Pelo nome do pacote é uma classe de um dos jars que você removeu, slf4j-api-1.5.8.jar ou slf4j-log4j12-1.5.8.jar, veja se esses pacotes estão no classpath do jboss, caso não talvez incluindo esses 2 jars novamente resolva o problema.
27/10/2010 00:00


0
Vcs dois estão certos. Eu retirei jars q não precisavam ser retirados, e os jars do hibernate estavam dando conflito. Foi só remover os do jboss q funcionou perfeitamente <!-- s:mrgreen: --><img src="{SMILIES_PATH}/icon_mrgreen.gif" alt=":mrgreen:" title="Mr. Green" /><!-- s:mrgreen: --> . O problema é que agora a aplicação se tornou inviável para a empresa já que entra em conflito com a versão do hibernate usada. De duas uma, ou atualiza a versão do hibernate, ou deixa a app num jboss separado sem jar de hibernate.

É uma pena pois eu queria refazer um projeto aqui feito em grails 1.0.3 que está um lixo e usar o spring security core mais novo. Mas o mais viável pelo visto é usar o acegi versão 0.3 para resolver problema de controle de acesso.
27/10/2010 00:00



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