Persistence Manager choice...

2002-07-02 Thread Vincent Lambert

Hi,
 
We are looking for a persistence manager. We are testing Castor (from
exolab : http://castor.exolab.org) and ObjectBridge (from jakarta :
http://jakarta.apache.org/ojb/).
 
Does any one have an opinion one those projects.
 
 
Thanks for your comments,
 
Regards,
Vincent



Frameset problem

2002-05-07 Thread Vincent Lambert

Hi,

I am using TC 4.0.3 with JDK 1.4 connected to apache with webapp
connector.
Every thing works find except when i call two or more JSP within a
frameset !

Did someone experience the same problem and how can I fixe it.

Thanks in advance,

Regards,
Vince

PS : My files...

httpd.conf :

VirtualHost 192.10.200.65
ServerName www.test6.vla
DocumentRoot C:\dev\projets\FrameSet
WebAppConnection warpTest6 warp localhost:8008
WebAppDeploy test5 warpTest6 /webapp
/VirtualHost


server.xml:

Host name =www.test6.vla
Context path=/webapp
 docBase=C:\dev\projets\FrameSet\webapp /
Logger className=org.apache.catalina.logger.FileLogger
prefix=test6. siffix=.out
timestamp=true/
/Host


index.html:

frameset rows=20%,*
frame name=menu src=/page_0.html/
frameset cols=50%,50%
frame name=menu src=/webapp/jsp/jsp_1.jsp/
frame name=menu src=/webapp/jsp/jsp_2.jsp/
/frameset
/frameset



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




RE : Frameset problem

2002-05-07 Thread Vincent Lambert

Apache is not responding any more...


-Message d'origine-
De : Abraham Fathman [mailto:[EMAIL PROTECTED]] 
Envoye : mardi 7 mai 2002 16:31
A : 'Tomcat Users List'
Objet : RE: Frameset problem


What is the problem that you are having?

I had a problem in a similar context with sessions. This is because the
first url I would goto was domain.com and then I would get redirected to
server.domain.com...

Abe

-Original Message-
From: Vincent Lambert [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, May 07, 2002 8:11 AM
To: 'Tomcat Users List'
Subject: Frameset problem


Hi,

I am using TC 4.0.3 with JDK 1.4 connected to apache with webapp
connector. Every thing works find except when i call two or more JSP
within a frameset !

Did someone experience the same problem and how can I fixe it.

Thanks in advance,

Regards,
Vince

PS : My files...

httpd.conf :

VirtualHost 192.10.200.65
ServerName www.test6.vla
DocumentRoot C:\dev\projets\FrameSet
WebAppConnection warpTest6 warp localhost:8008
WebAppDeploy test5 warpTest6 /webapp
/VirtualHost


server.xml:

Host name =www.test6.vla
Context path=/webapp
 docBase=C:\dev\projets\FrameSet\webapp /
Logger className=org.apache.catalina.logger.FileLogger
prefix=test6. siffix=.out
timestamp=true/
/Host


index.html:

frameset rows=20%,*
frame name=menu src=/page_0.html/
frameset cols=50%,50%
frame name=menu src=/webapp/jsp/jsp_1.jsp/
frame name=menu src=/webapp/jsp/jsp_2.jsp/
/frameset
/frameset



--
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]




Re: JDBC-JNDI connection pooling

2002-04-25 Thread Vincent Lambert

Hello Vincent,

Did you ever figure out your problem with this?  I am also getting
null with pretty much the same configuration as you, except I am using
url instead of driverName.

I am also using Tomcat-4.1-dev (one of the nightly builds that uses
DBCP rather than Tyrex.

Anyway, if you find anything, can you send the solution my way?  I'll
do the same from this end.

thanks,

Jake

Tuesday, April 23, 2002, 4:55:14 AM, you wrote:

VL I am trying to use database connection pooling with Tomcat 4.0.3 through
VL JNDI (jdk 1.4).
VL I am using MySQL database with mm.mysql driver v 2.0.12.
 
VL Context initCtx   = new InitialContext();
VL Context envCtx= (Context) initCtx.lookup(java:comp/env);
VL DataSource w_ds   = (DataSource) envCtx.lookup(jdbc/ds);
 
VL With this code inserted into a servlet or a JSP, I am getting a NULL
VL DataSource !
 
 
VL Here is a piece of my configuration files:
VL server.xml:
VL Resource name=jdbc/ds auth=Container type=javax.sql.DataSource/
VL ResourceParams name=jdbc/ds
VL parameter
VL namedriverClassName/name
VL valueorg.gjt.mm.mysql.Driver/value
VL /parameter
VL parameter
VL namedriverName/name
VL valuejdbc:mysql://localhost/test/value
VL /parameter
VL parameter
VL nameuser/name
VL valueyouruser/value
VL /parameter
VL parameter
VL namepassword/name
VL valueyourpasswd/value
VL /parameter
VL /ResourceParams
 
VL web.xml:
VL resource-ref
VL description
VL Resource reference to a factory for javax.sql.Datasource
VL /description
VL res-ref-namejdbc/ds/res-ref-name
VL res-typejavax.sql.DataSource/res-type
VL res-authContainer/res-auth
VL /resource-ref

 
VL Thanks for help...
 
VL Regards,
VL Vincent



-- 
Best regards,
 Vincentmailto:[EMAIL PROTECTED]


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




JDBC-JNDI connection pooling

2002-04-23 Thread Vincent Lambert

I am trying to use database connection pooling with Tomcat 4.0.3 through
JNDI (jdk 1.4).
I am using MySQL database with mm.mysql driver v 2.0.12.
 
Context initCtx   = new InitialContext();
Context envCtx= (Context) initCtx.lookup(java:comp/env);
DataSource w_ds   = (DataSource) envCtx.lookup(jdbc/ds);
 
With this code inserted into a servlet or a JSP, I am getting a NULL
DataSource !
 
 
Here is a piece of my configuration files:
server.xml:
Resource name=jdbc/ds auth=Container type=javax.sql.DataSource/
ResourceParams name=jdbc/ds
parameter
namedriverClassName/name
valueorg.gjt.mm.mysql.Driver/value
/parameter
parameter
namedriverName/name
valuejdbc:mysql://localhost/test/value
/parameter
parameter
nameuser/name
valueyouruser/value
/parameter
parameter
namepassword/name
valueyourpasswd/value
/parameter
/ResourceParams
 
web.xml:
resource-ref
description
Resource reference to a factory for javax.sql.Datasource
/description
res-ref-namejdbc/ds/res-ref-name
res-typejavax.sql.DataSource/res-type
res-authContainer/res-auth
/resource-ref

 
Thanks for help...
 
Regards,
Vincent



RE : JDBC-JNDI connection pooling

2002-04-23 Thread Vincent Lambert

I made it work but i have another problem.
I get a No Suitable Driver when calling :

Connection conn = w_ds.getConnection();




-Message d'origine-
De : Nick Johnson [mailto:[EMAIL PROTECTED]] 
Envoye : mardi 23 avril 2002 17:02
A : Tomcat Users List
Objet : Re: JDBC-JNDI connection pooling


Take a look at my long spiel about the same problem; it should be in the
list archive from a day or two ago.

What I'd do first is this:

1. Make sure that the servlet doing the lookup is in the context you
think it's in. 2. Make sure you can connect to the database using a
short jdbc program using the same parameters you're using here.

On Tue, 23 Apr 2002, Vincent Lambert wrote:

 I am trying to use database connection pooling with Tomcat 4.0.3 
 through JNDI (jdk 1.4). I am using MySQL database with mm.mysql driver

 v 2.0.12.

 Context initCtx   = new InitialContext();
 Context envCtx= (Context) initCtx.lookup(java:comp/env);
 DataSource w_ds   = (DataSource) envCtx.lookup(jdbc/ds);

 With this code inserted into a servlet or a JSP, I am getting a NULL 
 DataSource !


 Here is a piece of my configuration files:
 server.xml:
 Resource name=jdbc/ds auth=Container 
 type=javax.sql.DataSource/ ResourceParams name=jdbc/ds
 parameter
 namedriverClassName/name
 valueorg.gjt.mm.mysql.Driver/value
 /parameter
 parameter
 namedriverName/name
 valuejdbc:mysql://localhost/test/value
 /parameter
 parameter
 nameuser/name
 valueyouruser/value
 /parameter
 parameter
 namepassword/name
 valueyourpasswd/value
 /parameter
 /ResourceParams

 web.xml:
 resource-ref
 description
 Resource reference to a factory for javax.sql.Datasource
 /description
 res-ref-namejdbc/ds/res-ref-name
 res-typejavax.sql.DataSource/res-type
 res-authContainer/res-auth
 /resource-ref


 Thanks for help...

 Regards,
 Vincent


-- 
The aptly-named morons.org is an obscenity-laced screed...
-- Robert P. Lockwood, Catholic League director of research
Nick Johnson, version 2.0 http://www.spatula.net/


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Tomcat's threads... please help

2002-03-28 Thread Vincent Lambert

I am using Tomcat 4.0.3 with j2sdk1.4.0 behind apache 1.3 with an warp
connector (Sun Cobalt Raq4 kernel 2.2.16).
 
Connector
className=org.apache.catalina.connector.warp.WarpConnector
 port=8008 minProcessors=5 maxProcessors=10
 enableLookups=true
 acceptCount=10 debug=0/
 
Engine className=org.apache.catalina.connector.warp.WarpEngine
 name=Apache debug=0
 
  Logger className=org.apache.catalina.logger.FileLogger
  prefix=apache_log. suffix=.log
  timestamp=true/
 
  Realm className=org.apache.catalina.realm.MemoryRealm /

  Host name=www.host.com
Context path=
 docBase=/home/sites/www.host.com/web /
Logger className=org.apache.catalina.logger.FileLogger
prefix=host.com. suffix=.log
timestamp=true /
  /Host
...
 
There is 10 hosts declared with this connector.
Each one is declared in httpd.conf within a virtualhost
 
VirtualHost xxx.xxx.xxx.xxx
ServerName www.host.com
ServerAdmin site12
DocumentRoot /home/sites/site12/web
WebAppConnection warphost warp localhost:8008
WebAppDeploy host warphost /
/VirtualHost
 
 
The number on java threads grown until there is no more ressources on
the server.
The last time I checked, there was 140 java threads running at the same
time each one with it's own PID.
 
I don't undurstand why there is somy many java threads. I have fixed the
maxProcessors to 10, so I should have 10 threads running.
 
 
 
Thanks for helping.
Vince
 
PS : Excuse my poor english !




RE : RE : many java processes

2002-03-22 Thread Vincent Lambert

I know that but my question is why do i have so many thread.
I set up my configuration with 10 maxProcessor so I should have 10 java
threads.

-Message d'origine-
De : Gregor Kovae [mailto:[EMAIL PROTECTED]] 
Envoye : vendredi 22 mars 2002 19:00
A : Tomcat Users List
Objet : RE : many java processes


Hi!

I think that this is because threads are represented like processes
under 
Linux.

Best regards,
 Kovi

At 18:25 22.3.2002 +0100, you wrote:
I am running Tomcat 4.0.3 with j2sdk1.4.0, Apache 1.3 with a webapp 
connector on a Cobalt Raq4 server (kernel 2.2.16C28_III). I don't 
understand there is so many java processes (more than 130). There is 8 
sites that include a web application.

Here is parts of my configuration files :

Server port=8005 shutdown=SHUTDOWN debug=0
   Service name=Tomcat-Apache
 Connector 
className=org.apache.catalina.connector.warp.WarpConnector
  port=8008 minProcessors=5 maxProcessors=10
  enableLookups=true appBase=webapps
  acceptCount=10 debug=debug/
 Engine className=org.apache.catalina.connector.warp.WarpEngine
  name=Apache debug=0
   Logger className=org.apache.catalina.logger.FileLogger
   prefix=apache_log. suffix=.log
   timestamp=true/
   Realm className=org.apache.catalina.realm.MemoryRealm /
   Host name=www.site1.com
 Context path=
  docBase=/home/sites/www.site1.com/web /
 Logger className=org.apache.catalina.logger.FileLogger
 prefix=site1.com. suffix=.log
 timestamp=true /
   /Host
   Host name=www.site2.com
 Context path=
  docBase=/home/sites/www.site2.com/web /
 Logger className=org.apache.catalina.logger.FileLogger
 prefix=site2.com. suffix=.log
 timestamp=true /
   /Host
   Host name=www.site3.com
 Context path=
  docBase=/home/sites/www.site3.com/web /
 Logger className=org.apache.catalina.logger.FileLogger
 prefix=site3.com. suffix=.log
 timestamp=true /
   /Host
   Host name=www.site4.com
 Context path=
  docBase=/home/sites/www.site4.com/web /
 Logger className=org.apache.catalina.logger.FileLogger
 prefix=site4.com. suffix=.log
 timestamp=true /
   /Host
   Host name=www.site5.com
 Context path=
  docBase=/home/sites/www.site5.com/web /
 Logger className=org.apache.catalina.logger.FileLogger
 prefix=site5.com. suffix=.log
 timestamp=true /
   /Host
   Host name=www.site6.com
 Context path=
  docBase=/home/sites/www.site6.com/web /
 Logger className=org.apache.catalina.logger.FileLogger
 prefix=site6.com. suffix=.log
 timestamp=true /
   /Host  Host name=www.site7.com
 Context path=
  docBase=/home/sites/www.site7.com/web /
 Logger className=org.apache.catalina.logger.FileLogger
 prefix=site7.com. suffix=.log
 timestamp=true /
   /Host
   Host name=www.site8.com
 Context path=
  docBase=/home/sites/www.site8.com/web /
 Logger className=org.apache.catalina.logger.FileLogger
 prefix=site8.com. suffix=.log
 timestamp=true /
   /Host
 /Engine
   /Service
/Server


Thanks for helping

Regards
Vince

-Message d'origine-
De : Dean Hiller [mailto:[EMAIL PROTECTED]]
Envoye : jeudi 21 mars 2002 15:38
A : [EMAIL PROTECTED]
Objet : many java processes


On linux did anybody ever get a linux patch for fixing the problem of 
one process per java thread.  I read on the sun bug parade they were 
going to port to a new threading model but we needed to update the 
linux threading  I have seen many e-mails complaining about how 
tomcat creates s many processes and this is due to a JVM thing not 
tomcat. Does anybody know or is everyone just sitting by with many many

java processes on their linux? Any help, pointers you could give me 
would be great, thanks, Dean


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE : java.lan.OutOfMemoryError

2002-03-22 Thread Vincent Lambert

I encounter similar problem and i am running TC4.0.3 with JDK 1.4.

-Message d'origine-
De : David Hamilton [mailto:[EMAIL PROTECTED]] 
Envoyé : vendredi 22 mars 2002 18:59
À : Tomcat Users List; [EMAIL PROTECTED]
Objet : Re: java.lan.OutOfMemoryError


 'java.lan.OutOfMemoryError'

Coo - is your whole LAN out of memory?  Wow!  (Sorry couldn't resist.)

Seriously:  You using JDK 1.4?  We found that TC 3.2.3 with JDK 1.4 was
giving us a recursive IllegalStateException which locked up the server
and eventually fell over.

Reason:  Any cancelled or closed HTTP request would apparently cause
this problem.  Seems that this causes the output stream to be closed and
under JDK 1.4 any attempt to write to it causes an
IllegalStateException.

Closer investigation showed that the error handling in 3.2.3 was fairly
junky, (lots of empty exception handlers, hopefully addressed in 3.3/4.0
series) and it tries to handle by passing it to the error servlet, which
tries to write out the error, which gives an IllegalStateException,
which redirects to the error servlet, etc.

Solution:  TC 4.01 does not exhibit this behaviour, so we upgraded.

Hope that helps
david


- Original Message -
From: Robert Douglass [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Friday, March 22, 2002 12:06 PM
Subject: RE: java.lan.OutOfMemoryError


 I'm using Tomcat 3.2.3, by the way.

 -Original Message-
 From: Robert Douglass [mailto:[EMAIL PROTECTED]]
 Sent: Friday, March 22, 2002 1:01 PM
 To: Tomcat Users List
 Subject: RE: java.lan.OutOfMemoryError


 I also get this error:

 2002-03-22 12:59:29 - Ctx( /RobertDouglass ): IllegalStateException 
 in: R( /Robe rtDouglass + /img/Beetle5.jpg + null) Current state = 
 FLUSHED, new state = CODIN
 G

 but once again, only when I try to access it from the link on my 
 webpage, not when I run localhost:8080 -Original Message-
 From: Robert Douglass [mailto:[EMAIL PROTECTED]]
 Sent: Friday, March 22, 2002 12:53 PM
 To: Tomcat Group
 Subject: java.lan.OutOfMemoryError


 Hi all,
 When I run my webapp from localhost, everything seems to be fine. When

 I
put
 a link to in on my website and try running accessing it from there, I 
 get: 2002-03-22 12:47:12 - Ctx( /RobertDouglass ): Exception in: R( 
 /RobertDouglass +  /img/Beetle8.jpg + null) - 
 java.lang.OutOfMemoryError and Tomcat eventually crashes, but not 
 before my data is corrupted.

 I also get the following error:
 2002-03-20 22:27:01 - Ctx( /RobertDouglass ): IOException in: R( 
 /RobertDouglass
 + /img/Beetle6.jpg + null) Software caused connection abort: socket 
 + write
 error

 where do I start looking to fix this?

 Thanks,
 Robert Douglass


 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]


 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]


 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]




--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE : RE : java.lan.OutOfMemoryError

2002-03-22 Thread Vincent Lambert

How thread runs on your systèm ?

-Message d'origine-
De : Robert Douglass [mailto:[EMAIL PROTECTED]] 
Envoyé : vendredi 22 mars 2002 19:16
À : Tomcat Users List
Objet : RE: RE : java.lan.OutOfMemoryError


Darn, I had my hopes up for an easy solution!

-Original Message-
From: Vincent Lambert [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 22, 2002 7:10 PM
To: 'Tomcat Users List'
Subject: RE : java.lan.OutOfMemoryError


I encounter similar problem and i am running TC4.0.3 with JDK 1.4.

-Message d'origine-
De : David Hamilton [mailto:[EMAIL PROTECTED]]
Envoyé : vendredi 22 mars 2002 18:59
À : Tomcat Users List; [EMAIL PROTECTED]
Objet : Re: java.lan.OutOfMemoryError


 'java.lan.OutOfMemoryError'

Coo - is your whole LAN out of memory?  Wow!  (Sorry couldn't resist.)

Seriously:  You using JDK 1.4?  We found that TC 3.2.3 with JDK 1.4 was
giving us a recursive IllegalStateException which locked up the server
and eventually fell over.

Reason:  Any cancelled or closed HTTP request would apparently cause
this problem.  Seems that this causes the output stream to be closed and
under JDK 1.4 any attempt to write to it causes an
IllegalStateException.

Closer investigation showed that the error handling in 3.2.3 was fairly
junky, (lots of empty exception handlers, hopefully addressed in 3.3/4.0
series) and it tries to handle by passing it to the error servlet, which
tries to write out the error, which gives an IllegalStateException,
which redirects to the error servlet, etc.

Solution:  TC 4.01 does not exhibit this behaviour, so we upgraded.

Hope that helps
david


- Original Message -
From: Robert Douglass [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Friday, March 22, 2002 12:06 PM
Subject: RE: java.lan.OutOfMemoryError


 I'm using Tomcat 3.2.3, by the way.

 -Original Message-
 From: Robert Douglass [mailto:[EMAIL PROTECTED]]
 Sent: Friday, March 22, 2002 1:01 PM
 To: Tomcat Users List
 Subject: RE: java.lan.OutOfMemoryError


 I also get this error:

 2002-03-22 12:59:29 - Ctx( /RobertDouglass ): IllegalStateException
 in: R( /Robe rtDouglass + /img/Beetle5.jpg + null) Current state = 
 FLUSHED, new state = CODIN G

 but once again, only when I try to access it from the link on my 
 webpage, not when I run localhost:8080 -Original Message-
 From: Robert Douglass [mailto:[EMAIL PROTECTED]]
 Sent: Friday, March 22, 2002 12:53 PM
 To: Tomcat Group
 Subject: java.lan.OutOfMemoryError


 Hi all,
 When I run my webapp from localhost, everything seems to be fine. When

 I
put
 a link to in on my website and try running accessing it from there, I
 get: 2002-03-22 12:47:12 - Ctx( /RobertDouglass ): Exception in: R( 
 /RobertDouglass +  /img/Beetle8.jpg + null) - 
 java.lang.OutOfMemoryError and Tomcat eventually crashes, but not 
 before my data is corrupted.

 I also get the following error:
 2002-03-20 22:27:01 - Ctx( /RobertDouglass ): IOException in: R( 
 /RobertDouglass
 + /img/Beetle6.jpg + null) Software caused connection abort: socket 
 + write
 error

 where do I start looking to fix this?

 Thanks,
 Robert Douglass


 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]


 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]


 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]




--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE : RE : RE : java.lan.OutOfMemoryError

2002-03-22 Thread Vincent Lambert

Which system (windows /linux / solaris) ?
If linux : ps -aux | grep java

-Message d'origine-
De : Robert Douglass [mailto:[EMAIL PROTECTED]] 
Envoyé : vendredi 22 mars 2002 19:23
À : Tomcat Users List
Objet : RE: RE : RE : java.lan.OutOfMemoryError


It is single thread.

-Original Message-
From: Vincent Lambert [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 22, 2002 7:17 PM
To: 'Tomcat Users List'; [EMAIL PROTECTED]
Subject: RE : RE : java.lan.OutOfMemoryError


How thread runs on your systèm ?

-Message d'origine-
De : Robert Douglass [mailto:[EMAIL PROTECTED]]
Envoyé : vendredi 22 mars 2002 19:16
À : Tomcat Users List
Objet : RE: RE : java.lan.OutOfMemoryError


Darn, I had my hopes up for an easy solution!

-Original Message-
From: Vincent Lambert [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 22, 2002 7:10 PM
To: 'Tomcat Users List'
Subject: RE : java.lan.OutOfMemoryError


I encounter similar problem and i am running TC4.0.3 with JDK 1.4.

-Message d'origine-
De : David Hamilton [mailto:[EMAIL PROTECTED]]
Envoyé : vendredi 22 mars 2002 18:59
À : Tomcat Users List; [EMAIL PROTECTED]
Objet : Re: java.lan.OutOfMemoryError


 'java.lan.OutOfMemoryError'

Coo - is your whole LAN out of memory?  Wow!  (Sorry couldn't resist.)

Seriously:  You using JDK 1.4?  We found that TC 3.2.3 with JDK 1.4 was
giving us a recursive IllegalStateException which locked up the server
and eventually fell over.

Reason:  Any cancelled or closed HTTP request would apparently cause
this problem.  Seems that this causes the output stream to be closed and
under JDK 1.4 any attempt to write to it causes an
IllegalStateException.

Closer investigation showed that the error handling in 3.2.3 was fairly
junky, (lots of empty exception handlers, hopefully addressed in 3.3/4.0
series) and it tries to handle by passing it to the error servlet, which
tries to write out the error, which gives an IllegalStateException,
which redirects to the error servlet, etc.

Solution:  TC 4.01 does not exhibit this behaviour, so we upgraded.

Hope that helps
david


- Original Message -
From: Robert Douglass [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Friday, March 22, 2002 12:06 PM
Subject: RE: java.lan.OutOfMemoryError


 I'm using Tomcat 3.2.3, by the way.

 -Original Message-
 From: Robert Douglass [mailto:[EMAIL PROTECTED]]
 Sent: Friday, March 22, 2002 1:01 PM
 To: Tomcat Users List
 Subject: RE: java.lan.OutOfMemoryError


 I also get this error:

 2002-03-22 12:59:29 - Ctx( /RobertDouglass ): IllegalStateException
 in: R( /Robe rtDouglass + /img/Beetle5.jpg + null) Current state = 
 FLUSHED, new state = CODIN G

 but once again, only when I try to access it from the link on my 
 webpage, not when I run localhost:8080 -Original Message-
 From: Robert Douglass [mailto:[EMAIL PROTECTED]]
 Sent: Friday, March 22, 2002 12:53 PM
 To: Tomcat Group
 Subject: java.lan.OutOfMemoryError


 Hi all,
 When I run my webapp from localhost, everything seems to be fine. When

 I
put
 a link to in on my website and try running accessing it from there, I
 get: 2002-03-22 12:47:12 - Ctx( /RobertDouglass ): Exception in: R( 
 /RobertDouglass +  /img/Beetle8.jpg + null) - 
 java.lang.OutOfMemoryError and Tomcat eventually crashes, but not 
 before my data is corrupted.

 I also get the following error:
 2002-03-20 22:27:01 - Ctx( /RobertDouglass ): IOException in: R( 
 /RobertDouglass
 + /img/Beetle6.jpg + null) Software caused connection abort: socket 
 + write
 error

 where do I start looking to fix this?

 Thanks,
 Robert Douglass


 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]


 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]


 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]




--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]