Here's a servlet that prints out all the Java System Properties...
http://www.eio-online.com/javainfo/
I don't see anything about memory.
I cannot restart the server. It's a shared hosting environment.
I'm pretty sure that they are probably running with whatever the
default
settings are.
-----Original Message-----
From: Henry Minsky [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 12, 2006 3:57 PM
To: William Krick
Cc: [email protected]
Subject: Re: [Laszlo-user] debug=true causes compilation error?
There's some Java API call that might tell you something about the
server's free memory, I forget, probably System.something, maybe
you could
write a .jsp to
see if there is something that looks funny. Can you restart the java
server?
The LPS compiler takes a lot of RAM, the standard amount that
JVM's start
with
is not enough. You need to start Java with an arg -Xm512m (?) for
512MB at
least, I think.
On 1/12/06, William Krick <[EMAIL PROTECTED]> wrote:
No idea about the memory situation. It's on a shared hosting
environment. I guess that's a possiblity.
I originally encountered the problem as you see below
regardless of the
debug flag when trying to launch our application. The link below is
to the
full app.
To troubleshoot the problem, I tried stripping down main.lzx
until it
would compile, basically, when there was nothing left of it except
"canvas".
But then I discovered that in debug mode it still wouldn't
compile. So then
I tried the "hello world" app and found that it won't compile in
debug mode.
-----Original Message-----
From: Henry Minsky [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 12, 2006 3:37 PM
To: William Krick
Cc: [email protected]
Subject: Re: [Laszlo-user] debug=true causes compilation error?
Now when I retrieve that URL from
http://www.eio-online.com/openlaszlo-3.1.1-servlet/rater/
main.lzx?lzr=
swf7&debug=false
I get the same syntax error, regardless of the debug flag.
I wonder if the server is out of memory?
On 1/12/06, William Krick < [EMAIL PROTECTED]> wrote:
So.... does anybody know what the problem is?
-----Original Message-----
From: Henry Minsky [mailto: [EMAIL PROTECTED]
Sent: Wednesday, January 11, 2006 7:28 PM
To: [EMAIL PROTECTED]
Cc: William Krick; [email protected]
Subject: Re: [Laszlo-user] debug=true causes compilation
error?
No lzr is I think what he wants, the query arg 'lzr' is
the way
to set the target flash runtime. It can be "swf6" "swf7" or
"swf8" (swf9
coming one of these days)
On 1/11/06, [EMAIL PROTECTED] < [EMAIL PROTECTED]> wrote:
shouldnt it be lzt=swf7... not lzr=swf7....?
http://www.eio-online.com/openlaszlo-3.1.1-servlet/
rater/main.lz
x?lzr=swf7&debug=false
http://www.eio-online.com/openlaszlo-3.1.1-servlet/
rater/main.lz
x?lzr=swf7&debug=true
/> Well, I just re-downloaded the OpenLaszlo Servlet from
here...
/>
/> http://www.laszlosystems.com/developers/download/
/>
/> And uploaded the war file to my web host.
/>
/> The same error still happens.
/>
/> I'm not sure how to "compile from the command line"
when it's
running as a
/> servlet on my web host.
/>
/>
/> Note that debug true/false both work fine when
installed
locally on my
/> Windows XP machine.
/>
/>
/> Anything else I should check?
/>
/> Here's a link to a servlet I made that dumps info
about my
web host. Not
/> sure if any of this will be useful...
/>
/> http://www.eio-online.com/javainfo/
/>
/>
/>
/>
/>
/> -----Original Message-----
/> From: Henry Minsky [mailto: [EMAIL PROTECTED]
/> Sent: Wednesday, January 11, 2006 3:43 PM
/> To: William Krick
/> Cc: [email protected]
/> Subject: Re: [Laszlo-user] debug=true causes
compilation
error?
/>
/>
/> It says
/> base/basecomponent.lzx:50:1: Syntax error: the
token "{"
was not
/> expected
/> at this position.
/>
/>
/> But it seems unlikely that that file
/> (lps/components/base/basecomponent.lzx) is corrupt
because
the app
/> compiles
/> when debug mode is disabled.
/>
/> I hate to suggest a "Microsoft" approach, but you
could try
reinstalling
/> the
/> LPS server from the distro, maybe something got
corrupted
someplace?
/>
/> Also, I wonder if you could try compiling from the
command
line to see
/> if
/> the bug is the same, using the "lzc" commmand line
shell
script.
/>
/> lzc -g foo.lzx
/>
/> will compile with debugging enabled.
/>
/>
/>
/>
/>
/>
/>
/> On 1/11/06, William Krick < [EMAIL PROTECTED]>
wrote:
/> Yep. Here's the default "Hello Laszlo" app...
/>
/>
http://www.eio-online.com/openlaszlo-3.1.1-servlet/my-
apps/copy-
of-hello
/> .lzx?lzr=swf7&debug=true
/>
/>
/>
/> -----Original Message-----
/> From: Henry Minsky
[mailto:[EMAIL PROTECTED]
/> Sent: Wednesday, January 11, 2006 3:28 PM
/> To: William Krick
/> Cc: [email protected]
/> Subject: Re: [Laszlo-user] debug=true causes
compilation error?
/>
/>
/> Is this for all apps, or just this one?
/>
/>
/>
/>
/> On 1/11/06, William Krick <[EMAIL PROTECTED]>
wrote:
/> If I load this url, it works fine...
/>
/>
http://www.eio-online.com/openlaszlo-3.1.1-servlet/
rater/main.lz
x?lz
/> r=swf7&d
/> ebug=false
/>
/>
/> But if I load the same base url with
debug=true at
the end, it
/> fails...
/>
/>
http://www.eio-online.com/openlaszlo-3.1.1-servlet/
rater/main.lz
x?lz
/> r=swf7&d
/> ebug=true
/>
/>
/> Any ideas what's going on?
/>
/> _______________________________________________
/> Laszlo-user mailing list
/> [email protected]
/>
http://www.openlaszlo.org/mailman/listinfo/laszlo-user
/>
/>
/>
/>
/> --
/> Henry Minsky
/> Software Architect
/> [EMAIL PROTECTED]
/>
/>
/>
/> _______________________________________________
/> Laszlo-user mailing list
/> [email protected]
/> http://www.openlaszlo.org/mailman/listinfo/
laszlo-user
/>
/>
/>
/>
/>
/>
/> --
/> Henry Minsky
/> Software Architect
/> [EMAIL PROTECTED]
/>
/> _______________________________________________
/> Laszlo-user mailing list
/> [email protected]
/> http://www.openlaszlo.org/mailman/listinfo/laszlo-user
/>
--
Henry Minsky
Software Architect
[EMAIL PROTECTED]
_______________________________________________
Laszlo-user mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-user
--
Henry Minsky
Software Architect
[EMAIL PROTECTED]
--
Henry Minsky
Software Architect
[EMAIL PROTECTED]
_______________________________________________
Laszlo-user mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-user