PDA

View Full Version : Moving default Laszlo installation to new Tomcat server


d~l
07-18-2004, 06:54 AM
Migrating from Tomcat 4.1.12 to Tomcat 5 ..

I'm hoping to use latest release Tomcat for other experiments (such as trying out mod_jk and mod_jk2 connector between Tomcat and Apache).

I installed Laszlo Presentation Server in the default path (with Tomcat 4.1.12).

C:\Program Files\Laszlo Presentation Server 2.1.2\jakarta-tomcat-4.1.12\

But I have just installed a second, later version of Tomcat - version 5.0 - in a different path.

C:\Program Files\Apache Group\Tomcat5\

Then I simply copied the old installation of lps-2.1.2 directory into ..

C:\Program Files\Apache Group\Tomcat5\webapps\

and this test path worked

http://localhost:8080/lps-2.1.2/lz-utils/welcome.html

Is it that simple to change Laszlo installation path or do any configuration parameters need to be changed when migrating from the Laszlo default Tomcat server?

Old Tomcat 4.1.12 installation can then be deleted, it seems.

...

These two *.bat files become redundant since there is now a system tray utility to start/stop Tomcat server (and Apache server on different port).

"C:\Program Files\Laszlo Presentation Server 2.1.2\jakarta-tomcat-4.1.12\webapps\lps-2.1.2\lz-utils\startTomcat.bat"

"C:\Program Files\Laszlo Presentation Server 2.1.2\jakarta-tomcat-4.1.12\webapps\lps-2.1.2\lz-utils\stopTomcat.bat"

bloch
07-18-2004, 11:09 AM
The lps-2.1.2 folder is a webapp that can be copied and installed in most servlet containers.

The start/stop tomcat scripts that we shipped with 2.1.2 were specifically for tomcat 4.1.12 and may not work with tomcat 5.0. These scripts were there as conveniences for windows/mac start menus/icons and for the 'stop server' button from the Laszlo explorer browser we ship.

FYI, LPS 2.2 will ship with it's own copy of Tomcat 5.0.24.


-Eric