Re: Tomcat Alone or tomcat+IIS/Apache

2005-09-29 Thread Mladen Turk
Peddireddy Srikanth wrote: And they argue that as Tomcat it self runs inside a JVM, which inturn is a single process all the threads etc wil be simulted ones (and not the native threads) and hence it will not scale up well under high loads. Is this argument a valid one or just a misunderstandin

Re: Tomcat Alone or tomcat+IIS/Apache

2005-09-29 Thread Peddireddy Srikanth
Dear Chuck, your mail is very informative. We r facing a similar issue in our organization :: Tomcat or Apache+tomcat. And the supporters of Apache+tomcat are arguing that as Apache/IIS can make use of native OS (windows inour case) libraries for thread management , memory mangement etc, they wi

Re: SQL Server 2000: JDBC

2005-09-29 Thread MERT EREN ÜSTÜNKAYA
Hei, I used to have that problem i am not sure but this happens when you dont close the connections i guess. Use "sp_who" STORED procedure to check the logged on users to SQL2000.. sree kanth wrote: Hello lalit, we too had the problem of connection reset by peer and then we changed the

tomcat caching issue

2005-09-29 Thread Santosh Asbe
Hi All, I need your help for this problem very urgently. I have tomcat 4.1.30 on Linux. It servers as a web server and contains only JSP & Servlets. We make a remote call to Websphere Application Server ( on AIX) using corbaloc like 'corbaloc::ip1:2809:ip2:2809'. Now when i one of my App server f

RE: Re: Flexible way of defining application variables in text format?

2005-09-29 Thread Caldarale, Charles R
> From: news [mailto:[EMAIL PROTECTED] On Behalf Of matador > Subject: Re: Flexible way of defining application variables > in text format? > > > > First: you can load your property files on each request as well. > > really, using what? Try the java.util.Properties.load() method. You can check

Precompile jsps into work directory

2005-09-29 Thread Scott Goldstein
I've searched the archives and couldn't find an answer to this question. The Tomcat manual suggests using Jspc to precompile jsps. The method it describes precompiles the jsps and creates stub servlet definitions for each jsp to place within web.xml. Instead of this method, I would like to simply

Re: SQL Server 2000: JDBC

2005-09-29 Thread sree kanth
Hello lalit, we too had the problem of connection reset by peer and then we changed the Driver.Now we are using SourceForge driver jtds.jar.May be this may solve ur problem. If anyone can find a better alternative please inform us. Regards, Sreekanth >

Re: Flexible way of defining application variables in text format?

2005-09-29 Thread matador
Leon Rosenberg <[EMAIL PROTECTED]> wrote in news:[EMAIL PROTECTED]: > > First: you can load your property files on each request as well. really, using what? im curious -- struts and regular properties files out of the box dont support that behaviour, so you would have to 'roll your own' i thi

Asking Again: 5.5.12 Broke my 5.5.9 Config

2005-09-29 Thread Bob Bronson
Hi all, I asked this question a couple days ago but received no helpful responses. I thought I'd try one more time. If anyone has had experience with this, please let me know. Thanks... I've just tried to "upgrade" from TC v5.5.9 to v5.5.12 and it seems my (very simple) configuration

Tomcat shutdown details

2005-09-29 Thread Nelson, Lorrin
What happens to in-flight requests when Tomcat is shut down via the standard shutdown.sh? I'd like to be able to have Tomcat stop accepting new requests, finish with the ones in-flight, and exit. The requests I'm dealing with take from a few milliseconds to 6 seconds to complete. Thanks- Lo

Re: Charset configurations for JSP pages

2005-09-29 Thread Mieke Banderas
Mark Thomas said: >Read the spec. Where in the spec? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Why doesn't my context work?

2005-09-29 Thread Mark Eggers
--- Michael Sullivan <[EMAIL PROTECTED]> wrote: [ lots of stuff snipped ] OK, I finally got around to putting this together on my Limux (Fedora Core 4) box. My environment: 2.6.12-1.1456_FC4 running on a Dell 8200 with 768 MB java 1.5.0_04-b05 apache 2.0.54 mod_jk 1.2.14.1 tomcat 5.5.9 My confi

RE: Capturing User Passwords

2005-09-29 Thread Bovy, Stephen J
Woops, sorry I misread Stephen Bovy Computer Associates 6100 Center Drive Suite 700 Los Angeles, CA 90045 Tel: (310) 957-3930 Fax: (310) 957-3917 e-mail: [EMAIL PROTECTED] -Original Message- From: Perry, Greg (UK - London) [mailto:[EMAIL PROTECTED] Sent: Thursday, September 29, 2005 11:

RE: Capturing User Passwords

2005-09-29 Thread Perry, Greg \(UK - London\)
Hi Stephen, Aaron posted the link (Thanks Aaron!) - so I guess your request is best directed to him. Cheers, Greg -Original Message- From: Bovy, Stephen J [mailto:[EMAIL PROTECTED] Sent: Thu 29/09/2005 19:53 To: Tomcat Users List Cc:

RE: Capturing User Passwords

2005-09-29 Thread Bovy, Stephen J
Hi Greg , thanks for the link. Your download does not have any source, ( can you share it ?? ) Stephen Bovy Computer Associates 6100 Center Drive Suite 700 Los Angeles, CA 90045 Tel: (310) 957-3930 Fax: (310) 957-3917 e-mail: [EMAIL PROTECTED] -Original Message- From: Aaron Loucks [ma

RE: Struts Validation

2005-09-29 Thread Raghupathy,Gurumoorthy
Send your ApplicationResource.properties and alsi the struts-config.xml -Original Message- From: Phillip Qin [mailto:[EMAIL PROTECTED] Sent: 29 September 2005 17:52 To: Tomcat Users List Subject: RE: Struts Validation You need to copy some messages from validator-rules.xml's commented o

RE: Struts Validation

2005-09-29 Thread Phillip Qin
You need to copy some messages from validator-rules.xml's commented out block. -Original Message- From: Samara, Fadi N Mr ACSIM/ASPEX [mailto:[EMAIL PROTECTED] Sent: September 29, 2005 12:44 PM To: 'tomcat-user@jakarta.apache.org' Subject: Struts Validation Dear list, I have a very simp

Struts Validation

2005-09-29 Thread Samara, Fadi N Mr ACSIM/ASPEX
Dear list, I have a very simple form that I am validating. I enables the plugin and the validation works fine, but when I submit an empty form, it shows NULL instead of picking the correct msg for the particular field from the properties files. Any idea why this is happening ? I tried all versio

AW: session state preserved across different applications

2005-09-29 Thread Bernhard Slominski
Hi Michael, this comes up every so often, so here is just the answer, which I posted some time ago: First of all the session is ALWAYS on application scope, this is not an Tomcat specific behaviour but a requirement of the Specification: "SRV.7.3 Session Scope HttpSession objects must be scoped a

AW: How to PreCompile JSPs

2005-09-29 Thread Bernhard Slominski
>From the Tomcat docs: http://jakarta.apache.org/tomcat/tomcat-5.5-doc/jasper-howto.html > -Ursprüngliche Nachricht- > Von: Murali [mailto:[EMAIL PROTECTED] > Gesendet: Donnerstag, 29. September 2005 16:54 > An: tomcat-user@jakarta.apache.org > Betreff: How to PreCompile JSPs > > > Hi ,

SQL Server 2000: JDBC

2005-09-29 Thread Lalit Batra
Hi! I am investigating the error messages below. These messages come once in a while and sometime together as a bunch. We are using connection pooling inside a servlet and also using some classes (in Jsp) without connection Pooling. Error making pool: java.sql.SQLException: [Microsoft][SQLServer 2

XP SP1 and WebDav, login error (domain name prefix)

2005-09-29 Thread Salvatore Denaro
I'm having troubles setting up WebDav with tomcat 5.5.9 on JDK 1.5_04 on Fedora Linux FC4 The webdav share works perfectly from my Mac running OS X.3. When I try to connect to the WebDav share from my laptop running XP, the login box comes up and insists on putting changing the login name to

TC 5.5.9 - how to use the system classpath

2005-09-29 Thread Norris Shelton
Our tomcat's are configured to use the system classpath for a large amount of the libraries. With TC 4.1.30, we modify the setclasspath.* and use catalina.sh start to start it. I tried this with TC 5.5.9 and it did not work. Is there something else that I am supposed to do to make the system cla

Re: How to PreCompile JSPs

2005-09-29 Thread James Black
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Murali wrote: > Hi , > Can you someone provide me some information on how to precompile JSPs > (probably thousands of JSPs) ? This might help. http://www.rgagnon.com/javadetails/java-0414.html - -- "Love is mutual self-giving that ends in self-reco

How to PreCompile JSPs

2005-09-29 Thread Murali
Hi , Can you someone provide me some information on how to precompile JSPs (probably thousands of JSPs) ? Regards, Murali

Re: Running Servlet in Tomcat

2005-09-29 Thread Partheeban Boopathy
Hi Copy your class file in webapps/YourApplication/WEB-INF/classes folder and restart the server,it will work. Thanks Parthi On 9/29/05, Singh, VilishKumar <[EMAIL PROTECTED]> wrote: > > Hi all, > I have compiled my servltet class and but hen I put the .class file into > the webapps/ROOT/WEB-IN

wrapper.properties is existing?

2005-09-29 Thread Matson, Sunny \(GE Healthcare\)
Hi All, Is there any wrapper.properties file we can write in Tomcat 5.5 which is equivalent to jserv.properties in Jserv. If it is, how should I write this file and where I need to place it. Thanks in Advance, Sunny Matson

session state preserved across different applications

2005-09-29 Thread Michal Kwiatek
Dear all, How is it possible to preserve session state across different applications deployed in tomcat? I'm pretty sure I saw it somewhere, but I can't remember where it was... Thanks in advance, Michał. - To unsubscribe, e

Re: Capturing User Passwords

2005-09-29 Thread [EMAIL PROTECTED]
Thanks Larry - that's worked for me!-Original Message-From: Larry Meadors [mailto: [EMAIL PROTECTED]] Sent: 29 September 2005 04:01To: Tomcat Users List Subject: Re: Capturing User PasswordsHere is the code (this is for tomcat 4.1.x):       if(log.isDebugEnabled()){          Principal princ

combining form based authentication with https

2005-09-29 Thread Peddireddy Srikanth
Hi all, I have a basic doubt If there are any resoursec which will me on this please point me towards them. I will carry on from there. My question is how to combine the form based authentication, where we use "jsecuritycheck" , "jusername" etc with https. As far as I know if we use form based a

Re: Webapp deploy on windows

2005-09-29 Thread Joakim Ahlén
Thanks for your reply, I looked into bug 10026 and found out that there has been some issues with dtds stored inside jar-files, which is exactly our case. This is the first time i've actually came across some type of cause for this problem, so i'll look into this further before i start digging

Re: pointing to a folder outside tomcat webapps

2005-09-29 Thread Peddireddy Srikanth
Iam not sure whether this wil help u or not. But this is some thing I know and want to share it. If you want to have more than one contets (i.e run more than one web application from a single tomcat) u can create xml files for each contect and put them in /conf/ folder. Say if u have two contexts

PrivilegedActionException

2005-09-29 Thread Giuseppe Briotti
Hi, we have a JBoss+Tomcat embedded application server. Sometimes in the logs we found a PrivilegedActionException, that randomically occours. This exception stops the application related and it is necessary to re-deploy the application. Unfortunatelly the stack is not clear... Any hints? G.