473,623 Members | 2,473 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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.o rg/configure_1_2.d td">

<Configure class="org.mort bay.jetty.Serve r">

<Call name="addListen er">
<Arg>
<New class="org.mort bay.http.Socket ChannelListener ">
<Set name="Port"><Sy stemProperty name="jetty.por t"
default="8080"/></Set>
<Set name="MinThread s">10</Set>
<Set name="MaxThread s">1000</Set>
<Set name="MaxIdleTi meMs">30000</Set>
<Set name="BufferSiz e">20000</Set>
</New>
</Arg>
</Call>

<Set name="rootWebAp p">planapp</Set>

<Call name="addWebApp lication">
<Arg>/</Arg>
<Arg><SystemPro perty name="jetty.hom e" default=""/>planapp</Arg>
<Set name="extractWA R">false</Set>
<Set name="defaultsD escriptor"><Sys temProperty name="jetty.hom e"
default="jetty"/>/etc/webdefault.xml</Set>
<Set name="virtualHo sts">
<Array type="java.lang .String">
<Item>xdyne.net </Item>
<Item>www.xdyne .net</Item>
</Array>
</Set>
</Call>

<Call name="addWebApp lication">
<Arg>/</Arg>
<Arg>/home/carol</Arg>
<Set name="extractWA R">false</Set>
<Set name="defaultsD escriptor"><Sys temProperty name="jetty.hom e"
default="jetty"/>/etc/webdefault.xml</Set>
<Set name="virtualHo sts">
<Array type="java.lang .String">
<Item>artprojec t.com</Item>
<Item>www.artpr oject.com</Item>
</Array>
</Set>
</Call>

<Set name="RequestLo g">
<New class="org.mort bay.http.NCSARe questLog">
<Arg><SystemPro perty name="jetty.hom e"
default="jetty"/>/logs/yyyy_mm_dd.requ est.log</Arg>
<Set name="retainDay s">999</Set>
<Set name="append">t rue</Set>
<Set name="extended" >false</Set>
<Set name="buffered" >true</Set>
<Set name="LogTimeZo ne">CET</Set>
</New>
</Set>

<Set name="requestsP erGC">200</Set>
<Set name="statsOn"> false</Set>

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

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

Similar topics

4
5346
by: BigAl | last post by:
I am using the following code in a servlet to send data back to a J2ME application:
3
2034
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 could easily be doing something wrong. The apache configuration is further complicated by having an include file for each virtual host, so the config isn't actually *in* the main apache conf file!
0
1440
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 makes it possible to use swedish characters. The problem is that every time im pulling someting out from Xindice the encoding is lost, and all my swedish characters are turned to crap.
7
3013
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 of three of my hosts. The main site hosted by Apache executes the page perfectly and displays the expected output. None of my virtual hosts, however, will execute the page. The virtual hosts attempt to load the page for a long time, then...
34
18220
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 "127.0.0.1". 4. Authentication: "Anonymous access" only. 5. Outbound connection listen to TCP 25. Besides,
6
305
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 www.mydomain.net or mydomain.net will arrive at the same web site wwwroot\myWebsite This works fine except that I am using a javascript menu system. The problem here is that when I build and launch the site from my PC, I get
17
1683
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 source file references off and it does not work properly. My references are like: require_once($_SERVER."/utility/top.php");
7
1732
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 document root would be:
2
3603
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 so that the different virtual hosts use different PHP log files. For example, I keep third-party PHP apps in available through one virtual host, and my own apps in another. Therefore, I want one PHP log file for third-party
0
8165
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8670
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8613
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
7150
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6106
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5561
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
2602
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1778
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1473
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.