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 w

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 5

Tomcat runs slow on linux

2006-03-27 Thread Alex Jalali
Hi, I upgraded tomcat to 5.5 and also jdk to 1.5 and after making changes to my app everything was great (on my local machine) which is a windows XP. But after setup on the server it runs sooo slow. I still have the older tomcat running another application and that one is fine. Both of these tomc

RE: TomCat + mod_jk performance

2006-03-17 Thread Alex Jalali
erver 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

Re: TomCat + mod_jk performance

2006-03-17 Thread Alex Jalali
es 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.i2driv

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 much

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=55568&release_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 debugg

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 Can you explain more about

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

RE: Testing DataSourceRealms

2006-03-03 Thread Alex Jalali
ealms 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 in Tomcat 5.5

RE: Testing DataSourceRealms

2006-03-03 Thread Alex Jalali
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 > secu

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 mi

Re: Accessing the webapps

2006-03-03 Thread Alex Jalali
If I understand you correctly, then you need to set this property of context 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 http://localhost:8080/myfirstwebapp, it > works

Re: Quick question

2006-03-02 Thread Alex Jalali
You would have to add those to the ../WEB-INF/lib/ In this case for javax.mail.* you would need to downlaod the java mail API and put the mail.jar under that folder. Any package that you place in that folder will be added to your class path automaticly. (for that conetext) so there is no need to d

Re: DataSourceRealm Configuration Question (5.5.15)

2006-03-02 Thread Alex Jalali
It can be in the context. I have mine within the > 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 > > > - > To unsubscribe, e-mail: [EMAIL PRO

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 e

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 ext

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 change

RE: Adding a Customized authenticator

2006-02-25 Thread Alex Jalali
So where would this go? under ?? 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 Jalali&quo

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 cus

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