Re: SSL error when invoking web service

2008-01-23 Thread Rizwan Merchant
ces and we never need to add certificates from the server we are connecting to? For example, if we need to use Fedex's API service, we need to send the request using https, but we have never added any certificates from them on our server. Bill Barker wrote: "Rizwan Merchant" <

SSL error when invoking web service

2008-01-22 Thread Rizwan Merchant
working fine on the website, but not for the web service (which, from what I understand, is being handled by a separate servlet, rpc2). Any ideas please? Thanks, -Rizwan Merchant. - To start a new topic, e-mail: users

Re: Listing of sessions fails in web application manager

2007-11-21 Thread Rizwan Merchant
details and then a page below it with the error. Not all the sessions show up (my count says 120 but only around 10 are showing up). Caldarale, Charles R wrote: From: Rizwan Merchant [mailto:[EMAIL PROTECTED] Subject: Re: Listing of sessions fails in web application manager Here is the platform

Re: Listing of sessions fails in web application manager

2007-11-21 Thread Rizwan Merchant
$CATALINA_OPTS \ -cp $CLASSPATH \ org.apache.catalina.startup.Bootstrap # # To get a verbose JVM #-verbose \ # To get a debug of jsvc. #-debug \ exit $? ;; Caldarale, Charles R wrote: From: Rizwan Merchant [mailto:[EMAIL PROTECTED] Subject: Listing of sessions fails in web application manager

Listing of sessions fails in web application manager

2007-11-21 Thread Rizwan Merchant
- Encountered exception org.apache.jasper.JasperException: javax.servlet.ServletException: java.lang.StackOverflowError Any ideas why this might be happening? Thanks for the help. -Rizwan Merchant. - To start a new topic, e

Re: Access Valve

2007-10-31 Thread Rizwan Merchant
wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rizwan, Rizwan Merchant wrote: Hi, I am trying to set up the access valve so that we can analyze our traffic using the softwares that are out there. I noticed that when I turn on the access valve, it logs requests for every little item on the

Access Valve

2007-10-31 Thread Rizwan Merchant
every session? Or is there a way to exclude requests made for images and certain other types of files? Thanks, -Rizwan Merchant. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED

Tomcat clustering and nightly processes

2007-07-26 Thread Rizwan Merchant
once, but as many times as there are server instances (since they are all running same copies of the application code). I hope my concern makes sense, and would appreciate some insight into this before we consider this cluster implementation further. Thanks, -Rizwan Mer

monitoring open connections to tomcat

2006-11-14 Thread Rizwan Merchant
Hi, We are running a couple of webapps on the same tomcat instance. We are using apache web server along with the mod_jk connector to forward requests to tomcat. A couple of weeks ago we had a situation where the tomcat process ran out of file connections (we got an error of the sort "too ma

Re: jvm thread dump

2006-10-16 Thread Rizwan Merchant
hmmm...still having issues with this. Dont understand why..I commented out the A1 appender and uncommented the R appender (as below). The applications are still logging to catalina.out !! How do I stop this??? Please help! # # Configures Log4j as the Tomcat system logger # # # Configure th

Stress test requirements

2006-10-16 Thread Rizwan Merchant
Hi, We are running a web app using tomcat 5.5.15, hibernate, spring, struts and mysql on a FC4 linux box. We also have mod_jk set up wih the apache web server to forward requests to tomcat. We would like to stress test the application. Can someone guide me as to how I can begin doing this an

Re: jvm thread dump

2006-10-12 Thread Rizwan Merchant
Chris, I cant thank you enough for all your help. If only there was a rating system on this forum! ;) thing is, I am not using ant System.out commands in my app. I have log4j set up in the app which is logging to a different log file that rolls nightly. But I am seeing the same log messages

Re: jvm thread dump

2006-10-12 Thread Rizwan Merchant
Thanks Chris. You have been very helpful. I will implement your recommendations and see what happens. Quick question, when you look at a thread dump, how do you tell which threads are idle? Also, any inputs on my other postings regarding the session count and catalina.out logging? http://m

Session count in tomcat manager

2006-10-11 Thread Rizwan Merchant
Hi, I am using tomcat 5.5.15 to host 2 applications (2 contexts). I am trying to figure out how to monitor the application statistics using the tomcat manager. I noticed that when I restart the tomcat server the "Active Sessions" count for one of the applications remains the same as it was b

Re: catalina.out not rolling

2006-10-11 Thread Rizwan Merchant
a way to redirect the output of "kill -3 pid" command to a specific file? or will that always go to catalina.out? thanks, -Riz. Shankar Unni wrote: Rizwan Merchant wrote: So how do I stop tomcat from logging to catalina.out and into a different file? For the webapps themsel

Re: catalina.out not rolling

2006-10-11 Thread Rizwan Merchant
output (Console output in log4j parlance) of tomcat. I don't think you can roll it in log4j. Best bet is to steer as much logging as possible away from catalina.out into a file logger you can roll. --David Rizwan Merchant wrote: Hi, We are trying to use log4j to roll the catalina.out file

Re: jvm thread dump

2006-10-10 Thread Rizwan Merchant
I had to restart tomcat, but I am not sure if there was a simpler way to solve the problem at that time. There were threads that were waiting on loading user from db (for authentication), which explains why I couldnt login. I can send the thread dump (of hen the problem occurred) tomorrow from

catalina.out not rolling

2006-10-10 Thread Rizwan Merchant
Hi, We are trying to use log4j to roll the catalina.out file on a daily basis. The attached log4j.properties file has been placed in the CATALINA_HOME/common/classes directory. But the file does not roll over. Please help. catalina file is getting long. Thanks, -Riz. # # Configures Log4j as

Re: jvm thread dump

2006-10-10 Thread Rizwan Merchant
Appreciate all your help. Basically, we could not log into the system at all (which sounded like the app could not get a connection to the db to authenticate my user name and password). I had someone else try to log in, but he could not either. Here are our tomcat and dbcp settings. We are u

Re: jvm thread dump

2006-10-10 Thread Rizwan Merchant
Thanks for the response Chris. Actually, we had a bit of a situation yesterday, it seems the threads were all locked up and/or the db connection pool was not handing out connections. I am not sure what happened and have been monitoring the threads ever since. Below are some threads from the

tomcat manager security

2006-10-06 Thread Rizwan Merchant
Hi, Can someone give me some insight into how secure the tomcat manager page is on a production application? Currently we have an application running on the production box, and we also have the manager running (password protected of course) so that we can access the tomcat status pages to det

Re: tomcat memory usage questions

2006-10-03 Thread Rizwan Merchant
are doing a lot of string concatenation the StringBuffer object is much better to use than the String object. StringBuffer will be easier on memory and more efficient. Robert S. Harper Information Access Technology, Inc. -Original Message- From: Rizwan Merchant [mailto:[EMAIL PROTECTED

tomcat memory usage questions

2006-10-03 Thread Rizwan Merchant
Hi, We recently developed and deployed a web based application using the following technologies... Struts Spring Hibernate 3.0 Mysql 5.0 tomcat 5.5 Linux Fedora Core 4 After the system went live, I have been monitoring the CPU and memory usages. I dread the outOfMemory errors and am a little

Re: Shutdown log - deallocating instances

2006-09-29 Thread Rizwan Merchant
Thanks Charles. Is there any other way to know which servlets are casuing this issue?? So, i I dont fix this problem, is there a potential of a break down in the near future? Any one else encounter this problem? What are the typical causes? -Riz. Caldarale, Charles R wrote: From: Rizwan

Shutdown log - deallocating instances

2006-09-28 Thread Rizwan Merchant
Hi, We have been running a couple of web application on a tomcat 5.5 server. The OS is Linux based FC4. Off late, I have been noticing that during a shutdown of the server I see a message "Waiting for xx instance(s) to be deallocated" The xx number varies (today it was 154). Can someone tell

Re: Fw: SSL with Tomcat and Apache..IE problems

2006-05-28 Thread Rizwan Merchant
nal message without making a copy. Thank you. - Original Message - From: "Bill Barker" <[EMAIL PROTECTED]> To: Sent: Saturday, May 27, 2006 9:06 PM Subject: Re: SSL with Tomcat and Apache..IE problems "Rizwan Merchant" <[EMAIL PROTECTED]> wrote in mess

Re: SSL with Tomcat and Apache..IE problems

2006-05-27 Thread Rizwan Merchant
P.S if it were up to me, I wouldnt use IE for anything..been having too many problems with IE and SSL, IE and struts, etc etc Unfortunately, as a web-app developer, we have to cater to 80% of the population that still uses IE !!! :) Bill Barker wrote: "Rizwan Merchant" <[EM

Re: SSL with Tomcat and Apache..IE problems

2006-05-27 Thread Rizwan Merchant
Thanks Bill, Can I change the redirect port in server.xml from 8443 to 443? Currently, we are running tomcat as non-root user (tomcat user). Will we need to change this as well? Bill Barker wrote: "Rizwan Merchant" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROT

Re: SSL with Tomcat and Apache..IE problems

2006-05-27 Thread Rizwan Merchant
cess.cmd_line=start worker.inprocess.jvm_lib=$(workers.java_home)$(ps)jre$(ps)lib$(ps)i386$(ps)classic$(ps)libjvm.so worker.inprocess.stdout=$(workers.tomcat_home)$(ps)logs$(ps)inprocess.stdout worker.inprocess.stderr=$(workers.tomcat_home)$(ps)logs$(ps)inprocess.stderr

SSL with Tomcat and Apache..IE problems

2006-05-27 Thread Rizwan Merchant
We are running tomcat 5.5.16 on Fedora Core 4 OS. We just installed apache2.0 as a front to serve the pages using the mod_jk connector. There are 2 apps on tomcat (virtual hosting), one of which needs to be SSL enabled (lets say app1 and app2, app2 is the one that needs to be SSL enabled).

Re: More virtual hosting problems!!

2006-05-15 Thread Rizwan Merchant
tml Doug - Original Message ----- From: "Rizwan Merchant" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Sunday, May 14, 2006 5:20 PM Subject: Re: More virtual hosting problems!! Doug, Thanks for your efforts to help. I am back with more questions. Hope you can sti

Re: More virtual hosting problems!!

2006-05-14 Thread Rizwan Merchant
irst attempt: Remove the Context element from above. Deploy you app in a war named ROOT.war Use META-INF/context.xml not ROOT.xml In the META-INF/context.xml file remove the path element. I ain't perfect so I may have a goof or three in the above stuff. Doug - Original Message - Fr

Re: More virtual hosting problems!!

2006-05-12 Thread Rizwan Merchant
Tim -Original Message- From: Parsons Technical Services [mailto:[EMAIL PROTECTED] Sent: Thursday, May 11, 2006 11:12 PM To: Tomcat Users List Subject: Re: More virtual hosting problems!! One issue is that the path element can only be set to "" when you use it in the server.

Re: More virtual hosting problems!!

2006-05-12 Thread Rizwan Merchant
Original Message- From: Parsons Technical Services [mailto:[EMAIL PROTECTED] Sent: Thursday, May 11, 2006 11:12 PM To: Tomcat Users List Subject: Re: More virtual hosting problems!! One issue is that the path element can only be set to "" when you use it in the server.xml. D

Re: More virtual hosting problems!!

2006-05-12 Thread Rizwan Merchant
age- From: Parsons Technical Services [mailto:[EMAIL PROTECTED] Sent: Thursday, May 11, 2006 11:12 PM To: Tomcat Users List Subject: Re: More virtual hosting problems!! One issue is that the path element can only be set to "" when you use it in the server.xml. Doug - Original M

Re: More virtual hosting problems!!

2006-05-11 Thread Rizwan Merchant
rectory under $CATALINA_HOME/conf/Catalina But I did read somewhere that it is not recommended to put the Context definition in the server.xml file. Can someone please explain why the first scenario did not work and the above does, although it is not recommded. Thanks, -Riz. Rizwan Merch

More virtual hosting problems!!

2006-05-11 Thread Rizwan Merchant
Hi all! I have been following the mailing list and it seems this is a common problem amongst many users. But I could not find a solution to my problem, hence this post. Hope someone can help me. I am trying to set up a simple virtual host for the domain www.riz.com on tomcat (listening on p