Hosting

2003-10-12 Thread Rafael Angarita
  Hi,

  I know this could be a little off topic, but I would like some suggestions about 
with alternatives to host my website (I need a mysql DB and J2EE support)

  Thanks in advance,

Re: reload and ROOT problem

2003-09-13 Thread Rafael Angarita
  Go to the download dir in tomcat website, thereis a patch...

- Original Message - 
From: "Rishikesh Tembe" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Friday, September 12, 2003 8:10 PM
Subject: reload and ROOT problem


> Hi all,
> 
> I am facing two problems with v4.1.27.
> 
> 1. After I reload the servlet by copying it into its directory in
> WEB-INF/classes, I get the foll. error when I try to access the reladed
> servlet.
> HTTP Status 503 - This application is not currently available
> 
> 2. Any apps placed in the ROOT context are not accessible. I am running
> all my apps in the examples context right now.
> 
> Any tips on what's missing?
> 
> thanks,
> Rishikesh.
> 
> =
> 
> 
> 
> Yahoo! India Matrimony: Find your partner online.
> Go to http://yahoo.shaadi.com
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Error with servlet reload

2003-09-10 Thread Rafael Angarita
   Hi,

   I configured my tomcat server to reload classes automatically on 
changes, however when I update the .class file I get this error  when 
try to access the page again:

HTTP Status 503 - Servlet
org.apache.catalina.INVOKER.NewContact is currently
unavailable
type Status report

message Servlet org.apache.catalina.INVOKER.NewContact
is currently unavailable
description The requested service (Servlet
org.apache.catalina.INVOKER.NewContact is currently
unavailable) is not currently available.
Apache Tomcat/4.1.27-LE-jdk14
   The catalina.log file indicates that the .class has been modified 
but the server can not  process the page...
   The environment:
   - Linux RedHat (2.4)
   - Java 1.4
   - Tomcat 4.1.27
   - The server.xml file is configured to make the Context "reloadable".

   Any suggestions?

   Thanks in advance,

--

Rafael Angarita




Re: Error during Tomcat 3.3 startup

2002-12-17 Thread Rafael Angarita
There's another process listening on port 8007.
Check your tomcat configuration and check you are not running 2 tomcat
instances listening on the same port.



- Original Message -
From: "James Hong" <[EMAIL PROTECTED]>
To: "Tomcat Help" <[EMAIL PROTECTED]>
Sent: Wednesday, December 18, 2002 1:12 AM
Subject: Error during Tomcat 3.3 startup


> Hi,
>
>I am running Tomcat 3.3 and it was working fine till I restarted my
> computer and I found out an error when I perform startup on the machine.
>
> Here's the error message I received:
>
> 2002-12-18 11:44:12 - AutoDeploy: Source or destination missing
> 2002-12-18 11:44:12 - ServerXmlReader: Config=$TOMCAT_HOME\conf\server.xml
> 2002-12-18 11:44:12 - PathSetter: home=C:\tomcat8081
> 2002-12-18 11:44:12 - ContextXmlReader: Context
> config=$TOMCAT_HOME\conf\apps-12
> 7.0.0.1.xml
> 2002-12-18 11:44:12 - ContextXmlReader: Context
> config=$TOMCAT_HOME\conf\apps-ad
> min.xml
> 2002-12-18 11:44:12 - ContextXmlReader: Context
> config=$TOMCAT_HOME\conf\apps-ex
> amples.xml
> 2002-12-18 11:44:12 - AutoWebApp: No autoconf directory
> C:\tomcat8081\modules
> 2002-12-18 11:44:12 - AutoWebApp: Auto-Adding DEFAULT:/
> 2002-12-18 11:44:12 - AutoWebApp: Auto-Adding DEFAULT:/mymps
> 2002-12-18 11:44:12 - AutoWebApp: Loaded from config: DEFAULT:/examples
> 2002-12-18 11:44:12 - AutoWebApp: Loaded from config: DEFAULT:/admin
> 2002-12-18 11:44:12 - ContextManager: Tomcat configured and in stable
state
> 2002-12-18 11:44:12 - ContextManager: Adding  DEFAULT:/admin
> 2002-12-18 11:44:12 - ContextManager: Adding  DEFAULT:/examples
> 2002-12-18 11:44:12 - ContextManager: Adding  DEFAULT:/ROOT
> 2002-12-18 11:44:12 - ContextManager: Adding  DEFAULT:/mymps
> EmbededTomcat: Init time 546
> 2002-12-18 11:44:12 - Http10Interceptor: Starting on 8081
> Guessed home=C:\tomcat8081
> Exception: java.lang.reflect.InvocationTargetException
> java.lang.reflect.InvocationTargetException:
> org.apache.tomcat.core.TomcatExcept
> ion: Root cause - Address in use: JVM_Bind:8007
> at
> org.apache.tomcat.modules.server.PoolTcpConnector.engineStart(PoolTcp
> Connector.java:132)
> at
> org.apache.tomcat.core.ContextManager.start(ContextManager.java:639)
> at
> org.apache.tomcat.startup.EmbededTomcat.start(EmbededTomcat.java:586)
>
> at
> org.apache.tomcat.startup.EmbededTomcat.execute1(EmbededTomcat.java:7
> 10)
> at
> org.apache.tomcat.startup.EmbededTomcat$1.run(EmbededTomcat.java:687)
>
> at
> org.apache.tomcat.util.compat.Jdk12Support$PrivilegedProxy.run(Jdk12S
> upport.java:190)
> at java.security.AccessController.doPrivileged(Native Method)
> at
> org.apache.tomcat.util.compat.Jdk12Support.doPrivileged(Jdk12Support.
> java:100)
> at
> org.apache.tomcat.startup.EmbededTomcat.execute(EmbededTomcat.java:68
> 5)
> at java.lang.reflect.Method.invoke(Native Method)
> at
> org.apache.tomcat.util.IntrospectionUtils.execute(IntrospectionUtils.
> java:87)
> at org.apache.tomcat.startup.Main.execute(Main.java:313)
> at org.apache.tomcat.startup.Main.main(Main.java:140)
> Root Exception: org.apache.tomcat.core.TomcatException: Root cause -
Address
> in
> use: JVM_Bind:8007
> org.apache.tomcat.core.TomcatException: Root cause - Address in use:
> JVM_Bind:80
> 07
> at
> org.apache.tomcat.modules.server.PoolTcpConnector.engineStart(PoolTcp
> Connector.java:132)
> at
> org.apache.tomcat.core.ContextManager.start(ContextManager.java:639)
> at
> org.apache.tomcat.startup.EmbededTomcat.start(EmbededTomcat.java:586)
>
> at
> org.apache.tomcat.startup.EmbededTomcat.execute1(EmbededTomcat.java:7
> 10)
> at
> org.apache.tomcat.startup.EmbededTomcat$1.run(EmbededTomcat.java:687)
>
> at
> org.apache.tomcat.util.compat.Jdk12Support$PrivilegedProxy.run(Jdk12S
> upport.java:190)
> at java.security.AccessController.doPrivileged(Native Method)
> at
> org.apache.tomcat.util.compat.Jdk12Support.doPrivileged(Jdk12Support.
> java:100)
> at
> org.apache.tomcat.startup.EmbededTomcat.execute(EmbededTomcat.java:68
> 5)
> at java.lang.reflect.Method.invoke(Native Method)
> at
> org.apache.tomcat.util.IntrospectionUtils.execute(IntrospectionUtils.
> java:87)
> at org.apache.tomcat.startup.Main.execute(Main.java:313)
> at org.apache.tomcat.startup.Main.main(Main.java:140)
>
>
> Thanks & Cheers,
> James Hong
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.423 / Virus Database: 238 - Release Date: 11/25/2002
>
>
> --
> To unsubscribe, e-mail:

> For additional commands, e-mail:

>
>


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Almost there...Updated Apach-Tomcat with mod_jk .. please he lp!

2002-12-15 Thread Rafael Angarita
> I ran ps -A which listed all processes.  httpd (apache) was not one of
them.
> I am assuming PID means Port ID(?), and neither 443 nor 80 was listed...
> This is all very strange and I am starting to sense that I will have to
> reinstall Apache...

PID is process id.
Denise, if you are under Solaris try lsof (I'm not sure if the sources
are available to compile it under another platform)

Run:
# lsof -i -n -C | grep 443
it should returns the process that is using the port 443
(use -C option if you are under Solaris 5.8)



--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Howto specify servlets directory

2002-11-27 Thread Rafael Angarita
   Hi,

   I want to configure tomcat to  handle servlets in the URL  /servlet 
and in  /some_dir/servlet, is it necesary to indicate something in the 
config files? or change anything?
   I'm using tomcat 3.2.4

   Thanks in advance,

--

Rafael Angarita




--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>



Re: Multiple instanceq

2002-11-25 Thread Rafael Angarita
   In this URL I found instructions for tomcat 3.2.x:
http://www.andreasklimke.de/webdev/misc.html#4.2.2


Hari Venkatesan wrote:


Have anybody tried creating multiple tomcat instances. Is there any
documentation that explains this step by step?

Hari

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>



 


--

Rafael Angarita
Systems Administrator
(+58212)(2009765)




--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




JkMount question

2002-11-22 Thread Rafael Angarita
   Hi,

   Does anybody knows if it's important the order of JkMount 
directives?, for example:

   I have two tomcat instances T1 and T2,  
   - The loadbalancer should handle all the requests to the entire site 
(and do a load balance between  T1 and T2) except for /app1 context
   - T2 should handle all the requests to /app1 context

   What's the right order of JkMount directives in my .conf file? does 
it matters?

   Thanks in advance,

--

Rafael Angarita



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>



Multiples JVM in different hosts with different tomcat versions

2002-11-07 Thread Rafael Angarita
   Hi!

   Does anybody know if it's possible to configure multiple JVM in 
different hosts but using different tomcat versions on each host? 
(tomcat3.2.4 and tomcat3.3.1)
   If so, could you give me an url to check the docs? I'm trying it 
with the docs in tomcat's site but when I use different tomcat versions 
it doesn't works... (it works with the same tomcat version)

   Thanks an advance,

--

Rafael Angarita
Sistems Administrator
Telcel Bellsouth
(+58212)(2009765)



--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>



Logs and stdout

2002-10-09 Thread Rafael Angarita

Hi,

Is there any known issue about use stdout to send  application 
logging messages?
My programmers use to send all the messages debug and information 
messages to stdout (System.out...),  and I'm wondering if this could 
associated with some problems related with poor performance and hangs up 
in our site.

Thanks in advance,

-- 

Rafael Angarita
System Administrator
(+58212)(2009765)




--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




Re: Out of Memory Exception

2002-10-01 Thread Rafael Angarita

Did you installed the solaris 8 patches for jdk1.4?

Roger Ting wrote:

>Sun OS 5.8. The funny thing is if i use Tomcat 1.3, this doesn't occur at
>all. But in my case, i need to use jdk 1.4 for cocoon 2.0.3.
>This is the source of headache. After i installed Cocoon, it is even worse.
>Out of Memory error just completely killed
>Tomcat. It is possible to use Tomcat with jdk 1.3.1 and cocoon 2.0.3 and
>both start up fine. However, problem occur
>when i intend to use Tomcat and Cocoon to connect to a databases using jdbc.
>So currently, my only hope is
>cocoon 2.0.3 and Tomcat 4.1 and JDK 1.4 and MySql J-Connector.
>
>Just need to know how to suppress Tomcat or Cocoon to take up so much memory
>
>Someone suggested it is due to  memory leak. I am installing the binary
>version of Tomcat. How can that be?
>
>
>
>- Original Message -
>From: "Michael Nicholson" <[EMAIL PROTECTED]>
>To: "Tomcat Users List" <[EMAIL PROTECTED]>
>Sent: Wednesday, October 02, 2002 4:19 AM
>Subject: Re: Out of Memory Exception
>
>
>  
>
>>We'll probably need more information... what are trying to do?  Does it
>>happen immediately, or minutes/hours/days/weeks down the road?  What OS
>>
>>
>are
>  
>
>>you running it on?  etc.
>>
>>Mike
>>- Original Message -
>>From: "Roger Ting" <[EMAIL PROTECTED]>
>>To: <[EMAIL PROTECTED]>
>>Sent: Sunday, September 29, 2002 4:24 PM
>>Subject: Out of Memory Exception
>>
>>
>>I keep getting java lang out of memory error even i set
>>-Xmx to 64 meg. Does anyone know how to solve this problem?
>>
>>I am using jdk 1.4 Tomcat 4.1
>>
>>
>>--
>>To unsubscribe, e-mail:
>>
>>
><mailto:[EMAIL PROTECTED]>
>  
>
>>For additional commands, e-mail:
>>
>>
><mailto:[EMAIL PROTECTED]>
>  
>
>
>
>--
>To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
>
>
>  
>

-- 

Rafael Angarita
Administrador de Sistemas
Telcel Bellsouth
(+58212)(2009765)





Problem with classNotFound and multiples contexts

2002-10-01 Thread Rafael Angarita

Hi!

I have a tomcat 3.3.1 server with two contexts, root (default) and 
c1, both of them have its own WEB-INF/lib directory. The file  j0.jar 
 is copied in each WEB-INF/lib directory but when the server starts  the 
 server indicates a ClassNotFoundException but  the class in in  j0 .jar
If I set the classpath explicitly with the j0.jar,  everything works 
fine.
It's not supposed  all the .jar  in the lib directory are included 
in the classpath for that context?

Any suggestions?, thanks in advance

-- 

Rafael Angarita




--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




Socket timeout tomcat 3.3.1

2002-09-26 Thread Rafael Angarita

Is it possible to set a timeout  to the sockets opened  between 
 http processes and  tomcat? (tomcat 3.3.1 using ajp13)
I want to force the disconection from apache if the request is 
answered to slowly by tomcat.

Thanks in advance

-- 

Rafael Angarita
Administrador de Sistemas
Telcel Bellsouth
(+58212)(2009765)



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




Re: Shutting down tomcat 3.3.1

2002-09-26 Thread Rafael Angarita

The file wasn't there,  I copy the file and everything is ok now.

Thanks a lot!

Larry Isaacs wrote:

>The default configuration of Tomcat 3.3.1 writes the needed
>shutdown port number in "conf/ajp12.id" when it starts up.
>By default, the shutdown handling tries to read it from this
>file.  What do you see for the contents of this file?
>
>Cheers,
>Larry
>
>  
>
>>-Original Message-
>>From: Rafael Angarita [mailto:[EMAIL PROTECTED]] 
>>Sent: Wednesday, September 25, 2002 3:57 PM
>>To: Tomcat Users List
>>Subject: Shutting down tomcat 3.3.1
>>
>>
>>Where is configured the port  to shutdown tomcat 3.3.1?
>>
>>I'm getting this error: when trying to shutdown tomcat using
>># $TOMCAT_HOME/bin/tomcat.sh stop
>>
>>...
>>Root Exception: java.lang.IllegalArgumentException: port out 
>>of range:-1
>>java.lang.IllegalArgumentException: port out of range:-1
>>...
>>
>>It looks like the port is not setted  (AJP12 and AJP13 are 
>>configured in server.xml to bind to ports 8007 and 8009 respectively)
>>
>>Thanks in advance
>>
>>--
>>
>>Rafael Angarita
>>
>>
>>
>>
>>
>
>--
>To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
>
>
>  
>

-- 

Rafael Angarita
Administrador de Sistemas
Telcel Bellsouth
(+58212)(2009765)





Shutting down tomcat 3.3.1

2002-09-25 Thread Rafael Angarita

Where is configured the port  to shutdown tomcat 3.3.1?

I'm getting this error: when trying to shutdown tomcat using
# $TOMCAT_HOME/bin/tomcat.sh stop

...
Root Exception: java.lang.IllegalArgumentException: port out of range:-1
java.lang.IllegalArgumentException: port out of range:-1
...

It looks like the port is not setted  (AJP12 and AJP13 are 
configured in server.xml to bind to ports 8007 and 8009 respectively)

Thanks in advance

--

Rafael Angarita





Problem shutting down tomcat

2002-09-25 Thread Rafael Angarita

I just installed tomcat3.3.1 compiling the sources (to increase the 
ThreadPool size to 2000) , but  there's a problem shutting down the java 
process (using tomcat.sh stop),  an exception is thrown  and  the 
process keeps alive (I have to force to finish with shutdown.sh -force 
or sending a SIGKILL)
The output from tomcat.sh

Using classpath: /usr/local/tomcat/bin/../lib/tomcat.jar
Using JAVA_HOME: /usr/java
Using TOMCAT_HOME: /usr/local/tomcat
Stopping Tomcat.
Stopping tomcat on null:-1 null
Guessed home=/usr/local/tomcat-3.3.1
Exception: java.lang.reflect.InvocationTargetException
java.lang.reflect.InvocationTargetException


Any suggestion?

Thanks in advance,

-- 

Rafael Angarita
Administrador de Sistemas
Telcel Bellsouth
(+58212)(2009765)





Tomcat performance problems after a while

2002-09-19 Thread Rafael Angarita

My webserver is stopping  answering requests or answers too slowly 
after a while running.
If  a http request is sent  to tomcat directly it's answered quickly 
but the same request to apache takes a lot of time to be answered 
(request a .jsp file).
If  the tomcat process is  stopped and started again (the apache is 
not stopped), the requests to apache are answered quickly.
It looks like something is happening inside the java process that 
produces a poor performance after a while, but I have no clue, how to 
look inside the java, it could be a configuration issue or  an 
application issue  but all  I  can see  is not helpful to establish the 
main reason
Any suggestion?  

The environment:
- Solaris 8
- Apache 1.3.26
- tomcat 3.2.4
- java 1.2
- TheadPool Max = 600

Thanks is advance,

-- 

Rafael Angarita




--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




Re: Static content

2002-09-19 Thread Rafael Angarita

John,  where can I find this attribute in server.xml (a default 
server.xml) in tomcat 3.2.4?... I see nothing there... what's the  xml 
tab  that belongs this?

Thanks


Turner, John wrote:

>I would add that you need 
>
>forwardAll="false"
>
>in your Listener configuration in server.xml.  The default is "true", and if
>"true", ALL requests get passed to Tomcat.
>
>John
>
>
>  
>
>>-Original Message-
>>From: Robert L Sowders [mailto:[EMAIL PROTECTED]]
>>Sent: Wednesday, September 18, 2002 7:02 PM
>>To: Tomcat Users List
>>Subject: Re: Static content
>>
>>
>>From your description we can only tell what you expect it to 
>>do.  To find 
>>out where the problem is we will need to see your configs.  
>>httpd.conf 
>>mod_jk.conf server.xml etc etc.
>>
>>Till then we're just guessing.
>>
>>rls
>>
>>
>>
>>
>>
>>[EMAIL PROTECTED]
>>09/18/2002 02:45 PM
>>Please respond to "Tomcat Users List"
>>
>> 
>>To: [EMAIL PROTECTED]
>>cc: 
>>Subject:Static content
>>
>>I am using Apache with Tomcat 3.2.4 and am trying to figure 
>>out how the
>>connector really works.  I am using mod_jk.  Basically, the 
>>question I 
>>have
>>is:  Does static content get served up by Apache or Tomcat?  
>>I would like
>>static content to be served up by Apache, but I'm not 
>>confident that it is
>>in my configuration.  My normal configuration is to have all 
>>of my files,
>>including static content, reside in the /webapps/app1
>>directory.  server.xml is configured such that the docbase for this 
>>context
>>is "/".  My apache config includes the mod_jk.conf-auto, which
>>automatically generates a "context" for app1 and JkMount 
>>directives for
>>/*.jsp and /servlet/*.  My DocumentRoot in httpd.conf is also 
>>pointing to
>>the same directory (/tomcat/webapps/app1).   Up until now, I 
>>assumed that
>>Apache was only passing on request for jsps or servlets to 
>>Tomcat, and 
>>that
>>it was serving up static content itself.  However, now I'm 
>>skeptical and
>>here is why.  If I change the DocumentRoot to a directory 
>>outside of the
>>/tomcat/webapps directory, and place my static content there, 
>>things seems
>>to function as expected.  If I add another context in 
>>/tomcat/webapps/test,
>>with a docbase of /test and place a static file in that 
>>context, it stills
>>gets served up (which I would NOT expect, since my JkMounts 
>>say to only
>>pass .jsp and servlet requests).  This leads me to believe 
>>that Apache is
>>passing  requests to Tomcat based  on the contexts that it 
>>knows about 
>>thru
>>mod_jk.conf, and not based on the JkMounts defined therein.  
>>Does anyone
>>have specifics on how the connector really works?
>>This correspondence may contain information that is confidential,
>>proprietary or "non-public personal information", as that 
>>term is defined
>>in the Gramm-Leach-Bliley Act (collectively, "Confidential 
>>Information").
>>The Confidential Information is disclosed conditioned upon 
>>your agreement
>>that you will treat all Confidential Information confidentially and in
>>accordance with applicable law, ensure that such information 
>>is not used 
>>or
>>disclosed except for the limited purpose for which it is 
>>being provided 
>>and
>>will notify and cooperate with Flagstar Bank regarding any requested
>>disclosure or any unauthorized disclosure or use of any Confidential
>>Information.  By accepting and reviewing the Confidential 
>>Information you
>>agree to indemnify Flagstar Bank against any losses or 
>>expenses, including
>>attorney's fees that Flagstar Bank may incur as a result of any
>>unauthorized use or disclosure of the Confidential 
>>Information due to your
>>acts or omissions.  If this correspondence is received by a 
>>party other
>>than the intended recipient, you are requested to immediately 
>>notify us of
>>the erroneous delivery and return to us all information so delivered.
>>
>>
>>--
>>To unsubscribe, e-mail:   
>>
>>
><mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail:
><mailto:[EMAIL PROTECTED]>
>
>
>
>
>
>--
>To unsubscribe, e-mail:
><mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail:
><mailto:[EMAIL PROTECTED]>
>
>--
>To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
>
>
>  
>

-- 

Rafael Angarita
Administrador de Sistemas
Telcel Bellsouth
(+58212)(2009765)





Re: files open limit

2002-09-05 Thread Rafael Angarita

  Try using lsof, this tool could help you telling which fd are opened 
by a specific process:
# lsof -i -n|grep PID


Peter Choe wrote:

> i have been getting an error on my FreeBSD 3.4 system which is running 
> tomcat 3.2.  after a while, i get a 'too many files open in system' 
> error and it freezes tomcat and the whole server.
>
> i looked at the ulimit on the system and it says that the file limit 
> is 1024.  i have no idea if this is too low normally.  it seems to be 
> too low for my usage.  i even went back to check my webapps to make 
> sure that i am close all the connections, but it seems that some 
> connections, files and databases, are being kept open.  is there 
> anyway to know which webapps are causing the problem?
>
>
> -- 
> To unsubscribe, e-mail:   
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: 
> <mailto:[EMAIL PROTECTED]>
>
>
>

-- 

Rafael Angarita




--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




Problem with apache and tomcat

2002-09-03 Thread Rafael Angarita

Hi, I'm having a problem with tomcat and apache,  the main symptom 
is  apache  gets too slow and  the website   does not respond almost any 
request. It looks like tomcat is not responding fast enough the  apache 
requests or  tomcat  is not closing the sockets (that's why they appear 
in  IDLE state)

What I see:
- Apache gets its MaxClients  number
- A lot of sockets between  apache and tomcat  are in "IDLE" state. 
The socket between the http process and the client is closed
- The number of threads  in  tomcat are increasing  reaching 
sometimes the max configured (it's two times the MaxClients in apache)
- The java's heap is not reaching its  upper limit
- There's no memory need (scan rate keeps under 50)
- There's not CPU problem (run queue keeps under 1)
- If I increase the number of apache MaxClients, the number of http 
process reach that limit  and  most of them  turns into IDLE state.

The environment:
- Apache 1.3.26
- Tomcat 3.2.4  (using ajp12 I switched to ajp13 and it was no changes)
- Solaris 8

  Any suggestion will be  appreciated,



--
To unsubscribe, e-mail:   
For additional commands, e-mail: