PDA

View Full Version : Deploying applications


dank06
10-31-2004, 12:58 AM
I am having some major problems with getting my
app to run on my web server...it will run
correctly when directly on my computer
(localhost:8080/lps-2.2/my-apps/app.lzx?lzt=swf)
however when i upload the laszlo file and the
webpage, the movie will not load. just as a quick
example following is the same format i use for my
web page
<!DOCTYPE html
PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type"
content="text/html; charset=utf-8">

<link rel="SHORTCUT ICON"
href="http://www.laszlosystems.com/favicon.ico">
<title>Laszlo Application</title>
</head>
<body style="margin: 0; padding: 0;
background-color: #ffffff"><object
classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/
shockwave/cabs/flash/swflash.cab#version=5,0,0,0"
data="app.lzx?lzt=swf" width="200" height="400">
<param name="movie"
value="app.lzx?lzt=swf">
<param name="quality" value="high">
<param name="scale" value="exactfit">
<param name="salign" value="LT">
<param name="menu" value="false">
<param name="bgcolor" value="#ffffff">
<embed src="app.lzx?lzt=swf" quality="high" scale="exactfit" salign="lt"
width="200" height="400" bgcolor="#ffffff"
type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/
getflashplayer"></embed></object></body>
</html>

the directory on my web server in which the lzx
file is located is the same location where my
index.html file is located.
I've tried using the embed.js method as well...and
a number of different methods :P
Is there something i'm missing?

d~l
10-31-2004, 01:02 AM
read here

http://www.laszlosystems.com/developers/learn/documentation/release-notes.php

see notes on checking that your Java Virtual Memory settings are correct on your hosting server.

________


Incidentally, I've found that in posting code here
you need to force text wrap in your code by using
Shift+Enter at points in the code to shorten
the width of display.

dank06
10-31-2004, 08:21 AM
My bad on the code entry there
Well I did some more in depth searching, and it
looks like my server has no support for lzx files
whatsoever. I'm gonna have to lobby them to include
the proper support...or else I cannot use Laszlo. :(
Unless i sign on with a different server or host my
own....hmmmm.

d~l
10-31-2004, 08:51 AM
Although I haven't yet ported onto an external hosted server I'm fairly sure you don't need anything special other than servlet engine .. and a good chunk of JVM .. you define the servlet mappings in your own virtual server.

If you have a wide-band connection .. for initial testing .. you could kick off serving apps from your own personal server using a free account at .. dyndns.org (http://www.dyndns.org) .. to point to your personal server .. but not recommended for heavy usage, just experiments amongst a small community of visitors. Needs a firewall etc.

e.g. you would create a domain like ..

http://www.dank.dyndns.org

and map to your server ..

http://www.dank.dyndns.org:8080/lps-2.2/

dank06
10-31-2004, 10:19 AM
I think i can get my server to have 'a good chunk
of' JVM and also something like tomcat...shouldnt be too large of a problem. As for dyndns.org ... thanks for pointing me to the right direction :D It is a foothold for now.