Peter Petersson and I got roller pre-4.0 working with geronimo trunk a while back as geronimo plugins:

https://svn.apache.org/repos/asf/geronimo/plugins/roller/trunk
https://issues.apache.org/jira/browse/GERONIMO-2994

Unfortunately I ran into some problems when I tried to apply the most recent set of patches and haven't kept it quite up to date. The plugins built in this project won't install into geronimo 2.0.2 but you should be able to use the plans to deploy a datasource and roller. Note this is using jta and non-jta datasources configured in persistence.xml rather than direct use of connections as typically set up in the last roller version I looked at.

thanks
david jencks

On Oct 21, 2007, at 5:57 PM, Matt Raible wrote:

I'm trying to deploy Roller 4.0 on Geronimo 2.0.2. I can't figure out
where to put roller-custom.properties in Geronimo's directory
structure. I've tried /lib, /lib/endorsed and /repository and none of
them work. Any ideas?

Here's the geronimo-web.xml I'm using in case anyone else wants to try
this. I had to create MySQLPool in Geronimo's console.

<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://geronimo.apache.org/xml/ns/j2ee/web-1.1";>

    <environment>
        <moduleId>
            <artifactId>Roller</artifactId>
        </moduleId>
        <dependencies>
            <dependency>
                <groupId>console.dbpool</groupId>
                <artifactId>MySQL</artifactId>
            </dependency>
            <dependency>
                <groupId>org.apache.geronimo.configs</groupId>
                <artifactId>javamail</artifactId>
                <type>car</type>
            </dependency>
        </dependencies>
    </environment>

    <context-root>/roller</context-root>

    <!-- define a reference name to the db pool-->
    <resource-ref>
        <ref-name>jdbc/rollerdb</ref-name>
        <resource-link>MySQL</resource-link>
    </resource-ref>

    <resource-ref>
        <ref-name>mail/Session</ref-name>
        <!-- Default Geronimo mail session -->
        <resource-link>mail/MailSession</resource-link>
    </resource-ref>
</web-app>

Matt

--
http://raibledesigns.com

Reply via email to