You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@roller.apache.org by Jonathan Chen <da...@gmail.com> on 2007/10/01 23:26:36 UTC

Re: 4.0 RC2 : Creating and Deleting blogs.

Hi Peter,

On 22/09/2007, Peter Petersson <pe...@pmb.mine.nu> wrote:
> Hi Jonathan
>
> I have recreated your problem and found the solution.
>
> Using Roller rc2 on Geronimo (tomcat) with derby (on a ubuntu linux 686
> system) I can recreate the problem you describe by removing the
> hidden-classes directive I have found usefull from the geronimo plan
> file. Adding the filters back again resolves the problem.

Thanks for directing me towards the solution for this. I've managed to
reduce Geronimo2 's geronimo-web.xml to the least amount of filters
required and have attached it here for the mail-archives. This plan
works for 4.0 RC4 as well.

Cheers.
-- 
Jonathan Chen <da...@gmail.com>

<?xml version="1.0" encoding="UTF-8"?>
<web-app
    xmlns="http://geronimo.apache.org/xml/ns/j2ee/web-1.1">
    <environment>
        <moduleId>
            <groupId>org.apache.roller</groupId>
            <artifactId>roller</artifactId>
            <version>4.0</version>
        </moduleId>
        <dependencies>
            <dependency>
                <groupId>console.dbpool</groupId>
                <artifactId>RollerDatasource</artifactId>
            </dependency>
            <dependency>
                <groupId>org.apache.geronimo.configs</groupId>
                <artifactId>javamail</artifactId>
                <type>car</type>
            </dependency>
        </dependencies>
        <hidden-classes>
            <filter>org.apache.openjpa</filter>
            <filter>antlr</filter>
        </hidden-classes>
    </environment>

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

    <resource-ref>
        <ref-name>jdbc/rollerdb</ref-name>
        <resource-link>RollerDatasource</resource-link>
    </resource-ref>
    <resource-ref>
        <ref-name>mail/Session</ref-name>
        <resource-link>mail/MailSession</resource-link>
    </resource-ref>
</web-app>