472,801 Members | 1,198 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,801 software developers and data experts.

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 1954

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: BigAl | last post by:
I am using the following code in a servlet to send data back to a J2ME application:
3
by: andy | last post by:
Hi, I'm trying to get mod_python working on my web server, but I'm running into problems, possibly due to having virtual hosts configured. I'm no apache guru (newbie is more accurate!) so I...
0
by: Richard | last post by:
Hello! I have 2 questions regarding Xindice (http://xml.apache.org/xindice/): 1) Does anyone know how to set the encoding??? Normaly im using encoding="iso-8859-1" in my xml-files, this...
7
by: Bob | last post by:
I'm using PHP 5.1.1 with Apache 2.0.54 and several virtual hosts. PHP is installed as a module. I've created a very simple test page containing <?php phpinfo(); ?> and placed it at the doc root...
34
by: antonyliu2002 | last post by:
I've set up the virtual smtp server on my IIS 5.1 like so: 1. Assign IP address to "All Unassigned", and listen to port 25. 2. Access Connection granted to "127.0.0.1". 3. Relay only allow...
6
by: Mr Struggler | last post by:
Hi Folks, OK, I have a IIS Server running in my house and as I have a static IP Address I host a web site from it. I have two virtual mapping to the directory in where it is stored. so...
17
by: Paul | last post by:
On my development computer, I have virtual named host set up, like www.site1.lab. When I upload those to my web site for customer review under mywebsite.com/clients/site1/ it throws some of the...
7
by: Dale | last post by:
again, i know this is OT...just move along to the next post if it bugs you. :) i had been trying to have this: project.66.204.32.110 from the client browser, map to a virtual host where the...
2
by: Alec S. | last post by:
Hi, I've got Apache set up with some virtual hosts, each one producing it's own log file. However PHP uses the same log file for everything. I'm looking for a way to configure Apache and PHP...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 2 August 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: erikbower65 | last post by:
Using CodiumAI's pr-agent is simple and powerful. Follow these steps: 1. Install CodiumAI CLI: Ensure Node.js is installed, then run 'npm install -g codiumai' in the terminal. 2. Connect to...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Sept 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: Taofi | last post by:
I try to insert a new record but the error message says the number of query names and destination fields are not the same This are my field names ID, Budgeted, Actual, Status and Differences ...
14
DJRhino1175
by: DJRhino1175 | last post by:
When I run this code I get an error, its Run-time error# 424 Object required...This is my first attempt at doing something like this. I test the entire code and it worked until I added this - If...
5
by: DJRhino | last post by:
Private Sub CboDrawingID_BeforeUpdate(Cancel As Integer) If = 310029923 Or 310030138 Or 310030152 Or 310030346 Or 310030348 Or _ 310030356 Or 310030359 Or 310030362 Or...
0
by: lllomh | last post by:
How does React native implement an English player?
0
by: Mushico | last post by:
How to calculate date of retirement from date of birth
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.