DuraBoss not initializing in init.properties

45 views
Skip to first unread message

Dave

unread,
May 31, 2012, 11:27:45 PM5/31/12
to DuraCloud Dev
I just installed the latest Duracloud binaries per the instructions
and for some reason when I run:

java -jar app-config.jar init.properties

I get the following error message:
...
23:21:42.743 [main] DEBUG httpclient.wire.header - << "[\r][\n]"
23:21:42.744 [main] DEBUG o.d.common.web.RestHttpHelper - RESPONSE
CODE: '500'
RESPONSE HEADERS:
[Server|Apache-Coyote/1.1]
[Content-Type|text/plain]
[Transfer-Encoding|chunked]
[Date|Fri, 01 Jun 2012 03:21:42 GMT]
[Connection|close]

23:21:42.744 [main] DEBUG httpclient.wire.content - << "1"
23:21:42.745 [main] DEBUG httpclient.wire.content - << "4"
23:21:42.745 [main] DEBUG httpclient.wire.content - << "d"
23:21:42.745 [main] DEBUG httpclient.wire.content - << "[\r]"
23:21:42.745 [main] DEBUG httpclient.wire.content - << "[\n]"
23:21:42.746 [main] DEBUG httpclient.wire.content - << "Unable to find
Bit Integrity Tools service due to
org.duracloud.serviceapi.error.ServicesException: Could not get spaces
due to: Could not complete request due to error: Response code was
500, expected value was 200. Error message: Could not build services
list due to exception: Error retrieving content stores. Connection
timed out"
23:21:42.746 [main] DEBUG httpclient.wire.content - << "[\r]"
23:21:42.746 [main] DEBUG httpclient.wire.content - << "[\n]"
23:21:42.746 [main] DEBUG httpclient.wire.content - << "0"
23:21:42.746 [main] DEBUG httpclient.wire.content - << "[\r]"
23:21:42.747 [main] DEBUG httpclient.wire.content - << "[\n]"
23:21:42.747 [main] DEBUG httpclient.wire.content - << "[\r]"
23:21:42.747 [main] DEBUG httpclient.wire.content - << "[\n]"
23:21:42.747 [main] DEBUG httpclient.wire.header - << "[\r][\n]"
23:21:42.747 [main] DEBUG o.a.c.httpclient.HttpMethodBase - Should
close connection in response to directive: close
23:21:42.748 [main] DEBUG o.a.c.httpclient.HttpConnection - Releasing
connection back to connection manager.
23:21:42.748 [main] ERROR o.d.appconfig.ApplicationInitializer - error
initializing duraboss (500)
Unable to find Bit Integrity Tools service due to
org.duracloud.serviceapi.error.ServicesException: Could not get spaces
due to: Could not complete request due to error: Response code was
500, expected value was 200. Error message: Could not build services
list due to exception: Error retrieving content stores. Connection
timed out
Exception in thread "main"
org.duracloud.common.error.DuraCloudRuntimeException: error
initializing duraboss (500)
Unable to find Bit Integrity Tools service due to
org.duracloud.serviceapi.error.ServicesException: Could not get spaces
due to: Could not complete request due to error: Response code was
500, expected value was 200. Error message: Could not build services
list due to exception: Error retrieving content stores. Connection
timed out
at
org.duracloud.appconfig.ApplicationInitializer.validate(ApplicationInitializer.java:
332)
at
org.duracloud.appconfig.ApplicationInitializer.initApp(ApplicationInitializer.java:
313)
at
org.duracloud.appconfig.ApplicationInitializer.initialize(ApplicationInitializer.java:
299)
at
org.duracloud.appconfig.ApplicationInitDriver.main(ApplicationInitDriver.java:
41)

If I comment out - app.duraboss.context=duraboss - in the properties
file it runs fine. Also, when I'm in the web interface when I click
the "Services" tab the screen just cycles with the progress bar and
nothing comes back. I suspect maybe all my osgi bundles didn't light
up properly.

Anyway, any pointers, files to look at or general help greatly
appreciated - Thanks guys...

Cheers,
Dave

Andrew Woods

unread,
Jun 7, 2012, 1:04:22 PM6/7/12
to duracl...@googlegroups.com
Hello Dave,
It looks like the error is due to 'duraservice' not being able to find
the service zip files. If you have not already done so, in your
init.properties file you will want to update the following properties:
------------
duraservice.service-storage.space-id=duracloud-2-0-0-service-repo
duraservice.service-storage.service-xml-id=duracloud-2-0-0-service-repo.xml
------------

I would suggest leaving the 'duraboss' element commented out in
init.properties until you have gotten 'durastore' and 'duraservice'
initialized properly.
Also, if you could please post your init.properties (minus the
passwords) it may help in debugging the situation.
Thanks,
Andrew
> --
> You received this message because you are subscribed to the Google Groups "DuraCloud Dev" group.
> To post to this group, send email to duracl...@googlegroups.com.
> To unsubscribe from this group, send email to duracloud-de...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/duracloud-dev?hl=en.
>
Reply all
Reply to author
Forward
0 new messages