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