PDA

View Full Version : Using Laszlo with JDK 1.5


dybomaha
08-15-2004, 05:37 PM
I have been using Laszlo with JBOSS 3.2.5, and it works great.

I have done some testing, and it seems that Laszlo is 20-30% faster under JBOSS than under standard Tomcat. (I have not had time to figure out why.)

I have also tested Laszlo with JDK 1.5 BETA 2.

The result is that it does not work. I have tried under different systems (all Linux) and the error is always an exception with PyObject when the Script Parser runs. (Sorry I did not grab the error, I can get it later.)

So, it seems that JDK 1.5 will not work, which is a bummer. I am running 84 bit Linux with AMD 64, and so not having JDK 1.5 means I have to run the Blackdown AMD64 JDK, which seems to work well.

Maybe someday I will have time to do more benchmakring of different configurations.

BTW, increasing the memory allocation for JBOSS and Tomcat increased performance of Laszlo pretty dramatically.

DYBOMAHA

antun
08-17-2004, 09:42 AM
I have done some testing, and it seems that Laszlo is 20-30% faster under JBOSS than under standard Tomcat. (I have not had time to figure out why.)

Tomcat isn't the fastest servlet container for Laszlo - it's just the most familiar open-source one. There might be license restrictions that permit us to ship the LPS with it too.

Another very good servlet container that we have used is Jetty.

I have also tested Laszlo with JDK 1.5 BETA 2.

The current version (2.1.2) isn't QA'd/tested against JDK 1.5. The next version of the LPS will be tested against JDK 1.5.

Take care,

Antun

dybomaha
08-17-2004, 11:34 AM
Just some notes, or a tip if you will:

My team has found out how to run Laszlo as an exploded file under JBOSS 3.2.5.

It's better to stop JBOSS when you do this (I tried several times, and sometimes the Hot Deploy does not work.)

The trick is to go to your JBOSS installation directory, to your deploy directory, which would be something like:

/opt/jboss-3.2.5/server/default/deploy

Under this directory, make a new directory called "webapps". In this directory, unpack the LPS core tar ball:

tar xvfz lps-2.1.2-core.tar.gz

Now, move the directory to a new one with ".war" at the end:

mv lps-2.1.2-core lps-2.1.2.war

Now start Laszlo, and you can use the exploded directory.

Once JBOSS starts up, you will be able to use http://yourserver/lps-2.1.2/

Now, for the next trick, if you have Eclipse 3.0 set up, you can map a directory from your Eclipse project to the web apps. If you right click on your project, you can add a new folder. You can name the folder anything you want, just make sure you click the "Advanced" button, and then you can select "Link to folder in the file system." Just navigate to your new lps-2.1.2.war directory. Now you can browse and edit the files from inside Eclipse 3.0.

DYBOMAHA

BTW, thanks for responding about JDK 1.5. It seems likely to be an easy problem to fix.

ankitrastogi
02-22-2006, 05:37 PM
Does openlaszlo 3.1.1 has been tested with jdk 1.5

Thanks,
Ankit.

antun
02-24-2006, 10:26 AM
As far as I know, JDK 1.5 is supported. See the system requirements:

http://www.laszlosystems.com/go/systemrequirements

-Antun


Originally posted by ankitrastogi
Does openlaszlo 3.1.1 has been tested with jdk 1.5

Thanks,
Ankit.