Re: JSTL c:if statements

2007-01-11 Thread ashish shrivastava
Look like you have got duplicate classes in your classpath ,one from * javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.PageContext* pakage and other from *org.apache.taglibs.standard.tag.el.core.IfTag, javax.servlet.jsp.PageContext *pakage. On 1/12/07, rotvang <[EMAIL PROTECTED]> wrote: I

Re: Tomcat unexpectedly shuts down

2007-01-11 Thread Leon Rosenberg
On 1/12/07, Brown, Carlton <[EMAIL PROTECTED]> wrote: 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 copie

JSTL c:if statements

2007-01-11 Thread rotvang
I have Tomcat version 5.0.28, and I am trying to use the JSTL tags in my webapp. I have placed the 2 required JSTL jar files, "standard.jar" and "jstl.jar" into my WEB-INF/lib directory. The bizarre thing is that some of the JSTL standard tags work, and some don't! Even stranger, it doesn't br

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 pe

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: Prop

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: 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 DB-se

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, Carl

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 interes

Re: Tomcat unexpectedly shuts down

2007-01-11 Thread Leon Rosenberg
You should simply repost in another thread. regards Leon On 1/11/07, Steve Ingraham <[EMAIL PROTECTED]> wrote: I appreciate the prompt information everyone is providing on my inquiry to this thread. I truly do need advice from you on what I can do. I most definitely would like to hear replies

RE: SSL on Tomcat 6.0.2

2007-01-11 Thread JohnT.
Thanks Chuck! That worked flawlessly! I will also recommend 6.0.7 Caldarale, Charles R wrote: > >> From: JohnT. [mailto:[EMAIL PROTECTED] >> Subject: SSL on Tomcat 6.0.2 >> >> >maxThreads="150" minSpareThreads="25" maxSpareThreads="75" >>enableLookups="false" disabl

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 Steve Ingraham
I appreciate the prompt information everyone is providing on my inquiry to this thread. I truly do need advice from you on what I can do. I most definitely would like to hear replies to my query but I believe I am on the verge of highjacking Carlton's original thread and do not wish to do that.

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 n

Re: Tomcat unexpectedly shuts down

2007-01-11 Thread Leon Rosenberg
On 1/11/07, Steve Ingraham <[EMAIL PROTECTED]> wrote: Is there anything that a "knows enough to be dangerous" administrator like me can do to find out the cause of this problem? Or am I destined to stop and restart this application every day from here on out? I think checking (and sending) the

RE: Tomcat unexpectedly shuts down

2007-01-11 Thread Propes, Barry L [GCG-NAOT]
hmmm. Then I'm at a loss. Unless Anthill has some manual garbage collection thread in it that could be causing it to hold on to extraneous memory. -Original Message- From: Brown, Carlton [mailto:[EMAIL PROTECTED] Sent: Thursday, January 11, 2007 4:27 PM To: Tomcat Users List Subject: RE:

Re: Tomcat unexpectedly shuts down

2007-01-11 Thread Leon Rosenberg
P.S. If nothing helps I would consider extending your monitoring capabilities. For example moskito can show you which of your requests are currently processed or which last longer than the others. If you see that some requests hang around forever, you have the direction where to dig further. ---

RE: Tomcat unexpectedly shuts down

2007-01-11 Thread Steve Ingraham
I am not the creator of this application. In fact I have to be honest and say I am trying to learn what I can about Java and Tomcat but know so little I could be considered dangerous. I have already caused a crash of this system because I accidentally moved a .war file that was needed by the appl

Re: Tomcat unexpectedly shuts down

2007-01-11 Thread Leon Rosenberg
On 1/11/07, Steve Ingraham <[EMAIL PROTECTED]> wrote: 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 ma

RE: Tomcat unexpectedly shuts down

2007-01-11 Thread Brown, Carlton
This box has no other purpose than to run Anthill in Tomcat to build java apps. There would be no other major processes. -Original Message- From: Propes, Barry L [GCG-NAOT] [mailto:[EMAIL PROTECTED] Sent: Thursday, January 11, 2007 5:06 PM To: Tomcat Users List Subject: RE: Tomcat unex

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 200

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: S

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 l

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: users@tom

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: 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 > > maxThreads="150" minSpareThreads="25" maxSpareThreads="75" >enableLookups="false" disableUploadTimeout="true" >acceptCount="100" scheme="https" secure="true" >clientAuth="fa

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

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 provid

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 docum

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

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 probl

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 t

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

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/ in

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

2007-01-11 Thread PATTUS, Jean-Philippe
Hello the list, 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 default charset (I

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 () > >

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 usuall

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: 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, but still I get the same error. My log file shows this, Jan 11, 2007 2:35:59 PM org.apache.coyote.http11.Http11BaseProtocol pause INFO: Pausing Coyote HTTP/1.1 on http-8080 Jan 11, 2007 2:36:00 PM org.a

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 validationQuer

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

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:

Tomcat Admin

2007-01-11 Thread Chetan Pandey
Hi All: 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 Localhost:8080/admin. Currently I am getting Tomcat's administration web application is no longer installed by d

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: 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 () mainApp.xml === === -Tim Aaron Chai wrote: Is it possible for Tomcat to deploy war files where the context name is not the same as

Error: Name jdbc is not bound in this context

2007-01-11 Thread robi
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, " javax.naming.NameNotFoundExcept

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: debugging Servlets under Tomcat 5.5 on Windows XP

2007-01-11 Thread Heiko Petzsch
Hi Chuck, > Use the .zip download rather than the .exe; all files are in the .zip > version, but for whatever reason, several useful ones were left out of > the .exe. problem solved - thanks for the hint ! Heiko --- Heiko Petzsch GTS Systems & Consulting Email [EMAIL PROTECTED] --

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: url jdbc:as400://yourServerName;libraries=YOURSLIB1,YOURSLIB2;prompt=false;errors=full;trace=false

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