Re: [qooxdoo-devel] Running application on server

2010-09-26 Thread stevenv

Thanks for your help.
-- 
View this message in context: 
http://qooxdoo.678.n2.nabble.com/Running-application-on-server-tp5569368p5572324.html
Sent from the qooxdoo mailing list archive at Nabble.com.

--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
___
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] Running application on server

2010-09-26 Thread thron7
>
> error log (just the error)
> [Sun Sep 26 17:37:48 2010] [error] [client 127.0.0.1] File does not exist:
> E:/websites/qbase/qooxdoo-sdk, referer: http://qbase.net/source/
>
> I changed my virtualhost entry to e:\websites, and then access the
> application with http://qbase.net/qbase/source this works.
>
> Is this correct?

Yes. If e:\websites is your document root (which I assumed all along,
after you wrote
> webroot
>  qooxdoo-sdk
>  my-app
), you have to access your source version with
http://qbase.net/qbase/source/ (which slipped my attention all along).

Next time first try to get your web server setup sorted out, with just
static pages, before proceeding to generated framework apps.

T.



--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
___
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] Running application on server

2010-09-26 Thread Mustafa Sak
Are you kidding? Your vhost is not correctly setted. Any request to  
your domain gets

Bad Request (Invalid Hostname)


So check first your server is running propper. May be just setting  
everything from cratch would help you out.


Sak

Von meinem iPhone gesendet

Am 26.09.2010 um 17:52 schrieb stevenv :



error log (just the error)
[Sun Sep 26 17:37:48 2010] [error] [client 127.0.0.1] File does not  
exist:

E:/websites/qbase/qooxdoo-sdk, referer: http://qbase.net/source/

I changed my virtualhost entry to e:\websites, and then access the
application with http://qbase.net/qbase/source this works.

Is this correct?

--
View this message in context: 
http://qooxdoo.678.n2.nabble.com/Running-application-on-server-tp5569368p5572183.html
Sent from the qooxdoo mailing list archive at Nabble.com.

--- 
--- 
--- 
-

Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
___
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev___
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] Running application on server

2010-09-26 Thread stevenv

error log (just the error)
[Sun Sep 26 17:37:48 2010] [error] [client 127.0.0.1] File does not exist:
E:/websites/qbase/qooxdoo-sdk, referer: http://qbase.net/source/

I changed my virtualhost entry to e:\websites, and then access the
application with http://qbase.net/qbase/source this works.

Is this correct?

-- 
View this message in context: 
http://qooxdoo.678.n2.nabble.com/Running-application-on-server-tp5569368p5572183.html
Sent from the qooxdoo mailing list archive at Nabble.com.

--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
___
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] Running application on server

2010-09-26 Thread thron7
>
> Hi
>
> Check the following three screenshots,
>
> http://qooxdoo.678.n2.nabble.com/file/n5571954/bootstrat1.bmp
>
> http://qooxdoo.678.n2.nabble.com/file/n5571954/bootstrat2.bmp

This one shows the actual URL being requested:

http://qbase.net/qooxdoo-sdk/framework/source/class/qx/Bootstrap.js

According to what you've wrote, this is exactly the correct URL:
qooxdoo-sdk is directly under the document root, and the path to
Bootstrap.js is correct. Nothing looks wrong here. - What does your server
log say? What is the actual file system path the URL is resolved to?

>
> http://qooxdoo.678.n2.nabble.com/file/n5571954/bootstrat3.bmp

Looks fine, too.

>
> as you can see the bootstrap.js file is not loaded, qooxdoo-sdk is not
> part
> of the qbase directory but under it's of directory.

Yep.

>
> I would expect to see something like:
> http://qooxdoo-sdk//bootstrap.js in the firebug output.

What should that mean? This is not even a valid URL, except for some
arcane exceptions which most likely not apply in your situation. Most
likely, "http://qooxdoo-sdk/"; cannot resolve to anything useful in your
context. The firebug url looks entirely correct to me.

T.




--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
___
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] Running application on server

2010-09-26 Thread stevenv

Hi

Check the following three screenshots,

http://qooxdoo.678.n2.nabble.com/file/n5571954/bootstrat1.bmp 

http://qooxdoo.678.n2.nabble.com/file/n5571954/bootstrat2.bmp 

http://qooxdoo.678.n2.nabble.com/file/n5571954/bootstrat3.bmp 

as you can see the bootstrap.js file is not loaded, qooxdoo-sdk is not part
of the qbase directory but under it's of directory.

I would expect to see something like:
http://qooxdoo-sdk//bootstrap.js in the firebug output.

Thanks
-- 
View this message in context: 
http://qooxdoo.678.n2.nabble.com/Running-application-on-server-tp5569368p5571954.html
Sent from the qooxdoo mailing list archive at Nabble.com.

--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
___
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] Running application on server

2010-09-26 Thread thron7
>
> Thanks Thron7-2 for your help
>
> Here is a screenshot of my setup:
> http://qooxdoo.678.n2.nabble.com/file/n5571798/dir_setup.bmp
>>>You are not using the 'uri' parameter in any "library" key in the
>>>config.json, are you?!
> No I'm not
>
>>>Hint: Post your config.json
>
> My config.js file
> http://qooxdoo.678.n2.nabble.com/file/n5571798/config.json config.json

Ok, so I get your setup, your config is looking good, and I trust that you
have re-run generate.py source. But you haven't answered my central
question:

What is the problem you observe? E.g. name one concrete URL that fails to
load.

T.



--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
___
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] Running application on server

2010-09-26 Thread stevenv

Thanks Thron7-2 for your help

Here is a screenshot of my setup:
http://qooxdoo.678.n2.nabble.com/file/n5571798/dir_setup.bmp 
>>You are not using the 'uri' parameter in any "library" key in the
>>config.json, are you?!
No I'm not

>>Hint: Post your config.json

My config.js file
http://qooxdoo.678.n2.nabble.com/file/n5571798/config.json config.json 

T.



--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
___
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel



-- 
View this message in context: 
http://qooxdoo.678.n2.nabble.com/Running-application-on-server-tp5569368p5571798.html
Sent from the qooxdoo mailing list archive at Nabble.com.

--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
___
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] Running application on server

2010-09-26 Thread thron7
>
> Hi Info and Thron7-2
>
> Info: Yes I get a 404 error. (Original config.js file)
>
> Thron7-2: There is something wrong with the paths:
> Qooxdoo is under docroot as is my app but when running the app the page is
> trying to access qooxdoo under the app directory
> (http://myapp.net/qooxdoo-sdk).

But, according to your last mail, this is the correct URL, and it's not
under the app root!? I'm not getting it...

>
> The original QOOXDOO PATH was set to "../qooxdoo-sdk" I changed it to
> "e:/websites/qooxdoo-sdk", in this case all files are loaded but the
> application is not displayed.

Well, as I said before, you have to adapt QOOXDOO_PATH when you move the
SDK around. It should be a relative path, relative to the config.json
referencing it. Just 'cd' to your app directory and issue 'dir
..\\qooxdoo-sdk', to make sure it works. Then re-build the app.
It seems to me your old qooxdoo path, when the SDK was installed directly
into your app, is still in effect .

You are not using the 'uri' parameter in any "library" key in the
config.json, are you?!

Hint: Post your config.json

T.



--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
___
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] Running application on server

2010-09-26 Thread stevenv

Hi Info and Thron7-2

Info: Yes I get a 404 error. (Original config.js file)

Thron7-2: There is something wrong with the paths:
Qooxdoo is under docroot as is my app but when running the app the page is
trying to access qooxdoo under the app directory
(http://myapp.net/qooxdoo-sdk).

The original QOOXDOO_PATH was set to "../qooxdoo-sdk" I changed it to
"e:/websites/qooxdoo-sdk", in this case all files are loaded but the
application is not displayed.
-- 
View this message in context: 
http://qooxdoo.678.n2.nabble.com/Running-application-on-server-tp5569368p5571681.html
Sent from the qooxdoo mailing list archive at Nabble.com.

--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
___
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] Running application on server

2010-09-26 Thread thron7
> When loading the index.hml file (http://my-app.net/source/index.html) the
> firebug html tab shows that it is trying to load a file from the correct
> loacation (../../qooxdoo-sdk/) but when i check the net tab under
> firefox it seems that it is trying to load the file from
> http://my-app.net/qooxdoo-sdk.

That looks ok as was said before, if you see the url that is requested in
the net tab you also see if it is retrieved successfully. So what is the
*problem* you observe? Which url is not loaded?

T.

>
> I'm using virtualhost on a localhost.
>
> Could you please help me to resolve this issue?
>
> Thanks
> --
> View this message in context:
> http://qooxdoo.678.n2.nabble.com/Running-application-on-server-tp5569368p5571513.html
> Sent from the qooxdoo mailing list archive at Nabble.com.
>
> --
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing.
> http://p.sf.net/sfu/novell-sfdev2dev
> ___
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>
>



--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
___
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] Running application on server

2010-09-26 Thread Mustafa Sak
Looks correct for me. Because firebug net shows you the absolut url to  
file. Can you access to qooxdoo framework files through your domain?  
Did you get 404 pages? My be post the config.js file for better  
understanding.

Sorry Im not dev but may be I could help out at sunday morning.

Regards Sak

Von meinem iPhone gesendet

Am 26.09.2010 um 10:13 schrieb stevenv :

>
> Thanks Thron7-2
>
> I'm still having problems.
>
> I have a directory structure as follow:
>
> webroot
>  qooxdoo-sdk
>  my-app
>
> When loading the index.hml file (http://my-app.net/source/ 
> index.html) the
> firebug html tab shows that it is trying to load a file from the  
> correct
> loacation (../../qooxdoo-sdk/) but when i check the net tab under
> firefox it seems that it is trying to load the file from
> http://my-app.net/qooxdoo-sdk.
>
> I'm using virtualhost on a localhost.
>
> Could you please help me to resolve this issue?
>
> Thanks
> -- 
> View this message in context: 
> http://qooxdoo.678.n2.nabble.com/Running-application-on-server-tp5569368p5571513.html
> Sent from the qooxdoo mailing list archive at Nabble.com.
>
> --- 
> --- 
> --- 
> -
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing.
> http://p.sf.net/sfu/novell-sfdev2dev
> ___
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
___
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] Running application on server

2010-09-26 Thread stevenv

Thanks Thron7-2

I'm still having problems.

I have a directory structure as follow:

webroot
  qooxdoo-sdk
  my-app

When loading the index.hml file (http://my-app.net/source/index.html) the
firebug html tab shows that it is trying to load a file from the correct
loacation (../../qooxdoo-sdk/) but when i check the net tab under
firefox it seems that it is trying to load the file from
http://my-app.net/qooxdoo-sdk.

I'm using virtualhost on a localhost.

Could you please help me to resolve this issue?

Thanks
-- 
View this message in context: 
http://qooxdoo.678.n2.nabble.com/Running-application-on-server-tp5569368p5571513.html
Sent from the qooxdoo mailing list archive at Nabble.com.

--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
___
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] Running application on server

2010-09-25 Thread thron7
It is not a SOP problem. You have to make relative URIs to the qooxdoo SDK
work through the web server. Look at this snippet:
http://manual.qooxdoo.org/current/pages/snippets.html#running-a-source-version-from-a-web-server

> I copied the framework directory to the server under my app. How do I
> change
> the path to point to this directory on the server.

If you move the SDK in the file system, you need to adapt QOOXDOO_PATH in
your app's config.json, and re-run the generate.py source build step. It's
not relevant if the SDK is under your app folder. Crucial is the relative
file system paths generated in the app match the relative URL paths on
your server. Having a common document root for both SDK and app is good
way to achieve that.

T.


--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
___
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel