In my case, this happened because I was launching APE from the wrong
directory. When you start APE manually, do you see all these [JS] Loading...
lines? If not, you probably aren't in the right directory, or your config
files are not pointing to the right modules/conf and modules/libs directory
(relative to where it is started from):

[root@server ape]# bin/aped --cfg /etc/ape/ape.conf
   _   ___ ___
  /_\ | _ \ __|
 / _ \|  _/ _|
/_/ \_\_| |___|
AJAX Push Engine

Bind on port 80

Version : 1.1.1
Build   : May 30 2011 23:37:06
Author  : Weelya ([email protected])

[Module] [spidermonkey] Loading module : Javascript embeded (0.01) - Anthony
Catel
[JS] Loading script ./scripts/framework/mootools.js...
[JS] Loading script ./scripts/framework/Http.js...
[JS] Loading script ./scripts/framework/userslist.js...
[JS] Loading script ./scripts/utils/utils.js...
[JS] Loading script ./scripts/commands/proxy.js...
[JS] Loading script ./scripts/commands/inlinepush.js...
[JS] Loading script ./scripts/examples/nickname.js...
[JS] Loading script ./scripts/examples/move.js...
[JS] Loading script ./scripts/utils/checkTool.js...
[root@server ape]# /etc/init.d/ap
aped   aped~  apf    apmd
[root@server ape]# /etc/init.d/ap
aped   aped~  apf    apmd
[root@server ape]# /etc/init.d/aped start
Starting APE...                                            [  OK  ]
[root@server ape]# /etc/init.d/aped stop
Stopping APE...



On Sun, Jul 17, 2011 at 2:25 PM, Lee Laswell <[email protected]> wrote:

> My apologies for such a basic question, but I don't know where to
> start debugging this:
>
> When I try to test my Ape connectivity through apache,
>
> I go to <MY IP>/APE_JSF/Tools/Check/
>
> I hit the launch test button and I get the output below.  I'm not sure
> where to look to find what specifically is failing.
>
> Running test : Init
> Running test : Loading Client
> Running test : Loading config
> Config values are :
> identifier : ape
> init : true
> frequency : 0
> scripts :
>
> http://199.167.200.28/APE_JSF/Source/mootools-core.js,http://199.167.200.28/APE_JSF/Source/Core/APE.js,http://199.167.200.28/APE_JSF/Source/Core/Events.js,http://199.167.200.28/APE_JSF/Source/Core/Core.js,http://199.167.200.28/APE_JSF/Source/Pipe/Pipe.js,http://199.167.200.28/APE_JSF/Source/Pipe/PipeProxy.js,http://199.167.200.28/APE_JSF/Source/Pipe/PipeMulti.js,http://199.167.200.28/APE_JSF/Source/Pipe/PipeSingle.js,http://199.167.200.28/APE_JSF/Source/Request/Request.js,http://199.167.200.28/APE_JSF/Source/Request/Request.Stack.js,http://199.167.200.28/APE_JSF/Source/Request/Request.CycledStack.js,http://199.167.200.28/APE_JSF/Source/Transport/Transport.longPolling.js,http://199.167.200.28/APE_JSF/Source/Transport/Transport.SSE.js,http://199.167.200.28/APE_JSF/Source/Transport/Transport.XHRStreaming.js,http://199.167.200.28/APE_JSF/Source/Transport/Transport.JSONP.js,http://199.167.200.28/APE_JSF/Source/Transport/Transport.WebSocket.js,http://199.167.200.28/APE_JSF/Source/Core/Utility.js,http://199.167.200.28/APE_JSF/Source/Core/JSON.js
> baseUrl : http://199.167.200.28/APE_JSF
> domain : 199.167.200.28
> server : 199.167.200.28:6969
> Running test : Setting document.domain
> Running test : Checking APE.Config.baseUrl
> APE JSF Version 1.1
> Running test : Contacting APE Server
> Connection etablished but something went wrong. Server response is
> [{"time":"1310936769","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 with the output below or join our
>
>
> My ape.log looks like this ( I assume this means it is never getting
> hit with a request? ):
>
>
> 2011-07-17 15:09:51 - src/entry.c:188 - APE starting up - pid : 14274
> 2011-07-17 15:10:15 - src/sock.c:279 - events_poll() : Interrupted
> system call
> 2011-07-17 15:11:08 - src/entry.c:188 - APE starting up - pid : 14281
> 2011-07-17 16:22:28 - src/sock.c:279 - events_poll() : Interrupted
> system call
> 2011-07-17 16:23:12 - src/entry.c:188 - APE starting up - pid : 16246
>
>
> I'm going against an IP address instead of a domain name ( but not
> local ).  I don't know anything about apache configuration so maybe I
> something messed up there?
>
> Thanks in advance for the help!
>
> --
> 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/
>



-- 
Michael Wulf
775-235-8398
web site <http://www.michaelwulf.com> |
contact<http://www.michaelwulf.com/blog/chat-with-wulf>

-- 
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/

Reply via email to