Thank you very much!

On Saturday 20 September 2008 06:47:14 pm [EMAIL PROTECTED] wrote:
> If using Jetty, the JETTY_PORT setting controls which port is used.
> The default is 8888 to avoid conflicts with standard Web servers (e.g.
> Apache httpd) on port 80 and Tomcat's default port 8080.  Set
> JETTY_PORT=80 if Lenya is the only Web server to avoid URLs containing
> the port number.

I will try this, partly because it occurs tome that the lenya project could 
use a simple stand alone out of the box working example. This would eliminate 
my initial concerns that in order to just use lenya one needs to be capable 
of configuring of at least the intercation Apache and Lenya (and I first 
thought I would also need Tomcat which would make it a interaction of 3 
systems). Just using Lenya under Jetty would allow to tailor a working 
example which would also encompass a working live site as the final output as 
an example that also newbies like me would find convincing. Are there more 
people on the list how would find this useful?

>
> In Lenya 1.2.5, the JETTY_PORT is set in lenya.sh.  In earlier
> versions and in Lenya 2.x, JETTY_PORT is an environment variable,
> although it may still be overridden in lenya.sh.
>
> What benefits are you expecting from running Lenya in Tomcat?  

If i could avoid i,t I would first try without, as I'm clueless about Tomcat.

> The 
> primary benefit of Tomcat over Jetty is hot reloading of Java classes
> -- more useful for development than production.  The other benefit is
> for businesses where adding a servlet to Tomcat is easier than adding
> a new program (usually due to lengthy approval processes rather than
> any technical issues.)  Lenya in Tomcat shares the JVM with other
> applications, sometimes creating library conflicts (specifically
> Xalan.)
>
> We use Apache httpd on port 80 proxying to Lenya on another port
> firewalled from the Internet.  For upgrades and new websites, we
> create new instances of Lenya, test, then just adjust the httpd
> configuration.  We currently use virtual servers, but integrating
> Lenya pages using the URL path would be almost as easy.  One advantage
> is we remove the publication name from external URLs.

That sounds both impressive and very handy!


Best,
Gregor



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to