AnsweredAssumed Answered

3.2 Community Edition with JBOSS and DB2

Question asked by docderivative on Sep 9, 2009
Latest reply on Sep 10, 2009 by docderivative
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

Outcomes