APE Configuration

48 views
Skip to first unread message

martin mundia

unread,
Mar 12, 2015, 7:34:40 AM3/12/15
to ape-p...@googlegroups.com

I have currently done all the setup as required:

i am doing all this on my localcomputer
set the domain name on my etc

as:
127.0.0.1       elitebook.local
127.0.0.1  elitebookape.local
127.0.0.1 0.elitebookape.local
127.0.0.1 1.elitebookape.local
127.0.0.1 2.elitebookape.local
127.0.0.1 3.elitebookape.local
127.0.0.1 4.elitebookape.local
127.0.0.1 5.elitebookape.local
127.0.0.1 6.elitebookape.local
127.0.0.1 7.elitebookape.local
127.0.0.1 8.elitebookape.local
127.0.0.1 9.elitebookape.local


ape.conf is as:
Server {
        port = 6969
        daemon = yes
        ip_listen = 0.0.0.0
        domain = elitebook.local
        rlimit_nofile = 10000
        pid_file = /var/run/aped.pid
}

my APE_JSF/Demos/config.js is as :

APE.Config.baseUrl = 'http://elitebook.local/APE_JSF'; //APE JSF
APE.Config.domain = 'elitebook.local';
APE.Config.server = 'elitebookape.local: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',$




The following is my output when i run my URL :  http://elitebook.local/APE_JSF/Tools/Check/


here is the output:


Running test : Init
Running test : Loading Client
Running test : Loading config
Config values are :
identifier : ape
init : true
frequency : 0
scripts : http://elitebook.local/APE_JSF/Source/mootools-core.js,http://elitebook.local/APE_JSF/Source/Core/APE.js,http://elitebook.local/APE_JSF/Source/Core/Events.js,http://elitebook.local/APE_JSF/Source/Core/Core.js,http://elitebook.local/APE_JSF/Source/Pipe/Pipe.js,http://elitebook.local/APE_JSF/Source/Pipe/PipeProxy.js,http://elitebook.local/APE_JSF/Source/Pipe/PipeMulti.js,http://elitebook.local/APE_JSF/Source/Pipe/PipeSingle.js,http://elitebook.local/APE_JSF/Source/Request/Request.js,http://elitebook.local/APE_JSF/Source/Request/Request.Stack.js,http://elitebook.local/APE_JSF/Source/Request/Request.CycledStack.js,http://elitebook.local/APE_JSF/Source/Transport/Transport.longPolling.js,http://elitebook.local/APE_JSF/Source/Transport/Transport.SSE.js,http://elitebook.local/APE_JSF/Source/Transport/Transport.XHRStreaming.js,http://elitebook.local/APE_JSF/Source/Transport/Transport.JSONP.js,http://elitebook.local/APE_JSF/Source/Transport/Transport.WebSocket.js,http://elitebook.local/APE_JSF/Source/Core/Utility.js,http://elitebook.local/APE_JSF/Source/Core/JSON.js
baseUrl : http://elitebook.local/APE_JSF
domain : elitebook.local
server : elitebookape.local:6969
Running test : Setting document.domain
Running test : Checking APE.Config.baseUrl
APE JSF Version 1.0
Running test : Contacting APE Server
domain = elitebook.local
Running test : Contacting APE Server (adding frequency)
Running test : Initializing APE Client
Can't load APE JSF
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


Help me solve this and please show me where i am doing wrong.








RakonDark

unread,
Mar 12, 2015, 9:07:07 AM3/12/15
to ape-p...@googlegroups.com
try crossdomain for this

APE.Config.transport = 1;  // 1 is XHRStreaming




--
--
You received this message because you are subscribed to the Google
Groups "APE Project" group.
To post to this group, send email to ape-p...@googlegroups.com
To unsubscribe from this group, send email to
ape-project...@googlegroups.com
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 ape-project...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
i cant trust, what i not know

Louis Charette

unread,
Mar 12, 2015, 2:45:03 PM3/12/15
to ape-p...@googlegroups.com
Or simply use the same domain as this is local test. 

Let us know if it works or not with the same domain. 

  - Louis

Envoyé de mon iPhone

martin_m

unread,
Mar 13, 2015, 3:22:16 AM3/13/15
to ape-p...@googlegroups.com
Thanks RakonDark/Louis Charette for your feedback.
I figured where i did the mistake:

I needed to create the subdomain in the correct way as you can see from my above example the subdomain is incorrect.
My apache configuration resided on the same computer,i tested externally where it works after necessary adjustments on the /etc/hosts/.
Thanks so much,I can now begin working on my project.

Regards,
M Mundia.

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/X-N5QUK34g8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ape-project...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages