Timestamps in mod_jk.log

2001-03-22 Thread Shahed Ali
Hi, Could the developers of mod_jk please add timestamp logging and if possible request url to mod_jk.log ? Thanks Shahed.

Re: non-servlet components

2001-02-23 Thread Shahed Ali
> What is the "proper" way to implement non-servlet singleton components in > the Tomcat framework? I am not sure of any proper way, but I have a class that has a static method that returns a reference to a private member variable. The class has no constructor, and the getInstance() method creat

Re : extracting jsp file name

2001-02-01 Thread Shahed Ali
Sorry for the confusion. I have a MVC framework in which all jsp pages post data to a controller servlet. In this servlet, I need to findout which jsp page invoked it. Currently I am passing a hidden variable with value="/callingpage.jsp" i.e in calling.jsp I have the code fragment

REPOST : extracting jsp filename from generated class

2001-01-31 Thread Shahed Ali
Hi all, Sorry for this repost. >From within a jsp page, I need to know the name of the jsp page. If I do a <%=this.getClass()%>, I get a string which represents the class name of the generated servlet. Is there some standard way in which I can extract the jsp page from that name ? Another Qs

BIZZAR Caching Problem !!

2001-01-26 Thread Shahed Ali
Hi, I am using Tomcat 3.2.1 w/Sun JDK 1.3 on Solaris 8 + Apache 1.3.14 + mod_jk Now here is my problem. I have a jsp page with an include to refer to file a.inc. I change the include to refer to another file (b.inc) I reload the page. I still see the content of a.inc. I touch the jsp file. No

JSP generated .java Naming Convention

2001-01-25 Thread Shahed Ali
Hi, I need to get the name of the current jsp page in a scriptlet. The jsp page could be serverd up by a link or by a jsp:forward or a redirect. If I do <%=this.getClass()%>, I get the following for a jsp page tmp/ST003.jsp tmp._0002ftmp_0002fST_00030_00030_00033_0002ejspST003_jsp_1 Is there

Re: possible problem with CLIENT-CERT login and security constraint on TOMCAT 4.0

2001-01-12 Thread Shahed Ali
Hi,   This is slightly off the original post.   But I want to do auth based on client certificates.   However, I am using Tomcat 3.2.1 with Apache and Virtual Hosts. Also I have the tag in my server.xml.   Now I remember reading people having problems passing a client cert from apache to t

Object Passivation in TC 3.2.x ?

2000-12-22 Thread Shahed Ali
Hi,   I am creating a connection pool in my jsp pages.   This connection pool is a context wide static class that is referenced by each jsp page through a static class method.   If the website is inactive for about 2-3 hours, I get an error trying to get connections from the pool.   I suspec

Socket Exception using Tomcat 3.2.1

2000-12-14 Thread Shahed Ali
Hi,   I upgraded from Tomcat 3.2 to 3.2.1 on Solaris Intel JDK 1.3 w/Apache 1.3.14 (Stronghold 3.0)   I even recompiled mod_jk.so with the 3.2.1 src/native/apache1.3 .c file. (BTW a diff -b seems to indicate that both the TC 3.2 mod_jk.so and the 3.2.1 .so generated the same object code)   I

Nightly Build Link broken ?

2000-12-13 Thread Shahed Ali
Hi, I am trying to download Tomcat 3.2.1 B. Is it the same as the release version of Tomcat 3.2.1 ? In any case, the Nightly Build Link for downloading the source code of Tomcat seems to be broken. Thanks Shahed.

How to check if Load Balancing is working ?

2000-12-12 Thread Shahed Ali
I am using Tomcat 3.2 with Apache 1.3.14 on Solarin 8 Intel  / JSK 1.3 and am using ajp13 with Load Balancing.   I am running a single Tomcat instance with Multiple directives for each worker.   Is there any way that I can monitor the Load balancing using either O/s specfic tools (activity

Load Balancing Info

2000-12-11 Thread Shahed Ali
Hi All,   The examples in the tomcat docs that talk about load balancing etc seem to be incorrect.   Are there any good docs out there that can explain to me how to set up a load balanced environment ?   I think what I want to do is set up multiple worker threads, but all of them need to serv

Reading SSL Client Cert in TC 3.2

2000-12-07 Thread Shahed Ali
Hi,   I am using Tomcat 3.2 with Apache Stronghold 3.0.   I am aware that there are directives in TC 3.2 which allow SSL info to be passed back to Tomcat.   What I would like to know is whether there are any sample jsp / servlet  code or any website that shows me how I can retrieve SSL Clie

Patches

2000-12-06 Thread Shahed Ali
Hello,   Where can I get hold of patches to Tomcat and their descriptions ?   Also, how can I find out which patches are applied to my installed version of tomcat ? I have downloaded a binary version.   Thanks Shahed.

Include Directive 3.1 Vs 3.2

2000-12-04 Thread Shahed Ali
I noticed that if I have an include directive within another include directive, in Tomcat 3.1, the 2nd include has a path relative to the jsp doument.   But in 3.2 its relative to the 1st include document.   i.e A.jsp ---> includes 1.inc -> includes

Tomcat 3.2 on Solaris 8 with Sun JDK 1.1.2

2000-12-04 Thread Shahed Ali
  I have faced this problem earlier with Tomcat 3.1.   It just does not seem to work with JDK 1.2.2.   When I access a jsp, the .java file under the work directory  get stuck at     out.write("\r\n\r\n\r\n");   It works fine if I set JAVA_HOME to jdk1.2.1   Is this bug fixed in later version

Cannot compile mod_jk under Solaris 8 Intel

2000-12-04 Thread Shahed Ali
Hi,   I am having a problem compiling mod_jk on Solaris 8 (Intel) for Tomcat 3.2.   I have tried with both jdk1.2.1 and jdk1.2.2 for the include files since I know that Tomcat 3.1 had a problem with 1.2.2   Anyway, if I dont give the -lposix4 flag, I get the fdatasync symbol not found error

Client Certificate Auth

2000-12-04 Thread Shahed Ali
(Sorry if this is a bit off topic) I am using Tomcat 3.1 with Apache - Stronghold. I am new to SSL / Digital certificates, and was wondering if any one can point me to any example code / url or even a book title which has an example of how to read a client digital certificate and grant access to

Fw: Virtual Hosts and Context Path Question

2000-12-01 Thread Shahed Ali
  -Original Message-From: Shahed Ali <[EMAIL PROTECTED]>To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>Cc: [EMAIL PROTECTED] <[EMAIL PROTECTED]>Date: Friday, December 01, 2000 11:33 AMSubject: Virtual Hosts and Context Path Question I am running Apache Stronghold w