Re: 500 - Internal server error

2005-07-13 Thread Ayyanar Inbamohan
It is throwing out of memeory error

--- Tim Funk [EMAIL PROTECTED] wrote:

 You'll need to check the logs. When you have such a
 high load, it can be any 
 number of reasons.
 
 -Tim
 
 Ayyanar Inbamohan wrote:
 
  Hi all,
  
   My web application run in an intranet site, i
 used
  jmeter for testing the Load and performance,
   when the concurrent user is set to 500  in jmeter
 to
  test the application i am getting  500 - Internal
  server error 
  
   what is the cause for this problem,
   any solutions,
   
 

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


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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



RE: 500 - Internal server error

2005-07-13 Thread Ayyanar Inbamohan

 I used jmeter to test the performance, and i found
the  leak in the database connections, then i checked
the code and corrected it. then when i use 500 users
concurrently in jmeter to test my application running
in tomcat. i am getting this internal server error.

Is there is any way to increase the number of threads
in tomcat?

--- Allistair Crossley [EMAIL PROTECTED]
wrote:

 That's your answer then, give Tomcat more memory, or
 look for leaks in your code with a profiler.
 
  -Original Message-
  From: Ayyanar Inbamohan
 [mailto:[EMAIL PROTECTED]
  Sent: 13 July 2005 12:07
  To: Tomcat Users List
  Subject: Re: 500 - Internal server error
  
  
  It is throwing out of memeory error
  
  --- Tim Funk [EMAIL PROTECTED] wrote:
  
   You'll need to check the logs. When you have
 such a
   high load, it can be any 
   number of reasons.
   
   -Tim
   
   Ayyanar Inbamohan wrote:
   
Hi all,

 My web application run in an intranet site, i
   used
jmeter for testing the Load and performance,
 when the concurrent user is set to 500  in
 jmeter
   to
test the application i am getting  500 -
 Internal
server error 

 what is the cause for this problem,
 any solutions,
 
   
  
 

-
   To unsubscribe, e-mail:
   [EMAIL PROTECTED]
   For additional commands, e-mail:
   [EMAIL PROTECTED]
   
   
  
  
  __
  Do You Yahoo!?
  Tired of spam?  Yahoo! Mail has the best spam
 protection around 
  http://mail.yahoo.com 
  
 

-
  To unsubscribe, e-mail:
 [EMAIL PROTECTED]
  For additional commands, e-mail:
 [EMAIL PROTECTED]
  
  
 
 
 FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE 

---
 QAS Ltd.
 Registered in England: No 2582055
 Registered in Australia: No 082 851 474

---
 /FONT
 
 

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





Start your day with Yahoo! - make it your home page
http://www.yahoo.com/r/hs
 

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



Pls give suggestions in tomcat tunning in production environment

2005-07-13 Thread Ayyanar Inbamohan
Hi all,


 Now our webapp is running in production environment,
nearly 500 people can ask it simultaneously, so the
server performance is very low in all aspects.

 so, anyone help me,  how to tune the tomcat for the
production environment. 

   increasing memory and ...

 I am  using apache at the front to serve the pages.

thanks,
inr. 

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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



500 - Internal server error

2005-07-12 Thread Ayyanar Inbamohan
Hi all,

 My web application run in an intranet site, i used
jmeter for testing the Load and performance,
 when the concurrent user is set to 500  in jmeter to
test the application i am getting  500 - Internal
server error 

 what is the cause for this problem,
 any solutions,

 

thanks,
inr.

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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



How to increase the heap size no of threads

2005-07-12 Thread Ayyanar Inbamohan

Hi all,

 CAn anyone help me ?
 How to increase the number of threads that tomcat can
process ?

 Also how to increase the size of the heap?

thanks in advance,
Ayyanar.

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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



JSP pages stopped compiling when upgrading to 4.1

2005-06-23 Thread Ayyanar Inbamohan
I'm migrating pages that worked in 3.xxx Tomcat up to
Tomcat 4.1. 
 Thestart of the page is like,

this:

jsp:root
xmlns:xtags=http://jakarta.apache.org/taglibs/xtags-1.0;
xmlns:jsp=http://java.sun.com/JSP/Pagexmlns:xsi=http://www.w3.org/2001/XMLSchema-instancexsi:schemaLocation=http://java.sun.com/JSP/Pagehttp://java.sun.com/dtd/jspxml.xsd;/jsp:rootYet,
with 4.1, 

these exceptions are occuring when I try to
compile:org.apache.jasper.JasperException: Unable to
compile class for JSP

at
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:479)at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:184)at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:289)at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:240)at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)atorg.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)at


do anyone have solution for this problem.



__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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



website stops answering requests from time to time

2005-06-22 Thread Ayyanar Inbamohan
This is a production site. We use Tomcat 4.1.

website stops answering requests from time to time

Our website is under very high daily volume. Several
times a week, no  
requests are answered. 

Here is the log exception:

java.util.ConcurrentModificationException

at
java.util.HashMap$HashIterator.nextEntry(HashMap.java:782)

at
java.util.HashMap$EntryIterator.next(HashMap.java:824)

at java.util.HashMap.writeObject(HashMap.java:976)

at
sun.reflect.GeneratedMethodAccessor133.invoke(Unknown
Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke

(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:324)

at java.io.ObjectStreamClass.invokeWriteObject

(ObjectStreamClass.java:809)

at java.io.ObjectOutputStream.writeSerialData

(ObjectOutputStream.java:1296)

at java.io.ObjectOutputStream.writeOrdinaryObject

(ObjectOutputStream.java:1247)

at java.io.ObjectOutputStream.writeObject0

(ObjectOutputStream.java:1052)

at java.io.ObjectOutputStream.writeObject

(ObjectOutputStream.java:278)

at
org.apache.catalina.session.StandardSession.writeObject

(StandardSession.java:1429)

at
org.apache.catalina.session.StandardSession.writeObjectData

(StandardSession.java:852)

at org.apache.catalina.session.JDBCStore.save

(JDBCStore.java:690)

at

org.apache.catalina.session.PersistentManagerBase.writeSession

(PersistentManagerBase.java:

739)

at 

org.apache.catalina.session.PersistentManagerBase.processMaxIdleBackups

(PersistentManagerBase.java

:1063)

at 

org.apache.catalina.session.PersistentManagerBase.processPersistenceChecks(PersistentManagerBase.ja

va:477)

at
org.apache.catalina.session.PersistentManagerBase.run

(PersistentManagerBase.java:1141)

at java.lang.Thread.run(Thread.java:534)

 

Thanks in Advance,

inr..



__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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