cancel
Showing results for 
Search instead for 
Did you mean: 

3.2 Community Edition with JBOSS and DB2

docderivative
Champ in-the-making
Champ in-the-making
Just trying to deply 3.2 Community Edition onto my existing JBOSS 4 and DB2 9.5 environment… I'm a bit lost…!

Basically, created a DB2 datasource…. easy enough.

Tweaked

Dropped the DOCUMENT ref from jboss-web.xml to stop the validation.

Changed alfresco-global.properties to be…

hibernate.dialect=org.hibernate.dialect.DB2Dialect

Now when I deploy the first bit is hopeful but then I get…

Exception…
Caused by: com.ibatis.common.xml.NodeletException: Error parsing XML.  Cause: java.lang.RuntimeException: Error parsing XPath '/sqlMapConfig/sqlMap'.  Cause: com.ibatis.sqlmap.client.SqlMapException: The <sqlMap> resource is missing: alfresco/ibatis/#resource.dialect#/content-insert-SqlMap.xml

I presume this is because I do not have any WEB-INF/classes/alfresco/ibatis/org.hibernate.dialect/DB2Dialect mappings…

Where would I get some of those?  Is what I am trying to achieve likely to work?

Thanks in advance,
Dr.D
2 REPLIES 2

mrogers
Star Contributor
Star Contributor
The community version only supports open source databases, DB2 is an Enterprise only feature.

docderivative
Champ in-the-making
Champ in-the-making
The community version only supports open source databases, DB2 is an Enterprise only feature.

Is DB2 supported by Enterprise?