Skip to content
mkalam-alami edited this page Jul 29, 2011 · 6 revisions

Prerequisites

Install prerequisites for running the demo (for contributing, see Development-Environment):

  • Java JDK 6
  • node.js (Use version 0.4.5 or upper, it's recommended to get it by downloading the archive on the website: http://nodejs.org/)

Get the archive on our website, and unzip it. Then configure the browser to use the web proxy as proxy:

Start the demo

Note: During your first launch, you might need to configure Nuxeo using the online wizard. When you're asked, select "embedded database".

Restart the demo

To reset the demo, delete old & unwanted services in Nuxeo, empty your browser cache and restart the run script.

  • To restart Nuxeo manually, click on Stop in the Launch user interface or launch bin\Stop Nuxeo.bat, check it is stopped in the windows Task Manager, then click on Start or launch bin\Start Nuxeo.bat
  • If Nuxeo doesn't restart at the end of the wizard, restart manually after setting in bin/nuxeo.conf the property: nuxeo.wizard.done=true

Troubleshooting

Here are the most frequent problems you can get while using the demo (remember that it's just a demo!). If your problem is not here, you can create an issue.

Discovery by browsing: suspends on "connecting...", or the services don't appear

  • Try refreshing the page
  • Maybe the service registry isn't launched yet, depending on your machine it could take several minutes (you can check its status by opening the log file log/serviceRegistry.log)

Discovery by browsing: The web proxy seems not to be used

  • If it seems the browser doesn't use the web proxy, check the configuration for proxy exclusions, ex. 'localhost, 127.0.0.1, ': you need to remove all of these.

Service registry: Some services have the "Call it!" button disabled

  • As this is a demo, the EasySOA Light part is highly mocked and pre-generated. For now, only two services can be called through EasySOA Light.

Service registry: The dashboard values aren't up to date

  • Unfortunately, we met indeed some caching problems with the services dashboard. You can try restarting Nuxeo to refresh the cache.

SCA import: My application doesn't appear

  • Try logging out and in again, it's probably a caching problem

EasySOA Light: The Smart Travel service returns en "Error code 0"

  • Something has not been properly launched, probably because a server wasn't ready yet before to start the next one. Try to re-launch manually the frascati/start-lightTravelProxy.sh script.

Discovery by browsing / web server: fails to launch because of a node.js error

If DNS error (in npm, proxy...) such as

Error: ECONNREFUSED, Could not contact DNS servers
    at IOWatcher.callback (dns.js:74:15)

solution :

Clone this wiki locally