Hi I'm new to Shindig and am trying to get the basic setup running by following BUILD-JAVA. I checked out shindig-3.0.0-beta4, ran 'mvn clean install' and 'mvn -Prun', but cannot get the samplecontainer (or any other widgets) running. I encounter the following problems:
(1) mvn clean install
- Tons of warnings when running the tests. This may be OK, since all tests
finish with 'Errors: 0'.
(2) mvn -Prun
- Many .js cannot be loaded:
* http://www.google-analytics.com/urchin.js
* http://www.google.com/ig/lib/libanalytics.js
* http://www.google.com/ig/lib/libga.js
These seem to be the javascript files defined in the feature.xml listed
in features.txt. This might cause follow-up problems (not the
banalytics, though)? I'll have to change these URLs to point them to
my server.
- 'Couldn't load OAuth signing key.'
Since we don't use oauth, this is probably not important?
- When accessing http://localhost:8080/samplecontainer/samplecontainer.html,
the 'Social Hello World' example only displays the title and the button
'Say hello'. Clicking on the button, the javascript error
'osapi.appdata is undefined' is printed on the console.
This problem might be caused by these:
* RPC endpoint shows an error:
Mar 2, 2012 9:08:13 AM
org.apache.shindig.gadgets.http.BasicHttpFetcher fetch
INFO: http://localhost:8080/rpc?method=system.listMethods has timed out
because of the following exception:
org.apache.shindig.gadgets.http.BasicHttpFetcher - Read timed out - 5,017 ms.
Mar 2, 2012 9:08:13 AM org.apache.shindig.gadgets.render.DefaultServiceFetcher
retrieveServices
SEVERE: An HTTP 504 error occurred when fetching service methods from the
http://localhost:8080/rpc endpoint.
* The following calls 'hang' in Firefox (using Firebug):
http://localhost:8080/container/gadgets.css
http://localhost:8080/gadgets/js/core:rpc:pubsub:shindig-container.js?c=1&debug=1
http://localhost:8080/samplecontainer/samplecontainer.js
When opened in a new tab, these URLs are loaded, though.
The problem occurs on Mac, Ubuntu and OpenSuse, always with JDK6. I also
checked out the shindig-3.0.0 trunk which shows the same effect.
What am I missing?
Thanks for hints
Andy Deller
PS: I'll gladly attach the complete console output if required.
--
[email protected] Tel +41 44 268 89 61 Fax +41 44 261 27 50
Ergon Informatik AG, Kleinstrasse 15, CH-8008 Zürich
http://www.ergon.ch
______________________________________________________________
e r g o n smart people - smart software
smime.p7s
Description: S/MIME Cryptographic Signature
