Before to migrate to Jetty 7, we must be sure that PAX WEB support it.
According to their documentation (
http://wiki.ops4j.org/display/paxweb/Pax+Web), it is based on jetty 6.
I will check this point and come back to you soon.
By the way, I have been able to configure different ports for the jetty web
server on Karaf/SMX4. So it will be possible to define by example the port
9000 for the karaf web console and allow users to use 8080, 8181, ...
This can be achieved using a fragment bundle containing the jetty.xml file.
Remark : package name have changed between jetty 6 and 7 (eclipse) so the
content of the file jetty.xml is different
ex :
Jetty 6
<Configure class="org.mortbay.jetty.Server">
<Call name="addConnector">
<Arg>
<New class="org.mortbay.jetty.nio.SelectChannelConnector">
<Set name="host"><SystemProperty name="jetty.host" /></Set>
<Set name="port"><SystemProperty name="jetty.port"
default="8282"/></Set>
<Set name="maxIdleTime">30000</Set>
<Set name="Acceptors">2</Set>
<Set name="statsOn">false</Set>
<Set name="confidentialPort">8443</Set>
<Set name="lowResourcesConnections">5000</Set>
<Set name="lowResourcesMaxIdleTime">5000</Set>
</New>
</Arg>
</Call>
Jetty 7
<Configure id="Server" class="org.eclipse.jetty.server.Server">
<Call name="addConnector">
<Arg>
<New class="org.eclipse.jetty.server.nio.SelectChannelConnector">
<Set name="host"><SystemProperty name="jetty.host" /></Set>
<Set name="port"><SystemProperty name="jetty.port"
default="8080"/></Set>
<Set name="maxIdleTime">300000</Set>
<Set name="Acceptors">2</Set>
<Set name="statsOn">false</Set>
<Set name="confidentialPort">8443</Set>
<Set name="lowResourcesConnections">20000</Set>
<Set name="lowResourcesMaxIdleTime">5000</Set>
</New>
</Arg>
</Call>
Regards,
Charles Moulliard
Senior Enterprise Architect
Apache Camel Committer
*****************************
blog : http://cmoulliard.blogspot.com
twitter : http://twitter.com/cmoulliard
Linkedlin : http://www.linkedin.com/in/charlesmoulliard
Apache Camel Group :
http://www.linkedin.com/groups?home=&gid=2447439&trk=anet_ug_hm
On Tue, Dec 15, 2009 at 9:56 PM, Jean-Baptiste Onofré <[email protected]>wrote:
> Hi all,
>
> I would like to upgrade SMX resources (especially component) to Jetty 7.0.1
> (see SMXCOMP-622).
>
> If I go to http://dist.codehaus.org/jetty/, I'm able to see the jetty
> 7.0.1 distribution.
>
> But, if I go to:
> http://repository.apache.org or http://repo1.maven.org I can only see
> jetty 6.1.22 or 7.0.0.pre5 but not the released 7.1.0 version.
>
> As I can deploy the jetty 7.1.0 artifacts myself, how and who I can request
> for that ?
>
> The other way is to deploy in the svn m2-repo but I want to avoid it.
>
> Thanks
> Regards
> JB
>