Hi there,
I tried to investigate further as to how an APE server loads ape-jsf
frame work. My test setup is
APE server installed on ape.domain.com:6969
Wild Card DNS on *.ape.domain.com
Though i can access APE on domain.com:6969 or www.domain.com:6969
Apache configured a virtual host on ape.domain.com to point to
document_root/ape

Config file is loaded properly. Script loaded properly.

I feel the problem in in the baseURL. The APE some where evaluate the
baseURL and then rejects the documents loaded from another base URL.

The sample case of  baseURL are:
1. www.domain.com
2. ape.domain.com

So if i load from main domain then it given illegal document error

If specify main domain as the baseURL in config and configure ape.conf
then the wild card DNS has to be configured on the main domain for the
chl to work

Please help




On May 20, 10:58 am, Manas B <[email protected]> wrote:
> Thanx Nicolas
> Still same problem
>
> Running test : Init
> Running test : Loading Client
> Running test : Loading config
> Config values are :
>
> identifier : ape
> init : true
> frequency : 0
> scripts 
> :http://ape.domain.com/ape-jsf/Source/mootools-core.js,http://ape.doma...
> baseUrl :http://ape.domain.com/ape-jsf
> domain : domain.com
> server : ape.domain.com:6969
> transport : 1
>
> Running test : Setting document.domain
> Running test : Checking APE.Config.baseUrl
> Your variable APE.Config.baseUrl is wrong in Demos/config.js. Please
> change it to point to APE JSF directory on your webserver
> 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
>
> On May 20, 2:10 am, Nicolas Trani <[email protected]> wrote:
>
>
>
> > Hi Manas,
>
> > I think the error you were having might be caused because you are
> > accessing to your domain with www. To avoid this kind of errors i
> > suggest you to set in config.js APE.Config.domain = 'domain.com' and in
> > ape.conf domain = domain.com
>
> > This should solve your issue.
>
> > Regards.
>
> > On 19/05/2010 22:13, Manas B wrote:
>
> > > I just changed the tranport type to 2 that is JSONP and it is working.
> > > It seems XHRStreaming is not suppored on same sub domain.
>
> > > Mostly the applications are residing on main doman. I need some info
> > > on how i can integrate APE into app installed on www domain APE can be
> > > installed onwww.domain.combutproblem is with wild card DNS
> > > for other services like mail.domain.com etc it will resolve 
> > > towww.domain.com
> > > only
>
> > > Help much appreciated.
>
> > > Cheers!!
>
> > > On May 20, 1:00 am, Manas B<[email protected]>  wrote:
>
> > >> I m getting this error
> > >> Illegal document.domain value" code: "1009
> > >> Permission denied for<http://www.domain.com>  to get property
> > >> Window.APE from<http://0.ape.domain.com:6969>.
>
> > >> On May 19, 7:26 pm, Manas B<[email protected]>  wrote:
>
> > >>> Hi there,
> > >>> my Ape server is running fine and i m able to test it at client side
> > >>> as well as server side.
> > >>> My main application resides on the main domain. Thats where i want to
> > >>> put the ape-jsf frame work and application and access in the existing
> > >>> application
>
> > >>> This is the log of Test
>
> > >>> Running test : Init
> > >>> Running test : Loading Client
> > >>> Running test : Loading config
> > >>> Config values are :
> > >>> identifier : ape
> > >>> init : true
> > >>> frequency : 0
> > >>> scripts 
> > >>> :http://www.domain/ape-jsf/Source/mootools-core.js,http://www.domain/a...
> > >>> baseUrl :http://www.domain/ape-jsf
> > >>> domain : auto
> > >>> server : ape.domain:6969
> > >>> transport : 1
> > >>> Running test : Setting document.domain
> > >>> Running test : Checking APE.Config.baseUrl
> > >>> APE JSF Version 1.0
> > >>> Running test : Contacting APE Server
> > >>> domain =www.domain
> > >>> Running test : Contacting APE Server (adding frequency)
> > >>> Running test : Initializing APE Client
> > >>> Can't load APE JSF
>
> > >>> I m unable to talk to APE when i load the script file from the main
> > >>> domain. Ape is running fine at ape.domain
>
> > >>> thanx
>
> > >>> I plan to user XHRStreaming. I have read using JSNOP it is possible to
> > >>> do cross domain.
>
> > >>> Do proxy.conf needs any tweaking.
>
> > >>> --
> > >>> 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 
> > >>> athttp://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]
> > >> To unsubscribe from this group, send email to
> > >> [email protected]
> > >> For more options, visit this group 
> > >> athttp://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/
>
> > --
> > Nicolas Trani - Web engineer
> > Weelya - Improve the web
> > 32 rue du faubourg boutonnet
> > 34090 Montpellierhttp://www.weelya.comhttp://www.ape-project.org
>
> > --
> > 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 
> > athttp://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]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group 
> athttp://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]
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