Skip to content
mdutoo edited this page Feb 7, 2013 · 14 revisions

Summary

  1. Prerequisites
  2. Setup
  3. Installing it
  4. Browser configuration
  5. Running it
  6. Troubleshooting

Prerequisites

Setup

Installing it

Get the EasySOA Registry 1.0 archive on the official website, then unzip it anywhere.

If you're a developer and want to use the Java source code Discovery Maven plugin, copy the contents of the easysoa-discovery-code-mavenplugin/m2_repo in your local Maven repository (usually below your home directory in .m2/repository ).

Note that EasySOA Registry comprises the core collaborative SOA - Business registry, with "collaborative documentation" and "portal" (indicators, matching, business monitoring, browsing) user interfaces for collaborative documentation. Its release also provides Discovery by Browsing and the Java source code Discovery plugin.

Other EasySOA 1.0 components are released independently and are available :

Browser configuration

You have to set a specific HTTP proxy for your browser if you want to use Discovery by Browsing in HTTP Proxy mode (otherwise the Bookmarklet model is still available). This proxy si the port 8081 of the machine where you've installed Discovery by Browsing, for instance if it's on your own computer : http://127.0.0.1:8081, like below (in which case you have to remove any proxy exception, such as localhost or 127.0.0.1).

Running it

  • Start EasySOA Registry by going in the nuxeo-cap-5.7-I20130111_0115-tomcat/bin directory and running Start Nuxeo.bat on Windows, ./nuxeoctl start on Linux. Its collaborative documentation user interface is at http://127.0.0.1:8080/nuxeo . Its dedicated "service portal" user interfaces are at http://127.0.0.1:8080/nuxeo/site/easysoa . Default user/password is Administrator/Administrator.
  • Start Discovery by Browsing (requires EasySOA Registry) by going in the easysoa-discovery-browsing directory and running start-web.bat on Windows, ./start-web.sh on Linux. Its user interface is at http://127.0.0.1:8083 .
  • Reset all data by deleting the serviceRegistry/nxserver/data folder once it is stopped.

Troubleshooting

Here are the most frequent problems you can get while using EasySOA. If your problem is not here, feel free to create an issue.

Discovery by browsing

The browser doesn't seem to use the proxy

Check your browser configuration for proxy exclusions, ex. 'localhost, 127.0.0.1': you need to remove all of these.

If you are using the Chrome browser, you can also try to run : chromium-browser --proxy-server="127.0.0.1:8081" --proxy-bypass-list="". It will launch the browser with the right configuration.

Service registry

The dashboard fails with "403 error" or "500 error"
  • "500 error": just restart it, it's a known Nuxeo bug (NXP-7663: "InvalidReferenceException: Expression lang is undefined on line 2, column 23 in dynamic-translations.ftl" , due to unsafe threading)
  • "403 error": we're not sure yet why it happens, but disabling the proxy can help.
Nuxeo doesn't restart at the end of the wizard

Restart manually after setting in bin/nuxeo.conf the property: nuxeo.wizard.done=true

Buggy WSDLs

Buggy WSDLs, such as having bad XML, no version and / or containing no service endpoint, are in EasySOA Core the cause of 1. strange api or service names or wsdl and 2. validation failure, and in logs "failed to lock database, timeout" errors. To solve it, remove them all.

Talend AirportService WSDL validation fails

This is due to a hack to cope with an alpha Talend ESB runtime that didn't provide detailed WSDL types. This doesn't happen when using official Talend ESB releases.

EasySOA Light

When using a service, I get an "Error code 0"

Something has not been properly launched, probably because a server wasn't ready yet before to start the next one (your computer was slower than expected!). Take a look at the log files to see which server failed, and launch it manually (each server has a start-xxx.sh and .bat script).

Clone this wiki locally