You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by Delos <da...@gmail.com> on 2009/07/27 04:31:38 UTC

How to configure Jetty in Geronimo?

Hi,

Since Jetty has lots of configurable option, suppose they're also
configurable in geronimo jetty distribution. For tomcat, there is
<GERONIMO_HOME>/var/catalina containing the Tomcat configuration file, but
for jetty distribution,  <GERONIMO_HOME>/var/jetty is an empty directory.
Could anyone tell how to configure Jetty in Geronimo? Seems no document or
article can be found about this.


Thanks very much!

-- 
Best Regards,

Delos

Re: How to configure Jetty in Geronimo?

Posted by David Jencks <da...@yahoo.com>.
I think you can configure just about everything through the gbeans.   
Reading a second web.xml file for every web app would be a very large  
change to the deployer and is not something we can consider for 2.2.

I think you can configure the jsp debug in the default jsp servlet  
gbean in the deployer plan.

thanks
david jencks

On Jul 26, 2009, at 7:40 PM, Ivan wrote:

> So far, I did not see a way to do it. Or I missed it ?
> I suggest that we could keep a default web configuration file in  
> that folder, like what we did with Tomcat, and then add it while  
> building the JettyWebAppContext, so that the users could easily  
> change some default settings, such as JSP debug.
>
> 2009/7/27 Delos <da...@gmail.com>
> Hi,
>
> Since Jetty has lots of configurable option, suppose they're also  
> configurable in geronimo jetty distribution. For tomcat, there is  
> <GERONIMO_HOME>/var/catalina containing the Tomcat configuration  
> file, but for jetty distribution,  <GERONIMO_HOME>/var/jetty is an  
> empty directory.  Could anyone tell how to configure Jetty in  
> Geronimo? Seems no document or article can be found about this.
>
>
> Thanks very much!
>
> -- 
> Best Regards,
>
> Delos
>
>
>
> -- 
> Ivan


Re: How to configure Jetty in Geronimo?

Posted by Delos <da...@gmail.com>.
Strongly agree with you, Ivan.

There are so many configurable file for a standalone Jetty, such as
jetty.xml ,jetty-web.xml, jetty-env.xml. So it will be very useful to did
configuration for jetty distribution.

Any comments?

2009/7/27 Ivan <xh...@gmail.com>

> So far, I did not see a way to do it. Or I missed it ?
> I suggest that we could keep a default web configuration file in that
> folder, like what we did with Tomcat, and then add it while building the
> JettyWebAppContext, so that the users could easily change some default
> settings, such as JSP debug.
>
> 2009/7/27 Delos <da...@gmail.com>
>
> Hi,
>>
>> Since Jetty has lots of configurable option, suppose they're also
>> configurable in geronimo jetty distribution. For tomcat, there is
>> <GERONIMO_HOME>/var/catalina containing the Tomcat configuration file, but
>> for jetty distribution,  <GERONIMO_HOME>/var/jetty is an empty directory.
>> Could anyone tell how to configure Jetty in Geronimo? Seems no document or
>> article can be found about this.
>>
>>
>> Thanks very much!
>>
>> --
>> Best Regards,
>>
>> Delos
>>
>
>
>
> --
> Ivan
>



-- 
Best Regards,

Delos

Re: How to configure Jetty in Geronimo?

Posted by Ivan <xh...@gmail.com>.
So far, I did not see a way to do it. Or I missed it ?
I suggest that we could keep a default web configuration file in that
folder, like what we did with Tomcat, and then add it while building the
JettyWebAppContext, so that the users could easily change some default
settings, such as JSP debug.

2009/7/27 Delos <da...@gmail.com>

> Hi,
>
> Since Jetty has lots of configurable option, suppose they're also
> configurable in geronimo jetty distribution. For tomcat, there is
> <GERONIMO_HOME>/var/catalina containing the Tomcat configuration file, but
> for jetty distribution,  <GERONIMO_HOME>/var/jetty is an empty directory.
> Could anyone tell how to configure Jetty in Geronimo? Seems no document or
> article can be found about this.
>
>
> Thanks very much!
>
> --
> Best Regards,
>
> Delos
>



-- 
Ivan