Tribune

Home » Liferay Documentation

Vista Combinata Vista Piatta Vista ad Albero
Discussioni [ Precedente | Successivo ]
toggle
Dan Ertman
Missing step in Liferay 6 Admin Guide -> JBoss
14 aprile 2011 13.16
Risposta

Dan Ertman

Punteggio: New Member

Messaggi: 6

Data di Iscrizione: 18 ottobre 2010

Messaggi recenti

In the Enterprise Admin Guide, for JBoss, I followed the instructions religiously and still hit an error. The stack trace looks like this:

1Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'liferayHibernateSessionFactory' defined in class path resource [META-INF/hibernate-spring.xml]: 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)
2        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1420)


...so I downloaded a copy of the JBoss bundle and compared the two directory structures. Found one surprise - hibernate-validator.jar in $JBOSS_HOME/common/lib was renamed to hibernate-validator.jar.bak (i.e. removing it from the classpath) in the bundle. The instructions are pretty great about telling you all the Xerces dependencies to remove, but looks like this one was missed.
Hitoshi Ozawa
RE: Missing step in Liferay 6 Admin Guide -> JBoss
14 aprile 2011 15.37
Risposta

Hitoshi Ozawa

Punteggio: Liferay Legend

Messaggi: 7949

Data di Iscrizione: 23 marzo 2010

Messaggi recenti

This is very well known problem. I think the Admin Guide was pretty much written for the Tomcat.

There's a thread on installing 5.x on JBoss, but I've found some changes were required for the Liferay 6.x.
http://www.liferay.com/community/forums/-/message_boards/message/1287727

If you have time, please write up a wiki on it. emoticon
Jorge Ferrer
RE: Missing step in Liferay 6 Admin Guide -> JBoss
15 aprile 2011 5.58
Risposta

Jorge Ferrer

LIFERAY STAFF

Punteggio: Liferay Legend

Messaggi: 2768

Data di Iscrizione: 31 agosto 2006

Messaggi recenti

Hi Dan,

Thanks for reporting Rich. I've forwarded it to Rich so that he can take a look and see if it can be verified. I know he tested the instructions in all application servers mentioned in the guide, but let's verify for sure.
Hitoshi Ozawa
RE: Missing step in Liferay 6 Admin Guide -> JBoss
15 aprile 2011 19.09
Risposta

Hitoshi Ozawa

Punteggio: Liferay Legend

Messaggi: 7949

Data di Iscrizione: 23 marzo 2010

Messaggi recenti

Our engineers were complaining about not able to deploy Liferay as was written.
They may have been looking at the old document or it may have been that the document was not up to date with the current release of Liferay, or it may have been because of the JBoss version that we were going to use.

I don't quite remember if this was also the case but if the liferay war file's portal.properties also is set to require chat portlet, I think they were also complaining about getting errors when they just deployed the minimum liferay plugin install as instructed.

Would, also, appreciate if Rich would check to make sure there aren't any errors after the install.
James Hinkey
RE: Missing step in Liferay 6 Admin Guide -> JBoss
19 aprile 2011 10.07
Risposta

James Hinkey

LIFERAY STAFF

Punteggio: Junior Member

Messaggi: 41

Data di Iscrizione: 15 febbraio 2011

Messaggi recenti

Hitoshi,

We have run into an exception during startup of the JBoss with Liferay Enterprise Edition. We are investigating the issue to determine whether it has negative impact and whether additional setup steps are required.

The admin guide will be updated with the prescribed setup steps for running with JBoss.
These changes will include the requirement to remove hibernate-validator.jar. Note, the update will also include the requirement to keep jaxen.jar.

We'll let you know when the issue has been resolved and the admin guide has been updated.

Thanks,
Jim
Hitoshi Ozawa
RE: Missing step in Liferay 6 Admin Guide -> JBoss
19 aprile 2011 14.59
Risposta

Hitoshi Ozawa

Punteggio: Liferay Legend

Messaggi: 7949

Data di Iscrizione: 23 marzo 2010

Messaggi recenti

I'll hope you'll take care of the following issue too. I think the Administration Guide needs a review for updates. I'm currently writing a Japanese version of the Guides (on the wiki) and will post other topics as I find them.

http://www.liferay.com/community/forums/-/message_boards/message/8301064
James Hinkey
RE: Missing step in Liferay 6 Admin Guide -> JBoss
26 maggio 2011 6.32
Risposta

James Hinkey

LIFERAY STAFF

Punteggio: Junior Member

Messaggi: 41

Data di Iscrizione: 15 febbraio 2011

Messaggi recenti

Hi Hitoshi,

Please pardon me for not getting back to you sooner. These updates have been made to the Liferay 6 Admin Guide (online and PDF).

Regards,
Jim
Hitoshi Ozawa
RE: Missing step in Liferay 6 Admin Guide -> JBoss
26 maggio 2011 14.15
Risposta

Hitoshi Ozawa

Punteggio: Liferay Legend

Messaggi: 7949

Data di Iscrizione: 23 marzo 2010

Messaggi recenti

Thanks. Will update the Japanese wiki if I'm missing something. emoticon