470,848 Members | 1,290 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,848 developers. It's quick & easy.

jetty dies with virtual hosts

Hi,

using jetty 4.2.9 on redhat with sun jdk 1.4.2_01-b06
When using virtual hosts the java process dies after a few minutes
while the CPU load goes slowly from 100% to zero (e-function?) on that
process.
Without virtual hosts jetty usually runs for months (no restarts
necessary) on this setup.
There is nothing unusual in the logs or stdout/stderr during that.

see jetty.xml below - what can be done?

TIA

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE Configure PUBLIC "-//Mort Bay Consulting//DTD Configure
1.2//EN" "http://jetty.mortbay.org/configure_1_2.dtd">

<Configure class="org.mortbay.jetty.Server">

<Call name="addListener">
<Arg>
<New class="org.mortbay.http.SocketChannelListener">
<Set name="Port"><SystemProperty name="jetty.port"
default="8080"/></Set>
<Set name="MinThreads">10</Set>
<Set name="MaxThreads">1000</Set>
<Set name="MaxIdleTimeMs">30000</Set>
<Set name="BufferSize">20000</Set>
</New>
</Arg>
</Call>

<Set name="rootWebApp">planapp</Set>

<Call name="addWebApplication">
<Arg>/</Arg>
<Arg><SystemProperty name="jetty.home" default=""/>planapp</Arg>
<Set name="extractWAR">false</Set>
<Set name="defaultsDescriptor"><SystemProperty name="jetty.home"
default="jetty"/>/etc/webdefault.xml</Set>
<Set name="virtualHosts">
<Array type="java.lang.String">
<Item>xdyne.net</Item>
<Item>www.xdyne.net</Item>
</Array>
</Set>
</Call>

<Call name="addWebApplication">
<Arg>/</Arg>
<Arg>/home/carol</Arg>
<Set name="extractWAR">false</Set>
<Set name="defaultsDescriptor"><SystemProperty name="jetty.home"
default="jetty"/>/etc/webdefault.xml</Set>
<Set name="virtualHosts">
<Array type="java.lang.String">
<Item>artproject.com</Item>
<Item>www.artproject.com</Item>
</Array>
</Set>
</Call>

<Set name="RequestLog">
<New class="org.mortbay.http.NCSARequestLog">
<Arg><SystemProperty name="jetty.home"
default="jetty"/>/logs/yyyy_mm_dd.request.log</Arg>
<Set name="retainDays">999</Set>
<Set name="append">true</Set>
<Set name="extended">false</Set>
<Set name="buffered">true</Set>
<Set name="LogTimeZone">CET</Set>
</New>
</Set>

<Set name="requestsPerGC">200</Set>
<Set name="statsOn">false</Set>

</Configure>
Jul 17 '05 #1
0 1855

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by BigAl | last post: by
7 posts views Thread by Bob | last post: by
34 posts views Thread by antonyliu2002 | last post: by
6 posts views Thread by Mr Struggler | last post: by
2 posts views Thread by Alec S. | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.