Re: mod_jk (with Apache 1.3.29) support for cronolog

2004-03-22 Thread Anbu
Hello folks,

I have been trying on making mod_jk 1.2.5 support for
cronolog but it has not come through. I modified the
mod_jk code so that we use the piped logging thru
mechanims like ap_open_piped_log(). 

 The cronolog processes are getting started. But the
directories and log files are not created.

When I use ErrorLog in Apache directive the
directories  files are created and cronolog works
fine. It does not work only for mod_jk.

Could anyone please help me on this?.

Thanks,
Kuloth

--- Anbu [EMAIL PROTECTED] wrote:
 
 Hello Team,
 
 The  mod_jk module from version 1.2.3 onwards (with
 Apache 2.0) has support for cronolog.
 
 I am trying to get it work on Apache 1.3.29 with
 mod_jk 1.2.5 (by porting the code from mod_jk.c of
 Apache 2.0). Alas I have tried quite good number of
 times and yet to succeed.
 
 Please let me know if anyone has tried the same or
 if someone could throw some light on the
 feasibililty. 
 
 Thanks in advance,
 
 Kuloth
 
  
 
  
 
  
 
 Do you Yahoo!?
 Yahoo! Mail - More reliable, more storage, less spam


__
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.
http://taxes.yahoo.com/filing.html

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: HTTPS support for tomcat using openSSL with Client Authentication

2004-03-18 Thread Anbu
First of all did u try without tomcat?


[EMAIL PROTECTED] wrote:

Still I am looking in to it.
If you have any idea please let me know.

Regards
saravanan

-Original Message-
From: Anbu [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 17, 2004 7:38 PM
To: Tomcat Users List
Subject: Re: HTTPS support for tomcat using openSSL with Client
Authentication

Hello Saravanan,

Have you got the answer you wanted ?

Anbu

[EMAIL PROTECTED] wrote:

Hi All,

I wanted to support SSL with Client Authentication over Tomcat 4.18.



I followed the steps mentioned in the link below, but I couldn't succeed
in getting the client authentication to work,however I was able to get
the https working with clientAuth=false in tomcat's configuration file
server.xml file.



http://marc.theaimsgroup.com/?l=tomcat-user

m=106293430225790w=2



I have attached the screenshot of the security message I see on the
client which doesn't list any certificate to choose from, though I have
imported the client certificate.pkcs12 (step 16) and the CA certificate
on the client system.



Please let me know If I am doing something wrong?



Thanks  Regards

csaravanan



Confidentiality Notice

The information contained in this electronic message and any attachments
to this message are intended
for the exclusive use of the addressee(s) and may contain confidential
or privileged information. If
you are not the intended recipient, please notify the sender at Wipro or
[EMAIL PROTECTED] immediately
and destroy all copies of this message and any attachments.
Do you Yahoo!?
Yahoo! Mail - More reliable, more storage, less spam

Confidentiality Notice

The information contained in this electronic message and any attachments to this 
message are intended
for the exclusive use of the addressee(s) and may contain confidential or privileged 
information. If
you are not the intended recipient, please notify the sender at Wipro or [EMAIL 
PROTECTED] immediately
and destroy all copies of this message and any attachments.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Do you Yahoo!?
Yahoo! Mail - More reliable, more storage, less spam

mod_jk (with Apache 1.3.29) support for cronolog

2004-03-18 Thread Anbu

Hello Team,

The  mod_jk module from version 1.2.3 onwards (with Apache 2.0) has support for 
cronolog.

I am trying to get it work on Apache 1.3.29 with mod_jk 1.2.5 (by porting the code 
from mod_jk.c of Apache 2.0). Alas I have tried quite good number of times and yet to 
succeed.

Please let me know if anyone has tried the same or if someone could throw some light 
on the feasibililty. 

Thanks in advance,

Kuloth

 

 

 

Do you Yahoo!?
Yahoo! Mail - More reliable, more storage, less spam

Re: HTTPS support for tomcat using openSSL with Client Authentication

2004-03-17 Thread Anbu
Hello Saravanan,
 
Have you got the answer you wanted ?
 
Anbu

[EMAIL PROTECTED] wrote:

Hi All,

I wanted to support SSL with Client Authentication over Tomcat 4.18.



I followed the steps mentioned in the link below, but I couldn't succeed
in getting the client authentication to work,however I was able to get
the https working with clientAuth=false in tomcat's configuration file
server.xml file.



http://marc.theaimsgroup.com/?l=tomcat-user

m=106293430225790w=2



I have attached the screenshot of the security message I see on the
client which doesn't list any certificate to choose from, though I have
imported the client certificate.pkcs12 (step 16) and the CA certificate
on the client system.



Please let me know If I am doing something wrong?



Thanks  Regards

csaravanan



Confidentiality Notice

The information contained in this electronic message and any attachments to this 
message are intended
for the exclusive use of the addressee(s) and may contain confidential or privileged 
information. If
you are not the intended recipient, please notify the sender at Wipro or [EMAIL 
PROTECTED] immediately
and destroy all copies of this message and any attachments.
Do you Yahoo!?
Yahoo! Mail - More reliable, more storage, less spam

Clarification in Apache-Tomcat access log

2004-02-26 Thread Anbu
Hello All,
 
We have a setup like Apache 1.3.28 - mod_jk 1.2.0 - Tomcat 4.0.6 - Applications.
 
We have used ErrorDocument in Apache httpd.conf file to redirect for 500 errors.  In a 
situation we have 302 status logged in Apache log. This is obviously because there has 
been a 500 error and we have redirected to some error-replacement page.
 
But we do not have any corresponding log in the Tomcat access log.  But we believe 
that the request has reached Tomcat and the applications are executed and while 
executing the applications, there was some problem (like connection dropped/reset). 
 
The question is: If the application fails for some reason and the connection gets 
hung, is it possible that the Tomcat does not log anything ? (Since there was no 
response from Tomcat, Apache server logs 302 status (mapped from 500 error) ).
 
Thanks and Regards,
Kuloth
 



-
Do you Yahoo!?
Get better spam protection with Yahoo! Mail

Re: One user seeing another user's data

2004-02-24 Thread Anbu
Hello Anotonio,
 
Thanks for your reply.
 
We are using JSPs and invoke java beans from them. We have the scope parameter set to 
'application' in JSPs. I will look into the bean source code and check for non-final 
static variables.
 
Regards,
Anbu

Antonio_Fiol_BonnĂ­n [EMAIL PROTECTED] wrote:
Hi,

- Try to turn all your servlet's non-final STATIC or INSTANCE variables 
into LOCAL scope variables. This is definitely the first step, and will 
likely remove 90% of problems.

For singletons or static variables outside your servlet:

- Concentrate all your accesses to each of them in a short portion of 
code (put all accesses together). Surround them with a 
synchronized(object) { }. You will remove 80% of the remaining problems.

- If a collection is not in local scope, use a synchronized version of 
it. (??%)

For the rest, you will have to figure out The most important point 
once the above are OK, in my opinion, is that you know the business 
logic concerning object access and its required independence. It's more 
difficult, but you probably know that better than anyone.


Yours,


Antonio Fiol




Anbu wrote:

Hello All,
 
I think that this problem (one user seeing another user's data) might be due to 
threadedness/concurrency of Tomcat. Ofcourse there could be problem with the JSP 
application too.
 
Can anyone throw some light on the possible session mixups happening with Tomcat 
server? I have seen the dev mailing list that such a thing happens when there are two 
or more tomcat server instances.
 
Thanks and Regards,
Anbu 

 




Keywords (for easier searches): threading issues, session mixup, 
concurrency problems.




 ATTACHMENT part 2 application/x-pkcs7-signature name=smime.p7s


-
Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want.

RE: One user seeing another user's data

2004-02-23 Thread Anbu
Hello All,
 
I think that this problem (one user seeing another user's data) might be due to 
threadedness/concurrency of Tomcat. Ofcourse there could be problem with the JSP 
application too.
 
Can anyone throw some light on the possible session mixups happening with Tomcat 
server? I have seen the dev mailing list that such a thing happens when there are two 
or more tomcat server instances.
 
Thanks and Regards,
Anbu 


Kal Govindu [EMAIL PROTECTED] wrote:
We had this problem on our first JSP application. One of the things we
had to fix it was to remove all variable definitions from and
move them to .

Kal

-Original Message-
From: Antonio Fiol Bonnin [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 17, 2004 2:17 AM
To: Tomcat Users List
Subject: Re: One user seeing another user's data


Hi Kuloth,

Seatch Tomcat-user for concurrency problems or threading issues. 
There has been recent discussion on the topic.

Concurrency problems are the main source of session mix-up. Also look 
for instance variables (hint: avoid them in Servlets)

Antonio Fiol



Anbu wrote:

Hello Bill and All,
 
Could any one of you throw some light on a problem that I am facing on
Apache 1.3.28/Mod-jk 1.2.0/Tomcat 4.0.6 setup?
 
The problem is that an user could see someother user's data (some kind
of session mix up). When I searched the tomcat-dev list I found that
Bill had replied that the problem could be related to error handling and
it is not a synchorinazation problem.
 
Bill, as you have already seen and analyized this issue, could you
please help me on this issue ?

 
Thank you all in advance.
 
Regards,
Kuloth
 




CONFIDENTIALITY NOTE: All e-mail sent to or from this address will be received by the 
Waterfield Group corporate e-mail system and is subject to archival, monitoring, 
and/or review by someone other than the recipient or the sender.

This e-mail and any of its attachments may contain proprietary information, which is 
privileged and confidential. This e-mail is intended solely for the use of the 
individual or entity to which it is addressed. If you are not the intended recipient 
of this e-mail, you are hereby notified that any dissemination, distribution, copying, 
or action taken in relation to the contents of and attachments to this e-mail is 
strictly prohibited and may be unlawful. If you have received this e-mail in error, 
please notify the sender immediately and permanently delete the original and any copy 
of this e-mail and any printout. Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want.

RE: One user seeing another user's data

2004-02-18 Thread Anbu
Hello Antonio, Kal and All,

Thanks for your suggestions and hints. 

Regards,
Kuloth

--- Kal Govindu [EMAIL PROTECTED] wrote:
 We had this problem on our first JSP application.
 One of the things we
 had to fix it was to remove all variable definitions
 from %!...% and
 move them to %...%.
 
 Kal
 
 -Original Message-
 From: Antonio Fiol Bonnin
 [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, February 17, 2004 2:17 AM
 To: Tomcat Users List
 Subject: Re: One user seeing another user's data
 
 
 Hi Kuloth,
 
 Seatch Tomcat-user for concurrency problems or
 threading issues. 
 There has been recent discussion on the topic.
 
 Concurrency problems are the main source of session
 mix-up. Also look 
 for instance variables (hint: avoid them in
 Servlets)
 
 Antonio Fiol
 
 
 
 Anbu wrote:
 
 Hello Bill and All,
  
 Could any one of you throw some light on a problem
 that I am facing on
 Apache 1.3.28/Mod-jk 1.2.0/Tomcat 4.0.6 setup?
  
 The problem is that an user could see someother
 user's data (some kind
 of session mix up). When I searched the tomcat-dev
 list I found that
 Bill had replied that the problem could be related
 to error handling and
 it is not a synchorinazation problem.
  
 Bill, as you have already seen and analyized this
 issue, could you
 please help me on this issue ?
 
  
 Thank you all in advance.
  
 Regards,
 Kuloth
   
 
 
 
 
 CONFIDENTIALITY NOTE:  All e-mail sent to or from
 this address will be received by the Waterfield
 Group corporate e-mail system and is subject to
 archival, monitoring, and/or review by someone other
 than the recipient or the sender.
 
 This e-mail and any of its attachments may contain
 proprietary information, which is privileged and
 confidential.  This e-mail is intended solely for
 the use of the individual or entity to which it is
 addressed.  If you are not the intended recipient of
 this e-mail, you are hereby notified that any
 dissemination, distribution, copying, or action
 taken in relation to the contents of and attachments
 to this e-mail is strictly prohibited and may be
 unlawful.  If you have received this e-mail in
 error, please notify the sender immediately and
 permanently delete the original and any copy of this
 e-mail and any printout.  Thank you.
 
 

-
 To unsubscribe, e-mail:
 [EMAIL PROTECTED]
 For additional commands, e-mail:
 [EMAIL PROTECTED]
 


__
Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want.
http://antispam.yahoo.com/tools

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



One user seeing another user's data

2004-02-16 Thread Anbu
Hello Bill and All,
 
Could any one of you throw some light on a problem that I am facing on Apache 
1.3.28/Mod-jk 1.2.0/Tomcat 4.0.6 setup?
 
The problem is that an user could see someother user's data (some kind of session mix 
up). When I searched the tomcat-dev list I found that Bill had replied that the 
problem could be related to error handling and it is not a synchorinazation problem.
 
Bill, as you have already seen and analyized this issue, could you please help me on 
this issue ?

 
Thank you all in advance.
 
Regards,
Kuloth

Bill Barker [EMAIL PROTECTED] wrote:

Andi Reinbrech wrote in message
news:[EMAIL PROTECTED]
 I FINALLY figured this one out.

 Tomcat 5.0.18 as a service ignores -Djava.class.path. Rather, it takes
the
 path from the -Imagepath parameter as the classpath (I did a debug
 logger.info(Classpath:  + System.getProperty(java.class.path) and lo
and
 behold it gave me the Imagepath as the actual classpath.

 I added %CATALINA_HOME%\bin to the Imageclasspath and all is working fine.

 This sounds like a bug? Or at least an undocumented feature.


I believe that it is a documented feature. See
http://jakarta.apache.org/commons/daemon/procrun.html.


 Cheers
 Andi

 -Original Message-
 From: Andi Reinbrech [mailto:[EMAIL PROTECTED]
 Sent: 16 February 2004 14:58 PM
 To: Tomcat-User (E-mail)
 Subject: Please help with CLASSPATH problem


 Hi, this problem behaves differently under 4.1 and 5.0.18, but I can't use
 *either*.

 When I run Tomcat 5.0.18 from the command prompt, the app works 100%. It
is
 supposed to pick up a file called emapi.cfg and licenses.txt from the
 CLASSPATH. emapi.cfg works int .\axis\WEB-INF\classes, but
licenses.txt
 doesn't. However, leaving licenses.txt in the bin\ folder and starting
 Tomcat *from* that folder it works fine. Running Tomcat 5 as a service
 doesn't pick up licenses.txt although the working dir is set to be bin\.

 In the bin\ folder I also need a load of *.dtd files to validate XML
 responses. They only work when they're in the bin folder.

 Now to Tomcat 4.1: Everything works as a service, including picking up
the
 licenses.txt, but now it refuses to resolve the *.dtds. I get a SAX
 Parser error that the URI can't be relative. This is a bogus error
though,
 as I can remove all the *dtds and the error stays the same.

 Can someone PLEASE help me either fix EITHER one of these problems, or
 please refer me to an alternative server to use.
 org.apache.axis.transport.http.SimpleAxisServer works like a charm, but
not
 as a service, and shouldn't be used as a production server.

 Thanks in advance,
 Andi



 **
 Everything in this e-mail and attachments relating to the official
business
 of MultiChoice Africa is proprietary to
 the company. Any view or opinion expressed in this message may be the view
 of the individual and should not automatically
 be ascribed to the company. If you are not the intended recipient, you
may
 not peruse, use, disseminate, distribute or
 copy this message. If you have received this message in error, please
notify
 the sender immediately by email, facsimile
 or telephone and destroy the original message.


 **

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



**
 Everything in this e-mail and attachments relating to the official
business of MultiChoice Africa is proprietary to
 the company. Any view or opinion expressed in this message may be the view
of the individual and should not automatically
 be ascribed to the company. If you are not the intended recipient, you
may not peruse, use, disseminate, distribute or
 copy this message. If you have received this message in error, please
notify the sender immediately by email, facsimile
 or telephone and destroy the original message.


**




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online