I'm trying to install APE 1.0 official distribution on an Amazon EC2
instance with the Amazon AMIs, which is basically just CentOS. I use
the rpm for the server and the tar.gz for the client.
When I run the check tool I get:
Running test : Contacting APE Server
Connection etablished but something went wrong. Server response is
[{"time":"1300814782","raw":"ERR","data":
{"code":"003","value":"BAD_CMD"}}]
Full log is below. There are some additional comments below the log:
----------------------
Running test : Init
Running test : Loading Client
Running test : Loading config
Config values are :
identifier : ape
init : true
frequency : 0
scripts :
http://ape.example.com/ape-jsf/Source/mootools-core.js,http://ape.example.com/ape-jsf/Source/Core/APE.js,http://ape.example.com/ape-jsf/Source/Core/Events.js,http://ape.example.com/ape-jsf/Source/Core/Core.js,http://ape.example.com/ape-jsf/Source/Pipe/Pipe.js,http://ape.example.com/ape-jsf/Source/Pipe/PipeProxy.js,http://ape.example.com/ape-jsf/Source/Pipe/PipeMulti.js,http://ape.example.com/ape-jsf/Source/Pipe/PipeSingle.js,http://ape.example.com/ape-jsf/Source/Request/Request.js,http://ape.example.com/ape-jsf/Source/Request/Request.Stack.js,http://ape.example.com/ape-jsf/Source/Request/Request.CycledStack.js,http://ape.example.com/ape-jsf/Source/Transport/Transport.longPolling.js,http://ape.example.com/ape-jsf/Source/Transport/Transport.SSE.js,http://ape.example.com/ape-jsf/Source/Transport/Transport.XHRStreaming.js,http://ape.example.com/ape-jsf/Source/Transport/Transport.JSONP.js,http://ape.example.com/ape-jsf/Source/Core/Utility.js,http://ape.example.com/ape-jsf/Source/Core/JSON.js
baseUrl : http://ape.example.com/ape-jsf
domain : auto
server : ape.example.com:6969
Running test : Setting document.domain
Running test : Checking APE.Config.baseUrl
APE JSF Version 1.0
Running test : Contacting APE Server
Connection etablished but something went wrong. Server response is
[{"time":"1300814782","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 IRC channel
--------------------------
Digging a bit deeper and removing > dev/null for the start up script,
I see the error:
[Module] Failed to load /usr/lib/ape/libmod_spidermonkey.so [Invalid
library] (libmysqlclient_r.so.15: cannot open shared object file: No
such file or directory)
I made symbolic links for this and other libraries it subsequently
needed before getting the server to run with:
Bind on port 6969
Version : 1.00
Build : Dec 10 2009 20:27:31
Author : Weelya ([email protected])
[Module] [spidermonkey] Loading module : Javascript embeded (0.01) -
Anthony Cat
[JS] Loading script /var/ape/framework/mootools.js
[JS] Loading script /var/ape/framework/Http.js
[JS] Loading script /var/ape/framework/userslist.js
[JS] Loading script /var/ape/utils/utils.js
[JS] Loading script /var/ape/commands/proxy.js
[JS] Loading script /var/ape/commands/inlinepush.js
[JS] Loading script /var/ape/examples/nickname.js
[JS] Loading script /var/ape/examples/move.js
[JS] Loading script /var/ape/utils/checkTool.js
Here is my config.js file:
/***
* APE JSF Setup
*/
APE.Config.baseUrl = 'http://ape.example.com/ape-jsf'; //APE JSF
APE.Config.domain = 'auto';
APE.Config.server = 'ape.example.com:6969'; //APE server URL
(function(){
for (var i = 0; i < arguments.length; i++)
APE.Config.scripts.push(APE.Config.baseUrl + '/
Source/' + arguments[i] + '.js');
})('mootools-core', 'Core/APE', 'Core/Events', 'Core/Core', 'Pipe/
Pipe', 'Pipe/PipeProxy', 'Pipe/PipeMulti', 'Pipe/PipeSingle', 'Request/
Request','Request/Request.Stack', 'Request/Request.CycledStack',
'Transport/Transport.longPolling','Transport/Transport.SSE',
'Transport/Transport.XHRStreaming', 'Transport/Transport.JSONP', 'Core/
Utility', 'Core/JSON');
--
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/