You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "David Jencks (JIRA)" <ji...@apache.org> on 2007/04/01 20:01:32 UTC

[jira] Updated: (GERONIMO-2994) Apache Roller plugin

     [ https://issues.apache.org/jira/browse/GERONIMO-2994?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Jencks updated GERONIMO-2994:
-----------------------------------

    Attachment: geronimo-plugins.xml

Here are some of the things I've done while working on plugin-izing this:

- put the attached geronimo-plugins.xml into ~/.m2/repository
- in the admin console, add file://Users/david/.m2/repository as a plugin repository
- install the 2 plugins (derby and roller) using commands

java -jar bin/deployer.jar install-plugin ~/.m2/repository/org/apache/geronimo/plugins/roller-derby-database/2.0-SNAPSHOT/roller-derby-database-2.0-SNAPSHOT.car
java -jar bin/deployer.jar install-plugin ~/.m2/repository/org/apache/geronimo/plugins/roller-jetty/2.0-SNAPSHOT/roller-jetty-2.0-SNAPSHOT.car 

I had to  install all the dependency jars into the geronimo repo by copying them from my local maven repo.  I don't understand why, this seems like a bug in the install-plugin command.

-----------------
in rev 524643 I committed some work that creates a jar with  the derby db scripts and derby specific roller config file and only gets it on the classpath when you are using derby.  However roller doesn't start yet for me.

> Apache Roller plugin 
> ---------------------
>
>                 Key: GERONIMO-2994
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-2994
>             Project: Geronimo
>          Issue Type: New Feature
>      Security Level: public(Regular issues) 
>          Components: Plugins
>    Affects Versions: 1.2
>            Reporter: Peter Petersson
>         Assigned To: David Jencks
>            Priority: Minor
>         Attachments: geronimo-plugins.xml, geronimo-web.xml, geronimo-web.xml, roller-custom.properties, roller-custom.properties, roller-custom.properties, roller-derbydb-plan-g1_2.xml, roller-mysql-db-plan-1-2.xml
>
>
> Have been working on getting Apache Roller running under Geronimo I finally got to the point where the roller application seems to be running smoothly in Geronimo v1.2 (current snapshot). It would be great to eventually see this application as a plugin in G so here are pointers to resources and attached plans.
> Apache Roller v3.1 Resources (soon to be released)
> Apache roller home: http://rollerweblogger.org/project/
> The bundle: http://people.apache.org/~snoopdave/apache-roller-3.1/ (until it will be available directly via roller home)
> Required jars: https://roller.dev.java.net/servlets/ProjectDocumentList?expandFolder=6959&folderID=0
> Path to database create scripts can be found in the bundle above under: apache-roller-3.1/webapp/roller/WEB-INF/dbscripts/
> I have tested with the derby database and mysql 5. 
> There is currently a issue with G v1.2 and hibernates v3.1 (used by roller 3.1) property loader that gets a
>  
> FATAL [HibernateRollerImpl] Error initializing Hibernate
> java.lang.ClassCastException: java.util.HashSet
>         at org.hibernate.util.PropertiesHelper.resolvePlaceHolders(PropertiesHelper.java:88)   
> Hibernate is expecting a String value (This issue is fixed in hibernate 3.2 with a instanceOf check)
> Fortunately David Jencks hit this problem in trunk and suggested turning off the activemq and activemq-broker modules in config.xml, to test things out, and after that everything was running smothly :).
>     

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.