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 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\




    import org.apache.xerces.util.XMLChar;

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

    * change



    * 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"/>

    * 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!