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

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

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

Peter Petersson commented on GERONIMO-2994:
-------------------------------------------

Doing some work on this I have:

Added the Apache Roller required-jars-roller-3.1.zip into the local maven repo with
 
mvn install:install-file -DgroupId=org.apache.roller -DartifactId=required-jars-roller -Dversion=3.1 -Dpackaging=zip -Dfile=required-jars-roller-3.1.zip

Modified the roller-war pom to add the required jars into the WEB-INF/lib directory. This is the way I had roller running smoothly in a current G v1.2-snapshot (see http://cwiki.apache.org/GMOxDOC12/apache-roller-on-geronimo-12-ok.html) It may not be the best way to assemble the roller war but it is probably the easiest way to get roller running. If there are any issues with this we may rework it later.   
Removed some dependency from the roller-jetty pom related to the changes above. 
Modified the roller-jetty src plan to include some hidden-classes   
 
I am including the changes files as attachments.

Still having some problems with the plugin deployment. It looks to me that both the G v2.0-snapshot console plugin method and the command line method have some issues at the moment but I am not sure, I will look in to it and come back with a jira if this is the case. 

> 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.