•   almost 12 years ago

Question about ODSE

I am running a demo application in eclipse after starting Apache Shinding. But i keep receiving an error message : The connection was refused when attempting to contact localhost:8181 .  Thanks in advance.


  • Manager   •   almost 12 years ago

    Would you mind sending us a screenshot so we can further diagnose? In the meantime, here's what I would suggest:
    If you haven't already done so, follow these steps when testing your gadget on your local machine (offline):

    make sure the jetty server is running by starting the StartGdk script (either windows or *nux OS).
    in eclipse start the shindig server (most left of the 4 buttons)
    make sure to wait a little bit to make sure the server has enough time to run through the startup processes being loaded. There sometimes can be a considerable delay causing the message you have described.
    then run the gadget.
    Also try to test your gadget online at http://developers.sciverse.com/home/my-projects. Make sure you are logged in with your username and password.
    If you have not yet created a project for your gadget, click create a new project. Otherwise, select your existing project from the list. Upload your gadget.xml file and complete the application form, and click save (do not click the submit button, this will lock your app). Then click the "Test in SciVerse" button on the right to test your app online in the production environment.

  •   •   almost 12 years ago

    I was wondering if you could tell me how to start the jetty server?

  • Manager   •   almost 12 years ago

    You can start the jetty server by opening a console, and browsing to the directory where you installed the SDK. There, run the StartGdk.bat file on Windows or StartGdk.sh on Linux. 
    However, I recommend testing your gadget online under the "my-projects" menu, creating a project, and uploading your gadget there. Fill out the remaining form fields and press save. Then press the "Test in SciVerse" button.
    Also, there are links to detailed instructions in the email you received after registration.
    Hope this helps!

Comments are closed.