RE: How to disable default servlet?

2007-01-08 Thread Narayanaswamy, Mohan
I have removed the entry, but I am just getting 404 error alone for dynamic and static request. Regards, Mohan -Original Message- From: Hassan Schroeder [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 09, 2007 12:16 PM To: Tomcat Users List Subject: Re: How to disable default servlet?

Re: web application - student need help

2007-01-08 Thread Michael Ni
Hi Caroline, first i want to thank you for the time you spent to answer my reply. second, in your example, which imports are irrelavant to me? i'm assuming i dont need any of the artimus stuff, whatever that is. thanks mike ni From: Caroline Jen <[EMAIL PROTECTED]> Reply-To: "Tomcat Users

Re: How to disable default servlet?

2007-01-08 Thread Hassan Schroeder
On 1/8/07, Narayanaswamy, Mohan <[EMAIL PROTECTED]> wrote: I need to disable default servlet to restrict serving the static pages. We use shared Apache+Tomcat, We need apache to serve static and tomcat for dynamic, By no way tomcat should provide static resources. If you've configured Apache

How to disable default servlet?

2007-01-08 Thread Narayanaswamy, Mohan
I need to disable default servlet to restrict serving the static pages. We use shared Apache+Tomcat, We need apache to serve static and tomcat for dynamic, By no way tomcat should provide static resources. Regards, Mohan This email is confidential. If you are not the addressee tell the sender i

Re: Web Statistics in Tomcat 5.5

2007-01-08 Thread Leon Rosenberg
:-) Speaking of devil. http://moskito.anotheria.net https://moskito.dev.java.net (for sourcecode) On 1/9/07, Chetan Pandey <[EMAIL PROTECTED]> wrote: Hi All: I just want to know if there is any Free and Open Source Software for Tomcat 5.5 which will generate all the Web Statistics related to

Tomcat5.5 webserver unstable

2007-01-08 Thread mocherla14
EFFECT: Tomcat server goes down now and then for no reason. The GUI can not be accesed. Problem has been facin even and then DESCRIPTION: This is the line in the Catalina log file: Dec 5, 2006 11:33:07 AM org.apache.tomcat.util.threads.ThreadPool logFull SEVERE: All threads (200) are currently b

RE: web application - student need help Thank You's

2007-01-08 Thread Narayanaswamy, Mohan
Mike, Using rdbms table for authentication isn't bad, but make sure you store only the hashed password, So even DBA can't read them. When user enters the password again hash it and compare with the db hashed password. Make sure you enabled https, so that even network snuffers can't read them. I

RE: web application - student need help Thank You's

2007-01-08 Thread Michael Ni
I just want to thank everyone who provided input to my question. I am going to try to set up the connection pool. By the way. I have another question about authentication to websites. For authentication, currently I bascially have a "Person" table, where one field is your permission. exampl

Re: Web Statistics in Tomcat 5.5

2007-01-08 Thread Dhaval Patel
How about Lambda Probe (http://www.lambdaprobe.org/) ? Regards, D --- Chetan Pandey <[EMAIL PROTECTED]> wrote: > Hi All: > > > > I just want to know if there is any Free and Open Source Software for Tomcat > 5.5 which will generate all the Web Statistics related to User Interaction > with our

Web Statistics in Tomcat 5.5

2007-01-08 Thread Chetan Pandey
Hi All: I just want to know if there is any Free and Open Source Software for Tomcat 5.5 which will generate all the Web Statistics related to User Interaction with our Web-site. Preferably without requiring installation of Apache httpd. Thanks for your kind reponse(s). Chetan ___

Re: APR not picking up tcnative-1.dll

2007-01-08 Thread robert lazarski
On 1/8/07, Caldarale, Charles R <[EMAIL PROTECTED]> wrote: > From: robert lazarski [mailto:[EMAIL PROTECTED] > Subject: Re: APR not picking up tcnative-1.dll > > > > 2) Are you using a 64-bit JVM on the Windows box? > > Nope! We are using the 32bit jvm . Does that matter since the > dll is native

Re: Running Tomcat5.5 as 64 bit application

2007-01-08 Thread chaitya shah
ya it is possible coz i have AMD 64 bit processor windows 2003 as operating system and i can run Tomcat 5.5 as a service and as a 64 bit application On 1/9/07, Jonas Fagerstrom <[EMAIL PROTECTED]> wrote: > Sinkinson,Andrew [NCR] wrote: > > I am currently in the process of setting up a Windows

Re: Java memory profiler

2007-01-08 Thread Martin Gainty
Hakan-- Have you looked at JProfiler? http://www.javaperformancetuning.com/tools/jprofiler/index.shtml If you're exhausting permgen inspect number and upper limit of primitive arrays you are implementing http://wiki.caucho.com/Java.lang.OutOfMemoryError:_PermGen_space HTH Martin -- --

Java memory profiler

2007-01-08 Thread Hakan . Barisik
Hi, I would like to profile a Tomcat application on Solaris machine. I would like to find out lingering objects by that. I beleive it should be possible to do this from client tool (runningon PC ) to remote JVM on Solaris. I would appreciate any suggestions. Regards Hakan This

Re: Running Tomcat5.5 as 64 bit application

2007-01-08 Thread Jonas Fagerstrom
> Sinkinson,Andrew [NCR] wrote: > > I am currently in the process of setting up a Windows 2003 AMD 64 bit > > server. I would like to know if it is possible to run Tomcat 5.5 as a > > service and as a 64 bit application. Does anybody have any experience > > with this? Any help would be greatly a

RE: tomcat 5.5.20: /jsp-examples and /servlets-examples

2007-01-08 Thread Brzezinski, Paul J
Thank you Chuck -- I rebuilt from source and this time everything works w/o problems. Regards, Paul -- [EMAIL PROTECTED] Global Client Engineering - GM EDS Corporation 248-365-9615 > -Original Message- > From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] > Sent: Monday, January 08,

Re: timestamp of tomcat startup?

2007-01-08 Thread Leon Rosenberg
On 1/8/07, cifroes <[EMAIL PROTECTED]> wrote: Leon Rosenberg wrote: > > Hehe, I was thinking more about making advertisement for my own > project :-) > lambdaprobe is good for more information on tomcat as server. > moskito (http://moskito.anotheria.net, http://moskito.java.dev.net) is > more abo

Re: web application - student need help

2007-01-08 Thread Andrew Miehs
| | i remember when websites like friendster.com came out, it was really | slow. | | now it is much faster, do you guys know where does a student learn | | about how to handle high traffic web applications? is there any | | classes? http://www.kegel.com/c10k.html is a good place to start

RE: Problem setting server.xml field.

2007-01-08 Thread Caldarale, Charles R
> From: William Holloway [mailto:[EMAIL PROTECTED] > Subject: Re: Problem setting server.xml field. > > Is the use the name ROOT required for the WAR or is there > another way to specify the default context for the Host? If the webapp is deployed under the 's appBase directory, then yes, the

Re: timestamp of tomcat startup?

2007-01-08 Thread cifroes
Leon Rosenberg wrote: Hehe, I was thinking more about making advertisement for my own project :-) lambdaprobe is good for more information on tomcat as server. moskito (http://moskito.anotheria.net, http://moskito.java.dev.net) is more about providing additional information about the webapp an

RE: APR not picking up tcnative-1.dll

2007-01-08 Thread Caldarale, Charles R
> From: robert lazarski [mailto:[EMAIL PROTECTED] > Subject: Re: APR not picking up tcnative-1.dll > > > > 2) Are you using a 64-bit JVM on the Windows box? > > Nope! We are using the 32bit jvm . Does that matter since the > dll is native ? I suspect so, but I'm not positive. Try installing th

Re: APR not picking up tcnative-1.dll

2007-01-08 Thread robert lazarski
See comments inline: On 1/8/07, Caldarale, Charles R <[EMAIL PROTECTED]> wrote: > From: robert lazarski [mailto:[EMAIL PROTECTED] > Subject: APR not picking up tcnative-1.dll > > However I cannot get this to appear on XP x64 , just linux. I spent > all day googling. Any ideas? Two questions: 1

Re: Problem setting server.xml field.

2007-01-08 Thread William Holloway
I'm attempting a very similar setup and have been successful using the info described here. Thanks for providing the detailed walk-through. I have a follow up question, though. Is the use the name ROOT required for the WAR or is there another way to specify the default context for the Host? I ask

RE: APR not picking up tcnative-1.dll

2007-01-08 Thread Caldarale, Charles R
> From: robert lazarski [mailto:[EMAIL PROTECTED] > Subject: APR not picking up tcnative-1.dll > > However I cannot get this to appear on XP x64 , just linux. I spent > all day googling. Any ideas? Two questions: 1) Is it really a 64-bit version of XP? 2) Are you using a 64-bit JVM on the Wind

APR not picking up tcnative-1.dll

2007-01-08 Thread robert lazarski
Hi all, I've got APR working on linux just fine via LD_LIBRARY_PATH on my dev box , but I can't get APR working on the target XP on x64 intel box via the system path environment variable. I'm using tomcat 5.5.18 which is embedded into JBoss 4.0.5 . AFAICT 5.5.18 uses APR 1.1.3 and I downloaded th

RE: Application specific directory listings not working as expected

2007-01-08 Thread Caldarale, Charles R
> From: [EMAIL PROTECTED] > Subject: Application specific directory listings not working > as expected > > The idea is the configure a "application specific" default > servlet (simply copy from tomcat's web.xml), change the > servlet name and add a servlet mapping for the specific > directory t

Re: web application - student need help

2007-01-08 Thread chaitya shah
well tracy i have to dfind hw traffic should be control bt ya for database u have to use JDBC pool bean it ll make ur application much fast.. On 1/8/07, Nelson, Tracy M. <[EMAIL PROTECTED]> wrote: | From: Michael Ni [mailto:[EMAIL PROTECTED] | Sent: Friday, 05 January, 2007 16:38 | | even with c

RE: web application - student need help

2007-01-08 Thread Nelson, Tracy M.
Hmmm, interesting, a lot of the articles I remember reading don't seem to be available anymore. Too bad, there were some good war stories. They've probably all been pulled and reworked into Learning Tree "Building Scalable Web Architectures" courses. Most of what I could find about new "Web 2.0"

RE: Standards Complaint Browser Campaign

2007-01-08 Thread Peter Crowther
> From: EDMOND KEMOKAI [mailto:[EMAIL PROTECTED] > Web developers aren't suppose to be supporting browsers!! That's rather like saying "Windows developers aren't supposed to be supporting Vista *and* XP!!" or "Linux developers aren't supposed to be supporting different distros!!" Your code runs

RE: Standards Complaint Browser Campaign

2007-01-08 Thread Robert Harper
Robert S. Harper Information Access Technology, Inc. -Original Message- From: EDMOND KEMOKAI [mailto:[EMAIL PROTECTED] Sent: Monday, January 08, 2007 9:51 AM To: Tomcat Users List Subject: Re: Standards Complaint Browser Campaign "Web developers aren't suppose to be supporting browsers!

Re: Standards Complaint Browser Campaign

2007-01-08 Thread Leon Rosenberg
On 1/8/07, EDMOND KEMOKAI <[EMAIL PROTECTED]> wrote: Web developers aren't suppose to be supporting browsers!! Go tell this my boss! :-) Leon On 1/8/07, Nelson, Tracy M. <[EMAIL PROTECTED]> wrote: > > | From: Pierre Goupil [mailto:[EMAIL PROTECTED] > | Sent: Saturday, 06 January, 2007 10:18

RE: Standards Complaint Browser Campaign

2007-01-08 Thread Nelson, Tracy M.
| From: Christopher Schultz [mailto:[EMAIL PROTECTED] | Sent: Sunday, 07 January, 2007 09:56 | | At any rate, you should try to avoid anything that's not a W3C standard. Yeah, so stay away from Mozilla's little "shortcuts" like using document.getElementsByTagName('tag')['name'] (gEBTN() is define

Re: Standards Complaint Browser Campaign

2007-01-08 Thread EDMOND KEMOKAI
Web developers aren't suppose to be supporting browsers!! On 1/8/07, Nelson, Tracy M. <[EMAIL PROTECTED]> wrote: | From: Pierre Goupil [mailto:[EMAIL PROTECTED] | Sent: Saturday, 06 January, 2007 10:18 | | Does anyone know about Tomcat's generated HTML standards compliance ? In | developpement,

RE: web application - student need help

2007-01-08 Thread Ross, Scott
Tracy Nelson. Out of curiosity, can you point to some articles relating to the growing pains you mentioned regarding Slashdot, Granddaddy and MySpace? Thanks Scott Ross -Original Message- From: Nelson, Tracy M. [mailto:[EMAIL PROTECTED] Sent: Monday, January 08, 2007 11:01 AM To: Tomcat

RE: Standards Complaint Browser Campaign

2007-01-08 Thread Nelson, Tracy M.
| From: Pierre Goupil [mailto:[EMAIL PROTECTED] | Sent: Saturday, 06 January, 2007 10:18 | | Does anyone know about Tomcat's generated HTML standards compliance ? In | developpement, I'm using Firefox & Konqueror, but in production they will | be | using IE, so... Can it be that I run into problem

RE: web application - student need help

2007-01-08 Thread Nelson, Tracy M.
| From: Michael Ni [mailto:[EMAIL PROTECTED] | Sent: Friday, 05 January, 2007 16:38 | | even with connection pooling, how many connections are we looking at here? | if my project works as intended, im predicting from 30 to 1000 poeple | simultaneously hitting tomcat and sql server. If you're jus

How to forcibly close abandoned database connections?

2007-01-08 Thread David Uctaa
Tomcat provides the removeAbandoned and removeAbandonedTimeout parameters when setting up data sources in server.xml. But according to the documentation I've read, abandoned connections only get closed and recycled when available connections run low and new connections are requested. Is there a

RE: something wrong creating datasource after war deployement

2007-01-08 Thread Caldarale, Charles R
> From: Arnaud MERGEY [mailto:[EMAIL PROTECTED] > Subject: Re: something wrong creating datasource after war deployement > > I updated the META-INF/context.xml in the unpacked directory, You need to update the one in conf/Catalina/[host], since that overrides the ones in the .war and the unpacke

Re: something wrong creating datasource after war deployement

2007-01-08 Thread Arnaud MERGEY
thanks, I updated the META-INF/context.xml in the unpacked directory, this is strange because when I update the META-INF/context.xml, I can see newly datasources in the tomcat admin webapps (but with blank driver class and url info). If I update META-INF/context.xml in application without war

RE: something wrong creating datasource after war deployement

2007-01-08 Thread Caldarale, Charles R
> From: Arnaud MERGEY [mailto:[EMAIL PROTECTED] > Subject: Re: something wrong creating datasource after war deployement > > Like you, I think there is a conflict between context.xml in > war and in unpacked directory (because wtihout war all works > as expected) As David mentioned earlier, whe

Application specific directory listings not working as expected

2007-01-08 Thread Roland Lammel
Hi all, The default setting for directory listing is false in tomcat's web.xml(which is good idea anyway), some applications require directory listings though. Trying to follow a configuration posted earlier, I found that to be not working as expected. The idea is the configure a "application sp

Re: something wrong creating datasource after war deployement

2007-01-08 Thread David Delbecq
The context.xml inside war will anyway override any custom datasrouces your may have created after previous deployment, so i think it's not a viable issue to use both (one will anyway always override the other). Maybe you can configure your custom datasource at server level (server.xml)? En l'inst

Re: something wrong creating datasource after war deployement

2007-01-08 Thread Arnaud MERGEY
I need to provide a context.xml in the war because there are default datasources configured for my app., but it must be possible to add datasources after app. deployment. Like you, I think there is a conflict between context.xml in war and in unpacked directory (because wtihout war all works as

Re: something wrong creating datasource after war deployement

2007-01-08 Thread David Delbecq
If you want to edit the context.xml yourself, remove it from the .war file. I suppose there is a conflict between the context.xml you deploy yourself and the one inside the .war. I think when you deploy an unpacked directory the META-INF/context.xml file is ignored. (Not 100% sure) En l'instant pr

Re: something wrong creating datasource after war deployement

2007-01-08 Thread Arnaud MERGEY
Thanks for reply, my db is Oracle 9i The problem isn't a security or driver problem, I have tested also in the same tomcat, in webapps: - Cpying the unpacked version only, modify context and web.xml, all works perfectly. - Removing in the same tomcat the application, copying the war file and mo

Re: something wrong creating datasource after war deployement

2007-01-08 Thread David Delbecq
Get the full stacktrace of exception to know when this happen. If both install are same, maybe one is on a server that has no access to the db (check the db security settings). Also, what did you compare with windiff? The webapp directories or the full tomcat install directores? Your META-INF/cont

Re: something wrong creating datasource after war deployement

2007-01-08 Thread Gregor Schneider
Check if there are any differencesx in the directories - $CATALINA_HOME/server/lib - $CATALINA_HOME/common/lib - $CATALINA_HOME/shared/lib My guess is, that in one of those directories there's a jar-file containing the database driver that is missing in your other Tomcat-installation. BTW., wha

something wrong creating datasource after war deployement

2007-01-08 Thread Arnaud MERGEY
Hi something strange appends with an application On tomcat 5.5.20 (same behavior with tomcat 5.5.17) I deploy an application copying an unpacked war directory into webapps directory. I add a datasource updating the META-INF/context.xml and WEB-INF/web.xml like tomcat how-to. All works perfectly

Re: Error when stopping or reloading web application

2007-01-08 Thread Leon Rosenberg
A good solution (or it seems to be one, at least it works for me) is to have a contextlistener which explicitely stops all custom threads (even daemon threads). regards Leon On 1/8/07, David Delbecq <[EMAIL PROTECTED]> wrote: I have the same problem here. That's a problem coming from the way ja

Re: Error when stopping or reloading web application

2007-01-08 Thread David Delbecq
I have the same problem here. That's a problem coming from the way jakarta common logging works together with the way tomcat invalidate it's webappclassloader before calling the servelt unloading code. When a class need a logger it does all sort of classloading stuff. Unfortunately, when you do thi

Error when stopping or reloading web application

2007-01-08 Thread Andre Prasetya
Hi, I got a problem. I always see this at catalina.out everytime I stopped or reload the web application, what can I do to stop this ? My Application is Thread based and run behind a web application. When the web application stopped, it will set the stop value of the Thread as true and will dump e