Re: Garbace Collection executes 1GB but HEAP Size at 1.5GB!

2007-01-11 Thread starki78
Thank you all for your answers! Starki -- Initial Header --- From : Suresh babu [EMAIL PROTECTED] To : Tomcat Users List users@tomcat.apache.org Cc : Date : Wed, 10 Jan 2007 19:17:21 +0530 Subject : Re: Garbace Collection executes 1GB but HEAP Size at

Re: the best method to secure Apache/tomcat communication

2007-01-11 Thread lmk
I will propose this solution to the person in charge of servers security management. But, I don't really think so that it will be accepted. thanks. Filip Hanik - Dev Lists wrote: take a look at autoSSH http://www.harding.motd.ca/autossh/ Filip Christopher Schultz wrote:

Re: JNDI example for connecting to a DB2 on OS400

2007-01-11 Thread olivier nouguier
Hi, Nothing more than for another database. But: - be carrefull to put a valid validationQuery ( eg: select 1; is not supported by DB2/OS400 )! the URL and drivers should look like: parameter nameurl/name

Re: Is it possible to deploy a war file which gives a different context name?

2007-01-11 Thread Markus Schönhaber
Aaron Chai wrote: Is it possible for Tomcat to deploy war files where the context name is not the same as the original war file name, e.g. deploying webapp.war and the context name is /mainApp instead of /webapp. How would this be achieved if it is possible? I don't think this is possible -

Re: Is it possible to deploy a war file which gives a different context name?

2007-01-11 Thread Tim Funk
Yes (I think) 1) Keep the war file out of the tomcat installation 2) Use a context declaration which points to the war file (mainApp.xml) 3) Don't unpack wars (Host ... unpackWARs=false ...) mainApp.xml === Context docBase='/usr/local/wars/foo.war'/ === -Tim Aaron Chai wrote: Is it possible

Re: Error: Name jdbc is not bound in this context

2007-01-11 Thread Mark Thomas
robi wrote: Dear all, I am trying to use JDBC and transactions in Tomcat 5.5.20 with JOTM (as explained this tutorial http://jotm.objectweb.org/current/jotm/doc/howto-tomcat-jotm.html). But I am getting the following error when I do http://localhost:8080/dbtest/test.jsp,

Re: JNDI example for connecting to a DB2 on OS400

2007-01-11 Thread Greg Foulks
then what would be a vaild validation query? On 1/11/07, olivier nouguier [EMAIL PROTECTED] wrote: Hi, Nothing more than for another database. But: - be carrefull to put a valid validationQuery ( eg: select 1; is not supported by DB2/OS400 )! the URL and drivers should look like:

Re: Tomcat Admin

2007-01-11 Thread Markus Schönhaber
Chetan Pandey wrote: I installed Tomcat Admin to C:/tomcatadmin Folder. How do I tell my Tomcat located in C:tomcat5.5 to recognize this version and allow me to access it using This question has been asked a few times recently. Charles Calderale has given an extensive explanation on this

Re: JNDI example for connecting to a DB2 on OS400

2007-01-11 Thread olivier nouguier
A query that *always* return a row ... On 1/11/07, Greg Foulks [EMAIL PROTECTED] wrote: then what would be a vaild validation query? On 1/11/07, olivier nouguier [EMAIL PROTECTED] wrote: Hi, Nothing more than for another database. But: - be carrefull to put a valid validationQuery ( eg:

Re: Error: Name jdbc is not bound in this context

2007-01-11 Thread robi
Hi Mark, Thanks for your reply. I changed my Context.xml like this, Context path=/dbtest docBase=dbtest.war debug=0 reloadable=true crossContext=true Resource name=jdbc/myDB auth=Container type=javax.sql.DataSource driverClassName=com.mysql.jdbc.Driver

SSL Certificate

2007-01-11 Thread Jim Reynolds
I have configured SSL a while back and created a temporary certificate following the documentation that is under SSL. Not a major problem, but while developing with this, everytime I click on a page using Mozilla, I get a popup stating the following: Unable to verify the identify of devsite as a

Re: [OT] a Collection of beans to store sql data

2007-01-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bob, Bob Hall wrote: You missed the essence of Chris's suggestion: 3. Throw an exception in your catch(SQLException) block. In other words, your catch block would swallow the SQLException should one occur. Just to be clear, I usually don't

RE: Is it possible to deploy a war file which gives a different contextname?

2007-01-11 Thread Caldarale, Charles R
From: Tim Funk [mailto:[EMAIL PROTECTED] Subject: Re: Is it possible to deploy a war file which gives a different contextname? 1) Keep the war file out of the tomcat installation 2) Use a context declaration which points to the war file (mainApp.xml) 3) Don't unpack wars (Host ...

conecting tomcate 5.5.17 to IIS 6

2007-01-11 Thread Garner, Shawn
I'm having troubles getting this to work with - JK-1.2.20. I've followed all the steps on the connector website for IIS and still no luck. I can see the /jsp-examples/ if I do port 8080 with tomcat. I can't see it without the port and I have a workers and uriworkermap file with /jsp-examples/

Re: JNDI example for connecting to a DB2 on OS400

2007-01-11 Thread Greg Foulks
an actual sql query, like this... SELECT * FROM MPLIB.VRC WHERE ( RMEMBNO = '999' ) On 1/11/07, olivier nouguier [EMAIL PROTECTED] wrote: A query that *always* return a row ... On 1/11/07, Greg Foulks [EMAIL PROTECTED] wrote: then what would be a vaild validation query? On

Re: How to display chinese chars in JSP / encoding UTF-8 without @page encoding tag

2007-01-11 Thread Markus Schönhaber
PATTUS, Jean-Philippe wrote: i'm trying to display chinese chars in my web application. I have managed to display these characters by adding this following directive in each jsp : %@ page contentType=text/html; charset=UTF-8%. It works fine. But, now i'm looking for a way to change the

Re: running tomcat invisibly

2007-01-11 Thread Roger Simmons
The reason I have it checked is because the servlet I'm running launches applications, and when it's not checked these applications are also invisble (that is they show up as processes, but the user can't interact with them). But the user needs to be able to interact with them. That is the

Re: How to forcibly close abandoned database connections?

2007-01-11 Thread David Uctaa
Created a little admin app to do just that, and it worked perfectly. All the connections being shown as busy cleared right out, and only the minimum number of idle / available connections remained. Thanks much. On 1/10/07, Varley, Roger [EMAIL PROTECTED] wrote: I agree that is probably what

Re: SSL Certificate

2007-01-11 Thread Luis Rivera
I am not sure of this. But I believe you can install your self signed certificate on your browser, that way it will trust it next time. --Luis R. On 1/11/07, Jim Reynolds [EMAIL PROTECTED] wrote: I have configured SSL a while back and created a temporary certificate following the

Matthew Lee from QAD Australia is out of the office

2007-01-11 Thread Matthew Lee
I will be out of the office starting 01/12/2007 and will not return until 01/15/2007. If you wish to report a new QAD Product support issue, you can log a call via our QAD ServicelinQ online service center at http://support.qad.com, so that our global support team can track this issue and

SSL on Tomcat 6.0.2

2007-01-11 Thread JohnT.
Hi All. I'm running Sun Solaris 5.8. I was happily running SSL on Tomcat version 5.5.17. I need to migrate to Tomcat 6.0.2. On Tomcat 6.0.2, my port http connections run fine (configured on port , instead of 8080). My https connections just hang on when using IE to connect to port 8443. I

RE: SSL on Tomcat 6.0.2

2007-01-11 Thread Caldarale, Charles R
From: JohnT. [mailto:[EMAIL PROTECTED] Subject: SSL on Tomcat 6.0.2 Connector port=8443 protocol=HTTP/1.1 maxHttpHeaderSize=8192 maxThreads=150 minSpareThreads=25 maxSpareThreads=75 enableLookups=false disableUploadTimeout=true acceptCount=100 scheme=https

Tomcat unexpectedly shuts down

2007-01-11 Thread Brown, Carlton
Hello, My Tomcat instance is unexpectedly shutting itself down every 8 to 72 hours. Can someone give me some advice on this? By all appearances this is a graceful shutdown. I do not see any interesting exceptions in the logs (I have looked in catalina.out and the various localhost* files).

RE: Tomcat unexpectedly shuts down

2007-01-11 Thread Propes, Barry L [GCG-NAOT]
I'd find out what other major processes are running on those two UNIX boxes, as it sounds like something there's clashing terribly, and killing off the Tomcat process. -Original Message- From: Brown, Carlton [mailto:[EMAIL PROTECTED] Sent: Thursday, January 11, 2007 4:01 PM To:

RE: Tomcat unexpectedly shuts down

2007-01-11 Thread Steve Ingraham
I have a similar problem. I would be interested to know what is said about this. In our case we have a web based application that calls up a MySQL database. It is running in Tomcat 5.5.15 on a Red Hat AS 3 machine. Every morning I have to manually stop and restart Tomcat. If I do not do so and

RE: Tomcat unexpectedly shuts down

2007-01-11 Thread Propes, Barry L [GCG-NAOT]
sounds like you've got some thread hanging in there somewhere, but the logs don't indicate which one might be hanging? Also sounds like a memory issue; is it possible someone created some kind of servlet or app that manually controls Java's garbage collection? -Original Message- From:

RE: Tomcat unexpectedly shuts down

2007-01-11 Thread andy.mcneill
Have you tried profiling the jvm memory usage? I have had problems (created my myself) with Tomcat locking up due to outofMemory errors - if it reaches this stage it won't be able to shutdown gracefully -Original Message- From: Steve Ingraham [mailto:[EMAIL PROTECTED] Sent: 11 January

Re: Tomcat unexpectedly shuts down

2007-01-11 Thread Leon Rosenberg
You've mentioned a graceful shutdown. However a crash doesn't necessary leave tracks in the logs. Do I understand you right, that the tomcat is down, out of nowhere, if it were just shut down by the shutdown.sh? regards Leon On 1/11/07, Brown, Carlton [EMAIL PROTECTED] wrote: This box has no

RE: Tomcat unexpectedly shuts down

2007-01-11 Thread Brown, Carlton
In catalina.out I see the Anthill application going through a shutdown sequence right before the time Tomcat dies. So my assumption, maybe invalid, is that it's shutting down because Tomcat instructed it to do so. Here's a log fragment with the final interesting lines of shutdown, and then the

Re: Tomcat unexpectedly shuts down

2007-01-11 Thread Leon Rosenberg
On 1/11/07, Brown, Carlton [EMAIL PROTECTED] wrote: In catalina.out I see the Anthill application going through a shutdown sequence right before the time Tomcat dies. So my assumption, maybe invalid, is that it's shutting down because Tomcat instructed it to do so. Interesting. Most

RE: Tomcat unexpectedly shuts down

2007-01-11 Thread Propes, Barry L [GCG-NAOT]
isn't Anthill just a third party app to do war and ant builds? Deploy .ear and .war files? -Original Message- From: Leon Rosenberg [mailto:[EMAIL PROTECTED] Sent: Thursday, January 11, 2007 5:00 PM To: Tomcat Users List Subject: Re: Tomcat unexpectedly shuts down On 1/11/07, Brown,

Re: yet another SSL question

2007-01-11 Thread Jan Strauch
first, thanks for your help. But now I got the next problem: Is it possible to have multiple different Login pages in one webapp? Scenario: - Two areas (DB,shop) in one webapp - two groups of users having access to one of the areas. - one member of both groups. When I am logged in to the

Logging only 500 errors

2007-01-11 Thread Shekar Tippur
Hello, I would like to log ONLY the 500 - internal server errors. I would like to know the configuration settings in httpd.conf to achieve this. I would also appreciate if someone could point me to some documentations on this. - Shekar

RE: Tomcat unexpectedly shuts down

2007-01-11 Thread Brown, Carlton
Anthill is a third party app intended to store and execute Ant scripts. I mention it only because it's fairly well-known and maybe someone has seen similar problems before. Either way, the only thing running in this tomcat instance is 3 copies of Anthill. -Original Message- From:

Re: Tomcat unexpectedly shuts down

2007-01-11 Thread Andre Prasetya
Hi Steve, Is there anything that flood your server with requests or trigger an infinite loop within the application ? I have similar experiences in 2 scenarios 1. A tomcat died every morning, Then we foundout that its flooded by requests at a certain time and there is a flaw at our design that