PDA

View Full Version : Can integrate Laszlo to web server transparently?


nmquang
09-15-2004, 01:48 AM
Hi All,

Laszlo Deverlopment Edition require starting "jakarta-tomcat-4.1.12" separately and using 8080 port!

How about Laszlo Professional and Enterprise editions? Can them be integrated to web server transparently? Using other port (ex port 80)?

Thanks and Regards,

Minh Quang

bloch
09-15-2004, 08:21 AM
You can actually run the dev kit on port 80 if you'd like by modifying the tomcat server.xml file as well as the LPS $LPS_HOME/lz-utils/startup.var

Alternatively, yoiu can "front" an LPS deployment with a web server (typically apache) and use a connector like mod_jk to connect apache and the servlet container (tomcat or others).

All this can be done with any of the LPS distributions.

-Eric

nmquang
09-15-2004, 07:02 PM
Thank you!

But I have a problem: because we must start Tomcat Server by 1 batch file, when we log off or some one logoff server, the Tomcat proceess will stop, the site down! Do you you know how to start it as a service on Windows?

thanks for your help!

Minh Quang

bloch
09-15-2004, 08:15 PM
You can run the java process used to start tomcat as a Windows NT service. We don't ship our developer kit this way for a number of reasons. But it works fine and we use it ourselves all the time.

If you take the default tomcat 4.1 or 5.0 kit from jakarta, its installer will ask you if yoiu want the NT service. Then take the LPS webapp and deploy it in that tomcat.

-Eric

nmquang
09-15-2004, 11:45 PM
Hi, Thanks for your help.

I have found a good tool for installing Tomcat as windows service: Tomcat Service Manager (http://web.bvu.edu/staff/david/index.jsp?section=software&subsection=tcservcfg&page=overview)
Thanks David Boyer!

Regards,

Minh Quang