[Laszlo-dev] FW: LZProject - Request for installation/configuration clarification
Raju Bitter
rbitter at laszlosystems.com
Wed Oct 24 11:09:58 PDT 2007
Hi Jim,
I just downloaded the WAR file using the same link and deployed it locally
on my Tomcat server. You don't need to extract the application, if you have
a default installation of Tomcat - dropping the file in the
$CATALINA_HOME/webapps folder and restarting Tomcat should deploy the
application.
I loaded the login-page and everything worked flawless for me. If you open
the HTML file from the file browser, that won't work. You have to deploy the
web application in a Java servlet container like Apache Tomcat. If you open
the HTML pages by double clicking in your file browser (Finder on OS X or
Windows Explorer) you'll get the error messages you are describing.
I attached a screen shot of the login screen as I saw it on my machine,
using the following URL:
http://localhost:8080/lzproject-solo/lzproject/LZProject-DHTML.html
Or
http://localhost:8080/lzproject-solo/lzproject/LZProject-SWF.html
You don't need a crossdomain.xml for LZProject as the OpenLaszlo application
doesn't make any requests to remote domains.
Best,
Raju Bitter
OpenLaszlo Community Manager
> Von: Jim <jfoster at tmtsaz.com>
> Datum: Wed, 24 Oct 2007 08:37:00 -0700
> An: Laszlo-dev mailing list <Laszlo-dev at openlaszlo.org>
> Betreff: [Laszlo-dev] LZProject - Request for installation/configuration
> clarification
>
> Core dev team:
>
> I would like to study the best-practice examples as provided by your
> LZProject. However, I have apparently misunderstood the installation
> and/or configuration procedures. I would greatly appreciate someone
> providing some configuration.
>
> I followed these steps:
>
> 1) Downloaded lzproject-solo.war from http://labs.openlaszlo.org/lzproject/
>
> 2) Extracted it. Top-level directory structure looks like:
>
> index-files/
> lps/
> lzproject/
> META-INF/
> WEB-INF/
> index.jsp
>
> 3) From my browser, going to either LZProject-SWF.html or
> LZProject-DHTML.html in the lzproject directory both produce the login
> screen, but no submit button.
>
> 4) I turned the debugger on in the source file, recompiled, and I am
> seeing these error messages in the debugger at the login screen:
>
> WARNING: LzLoadQueue.XMLOnDataHandler load failed from URL
> 'rest/application/i18n?__lzbc__=1191023754984', no data received.
> WARNING: Failure to load data in serverless apps may be caused by Flash
> player security policies. Check your data server crossdomain.xml file
> ERROR: Error calling REST web service i18n
>
>
> My crossdomain.xml is a straight copy from
> http://labs.openlaszlo.org/wafflecone-nightly/docs/developers/proxied.html#d0e
> 59705
>
> <?xml version="1.0"?>
> <!DOCTYPE cross-domain-policy
> SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
> <cross-domain-policy>
> <allow-access-from domain="*" />
> </cross-domain-policy>
>
>
> What have I overlooked? and where in the docs do I need to revisit?
>
> Thank you for your time!
>
> Jim
-------------- next part --------------
A non-text attachment was scrubbed...
Name: LzProject-Deployed-Login.jpg
Type: application/applefile
Size: 29096 bytes
Desc: not available
Url : http://www.openlaszlo.org/pipermail/laszlo-dev/attachments/20071024/0e4ed3e4/LzProject-Deployed-Login-0001.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: LzProject-Deployed-Login.jpg
Type: image/jpeg
Size: 65408 bytes
Desc: not available
Url : http://www.openlaszlo.org/pipermail/laszlo-dev/attachments/20071024/0e4ed3e4/LzProject-Deployed-Login-0001.jpg
More information about the Laszlo-dev
mailing list