Hm, ok, perhaps I got a step further ;) I now get the error "JSON.parse" in Core/JSON.js, line 398, so there must be a malformed JSON-string somewhere. Any idea how I can find the invalid string??
Thanks, Dominik On Dec 14, 3:38 pm, Dominik <[email protected]> wrote: > I now installed APE 1.0 via the .deb-package. > Now the server seams to load my demo.js, because I can send one of the > commands defined in demo.js via my browser. > But there are 2 more things: > > 1. Should a String sent by "Ape.log('TEST');" be displayed in the var/ > log/ape.log-file? Because my logfile does not contain it after daemon- > startup... > 2. My client JSF is still not able to connect to the server. I get no > javascript-error or anything, but there is definitely no connection... > > Hm, any suggestions? > > Thanks! > Dominik > > On Dec 14, 2:35 pm, Dominik <[email protected]> wrote: > > > Ehm, from source, so i compiled it via build.sh > > > On Dec 14, 2:35 pm, Dominik <[email protected]> wrote: > > > > Yes, I have the libmod_spidermonkey.so in the module/lib-directory > > > > On Dec 14, 2:30 pm, Anthony Catel <[email protected]> wrote: > > > > > Hey, > > > > > Looks like your libape-spidermonkey is not loaded. > > > > Did you compile it? > > > > Are you using packaged version or a "from-source" version? > > > > > Thanks. > > > > > Anthony > > > > > Le 14/12/09 14:28, Dominik Picker-Huchzermeyer a �crit : > > > > > > Hi! > > > > > > I now updated my APE version to the 1.0 release and now it does not > > > > > work in any browser any more ;) > > > > > > I think there is something wrong at the startup of the server, did you > > > > > change anything there? > > > > > I have my main.ape.js: > > > > > > Ape.addEvent("init", function() { > > > > > var a = 50 / 0; > > > > > include("framework/mootools.js"); > > > > > include("custom/demo.js"); > > > > > Ape.log('Loaded!'); > > > > > }); > > > > > > The demo.js is my own file. I added the first expression to see if the > > > > > file is loaded, he must throw an error in this case. > > > > > But he does not show an error and not the "Loaded"-Log... > > > > > I just get: > > > > > > 2009-12-14 14:26:01 - APE starting up - pid : 20278 > > > > > _ ___ ___ > > > > > /_\ | _ \ __| > > > > > / _ \| _/ _| > > > > > /_/ \_\_| |___| > > > > > AJAX Push Engine > > > > > > Bind on port 6969 > > > > > > Version : 1.00 > > > > > Build : Dec 14 2009 13:36:55 > > > > > Author : Weelya ([email protected] <mailto:[email protected]>) > > > > > > The server then is available on port 6969, but my application does not > > > > > work any more, I always get an "BAD_CMD"-Error back, so obviously he > > > > > did not load my demo.js on ServerSide... > > > > > > Did you make any changes for this script include? > > > > > > Best regards, > > > > > Dominik > > > > > > 2009/12/14 Anthony Catel <[email protected] > > > > > <mailto:[email protected]>> > > > > > > Hi Dominik, > > > > > > Did you update your git repository? > > > > > > Anthony > > > > > > Le 14/12/09 04:14, Dominik a �crit : > > > > > > Hi! > > > > > > > What do you mean with the 'auto'-entry? > > > > > > I already use the real domains, that's why it's working in all > > > > > the > > > > > > other browsers, but the IE just does not want to work... > > > > > > > Best regards, > > > > > > Dominik > > > > > > > On Dec 14, 3:27 am, Matthew Firth<[email protected] > > > > > <mailto:[email protected]>> wrote: > > > > > > >> I just changed my domain from 'auto' to the actual domain and > > > > > it started > > > > > >> working great > > > > > > >> On Sun, Dec 13, 2009 at 5:27 PM, Dominik Picker-Huchzermeyer< > > > > > > >> [email protected] > > > > > <mailto:[email protected]>> wrote: > > > > > > >>> Hi! > > > > > > >>> I too use JSONP (transport=2). > > > > > > >>> Here is my ape.conf: > > > > > >>> uid { > > > > > >>> # "aped" switch to this user/group if it run as root > > > > > >>> user = www-data > > > > > >>> group = www-data > > > > > >>> } > > > > > > >>> Server { > > > > > >>> port = 6969 # The Default APE Port > > > > > >>> daemon = no # if "yes", launches APE in > > > > > background > > > > > >>> ip_listen = 0.0.0.0 > > > > > >>> ip_local = 127.0.0.1 # The external IP adress > > > > > of your server > > > > > >>> domain = domain.com <http://domain.com> > > > > > >>> rlimit_nofile = 65536 > > > > > >>> } > > > > > > >>> JSONP { > > > > > >>> eval_func = Ape.transport.read > > > > > >>> } > > > > > > >>> # Proxy section is used to resolve hostname and allow access > > > > > to a IP:port > > > > > >>> (Middleware-TCPSocket feature) > > > > > > >>> #Proxy { > > > > > >>> # id = freenode > > > > > >>> # host = irc.freenode.net <http://irc.freenode.net> > > > > > >>> # port = 6667 > > > > > >>> # readonly = false > > > > > >>> #} > > > > > > >>> My apeClientJS.js has the following configuration: > > > > > > >>> APE.Config.transport = 2; > > > > > >>> APE.Config.baseUrl = 'http://dev.domain.com/js/APE_JSF';//APE > > > > > <http://dev.domain.com/js/APE_JSF%27;//APE> JSF > > > > > >>> APE.Config.domain = 'domain.com <http://domain.com>'; //Your > > > > > domain, must be the same than the > > > > > >>> domain in aped.conf of your server > > > > > >>> APE.Config.server = 'dev.domain.com:6969 > > > > > <http://dev.domain.com:6969>'; //APE server URL > > > > > > >>> The APE-Server is running under the normal domain, but > > > > > currently I am > > > > > >>> testing the whole thing using the subdomain "dev", that's why > > > > > there is the > > > > > >>> difference between the "domain"-entry and the "server"- and > > > > > "baseUrl"-entry. > > > > > > >>> As we said, it all works fine in FF and Chrome, but not with > > > > > IE... > > > > > > >>> Any suggestions? > > > > > > >>> Thanks! > > > > > > >>> Dominik > > > > > > >>> 2009/12/13 Nicolas Trani<[email protected] > > > > > <mailto:[email protected]>> > > > > > > >>> Hi doozer and dominik, > > > > > > >>>> Can you post your conf (ape.conf and Demos/config.js)? > > > > > Dominik which > > > > > >>>> transport mode are you using? > > > > > > >>>> Regards. > > > > > > >>>> Dominik wrote: > > > > > > >>>>> Hi folks! > > > > > > >>>>> I got the same error, everything works fine in FF, but IE6 > > > > > leads to > > > > > >>>>> the error mentioned above. > > > > > >>>>> Really weird... > > > > > > >>>>> Best regards, > > > > > >>>>> Dominik > > > > > > >>>>> On Dec 13, 10:46 pm, do0zer<[email protected] > > > > > <mailto:[email protected]>> wrote: > > > > > > >>>>>> IN IE8 I am getting access denied on: > > > > > > >>>>>> var doc = iframe.contentDocument > > > > > > >>>>>> in ApeClientJS.js > > > > > > >>>>>> I am running the hello world sample, in a cross domain mode > > > > > using the > > > > > >>>>>> json transport mode 2 > > > > > > >>>>>> Everything works great in Firefox, however IE gives me the > > > > > access > > > > > >>>>>> denied error > > > > > > >>>>>> I reallyhope someone can help with this > > > > > > >>>>>> Thanks > > > > > > >>>> -- > > > > > >>>> Nicolas Trani - D�veloppeur web > > > > > >>>> Weelya - Improve the web > > > > > >>>> 32 rue du faubourg boutonnet > > > > > >>>> 34090 Montpellier > > > > > >>>> Tel : 04 67 169 778 > > > > > >>>>http://www.weelya.com > > > > > > >>>> -- > > > > > >>>> 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] <mailto:[email protected]> > > > > > >>>> To unsubscribe from this group, send email to > > > > > >>>> [email protected] > > > > > > > > > > <mailto:ape-project%[email protected]><ape-project%[email protected] > > > > > <mailto:ape-project%[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 post to this group, send email to > > > > > [email protected] <mailto:[email protected]> > > > > > >>> To unsubscribe from this group, send email to > > > > > >>> [email protected] > > > > > > > > > > <mailto:ape-project%[email protected]><ape-project%[email protected] > > > > > <mailto:ape-project%[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 post to this group, send email to [email protected] > > > > > <mailto:[email protected]> > > > > > To > > ... > > read more » -- 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/
