Cannot start application from Web Archive

View: New views
2 Messages — Rating Filter:   Alert me  

Cannot start application from Web Archive

by Marc Bachstein :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

I packed my application into a Web Archive (WAR) and put it in the webapps
folder of the apache tomcat.

Starting this application in the browser causes an popup with error message:

   WARNING:
   this page uses lzOptions.ServerRoot. Please use the second argument of
lz.embed.lfc() instead.

The compiler throws 2 errors: "Lz is not defined".

If I start the application unpacked (with tomcat configuration in Eclipse)
the application starts without any error.

I googled for this error and found this page:
http://www.openlaszlo.org/pipermail/laszlo-checkins/2008-May/009003.html

Does anyone of you know what this error is about?

Kind Regards,
Marc



Re: Cannot start application from Web Archive

by P T Withington :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

You cannot run the LPS server directly from a WAR:  http://www.openlaszlo.org/jira/browse/LPP-3457

On 2008-07-24, at 06:14EDT, Marc Bachstein wrote:

> Hello,
>
> I packed my application into a Web Archive (WAR) and put it in the  
> webapps
> folder of the apache tomcat.
>
> Starting this application in the browser causes an popup with error  
> message:
>
>   WARNING:
>   this page uses lzOptions.ServerRoot. Please use the second  
> argument of
> lz.embed.lfc() instead.
>
> The compiler throws 2 errors: "Lz is not defined".
>
> If I start the application unpacked (with tomcat configuration in  
> Eclipse)
> the application starts without any error.
>
> I googled for this error and found this page:
> http://www.openlaszlo.org/pipermail/laszlo-checkins/2008-May/009003.html
>
> Does anyone of you know what this error is about?
>
> Kind Regards,
> Marc
>
>