I have just fixed TUSCANY-3056, which makes all our samples working out of the box in a Geronimo Environment.
Note that, when deploying these samples, you might get a java heap space exception, and will need to set GERONIMO_OPTS in order to avoid this issue : win32: SET GERONIMO_OPTS="-Xmx1024m -XX:MaxPermSize=384m" linux/mac os: export GERONIMO_OPTS="-Xmx1024m -XX:MaxPermSize=384m" When building new apps, you also need to make sure you add a Geronimo deployment descriptor (WEB-INF\geronimo-web.xml) to your app that looks like one below Note the section of hidden-classes, that' s the most important section and will allow your app to use some of the dependencies required by Tuscany instead of the ones available in Geronimo. <web-app xmlns="http://geronimo.apache.org/xml/ns/j2ee/web-2.0" xmlns:d="http://geronimo.apache.org/xml/ns/deployment-1.2"> <d:environment> <d:moduleId> <d:groupId>org.apache.tuscany.sca</d:groupId> <d:artifactId>sample-calculator-ws-webapp</d:artifactId> <d:version>1.5-SNAPSHOT</d:version> <d:type>war</d:type> </d:moduleId> <d:hidden-classes> <d:filter>org.apache.axiom</d:filter> <d:filter>org.apache.axis2</d:filter> <d:filter>org.apache.commons</d:filter> <d:filter>org.jdom</d:filter> </d:hidden-classes> </d:environment> </web-app> [1] https://issues.apache.org/jira/browse/TUSCANY-3056 -- Luciano Resende Apache Tuscany, Apache PhotArk http://people.apache.org/~lresende http://lresende.blogspot.com/
