I'm running into a configuration problem with the test tool that comes
with the APE server. Initially I tried running the APE server by
itself on port 80 with no success other than constantly getting "APE
Server No command given." web page. I flipped over to using Apache and
have made better progress and could at least load the Test Ape
installation page, but I'm no Apache expert.

When I run the test I get the following:

-=BEGIN PASTE=-

Running test : Init
Running test : Loading Client
Running test : Loading config
Config values are :
identifier : ape
init : true
frequency : 0
scripts :
http://localhost/APE_JSF/Source/mootools-core.js,http://localhost/APE_JSF/Source/Core/APE.js,http://localhost/APE_JSF/Source/Core/Events.js,http://localhost/APE_JSF/Source/Core/Core.js,http://localhost/APE_JSF/Source/Pipe/Pipe.js,http://localhost/APE_JSF/Source/Pipe/PipeProxy.js,http://localhost/APE_JSF/Source/Pipe/PipeMulti.js,http://localhost/APE_JSF/Source/Pipe/PipeSingle.js,http://localhost/APE_JSF/Source/Request/Request.js,http://localhost/APE_JSF/Source/Request/Request.Stack.js,http://localhost/APE_JSF/Source/Request/Request.CycledStack.js,http://localhost/APE_JSF/Source/Transport/Transport.longPolling.js,http://localhost/APE_JSF/Source/Transport/Transport.SSE.js,http://localhost/APE_JSF/Source/Transport/Transport.XHRStreaming.js,http://localhost/APE_JSF/Source/Transport/Transport.JSONP.js,http://localhost/APE_JSF/Source/Transport/Transport.WebSocket.js,http://localhost/APE_JSF/Source/Core/Utility.js,http://localhost/APE_JSF/Source/Core/JSON.js
baseUrl : http://localhost/APE_JSF
domain : localhost
server : ape.localhost:6969
Running test : Setting document.domain
Running test : Checking APE.Config.baseUrl
APE JSF Version 1.0
Running test : Contacting APE Server
Can't contact APE Server. Please check the your APE Server is running
and the folowing url is pointing to your APE server : http://ape.localhost:6969
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

-=END PASTE=-

I'm not sure what the issue is and I made sure the APE server is
running and it is. I can goto localhost:6969 and get the no command
window. However I cannot goto ape.localhost:6969 as the message
states. Below are the different configuration files I tweaked. I have
been through the documentation several times to no avail. This is all
on the Linux Debian Squeeze release. Thank you for any advice you
have. I'm not a web admin by trade, I have been asked to prototype the
use of APE as a potential infrastructure for development. This is all
on my local system as a standalone. (Which I tried the standalone
steps and they didn't work either.)

FILE: /etc/apache2/sites-available/ape
<VirtualHost *:80>
        Servername debian.localhost.localdomain
        ServerAlias ape.debian.localhost.localdomain
        ServerAlias *.ape.debian.localhost.localdomain
        ServerAlias ape.localhost
        ServerAlias *.ape.localhost

        DocumentRoot "/etc/ape/"
</VirtualHost>

FILE: /etc/ape/ape.conf
uid {
        # "aped" switch to this user/group if it run as root
        user = daemon
        group = daemon
}

Server {
        port = 6969
        daemon = yes
        ip_listen = 0.0.0.0
        domain = localhost
        rlimit_nofile = 10000
        pid_file = /var/run/aped.pid
}

Log {
        debug = 1
        use_syslog = 0
        syslog_facility = local2
        logfile = /var/log/ape.log
}

JSONP {
        eval_func = Ape.transport.read
        allowed = 1
}

Config {
#relative to ape.conf
        modules = /usr/lib/ape/
        modules_conf = /etc/ape/
}

FILE: /etc/ape/APE_JSF/Demos/config.js
/***
 * APE JSF Setup
 */

APE.Config.baseUrl = 'http://localhost/APE_JSF'; //APE JSF
APE.Config.domain = 'localhost';
APE.Config.server = 'ape.localhost: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',
'Transport/Transport.WebSocket', 'Core/Utility', 'Core/JSON');
root@debian:/etc/ape#

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