AnsweredAssumed Answered

Alfresco on IBM Websphere & Oracle

Question asked by olin75 on Feb 22, 2006
Latest reply on Oct 17, 2006 by osu
I just want to share my experience with alfresco 1.2RC2 instalation on Websphere with Oracle dataSource.

I have Websphere 6.0.0.1 with Java 5 on some Unix (do not know how to
set up this).

I had to:

    *  Remove commons-logging from distribution

commons-logging.jar conflicts with classes on server

    * Remove jta.jar from distribution

jta.jar in alfresco has incompatibile classes with WAS

    * Change projects\repository\source\java\org\alfresco\util\ISO9075.java

replace

    import com.sun.org.apache.xerces.internal.util.XMLChar;

with

    import org.apache.xerces.util.XMLChar;

there are no internal sun classes in IBM java (and alfresco should not depent on com.sun!!!!)

    * change

projects/repository/config/alfresco/alfresco/domain/hibernate-cfg.properties

hibernate.dialect=org.hibernate.dialect.Oracle9Dialect

    * replace dataSource bean implementation in projects\repository\config\alfresco\core-services-context.xml

replace definition of this bean with

    <bean id="dataSource" class="org.springframework.jndi.JndiObjectFactoryBean">
    <property name="jndiName" value="jdbc/something"/>
    </bean>

    * build it like for tomcat

    *  deploy war

    * set application class loading to parent last/application
   
    * run it



What does not work now are JTA transactions. Can enybody help?

Enjoy alfresco!

Mike

Outcomes