Hi Matt

One way to do it is to put the file in WEB-INF/classes (I think this is the right place for it someone correct me if I am wrong) in your roller-weblogger.war file before installation alt. look up the geronimo/repository/defult/timestamp/roller-weblogger.war/WEB-INF/classes and put it there after installation and restart the app via the console. As you have not specified any groupId or version in the moduleId section of your geronimo-web.xml file the path in the repos shuld start with default/timestamp
Hope this helps
Peter Petersson

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


Reply via email to