Hey Carlos,

The response BAD_CMD is a good response, that means your server was
working. If you can get your server to that state then you have a working
setup.

Im not 100% percent sure but some demos and the check tool might not be
configured out of the box. BAD_CMD means the script that defines the
command the check tool relies on was not included in your main.ape.js

On Tue, Jun 9, 2015, 5:36 PM Carlos Ruiz <[email protected]> wrote:

> Hi,
>
> I could configure Apache with APE_JSF, and could run the Tools/Check from
> Demo, i end with :
>
> Running test : Contacting APE Server
> Connection etablished but something went wrong. Server response is
>
> [{"time":"1433885378","raw":"ERR","data":{"code":"003","value":"BAD_CMD"}}]
>
> Something went wrong. If you can't fix it by yourself post a message on
> the newsgroups <http://groups.google.com/group/ape-project/> with the
> output below or join our IRC channel
>
> Then checking Git Hub Wiki Documentation found this colud be related to a
> DNS configuration, so i went to /etc/hosts and add
>
> 127.0.0.1 0.ape.linkpc.net
> ...
> ...
> 127.0.0.1 9.ape.linkpc.net
>
> Tried again but, still having the same problem with Connection.
>
> Then checking ape.log found this:
> src/sock.c:293 - events_poll() : Interrupted system call
>
> So i thought the problem was on the APE_Server side becuase i download the
> generic binary version for 64bits, so tried to built it but still have an
> error realted to mysql:
>
> cannot find -lmysqlclient_r
>
> I've installed mysqldev, i found that i have libmysqlcliente_r.so under
> /usr/lib64/mysql but this is a symbolic link, then change the LFLAGS in
> Makefile  -L/usr/lib64/mysq -lmysqlclient_r  but gcc aparentlly doesn't
> follow sybolic links, so i went to /etc/ld.so.conf to add the path of
> mysqlclient_r lib but and run ldconfig, still can build without error.
>
> i'm trying to build in Centos 7
>
> Any suggestion?
>
>
>
> Thanks in Advance
>
>
> 2015-06-08 21:09 GMT-05:00 Carlos Ruiz <[email protected]>:
>
>> Thank you Louis for your quick answer, i'll follow your recomendation and
>> hope to see the APE demos working.
>>
>> Regards
>> El jun 8, 2015 6:39 PM, "Louis Charette" <[email protected]>
>> escribió:
>>
>>> Hi,
>>>
>>> You actually need a web server (Apache for example) to server the
>>> « JSF » as it’s actually the « website » part of APE. Ape Server only
>>> Handle the relay of informations in real time, not actually serve web pages
>>> (html, php, etc).
>>>
>>> In simpler words, You don’t do this:
>>>
>>> APE_Server--
>>>                            |
>>>                            APE_JSF
>>>                                         |
>>>                                         Demos
>>>
>>>
>>> Ou do this:
>>>
>>> APE_Server <—> Apache
>>>                             |
>>>                             APE_JSF
>>>                                         |
>>>                                     Demos
>>>
>>>
>>>   - Louis
>>>
>>> Le 2015-06-08 à 19:17, Carlos Ruiz <[email protected]> a écrit :
>>>
>>> Hi
>>>
>>> I've tried to install and configure APE Server and APE JSF, using a free
>>> DNS Name:
>>>
>>>        DNS Name          ape.linkpc.net
>>>        Alias                 *.ape.linkpc.net       ape.linkpc.net
>>>
>>> Then install APE Server in Centos where  i just can use port 9001 ,  my
>>> configuration in the file  ape.conf looks like this:
>>>
>>>  Server {
>>>         port = 9001
>>>         daemon = no
>>>         ip_listen = 0.0.0.0
>>>         domain = ape.linkpc.net
>>>         rlimit_nofile = 10000
>>>         pid_file = /var/run/aped.pid
>>> }
>>>
>>>
>>> Then i'm using a standalone configuration not using apache nor httpd...,
>>> so i left the installation of APE_JSF in this structure
>>>
>>>         APE_Server--
>>>                            |
>>>                            APE_JSF
>>>                                         |
>>>                                         Demos
>>>
>>> The file config.js under Demos looks like this:
>>>
>>> APE.Config.baseUrl = 'http://ape.linkpc.net:9001/APE_JSF'; //APE JSF
>>> APE.Config.domain = 'ape.linkpc.net';
>>> APE.Config.server = 'ape.ape.linkpc.net:9001'; //APE server URL
>>>
>>> Starting the server as deamin under bin directory seems to work:
>>>    _   ___ ___
>>>   /_\ | _ \ __|
>>>  / _ \|  _/ _|
>>> /_/ \_\_| |___|
>>> AJAX Push Engine
>>>
>>> Bind on port 9001
>>>
>>> Version : 1.1.2
>>> Build   : Oct  3 2013 17:17:46
>>> Author  : Weelya ([email protected])
>>>
>>> But when i tried to check installation using:
>>>
>>> http://ape.linkpc.net:9001/APE_JSF/Tools/Check/
>>> or
>>> http://ape.ape.linkpc.net:9001/APE_JSF/Tools/Check/
>>>
>>> The server just respond ...
>>>
>>>
>>> APE Server
>>>
>>> No command given.
>>>
>>>
>>>
>>> Can any one give me a clue of what could be missing in order to make APE
>>> Server work with APE JSF, in my configuration?
>>>
>>>
>>> Regards.
>>>
>>>
>>>
>>>
>>>
>>>
>>> --
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "APE Project" group.
>>> To post to this group, send email to [email protected]
>>> To unsubscribe from this group, send email to
>>> [email protected]
>>> For more options, visit this group at
>>> http://groups.google.com/group/ape-project?hl=en
>>> ---
>>> APE Project (Ajax Push Engine)
>>> Official website : http://www.ape-project.org/
>>> Git Hub : http://github.com/APE-Project/
>>>
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "APE Project" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>>
>>>  --
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "APE Project" group.
>>> To post to this group, send email to [email protected]
>>> To unsubscribe from this group, send email to
>>> [email protected]
>>> For more options, visit this group at
>>> http://groups.google.com/group/ape-project?hl=en
>>> ---
>>> APE Project (Ajax Push Engine)
>>> Official website : http://www.ape-project.org/
>>> Git Hub : http://github.com/APE-Project/
>>>
>>> ---
>>> You received this message because you are subscribed to a topic in the
>>> Google Groups "APE Project" group.
>>> To unsubscribe from this topic, visit
>>> https://groups.google.com/d/topic/ape-project/_kd_kH6C_94/unsubscribe.
>>> To unsubscribe from this group and all its topics, send an email to
>>> [email protected].
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>  --
> --
> You received this message because you are subscribed to the Google
> Groups "APE Project" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/ape-project?hl=en
> ---
> APE Project (Ajax Push Engine)
> Official website : http://www.ape-project.org/
> Git Hub : http://github.com/APE-Project/
>
> ---
> You received this message because you are subscribed to the Google Groups
> "APE Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 
You received this message because you are subscribed to the Google
Groups "APE Project" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/ape-project?hl=en
---
APE Project (Ajax Push Engine)
Official website : http://www.ape-project.org/
Git Hub : http://github.com/APE-Project/

--- 
You received this message because you are subscribed to the Google Groups "APE 
Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to