I’m playing with OpenLaszlo from a while (an open source platform for the development and delivery of rich Internet applications), but I have found some problems installing it on my developing system (currently I’m using Kubuntu Intrepid Ibex).
I have found the solution and due to lack of documentation about it I have decided to write a little step-by-step guide here on this blog…
You have to download the correct version of OpenLaszlo for your OS (Linux platform, openlaszlo-4.1.1-unix.tar.gz).
Expand the archive where you install usually your applications (I use a directory into my home, called “Programs”).
Make sure to install the java SDK package with APT, set the JAVA_HOME variable and run the OpenLaszlo server.
[source: js] mv openlaszlo-4.1.1-unix.tar.gz ~/Programs/cd ~/Programs/
tar zxvf openlaszlo-4.1.1-unix.tar.gz
sudo apt-get install sun-java6-jdk
cd lps-4.1.1/
JAVA_HOME=/usr/lib/jvm/java-6-sun-1.6.0.10
export JAVA_HOME
./Server/tomcat-5.0.24/bin/startup.sh
[/source]
Now you can test your installation opening this URL with your browser: http://localhost:8080/lps-4.1.1/
Warning: this installation method is not compatible with VMware Server 2.0.
If you have installed VMware, the OpenLaszlo server is not starting. You can find some clues into the file ./Server/tomcat-5.0.24/logs/catalina.out:
StandardServer.await: create[8005]: java.net.BindException: Address already in use
java.net.BindException: Address already in use
I don’t have time to debug this problem, but I can suggest a little workaround: stop the VMware webAccess service and all the VMware stuff (also kill the script vmware-watchdog).
[source: js] sudo /etc/init.d/vmware stopsudo /etc/init.d/vmware-mgmt stop
sudo killall -9 vmware-watchdog
[/source]
0 Comments