-
1. Re: Using GateIn 3.3.0 Jboss AS7 with mysql
haint Jun 15, 2012 12:46 AM (in response to cliffm)You need declare dependency to mysql module in gatein/modules/org/gatein/lib/main/module.xml (find "hsqldb" in that which is example)
-
2. Re: Using GateIn 3.3.0 Jboss AS7 with mysql
cliffm Jun 15, 2012 9:58 AM (in response to haint)This worked, thank you.
For anyone who is reading this, my final solution was to copy the mysql connector jar file to modules/com/mysql/main, create the module.xml for it and then update the gatein/modules/org/gatein/lib/main/module.xml to include the dependency on mysql.
-
3. Re: Using GateIn 3.3.0 Jboss AS7 with mysql
antoine_h Aug 4, 2012 2:00 AM (in response to cliffm)Hi,
this is a much better solution than this one :
https://community.jboss.org/message/751994#751994
For setting the dependency, in the file : JBOSS_HOME/gatein/modules/org/gatein/lib/main/module.xml
add :
.... <module name="org.hsqldb" /> <!-- Added for the MySQL driver to be loaded before GateIn configuration starts. --> <module name="com.mysql.jdbc" /> <module name="org.jboss.common-core" /> ....
(with "com.mysql.jdbc" being the name you put for your MySQL connector driver module).
Antoine
JBoss Portal and GateIn (JSR-286), JSF, Richfaces, J2EE, Drools, BRMS.