Google Groups

Re: [islandora] MicroServices


Richard Wincewicz May 18, 2012 12:15 AM
Posted in group: islandora
Hi Steve

Assuming you've not changed the default Fedora credentials on the VM then the username will be fedoraAdmin and the password will be islandora. To confirm this (or to change these to something a little more secure) you can view/edit the the file /usr/local/fedora/server/config/fedora-users.xml

Richard


On 2012-05-18, at 1:37 AM, Steve Sonnenberg wrote:

Hi Team,

I've been trying to get MicroServices to work on the Islandora_VM 12.1 using the sample plugin, but am running into a simple authorization failure.

The islandora_microservices.cfg file has a username/password fedoraAdmin,password are these the wrong credentials?

My islandora_microservices.log file shows:

[May/18/2012:01:55:56] DEBUG root Trying GET on /fedora/objects/islandora:361/datastreams?format=text%2Fxml
[May/18/2012:01:55:56] DEBUG root Trying GET on /fedora/objects/islandora:361/datastreams/RELS-EXT?validateChecksum=false&format=text%2Fxml
[May/18/2012:01:55:56] ERROR stomp.py An unhandled exception was encountered in the stomp receiver loop
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/stomp.py-3.0.2-py2.6.egg/stomp/connect.py", line 541, in __receiver_loop
    self.__notify(frame_type, headers, body)
  File "/usr/lib/python2.6/site-packages/stomp.py-3.0.2-py2.6.egg/stomp/connect.py", line 510, in __notify
    notify_func(headers, body)
  File "/opt/islandora_microservices/islandora_listener.py", line 185, in on_message
    content_models = self._get_fedora_content_models(obj)
  File "/opt/islandora_microservices/islandora_listener.py", line 142, in _get_fedora_content_models
    ds = obj['RELS-EXT']
  File "/usr/lib/python2.6/site-packages/fcrepo-1.1-py2.6.egg/fcrepo/object.py", line 50, in __getitem__
    ds = RELSEXTDatastream(dsid, self)
  File "/usr/lib/python2.6/site-packages/fcrepo-1.1-py2.6.egg/fcrepo/datastream.py", line 106, in __init__
    super(RELSEXTDatastream, self).__init__(dsid, object)
  File "/usr/lib/python2.6/site-packages/fcrepo-1.1-py2.6.egg/fcrepo/datastream.py", line 33, in __init__
    self.dsid)
  File "/usr/lib/python2.6/site-packages/fcrepo-1.1-py2.6.egg/fcrepo/client.py", line 131, in getDatastreamProfile
    response = request.submit(format=u'text/xml')
  File "/usr/lib/python2.6/site-packages/fcrepo-1.1-py2.6.egg/fcrepo/wadl.py", line 80, in submit
    method=self.method.name)
  File "/usr/lib/python2.6/site-packages/fcrepo-1.1-py2.6.egg/fcrepo/connection.py", line 80, in open
    return check_response_status(self.conn.getresponse())
  File "/usr/lib/python2.6/site-packages/fcrepo-1.1-py2.6.egg/fcrepo/connection.py", line 107, in check_response_status
    raise ex
FedoraConnectionException: HTTP code=401, Reason=Unauthorized, body=Fedora: 401

Thanks!

--
Steve Sonnenberg


--
You received this message because you are subscribed to the Google Groups "islandora" group.
To post to this group, send email to isla...@googlegroups.com.
To unsubscribe from this group, send email to islandora+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/islandora?hl=en.