I was able to run EDAS2 on Tomcat 6.0 with Oracle 9i & JDK 1.5.Here are the changes required:
1)First of all i had to copy considerable amount of jars into the lib of my tomcat as the compiled version nor the source code in SourceForge do not cover all the libraries.Here is the list(some might not be required):
asm.jar
commons-digester.jar
el-api.jar
hsqldb.jar
all the libraries from Embedded JBOSS package (FYI i am not using Tomcat with EMbedded JBOSS,just using the libraries)
all the libraries from JBOSS SEAM package
jsf-api.jar
jsf-facelets.jar
jsf-impl.jar
jsp-api.jar
jstl-1.1.2.jar
ojdbc14.jar for oracle 9i & JDK 1.5
servlet-api.jar
wstx.jar
2)Changed Hibernate dialect to Oracle 9i in persistence.xml
3)Changed transaction type from “JTA” to “RESOURCE_LOCAL” in persistence.xml
4)Commented transaction manager lookup class property in persistence.xml
5)Added the following line in Components.xml
<transaction:entity-transaction entity-manager="#{entityManager}"/>
Note: Don’t forget to add appropriate name space for the above tag.
6)Defining datasources differs in Tomcat when compared to JBOSS,so you either have to mention JNDI datasource globally or at application level.I could not get the application working by mentioning the datasources at application context level,so i had to mention them at the server level.Dont forget to add the datasource to the web.xml and also change the datasource references in persistence.xml and component.xml to the JNDI ones.
7)The report paths in components.xml can be either absolute or relative.I used relative.Please make sure that you create the appropriate folders otherwise the reports feature throws an exception.
8)Get your own google key if you are using a different URL and the google key usage syntax has changed little bit,change is in bold:
<component name="gmap">
<property name="key">http://maps.google.com/maps?file=api&v=2&sensor=false&key=ABQIAAAAKzQepJ4xyGVgCteyOFBqWxRuDbn5gfLKH-D3d6mkiv5tP6hBmRQV42HcD_woYUf_Ofo4Dtb908Pq1A</property>
</component>
Sensor value needs to be either false or true,please read google documentation to find out what sensor parameter is meant for.
Note:Most of the errors which you run into while deploying is mostly because of missing jars.So make sure you have all the jars required.