Run Portal 6 on JBoss 5.1

Igor Spasić
Igor Spasić
Less Than a Minute Read

Although Liferays jboss-web.xml is set correctly, JBoss 5.1 is still picking up the older hibernate-validator.jar from the commons/lib folder. The exception coming while starting JBoss is:

java.lang.NoSuchMethodException: org.hibernate.validator.ClassValidator.<init>(... 

To solve this issue without touching the commons/lib, add following lines into portal-ext.properties

 hibernate.validator.apply_to_ddl=false
hibernate.validator.autoregister_listeners=false

 

Page Comments

The Technicalities of Static Sites

David Oliveira Montenegro
View Blog >

Customization is Dead! Long Live Customization!

David H Nebinger
View Blog >
customization banner image.png

Public Bug Bounty Program

David H Nebinger
View Blog >
bugbounty.png
Showing 1 to 3 of 3 entries.