Alfresco on IBM Websphere & Oracle

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
olin75
Member II

Alfresco on IBM Websphere & Oracle

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
2 Replies
davidc
Active Member II

Re: Alfresco on IBM Websphere & Oracle

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

We'll make this change.  Thanks.
osu
Member II

Re: Alfresco on IBM Websphere & Oracle

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).

Mike

Hi Mike,

what JDK was in use for Websphere? Sun or IBM?

I thought there were issues with Alfresco (at least for version 1.3 and later) running on IBM JDK 1.5? (see http://forums.alfresco.com/viewtopic.php?t=3287&start=0&postdays=0&postorder=asc&highlight= )

Regards,
Oliver.