Re: Running Servlet in Tomcat

2005-09-29 Thread Mark Thomas
Reading the provided documentation is usually a good place to start. Singh, VilishKumar wrote: I have done that. I have not used any package in my servlet. You must place all your class files in packages. http://jakarta.apache.org/tomcat/faq/classnotfound.html Can u describe the steps

Re: Webapp deploy on windows

2005-09-29 Thread Mark Thomas
Joakim Ahlén wrote: I'm not trying to blame anyone for not fixing this issue, (well, maybe i'm laying some blame on those who thinks this is _not_ a tomcat issue..) however, i am really interested in having this bug fixed, and i am prepared to put some effort and time into it myself. To do

RE: Running Servlet in Tomcat

2005-09-29 Thread Singh, VilishKumar
Thanks all, I have done it. Actually I was creating the separate servlet and servlet-mapping tags in addition to the already existing one. When I put the entries inside the these existing tags, it worked Thanks again Regards, Vilish -Original Message- From: Mark Thomas

RE: Multiple tomcat services?

2005-09-29 Thread Jens Nordberg
Thank you very much, Arup and Hardik! I installed the second instance of tomcat without the service and then edited the service.bat file to start the service under another name and it works flawlessly :) /Jens -Original Message- From: Arup Vidyerthy [mailto:[EMAIL PROTECTED] Sent: den

Re: Jsps

2005-09-29 Thread Leon Rosenberg
if you haven't reconfigured your resin - actually nothing. just drop your war file in webapps. if you did, you have to do the same you did in httpd.sh now in catalina.sh. More or less. leon On 9/29/05, Prema Kumar [EMAIL PROTECTED] wrote: Hi, I have an Application which is J2EE

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

2005-09-29 Thread Leon Rosenberg
On 9/29/05, matador [EMAIL PROTECTED] wrote: Leon Rosenberg [EMAIL PROTECTED] wrote in news:[EMAIL PROTECTED]: now how exactly writing a thread which polls the db is less messy, than writing a thread that polls a file? regards leon no need for threads with db. change the val in

Re: custom session manager

2005-09-29 Thread Leon Rosenberg
check this out: http://www.niallp.pwp.blueyonder.co.uk/TomcatBug36541.html The link itself handles a bug, but one of the solutions is to replace the std. manager with custom manager with all info you need to actually do this. I thin kthis fits your question. regards leon On 9/29/05, Mark

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.

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 tomcatHome/conf/ folder. Say if u have

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

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

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 principal =

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,

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

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

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

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

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

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

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 , Can

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

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

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

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

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

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

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

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]

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-

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

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 think.

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

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

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