Hi,
you might look into the log of the server (jakarta-tomcat-x.x.x/logs)
Potentially you'll have to increase the log level in
WEB-INF/lps/config/lps.xml:
<logger name="org.openlaszlo" additivity="false">
<priority value="info" /> <!-- change to "debug"
-->
<appender-ref ref="lps" />
</logger>
If there are memory problems, you'll see OutOfMemoryException s
Cheers, Mika
William Krick schrieb:
Here's a servlet that prints out all the
Java System Properties...
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.
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?
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.lzx?lzr=swf7&debug=false
http://www.eio-online.com/openlaszlo-3.1.1-servlet/rater/main.lzx?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.lzx?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.lzx?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
--
cyber:con gmbh
Mika Göckel
Rathausallee 10
53757 Sankt Augustin
tel (+49)2241 / 9350 0
fax (+49)2241 / 9350 99
mob (+49) 172 / 279 2771
skype mika.goeckel
email [EMAIL PROTECTED]
|