Re: SSL error when invoking web service

2008-01-23 Thread Rizwan Merchant
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 [EMAIL PROTECTED] wrote

SSL error when invoking web service

2008-01-22 Thread Rizwan Merchant
is 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

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: Listing of sessions fails in web application manager

2007-11-21 Thread Rizwan Merchant
\ 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 But when I click on the session

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

Access Valve

2007-10-31 Thread Rizwan Merchant
for 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

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

Tomcat clustering and nightly processes

2007-07-26 Thread Rizwan Merchant
, 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 Merchant

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

Session count in tomcat manager

2006-10-12 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

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?

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

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

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

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

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

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
. Thank you. - Original Message - From: Bill Barker [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Saturday, May 27, 2006 9:06 PM Subject: Re: SSL with Tomcat and Apache..IE problems Rizwan Merchant [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Thanks Bill, Can I change

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: SSL with Tomcat and Apache..IE problems

2006-05-27 Thread Rizwan Merchant
wrote: --- Rizwan Merchant [EMAIL PROTECTED] wrote: 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

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 [EMAIL PROTECTED] wrote

Re: More virtual hosting problems!!

2006-05-15 Thread Rizwan Merchant
- Original Message - From: Rizwan Merchant [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org 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 still help. I created

Re: More virtual hosting problems!!

2006-05-14 Thread Rizwan Merchant
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 - From: Rizwan Merchant [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Friday, May 12, 2006 4:39 PM Subject: Re

Re: More virtual hosting problems!!

2006-05-12 Thread Rizwan Merchant
Message - From: Rizwan Merchant [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Thursday, May 11, 2006 1:37 PM Subject: Re: More virtual hosting problems!! I got this working now by moving the Context definition from the ROOT.xml to the server.xml under the Host tag

Re: More virtual hosting problems!!

2006-05-12 Thread Rizwan Merchant
!! One issue is that the path element can only be set to when you use it in the server.xml. Doug - Original Message - From: Rizwan Merchant [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Thursday, May 11, 2006 1:37 PM Subject: Re: More virtual hosting problems

Re: More virtual hosting problems!!

2006-05-12 Thread Rizwan Merchant
problems!! One issue is that the path element can only be set to when you use it in the server.xml. Doug - Original Message - From: Rizwan Merchant [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Thursday, May 11, 2006 1:37 PM Subject: Re: More virtual hosting

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

Re: More virtual hosting problems!!

2006-05-11 Thread Rizwan Merchant
the first scenario did not work and the above does, although it is not recommded. Thanks, -Riz. Rizwan Merchant wrote: 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