start-web.bat

23 views
Skip to first unread message

roland....@telefonica.com

unread,
Dec 10, 2013, 7:44:18 AM12/10/13
to easys...@googlegroups.com
I tried to start easysoa with start-wb.bat.

I got an error message saying that either "node.exe" is written wrongly or the command could not be found

Marc Dutoo

unread,
Dec 11, 2013, 4:26:21 AM12/11/13
to easys...@googlegroups.com
Hi Roland

The provided node.exe works on 32 bits Windows 7.
Would your system be 64 bits ? (in which case we should add support for it)

Regards

--
Marc Dutoo - Head of R&D Dept.
www.openwide.fr - The Open Source Architect
www.easysoa.org - Agile, non-intrusive governance for Service-oriented Information Systems


Le 10/12/2013 13:44, roland....@telefonica.com a écrit :
I tried to start easysoa with start-wb.bat.

I got an error message saying that either "node.exe" is written wrongly or the command could not be found
--
--
EasySOA - lighter, agile, collaborative Service Integration and Management
http://www.easysoa.org
http://github.com/easysoa
 
You received this message because you are subscribed to the Google
Groups "easysoa-dev" group.
To post to this group, send email to easys...@googlegroups.com
To unsubscribe from this group, send email to
easysoa-dev...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/easysoa-dev?hl=fr
 
---
Vous recevez ce message, car vous êtes abonné au groupe Google Groupes easysoa-dev.
Pour vous désabonner de ce groupe et ne plus recevoir d'e-mails le concernant, envoyez un e-mail à l'adresse easysoa-dev...@googlegroups.com.
Pour plus d'options, visitez le site https://groups.google.com/groups/opt_out .

roland....@telefonica.com

unread,
Dec 11, 2013, 10:23:36 AM12/11/13
to easys...@googlegroups.com
Hi Marc,

I am using the 32-bit version.

Is it possible that it is a problem in the start-web.bat, because there is following code sequence:
cd js
"node.exe" -v
"node.exe" easysoa.js

But the node.exe file is in the easysoa-discovering-browsing directory. Iis the "cd js" statement to early?

Regards
Roland

Marc Dutoo

unread,
Dec 11, 2013, 12:10:31 PM12/11/13
to easys...@googlegroups.com
Hi Roland

Thanks for pointing this out, there's obviously a problem there !

Based on the previous version of the file (*), I'd suggest replacing both "node.exe" by "../node.exe".

Regards
Marc

(*) but beware, node.exe has been moved since
https://github.com/easysoa/EasySOA-Incubation/blob/cfe7148fb7f48a2855c9ad0cc12b0237b2219e8e/easysoa-discovery-browsing/start-web.bat
--

roland....@telefonica.com

unread,
Dec 18, 2013, 11:36:08 AM12/18/13
to easys...@googlegroups.com
Hi Marc,

I modiefied the start-web.bat as you can see below:
----------------------------------------------------------------------------------------------------------------------
@echo off

set LINE=----------------------------------------------------


echo %LINE%

echo HTTP Web Server
echo (Default static server configuration: Host=127.0.0.1, Port=8083

echo  Default proxy configuration: Host=127.0.0.1, Port=8081)

echo DEPENDENCIES: Service registry (to log in)

echo %LINE%

cd js
..\node.exe -v
..\node.exe easysoa
------------------------------------------------------------------------------------------------------------------------------------

By executing the file, the java script trows an exception

---------------------------------------------
:\EasySOA\easysoa-registry-2.0.tar\easysoa-registry-2.0\easysoa-discovery-brows
ing>start-web.bat
----------------------------------------------------
HTTP Web Server
(Default static server configuration: Host=127.0.0.1, Port=8083
 Default proxy configuration: Host=127.0.0.1, Port=8081)
DEPENDENCIES: Service registry (to log in)
----------------------------------------------------
v0.8.3
   info  - socket.io started
Checking if Nuxeo is ready...
...

C:\EasySOA\easysoa-registry-2.0.tar\easysoa-registry-2.0\easysoa-discovery-brows
ing\js\node_modules\longjohn\index.js:111
      throw e;
            ^
Error: listen EADDRINUSE
    at errnoException (net.js:776:11)
    at Server.Server._listen2 [as _listen2] (net.js:915:14)
    at listen (net.js:942:10)
    at Server.Server.listen [as listen] (net.js:992:5)
    at Object.<anonymous> (C:\EasySOA\easysoa-registry-2.0.tar\easysoa-registry-
2.0\easysoa-discovery-browsing\js\easysoa.js:169:13)
    at Module.Module._compile [as _compile] (module.js:449:26)
    at Object.Module._extensions..js [as .js] (module.js:467:10)
    at Module.Module.load [as load] (module.js:356:32)
    at Function.Module._load [as _load] (module.js:312:12)
    at Module.runMain (module.js:492:10)
---------------------------------------------
    at Server.Server._listen2 [as _listen2] (net.js:918:13)
    at listen (net.js:942:10)
    at Server.Server.listen [as listen] (net.js:992:5)
    at Object.<anonymous> (C:\EasySOA\easysoa-registry-2.0.tar\easysoa-registry-
2.0\easysoa-discovery-browsing\js\easysoa.js:169:13)
    at Module.Module._compile [as _compile] (module.js:449:26)
    at Object.Module._extensions..js [as .js] (module.js:467:10)
    at Module.Module.load [as load] (module.js:356:32)
    at Function.Module._load [as _load] (module.js:312:12)
-------------------------------------------------------------------------------------------------------

Can you pls. investigate.

Many thanks and best regards
Roland Neueck




Am Dienstag, 10. Dezember 2013 13:44:18 UTC+1 schrieb roland....@telefonica.com:

Marc Dutoo

unread,
Dec 18, 2013, 4:59:40 PM12/18/13
to easys...@googlegroups.com
Hi Roland

First happy to know you've made it further and thanks for validating the patch.

Now about your new problem.
The error says that Discovery by Browsing proxy server can't be started (*) on port 8081 because there's already another program listening on port 8081 (**). So if you find it and stop it you should be fine.
Or maybe have you started it twice ?

Best Regards,
Marc

(*) line 169 in https://github.com/easysoa/EasySOA-Incubation/blob/easysoa-registry-2.0/easysoa-discovery-browsing/js/settings.js
(**) PROXY_PORT in js/settings.js
--
--
EasySOA - lighter, agile, collaborative Service Integration and Management
http://www.easysoa.org
http://github.com/easysoa
 
You received this message because you are subscribed to the Google
Groups "easysoa-dev" group.
To post to this group, send email to easys...@googlegroups.com
To unsubscribe from this group, send email to
easysoa-dev...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/easysoa-dev?hl=fr
 
---
Vous recevez ce message, car vous êtes abonné au groupe Google Groupes easysoa-dev.
Pour vous désabonner de ce groupe et ne plus recevoir d'e-mails le concernant, envoyez un e-mail à l'adresse easysoa-dev...@googlegroups.com.
Pour plus d'options, visitez le site https://groups.google.com/groups/opt_out .

roland....@telefonica.com

unread,
Dec 19, 2013, 5:54:51 AM12/19/13
to easys...@googlegroups.com
Hi Marc,

thanks for your help. I changed the ports in the settings.js to 8098 and 8099 and I can start easysoa now.

I am getting now an other error message:
error: { [Error: connect ETIMEDOUT] code: 'ETIMEDOUT', errno: 'ETIMEDOUT', syscall: 'connect' }

I don't know it this is relevant.

And I have an other question: How can I change the language from French to English?

Best regards
Roland




Am Dienstag, 10. Dezember 2013 13:44:18 UTC+1 schrieb roland....@telefonica.com:

Marc Dutoo

unread,
Dec 19, 2013, 12:52:18 PM12/19/13
to easys...@googlegroups.com
Hi Roland

Great.

Now do you have a finer error trace for the timeout one ?

As a whole, I'd say :
* When you change a value somewhere, you have to change it everywhere, for instance at the end of the settings.js there is a 8083. But it may require to go far, for instance up to nuxeo-cap-5.7.1-tomcat/nxserver/config/easysoa.properties
* therefore try not to change too much things. For instance, was maybe not necessary to change the second port.

Finally, for you to get the English version, I have to do a new release. Which is not that much work since packaging & tests are automated. I'll be happy to do it (it's Christmas :) if I'm sure that there's no more blocking bug for you.

Best Regards
--
--
EasySOA - lighter, agile, collaborative Service Integration and Management
http://www.easysoa.org
http://github.com/easysoa
 
You received this message because you are subscribed to the Google
Groups "easysoa-dev" group.
To post to this group, send email to easys...@googlegroups.com
To unsubscribe from this group, send email to
easysoa-dev...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/easysoa-dev?hl=fr
 
---
Vous recevez ce message, car vous êtes abonné au groupe Google Groupes easysoa-dev.
Pour vous désabonner de ce groupe et ne plus recevoir d'e-mails le concernant, envoyez un e-mail à l'adresse easysoa-dev...@googlegroups.com.
Pour plus d'options, visitez le site https://groups.google.com/groups/opt_out .

roland....@telefonica.com

unread,
Jan 7, 2014, 10:22:54 AM1/7/14
to easys...@googlegroups.com
Hi Marc,

I also changed the port at the end of settings.js

Under <nuxeo-cap-5.7.1-tomcat/nxserver> I don't have a config directory


Best regards
Roland

Am Dienstag, 10. Dezember 2013 13:44:18 UTC+1 schrieb roland....@telefonica.com:

mdutoo

unread,
Apr 23, 2015, 5:59:31 AM4/23/15
to easys...@googlegroups.com
On Tuesday, January 7, 2014 at 4:22:54 PM UTC+1, roland....@telefonica.com wrote:
Hi Marc,

I also changed the port at the end of settings.js

Under <nuxeo-cap-5.7.1-tomcat/nxserver> I don't have a config directory
You need to start the EasySOA Registry component once first in order to get it (in case you are still tracking this).

Regards,
Marc
 
Reply all
Reply to author
Forward
0 new messages