Dave Johnson-8 wrote:
> 
> On Dec 18, 2007 4:39 AM, fp <[EMAIL PROTECTED]> wrote:
>> Hi Dave,Matt,
>> i've a Problem with Geronimo 2.0.2 and Roller 4.0 and derby 10.2.2
>> Perhapse it's because roller uses openjpa-0.9.7-incubating.jar and
>> Geronimo
>> openjpa-1.0.0.jar.
>>
>> I could create the derby-Database and a User, but I couldn't create  a
>> weblog.
>>  because of an Foreign-Key-Vailolation
>>  <openjpa-1.0.0-r420667:568756 fatal store error>
> 
> Yep, Roller 4.0 will not work with OpenJPA 1.0. We include OpenJPA
> 0.9.7 and that's what we expect Roller to use.
> 
> - Dave
> 
> 

Whe I just use the Geronimo Ressourcen deployed with a deploymenplan

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

    <environment>
        <moduleId>
            <artifactId>Roller</artifactId>
        </moduleId>
        <dependencies>
            <dependency>
                <groupId>console.dbpool</groupId>
                <artifactId>derby</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>derby</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>

I can create Blog's, Register user with
http://localhost:8080/roller/roller-ui/register.rol. 
Only as an Admin I can't create a user with
http://localhost:8080/roller/roller-ui/admin/createUser.rol. Theres is still
the SQL-Error
So better use the Ressource-Provider from Geronimo, to get it running not
the installation.type=auto
And also increase the JVM  -XX:MaxPermSize=128m in this combination
-- 
View this message in context: 
http://www.nabble.com/Roller-4.0-RC8-on-Geronimo-2.0.2-tp13335292s12275p14397208.html
Sent from the Roller - Dev mailing list archive at Nabble.com.

Reply via email to