| From | Sent On | Attachments |
|---|---|---|
| Ezio Caffi | Jan 4, 2010 12:55 am | |
| buildlackey | Jan 4, 2010 12:59 am | |
| Ezio Caffi | Jan 4, 2010 1:14 am | |
| Benoit LEPREVOST | Jan 4, 2010 3:33 am | |
| Benoit LEPREVOST | Jan 4, 2010 5:30 am | |
| Ezio Caffi | Jan 4, 2010 6:14 am |
| Subject: | RE: [grails-user] Grails 1.2 - Deploy on JBoss | |
|---|---|---|
| From: | Benoit LEPREVOST (beno...@hotmail.com) | |
| Date: | Jan 4, 2010 5:30:28 am | |
| List: | org.codehaus.grails.user | |
Ok, so i found a workaround, but it's not very clean. I downloaded the new
version of the hibernate-validator (hibernate-validator-4.0.2.GA.jar ) from
https://www.hibernate.org/30.html and put the new jar inside
JBOSS_HOME/common/lib after removing the old one. It works for me, but i wish
somebody could find a better way.
Cheers,
Benoit
From: beno...@hotmail.com To: us...@grails.codehaus.org Date: Mon, 4 Jan 2010 11:33:31 +0000 Subject: RE: [grails-user] Grails 1.2 - Deploy on JBoss
Same here, i use 5.1.0.GA. The issue manifest itself even with the most simple
project. I'm almost sure it was working under 1.2-M4, but it would be a big
assle to revert back. I tried to insert a jboss-web.xml and specify a class
loading strategy but no luck. Any idea what's causing the problem ? a quick fix
would be very handy ;)
Date: Mon, 4 Jan 2010 01:14:41 -0800 From: ezio...@gmail.com To: us...@grails.codehaus.org Subject: Re: [grails-user] Grails 1.2 - Deploy on JBoss
5.1.0.GA I have the same issue with 4.2.2.GA
buildlackey wrote:
Which version of jboss ?
Ezio Caffi wrote:
Hi I'm with troubles trying to put Grails (1.2 final) applications in JBoss servers.
1) grails create-app test 2) grails war 3) copy test-0.1.war to jboss deploy directory 4) run jboss
JBoss Startup with lots of error message
ERROR [ContextLoader] Context initialization failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'messageSource': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager': Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework. beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory': Invocation of init method failed; nested exception is org.hibernate.AnnotationException: java.lang.NoSuchMethodException: org.hibernate.validator.ClassValidator.<init>(java.lang.Class, java.util.ResourceBundle, org.hibernate.validator.MessageInterpolator, java.util.Map, org.hibernate.annotations.common.reflection.ReflectionManager) ..........
I create a jboss-web.xml that specifies classloader isolation ..... but no luck
in grails 1.2-M4 it works!
Please help me
--
View this message in context:
http://old.nabble.com/Grails-1.2---Deploy-on-JBoss-tp27010240p27010392.html
Sent from the grails - user mailing list archive at Nabble.com.
--------------------------------------------------------------------- To unsubscribe from this list, please visit:
Use Hotmail to send and receive mail from your different email accounts. Find
out how.
_________________________________________________________________ Have more than one Hotmail account? Link them together to easily access both http://clk.atdmt.com/UKM/go/186394591/direct/01/





