tomcat 6 upgrade problems.

2007-07-13 Thread Alex Jalali
Hello, I've upgraded from tomcat 5.5 to 6. There are some problems that I need help. 1. I compiled the native .libs and added it to catalina. the startup indicated no errors and loaded with Apr. but looking at the cpu usage it was taking 99% of it. even though there was no errors and the webapp

DigestAthenticator and session registeration

2006-07-13 Thread Alex Jalali
Hello, I have extented the DigestAthenticator and everything is working fine. but after the first authentication the register(...) method of the base class does not create the internal session and set the cookie. So for every request I have to go to database and re-authenticate. This is version

Re: TomCat + mod_jk performance

2006-03-17 Thread Alex Jalali
of Apache, then you can run tomcat stand-alone. for testing load you can use Jmeter http://jakarta.apache.org/jmeter/index.html -- Alex Jalali I(2) Drive Team! I(2) Drive Online Storage http://www.i2drive.com

RE: TomCat + mod_jk performance

2006-03-17 Thread Alex Jalali
that has two CPU's run faster or it wouldn't make any diffrence? do you know of any tests done for clusters From: Alex Jalali [mailto:[EMAIL PROTECTED] Subject: Re: TomCat + mod_jk performance If you have lots of static html pages then apache is much better at handling them. Have you actually

Re: How print HTTPResponse before sent to client?

2006-03-09 Thread Alex Jalali
This is a good tool to use http://sourceforge.net/project/showfiles.php?group_id=55568release_id=115444 Hi. I use TomCat 5.5. on Windows and need to print the HTTPResponse stream that i send It is only a short text (50 characters or so) and i need to see it to help me with the debugging.

Re: Architecture question for all you gurus out there

2006-03-09 Thread Alex Jalali
ItÂ’s always better to not have fat clients and put as much of the logic on the server side. You say that this is a webapp client? So that means that your forms are static. So your only choice is to use script language that runs on client machine. This is also a bad thing. Since you don't know

RE: User authentication

2006-03-08 Thread Alex Jalali
Hello all, Whatr is best way to create loging authentication if u had multipal login form/pages. please help me out. When you say multiple form pages, are they all the same? Or do they login to different webapps? If different webapps, you could use the SingleSignOn Valve

Re: Accessing the webapps

2006-03-03 Thread Alex Jalali
If I understand you correctly, then you need to set this property of context Context name=root path= docBase=myfirstwebapp Hi all, I'm currently using Tomcat 5.0.28 On Linux. I have a webapps which is myfirstwebapp It is under $CATALINA_BASE/webapps. When i use a web browser using

Re: Testing DataSourceRealms

2006-03-03 Thread Alex Jalali
I'm working on setting up BASIC authentication using container managed security in Tomcat 5.5.15. However, It's not working so now I'm wondering if my set up is wrong. The JNDI DataSource definitely works, I'm not so sure about the realm. Is there another way to test it? Would you mind

RE: Testing DataSourceRealms

2006-03-03 Thread Alex Jalali
, March 03, 2006 7:16 PM To: Tomcat Users List [EMAIL PROTECTED] Subject: RE: Testing DataSourceRealms response inline... -Original Message- From: Alex Jalali [mailto:[EMAIL PROTECTED] Sent: Fri 3/3/2006 4:09 PM To: Tomcat Users List Subject: Re: Testing DataSourceRealms I'm working

RE: Testing DataSourceRealms

2006-03-03 Thread Alex Jalali
] Subject: RE: Testing DataSourceRealms response inline... -Original Message- From: Alex Jalali [mailto:[EMAIL PROTECTED] Sent: Fri 3/3/2006 4:09 PM To: Tomcat Users List Subject: Re: Testing DataSourceRealms I'm working on setting up BASIC authentication using container managed security

RE: Testing DataSourceRealms

2006-03-03 Thread Alex Jalali
I know I was making a point about privileged... -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Friday, March 03, 2006 8:31 PM To: Tomcat Users List Subject: RE: Testing DataSourceRealms From: Alex Jalali [mailto:[EMAIL PROTECTED] Subject: RE: Testing

Optimizing tomcat

2006-03-02 Thread Alex Jalali
Hello, I have the following setup. Java jdk 1.4.2 tomcat 5.0.19 Apache 2.0 mod_jk 2.0 ok there are 3 instances of tomcat and one of them with 4 webapps contexts. and 3 large applications that are used a lot. And I do some preloading of some data from database into objects at start up... About

Re: DataSourceRealm Configuration Question (5.5.15)

2006-03-02 Thread Alex Jalali
It can be in the context. I have mine within the context... inside server.xml but I guess if you have your context in context.xml thats fine too. Can a JNDI DataSourceRealm be defined in my web app's context.xml file, or must it be in the container's server.xml file? Thanks

RE: How to separate tomcat instances?

2006-02-28 Thread Alex Jalali
To save some disk space you could have one complete set of the binary distribution and from your 3 directories, create symbolic links to static files. They are most everything except config and log files and the startup scripts. This is also good when you are upgrading tomcat or want to make

RE: Where is org.apache.catalina.realm.DataSourceRealm ?

2006-02-28 Thread Alex Jalali
It is contained within /tomcat/server/lib/catalina-optional.jar After you create the class placed it under /tomcat/server/classes For some reason when I place it in WEB-INF/classes, tomcat couldn't find it. Maybe my class path error anyway For configuration this is an example for mysql. I

Adding a Customized authenticator

2006-02-25 Thread Alex Jalali
Hello, I would like to extend the DigestAuthenticator class or BaseAuthenticator and use that instead of the tomcat default. I have done that but I don't know how to have it referenced in web.xml under security-constraint. Or maybe in server.xml similar to the way you can create a customized Ream

Adding a Customized authenticator

2006-02-25 Thread Alex Jalali
Hello, I would like to extend the DigestAuthenticator class or BaseAuthenticator and use that instead of the tomcat default. I have done that but I don't know how to have it referenced in web.xml under security-constraint. Or maybe in server.xml similar to the way you can create a

RE: Adding a Customized authenticator

2006-02-25 Thread Alex Jalali
So where would this go? under /security-constraint ?? can you be more specific. -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Bill Barker Sent: Saturday, February 25, 2006 1:15 PM To: users@tomcat.apache.org Subject: Re: Adding a Customized authenticator Alex