About possible memory leak in Tomcat 5.x

2005-12-19 Thread Andrievsky Dmaitry
Hello users, About a half a year ago I've found that my webapp works fine in development environment, but leaks memory in production one. I've searched through all the code, found a few minor errors, but it didn't help. (of course, tag pooling are disabled completely) So then i've tried to use

RE: Tomcat 5.0.28 + Oracle9i

2005-12-19 Thread nikita berdikov
Thats my source code of registration page. When i click submit, the error occurs. Please, help, whats wrong? On Resin it works well, but Tomcat not. And i don't want to use Resin instead of Tomcat!!! brpre %@ page contentType=text/html;charset=windows-1251 pageEncoding=windows-1251% %

[Repost...] Tomcat 5.0 : 401 errors do NOT send back a www-authenticate field :(

2005-12-19 Thread Francis Galiegue
[I don't know why, looks like the original message didn't make it to the list... Sorry if it's a double send] Hello, As the subject says, we have a problem with Tomcat 5.0 (5.0.27 through 5.0.30 to be precise) where a servlet invoked from tomcat5 does NOT send a www-authenticate header back,

Re: RE: Add application

2005-12-19 Thread Warren Pace
Yep! Thanks, Chuck. From: Caldarale, Charles R [EMAIL PROTECTED] Date: 2005/12/18 Sun PM 04:58:05 EST To: Tomcat Users List users@tomcat.apache.org Subject: RE: Add application From: Warren Pace [mailto:[EMAIL PROTECTED] Subject: Re: Add application or create an xml file with

Re: Re: problem with stopping Tomcat

2005-12-19 Thread Warren Pace
Did you originally install Tomcat using apt? The Debian package configures Tomcat to listen on port 8180. From: marju jalloh [EMAIL PROTECTED] Date: 2005/12/18 Sun PM 04:52:50 EST To: Tomcat Users List users@tomcat.apache.org Subject: Re: problem with stopping Tomcat Sorry that I

Re: Which is better Option

2005-12-19 Thread Tim Funk
jms - JMS can live in the same JVM or be moved to a new JVM without changing any servlet code. (Only some config changes) -Tim Karthik wrote: Hi Form Please somebody specify Which Option [ advantages /limitations ] is Better ? 1) Using a Servlet to created a seperate Thread for

RE: Tomcat Servlets not working

2005-12-19 Thread Bliesner, Christopher P
Tried opening up the Invoker Servlet but that didn't seem to fix it. Everything I've read so far seems that you should be able to bring your webapps straight across from TC4 into TC5...but my servlets are not working... -Original Message- From: Mark Thomas [mailto:[EMAIL PROTECTED]

Re: Tomcat 4.1.31, Weird problem. Once in a while an attribute i n the session is not found... look like a RACE?! Is that possible????

2005-12-19 Thread David Gagnon
Hum I tried and haven't be able to reproduce.. but so far that the best explanation about what can cause the race... Thanks I will put some code in to avoid double submit! Regards /David Tobias Meyer wrote: Just a thought - What would happen to your application if the user double-clicked the

Re: JDBC Resources, context file, Tomcat 5.0.x - 5.5.x

2005-12-19 Thread Bruce Tong
Here's an example that's working for me. Context path=/dars docBase=dars debug=1 reloadable=true crossContext=true Resource name=jdbc/THEDB auth=Container type=javax.sql.DataSource driverClassName=oracle.jdbc.driver.OracleDriver url=jdbc:oracle:thin:@AAA.BBB.CCC.DDD:: username=

Tomcat 5.0.28/Axis 1.2.1/Java 1.4.2 causing high cpu usage on RHEL 3.0

2005-12-19 Thread Jon Savian
I am running Tomcat 5.0.28 and Axis 1.2.1 using Java 1.4.2. For some it is causing my server to become very slow. When doing a top i notice that the load average is very high. Tomcat's/Axis' usage of java is causing this. The only modification we made to Tomcat was increasing it's jvm heap

RE: Tomcat applet not working

2005-12-19 Thread Bliesner, Christopher P
Well, I opened up the Invoker with the mappings in the main Web.xml file and plus I added the 'url-mapping'/'servlet-mapping' to the application web.xml file and it seemed to do the trick...however, I have some apps where the applet is not working and I get the following error...any ideas?

RE: TC 5.5.12 WARNING: A docBase XXX inside the host appBase has been specified, and will be ignored

2005-12-19 Thread Caldarale, Charles R
From: Jason Novotny [mailto:[EMAIL PROTECTED] Subject: TC 5.5.12 WARNING: A docBase XXX inside the host appBase has been specified, and will be ignored Using Tomcat 5.5.12 and my servlet context fragment: Context path=/portal docBase=gridsphere debug=0 reloadable=false

Re: Tomcat 5.5.12 clustering high load

2005-12-19 Thread Yogesh Prajapati
Remy, Yup, I had noticed that when build the newest tomcat source (5.5.15 SVN head) as Peter asked to me to look into other bugs. BTW thanks for reminding. Yogesh On 12/18/05, Remy Maucherat [EMAIL PROTECTED] wrote: On 12/16/05, Yogesh Prajapati [EMAIL PROTECTED] wrote: Is there something

RE: TC 5.5.12 WARNING: A docBase XXX inside the host appBase has been specified, and will be ignored

2005-12-19 Thread Caldarale, Charles R
From: Jason Novotny [mailto:[EMAIL PROTECTED] Subject: Re: TC 5.5.12 WARNING: A docBase XXX inside the host appBase has been specified, and will be ignored (Please don't crosspost - it really makes it hard to keep track of a thread.) The context now looks like: Context path=/gridsphere

Re: TC 5.5.12 WARNING: A docBase XXX inside the host appBase has been specified, and will be ignored

2005-12-19 Thread Jason Novotny
Hi Chuck, Ok, I changed my context file from gridsphere.xml to portal.xml. However it still does not work. As I said, I do NOT want to change the name of my web application. It is currently located in $CATALINA_HOME/webapps/gridsphere. Previously my understanding of the path and docBase

RE: TC 5.5.12 WARNING: A docBase XXX inside the host appBase has been specified, and will be ignored

2005-12-19 Thread Caldarale, Charles R
From: Jason Novotny [mailto:[EMAIL PROTECTED] Subject: Re: TC 5.5.12 WARNING: A docBase XXX inside the host appBase has been specified, and will be ignored Ok, I changed my context file from gridsphere.xml to portal.xml. However it still does not work. This may well go back to what

servlet.jar - where is it from?

2005-12-19 Thread hanasaki
Hello, I notice Sun no longer has the Servlet.jar available for download off the java.sun.com website. Where does the Tomcat 5 Servlet.jar come from? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

how are relative pages/images retrieved?

2005-12-19 Thread hanasaki
How are relative resources found? ex: the page http://localhost/a/b/c has an href to ../images/image1.gif how is it that the websever knows to convert this into http://localhost/a/b/images.gif This seems to imply some sort of state in the server but this cannot be

Re: Which is better Option

2005-12-19 Thread Raja Neravati
You cannot define by these parameters which should be the best, because you need to consider lot of other factors as well. But with the given information by you this is what my opinion would be: - 1. Using a servlet would be a request/response mechanism and you make user wait for response. As

RE: how are relative pages/images retrieved?

2005-12-19 Thread Caldarale, Charles R
From: hanasaki [mailto:[EMAIL PROTECTED] Subject: how are relative pages/images retrieved? the page http://localhost/a/b/c has an href to ../images/image1.gif how is it that the websever knows to convert this into http://localhost/a/b/images.gif I believe that it's

RE: Which is better Option

2005-12-19 Thread Karthik
Hi Form *Which Option [ advantages /limitations ] is Better ?* Certenly yes ,but need more clarifications [ assuming running on same JVM ] with regards Karthik -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: Monday, December 19, 2005 7:18 PM To: Tomcat Users

Please Help! Error in using Packages

2005-12-19 Thread Teh Noranis Mohd Aris
Hi, I'm learning to use packages from a book example to create my own servlet instead of putting the code in the examples webapp. However the following error occurs: HTTP Status 404 - /ch03/servlet/com.wrox.projsp.ch03.myfirstwebapp.MyFirstServlet type

deploy failed

2005-12-19 Thread Nehal Sangoi
Hi, I am facing problem for deploying applications using manager-deployer with my ant build script. What happens is, when i add context details (releated to jdbc connections) in my application's server.xml, and try to deploy the application using build script, it gives me follwoing error.

Invoking webservice from servlet

2005-12-19 Thread Lincoln Dalgado
Hi, I am invoking a SSL based web service from inside a servlet. The service is invoked successfully when I use startup.bat to start tomcat. However if I start tomcat as a service, I get a Caused by: sun.security.validator.ValidatorException: No trusted certificate found at