Demo build with Fedora storage

7 views
Skip to first unread message

Mike Lynch

unread,
Mar 13, 2013, 8:21:12 PM3/13/13
to redbo...@googlegroups.com
Hi all,

I've been trying to get a demo installation of ReDBox/Mint up and running on my own machine, with no luck so far.

The demo build of Mint from github - https://github.com/redbox-mint/mint-build-dev-local-fedora3 - starts up, but gives the error listing attached below when I visit in in a browser.

The main logfile is also getting regular error messages with a NullPointerException from the Fascinator's PluginManager class.

I've got Fedora (3.5) running OK, and have made sure that the system-config.json is configured with the right URL, admin user and PID prefix. I feel like there's some other configuration or initialisation required which I haven't been able to find in the online documentation.

I appreciate that it's a busy time for the developers with 1.6 coming out. It might be better if I work on something else for now and wait for a 1.6 release which has the Fedora plugin.

Thanks
Mike


Error listing:


Script error: scripts/home.py
Traceback (most recent call last):
  File "default/default/scripts/home.py", line 17, in __activate__
  File "default/default/scripts/home.py", line 52, in _HomeData__search
at org.apache.tapestry5.ioc.internal.services.JustInTimeObjectCreator.obtainObjectFromCreator(JustInTimeObjectCreator.java:78)
at org.apache.tapestry5.ioc.internal.services.JustInTimeObjectCreator.createObject(JustInTimeObjectCreator.java:57)
at $Indexer_13d661e7669.delegate($Indexer_13d661e7669.java)
at $Indexer_13d661e7669.search($Indexer_13d661e7669.java)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)

java.lang.RuntimeException: java.lang.RuntimeException: Exception constructing service 'Indexer': Error invoking service builder method com.googlecode.fascinator.portal.services.PortalModule.buildIndexer() (at PortalModule.java:183) (for service 'Indexer'): java.lang.NullPointerException

Zakir Hossain

unread,
Mar 13, 2013, 10:32:02 PM3/13/13
to redbo...@googlegroups.com
Hi Mike,
 
We are using Fedora 3.4 as storage for both RedBox and Mint. Following is the settings we require for Redbox/Mint to point to the Fedora server.
 
"storage": {
        "type": "fedora3",
        "fedora3": {
            "url": "http://servername:8080/fedora",
            "username": "username",
            "password": "password",
            "namespace": "mint"
        }
    },

You can check if the RedBox/Mint is connection to the Fedora instance or not by checking harvest.log file under .../mint/home/logs/ directory. The harvest.log file should say like following if it can connect to Fedora.
 
2013-03-12 16:10:34,034 INFO   FascinatorHome       Set Fascinator home to 'C:\tools\tf2\mint\home'
2013-03-12 16:10:34,096 INFO   Fedora3              Connected to FEDORA : 'http://servername:8080/fedora/'
2013-03-12 16:10:34,190 INFO   Fedora3              FEDORA version: '3.4.2'
2013-03-12 16:10:34,502 INFO   Fedora3              API-M access testing; 15 second timeout
2013-03-12 16:10:34,642 INFO   Fedora3              Access checked: 'fedora-system:FedoraObject-3.0' = 40141 bytes
2013-03-12 16:10:34,658 INFO   HarvestClient        Loaded Fedora Commons 3.5 Storage Plugin
 
Regards,
Zakir

--
You received this message because you are subscribed to the Google Groups "ReDBox Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to redbox-dev+...@googlegroups.com.
To post to this group, send an email to redbo...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msg/redbox-dev/-/p2bJp3DeDHUJ.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Mike Lynch

unread,
Mar 13, 2013, 10:57:23 PM3/13/13
to redbo...@googlegroups.com
Hi Zakir -

Thanks - I double-checked the config file and there was an error in the "storage" setting of the original build, which had the "storage" section nested inside an extra "storage" clause.  I've fixed this and it seems to be up and running now.

Cheers
Mike
Reply all
Reply to author
Forward
0 new messages