Re: tomcat caching issue

2005-09-30 Thread Tim Funk
Based on everything written so far - there is no evidence tomcat would be chaching anything. I'd suggest placing as much debug code in your code as possible via a logging pacakge such as log4j/commons-logging so the log information can be turned on via configuration directives. -Tim

RE: Tomcat Alone or tomcat+IIS/Apache

2005-09-30 Thread Caldarale, Charles R
From: Peddireddy Srikanth [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat Alone or tomcat+IIS/Apache 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

RE: Installing Tomcat 5.5 on Fedora 4 via Yum

2005-09-30 Thread Caldarale, Charles R
From: Rob Hills [mailto:[EMAIL PROTECTED] Subject: Installing Tomcat 5.5 on Fedora 4 via Yum However, I've so far been unsuccessful in finding any way to upgrade Tomcat beyond 5.0 using Yum. Has anyone else achieved this? I've never understood this fascination for fooling around with

Re: Installing Tomcat 5.5 on Fedora 4 via Yum

2005-09-30 Thread Leon Rosenberg
On 9/30/05, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: Rob Hills [mailto:[EMAIL PROTECTED] Subject: Installing Tomcat 5.5 on Fedora 4 via Yum However, I've so far been unsuccessful in finding any way to upgrade Tomcat beyond 5.0 using Yum. Has anyone else achieved this? I've

Tomcat Internals?

2005-09-30 Thread Murali
Hi, I have 2 instances of tomcat application servers. I have deployed JSPs on one tomcat server and generated compiled pages to tomcat working directory. If i copy both JSPs and generated compiled pages and accessed webpages again. My expectation is that tomcat should not recompile JSP pages

[OT] RE: Installing Tomcat 5.5 on Fedora 4 via Yum

2005-09-30 Thread Peter Crowther
From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] I've never understood this fascination for fooling around with 3rd-party packaged versions of Tomcat, rather than using the unadulterated originals directly from the Tomcat download site. The process couldn't be much simpler:

Multiple Threads for one webapp

2005-09-30 Thread Mahesh S Kudva
Hi All I have setup virtual hosts for 3 apps with virtual hosts config as follows. These virtual hosts are first handled by Apache and mod_jk. My apps have scheduler and automated mailing services. Host name=vhost.domain.com debug=0 appBase=”deploy” unpackWARs=true

Re: Multiple Threads for one webapp

2005-09-30 Thread Tim Funk
It seems you have a thread started in the background during the life of the application. This thread goes to some external place of storage and to look for emails to send. It seems this thread is not stopped when a context is reloaded. When the app is reloaded - a new thread is started. In this

Re: SQL Server 2000: JDBC

2005-09-30 Thread Lalit Batra
We are closing all connections but we see that still lots of process are open in SQL server. Dont know what exactly is the cause, open connections or a weak driver. On 9/30/05, Karasek-XID, Nicolas [EMAIL PROTECTED] wrote: -Original Message- From: sree kanth [mailto:[EMAIL PROTECTED]

Re: Tomcat Alone or tomcat+IIS/Apache

2005-09-30 Thread Peddireddy Srikanth
thanks for all the replies On 9/30/05, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: Peddireddy Srikanth [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat Alone or tomcat+IIS/Apache And they argue that as Tomcat it self runs inside a JVM, which inturn is a single process all the

RE: Asking Again: 5.5.12 Broke my 5.5.9 Config

2005-09-30 Thread Trond Hersløv
Hi I'm also running TC 5.5.9 and planning on installing 5.5.12. Twice I have read through the complete Changelog, from 5.5.10 to 5.5.12. I find nothing saying this attribute is now ignored. (Remy has appended his comments at the bottom of this email). Is there other things that may have an

Re: Reg form based authentication

2005-09-30 Thread Peddireddy Srikanth
chk this link this might help you http://www.onjava.com/pub/a/onjava/2002/06/12/form.html u wil find lot of resources on net on this On 9/30/05, sree kanth [EMAIL PROTECTED] wrote: Hi all, i have been developing on JSP's for the last one year,but still i have never implemented form based

RE: Asking Again: 5.5.12 Broke my 5.5.9 Config

2005-09-30 Thread Caldarale, Charles R
From: Trond Hersløv [mailto:[EMAIL PROTECTED] Subject: RE: Asking Again: 5.5.12 Broke my 5.5.9 Config I find nothing saying this attribute is now ignored. RTFM: The value of this field must not be set except when statically defining a Context in server.xml, as it will be infered [sic] from

RE: Asking Again: 5.5.12 Broke my 5.5.9 Config

2005-09-30 Thread Trond Hersløv
Thanks, but you are missing my point here. Basically what your saying is, before upgrading to a newer version of Tomcat, scan through the mailing list and reread the whole Tomcat config documentation! Isn't that what changelogs are for? Pointing out the changes so you don't have to search for

Re: Multiple Threads for one webapp

2005-09-30 Thread Mahesh S Kudva
Hi I have restarted Tomact and made sure no threads run in the background. But still the problem persists. Every time tomcat is restarted, I can see the notification thread start Notification thread started...32237 Regards Thanks Mahesh S Kudva -Original

Re: Multiple Threads for one webapp

2005-09-30 Thread Tim Funk
This still seems to be a programming issue (possibly a config issue). Without source and config files - I don't see how the mailing list can help resolve this. -Tim Mahesh S Kudva wrote: Hi I have restarted Tomact and made sure no threads run in the background. But still the problem

Re: Asking Again: 5.5.12 Broke my 5.5.9 Config

2005-09-30 Thread Remy Maucherat
On 9/30/05, Trond Hersløv [EMAIL PROTECTED] wrote: Hi I'm also running TC 5.5.9 and planning on installing 5.5.12. Twice I have read through the complete Changelog, from 5.5.10 to 5.5.12. I find nothing saying this attribute is now ignored. (Remy has appended his comments at the bottom of

RE: Asking Again: 5.5.12 Broke my 5.5.9 Config

2005-09-30 Thread Trond Hersløv
Thanks for clarifying that! \trond -Original Message- From: Remy Maucherat [mailto:[EMAIL PROTECTED] Sent: Friday, September 30, 2005 18:05 To: Tomcat Users List Subject: Re: Asking Again: 5.5.12 Broke my 5.5.9 Config On 9/30/05, Trond Hersløv [EMAIL PROTECTED] wrote: Hi I'm also

Re: Multiple Threads for one webapp

2005-09-30 Thread Mahesh S Kudva
Hi Thanks for the note. I just happened to see something strange. As I have configured 3 Virtual hosts, in the jboss home/server/default/work folder i can see the folders of each virtual host. Within each i can see all the hosted apps including localhost. The folder jboss

Re: Multiple Threads for one webapp

2005-09-30 Thread Tim Funk
I think JBOSS support (or mailing list) would be more helpful. Everything described below doesn't make any sense to those of us who don't use JBOSS. -Tim Mahesh S Kudva wrote: Hi Thanks for the note. I just happened to see something strange. As I have configured 3 Virtual hosts, in the

Multi-level context paths possible in TC 5.5.9?

2005-09-30 Thread David Kerber
I am trying to migrate a webapp from SilverStream 3.7.5 to Tomcat, while keeping the same URL for my users. Right now, they hit it at www.myserver.com:port/level1/level2/Login.jsp, where level1 is a database name, and level2 is a name we assigned. The .war that provides the content is called

RE: Multi-level context paths possible in TC 5.5.9?

2005-09-30 Thread Trung Nguyen
David, You can do this by modify the server.xml file from $TOMAT_HOME/conf/ directory: Host name=www.myserver.com debug=0 unpackWARs=true Context path=/level1/level2 docBase=/usr/var/apps/SiteData debug=0 reloadable=true crossContext=true / /Host Where docBase is where you store your

Re: Multi-level context paths possible in TC 5.5.9?

2005-09-30 Thread David Kerber
Awesome!!! Worked first time. I had tried messing with context paths in an application .xml, but never thought to try the server.xml. One question: what does the crossContext flag do? Or is that what lets it look to a different path for the context path? The help files I looked

Setting up HTTP Basic for a full Web-App

2005-09-30 Thread David Johnson
Hi all. I think I'm doing something wrong. I'veadded the following to my web application to use http-basicis there anything else I need to do to ensure anyone logging in like this has full access to the app? !-- Define a security constraint on this application -- security-constraint

RE: Multi-level context paths possible in TC 5.5.9?

2005-09-30 Thread Trung Nguyen
David, Set crossContext to true if you want calls within this application to ServletContext.getContext() to successfully return a request dispatcher for other web applications running on this virtual host. Set to false (the default) in security conscious environments, to make getContext()

Re: Multi-level context paths possible in TC 5.5.9?

2005-09-30 Thread David Kerber
It does help; thanks for the explanation. Dave Trung Nguyen wrote: David, Set crossContext to true if you want calls within this application to ServletContext.getContext() to successfully return a request dispatcher for other web applications running on this virtual host. Set to false (the

RE: TC 5.5.9 and IIS 6.0 connection

2005-09-30 Thread Tracy Spratt
In IIS 6, you need to manually add the isapi_redirect.dll to the Web Extensions node in the IIS manager. Tracy -Original Message- From: Julien Barnier [mailto:[EMAIL PROTECTED] Sent: Friday, September 30, 2005 4:58 AM To: tomcat-user@jakarta.apache.org Subject: TC 5.5.9 and IIS 6.0

Limiting the number of threads Tomcat 4.1 creates

2005-09-30 Thread Rob Shields
Hi Is there a way to limit the number of threads that Tomcat 4.1 creates in its thread pool? It generally shows about 20-35 java processes when running on Linux. I don't need this number of threads since it's only being used by another application that uses 4-8 threads. Thanks Rob

MyServlet as default servlet in tomcat 5.0.27

2005-09-30 Thread Partheeban Boopathy
Hi How to set my servlet as a default for my Tomcat5.0.27 instance which runs in a machine name testmachine. I want my servlet to make it as default one,i changed web.xml under tomcatinstalldir/conf folder. It works,but i dont want to change that web.xml under conf folder.Is there any way on that.

RE: Limiting the number of threads Tomcat 4.1 creates

2005-09-30 Thread Caldarale, Charles R
From: Rob Shields [mailto:[EMAIL PROTECTED] Subject: Limiting the number of threads Tomcat 4.1 creates Is there a way to limit the number of threads that Tomcat 4.1 creates in its thread pool? Reading the doc never hurts: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/coyote.html

Newb question - How to install TomCat on MacOS Tiger 10.4

2005-09-30 Thread Thomas K. Cheriyan Jr.
Hey guys, Im trying to get the latest version of TomCat on my laptop which has has MacOS Tiger 10.4. I have also installed the latest version of Java. I read the installation guide on the Jakarta site as well as many others online and they haven't worked at all. If somebody is an expert at this

RE: Limiting the number of threads Tomcat 4.1 creates

2005-09-30 Thread Rob Shields
Hi Chuck, On Fri, 2005-09-30 at 16:08 -0500, Caldarale, Charles R wrote: snip Is there a way to limit the number of threads that Tomcat 4.1 creates in its thread pool? Reading the doc never hurts: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/coyote.html Look at the

RE: Limiting the number of threads Tomcat 4.1 creates

2005-09-30 Thread Caldarale, Charles R
From: Rob Shields [mailto:[EMAIL PROTECTED] Subject: RE: Limiting the number of threads Tomcat 4.1 creates I've tried setting that to 10 and restarting Tomcat, but when I do a ps auxm I see 20 threads running under the Sun VM: The JVM itself creates at least seven daemon threads for

Re: Newb question - How to install TomCat on MacOS Tiger 10.4

2005-09-30 Thread Fadil
Hi, What's the problem ? Send us the log, if there is. Witch version of tomcat ?jdk ? do you set the JAVA_HOME=/Library/Java/Home in your env ? do you update os ? Fadil On 9/30/05, Thomas K. Cheriyan Jr. [EMAIL PROTECTED] wrote: Hey guys, Im trying to get the latest version of TomCat on my

RE: Limiting the number of threads Tomcat 4.1 creates

2005-09-30 Thread Rob Shields
Hi Chuck, On Fri, 2005-09-30 at 16:53 -0500, Caldarale, Charles R wrote: The JVM itself creates at least seven daemon threads for internal use, and Tomcat has a few others besides the request processors. Great, thanks. Since the threads are most doing very little I doubt the 20 or so of them

RE: Precompile jsps into work directory

2005-09-30 Thread Scott Goldstein
Never mind. I searched the list again and found the answer. Though I haven't tried it, yet, it looks like with the proper arguments (output directory, package name, etc.) to JSPC, you can manipulate it to compile the jsps to the work directory and not have to insert the servlet definition

Re: Asking Again: 5.5.12 Broke my 5.5.9 Config

2005-09-30 Thread Bob Bronson
- Original Message - From: Remy Maucherat [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Sent: Friday, September 30, 2005 3:57 AM Subject: Re: Asking Again: 5.5.12 Broke my 5.5.9 Config On 9/30/05, Bob Bronson [EMAIL PROTECTED] wrote: Hi all, I asked this

RE: Apache and IIS

2005-09-30 Thread BAHLR2
I had used LoadModule mod_perl mod_perl.so in httpd.conf of Apache under NT4.0. But how to confirm whether the functionality is working or not? -Original Message- From: Nikola Milutinovic [mailto:[EMAIL PROTECTED] Sent: 30 September, 2005 5:54 PM To: Tomcat Users List Subject: Re: Apache

Re: SQL Server 2000: JDBC

2005-09-30 Thread sree kanth
i suppose its a driver problem. I too had faced the same problem.More the MS SQL driver works in a very different ways that the query executed is different logically from the query supplied by us. Regards, Sreekanth

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

tomcat + sysdeo plugin + eclipse 3.1

2005-09-28 Thread Jilles van Gurp
I'm not sure this is the right place for this question but I assume more tomcat users use the sysdeo plugin to launch tomcat. The issue is that my WEB-INF/classes directory of my web application is not on the classpath if I launch tomcat using the sysdeo plugin. This used to work fine but for

Re: tomcat + sysdeo plugin + eclipse 3.1

2005-09-28 Thread Jilles van Gurp
Jilles van Gurp wrote: I'm not sure this is the right place for this question but I assume more tomcat users use the sysdeo plugin to launch tomcat. The issue is that my WEB-INF/classes directory of my web application is not on the classpath if I launch tomcat using the sysdeo plugin. This

Tomcat related help required

2005-09-28 Thread Santosh Asbe
Hi Nix, Please check my reply below. Thanks. Santosh From: Nikola Milutinovic [EMAIL PROTECTED] Date: Sep 27, 2005 9:13 PM Subject: Re: (WAS) Generic Types support in Tomcat? To: Tomcat Users List tomcat-user@jakarta.apache.org Santosh Asbe wrote: Hi all, Hi. First of all, it is very

RE: What to put into JAVA_HOME on Windows xp

2005-09-28 Thread Markus Hapke
HI Ramnish, Remove bin from the JAVA_HOME. JAVA_HOME=C:\JDK1.4\AppServer\jdk I dit it, but that doesn't make it work too! I can reach the javac command from a MS-Command line, so the compiler is available. Why Tomcat can't see it? Thanx , Markus --- Ursprüngliche Nachricht ---

RE: What to put into JAVA_HOME on Windows xp

2005-09-28 Thread Markus Hapke
Hi Jan and all Others, i changed the JAVA_HOME, but still facing the same problem: Perhaps JAVA_HOME does not point to the JDK How can I test what Tomcat tries to read when it calls the javac command? thanx in advance , Markus --- Ursprüngliche Nachricht --- Von: Jan Fredrik Fallsen [EMAIL

Re: What to put into JAVA_HOME on Windows xp

2005-09-28 Thread Anto Paul
On 9/28/05, Markus Hapke [EMAIL PROTECTED] wrote: Hi Jan and all Others, i changed the JAVA_HOME, but still facing the same problem: Perhaps JAVA_HOME does not point to the JDK How can I test what Tomcat tries to read when it calls the javac command? Edit startup.bat and put the

Re: Re: What to put into JAVA_HOME on Windows xp

2005-09-28 Thread mail
We're sorry, you have reached an email address at YahooGropus, not YahooGroups. Your message has not been delivered to the Yahoo Group intended. Please re-send your email to the correct address. We apologize for the inconvenience. YahooGropus Staff

Re: Problems setting up Webdav folder on Tomcat 5.5

2005-09-28 Thread David Goodenough
On Monday 26 September 2005 19:32, David Goodenough wrote: On Monday 26 September 2005 16:51, David Goodenough wrote: I am trying to set up a webdav application on a machine running Tomcat 5.5. The effect I want to create is that anyone can use http://machine/app/folder to read files,

pointing to a folder outside tomcat webapps

2005-09-28 Thread [EMAIL PROTECTED]
I'd like pointing a foder outside webapps tomcat folder. I know that with Context path=/myPath docBase=c://myFolder reloadable=true/ in server.xml i can do it. I'd like to use that tag in META-INF/context.xmlwithout using server.xml. But It allows just one context tag on context.xml. So any

RE: pointing to a folder outside tomcat webapps

2005-09-28 Thread Arup Vidyerthy
Look up allowLinking = true in google. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 28 September 2005 10:42 To: tomcat-user Subject: pointing to a folder outside tomcat webapps I'd like pointing a foder outside webapps tomcat folder. I know that with

Re: Embedded Tomcat and shared objects...

2005-09-28 Thread Darryl L. Pierce
Leon Rosenberg wrote: Aehm, without looking deeper into context initialization, just a short guess: what about making your configuration objects a singleton with public static CLASSNAME getInstance() or provide a factory for them? Because the class in question is created by Spring's

RE: pointing to a folder outside tomcat webapps

2005-09-28 Thread [EMAIL PROTECTED]
I kwnow that. I want to use the file META-INF/context.xml inside the application for pointing to another resource. I do not want use server.xml! -- Initial Header --- From : Arup Vidyerthy [EMAIL PROTECTED] To : Tomcat Users List tomcat-user@jakarta.apache.org Cc

how to turn off session cookies

2005-09-28 Thread Fredrik Wendt
One-liner: How do you turn session cookies off, server side? Hi! Nowadays it's illegal to use cookies on web sites in sweden, without informing the visitor that it's done and why, what cookie is etc. Since I don't have any use of a session nor am interested in adding a page saying we use

RE: pointing to a folder outside tomcat webapps

2005-09-28 Thread Arup Vidyerthy
You can just place the a empty context xml in your $tomcat_home/conf directory. That's what we do and it works across all contexts... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 28 September 2005 10:55 To: tomcat-user Subject: RE: pointing to a folder

RE: pointing to a folder outside tomcat webapps

2005-09-28 Thread Arup Vidyerthy
OK, You place the context.xml inside $tomcat_home/conf. Contents of that file is something like this: !-- The contents of this file will be loaded for each web application -- Context allowLinking=true !-- Default set of monitored resources -- WatchedResourceWEB-INF/web.xml/WatchedResource

Re: What to put into JAVA_HOME on Windows xp

2005-09-28 Thread Jilles van Gurp
Could you check if relative to your jdk directory there is a lib\tools.jar? This is where the class files for the javac compiler are located and this file is not found by tomcat at the expected location. Anyway, I recommend reinstalling the java development kit and using the default settings.

Re: What to put into JAVA_HOME on Windows xp

2005-09-28 Thread Markus Hapke
Hello All, now it works ! when runing tomcat_root\bin\startup.bat instead of tomcat_root\\bin\tomcat5w.exe //ES//Tomcat5 and then pressing START. For what the tomcat5w.exe should be used ? Markus --- Ursprüngliche Nachricht --- Von: Jilles van Gurp [EMAIL PROTECTED] An: Tomcat

Re: how to turn off session cookies

2005-09-28 Thread Anto Paul
On 9/28/05, Fredrik Wendt [EMAIL PROTECTED] wrote: One-liner: How do you turn session cookies off, server side? Context/ element has an attribute cookies. set it to false to turn off session cookies. See http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/context.html Hi! Nowadays it's

RE: how to turn off session cookies

2005-09-28 Thread Johan Wallinder
Maybee OT, but is using URL rewriting considered as cookie? /Johan -Original Message- From: Anto Paul [mailto:[EMAIL PROTECTED] Sent: den 28 september 2005 13:12 To: Tomcat Users List Subject: Re: how to turn off session cookies On 9/28/05, Fredrik Wendt [EMAIL PROTECTED] wrote:

re: https to web server, http from proxy to tomcat

2005-09-28 Thread Joost de Heer
[EMAIL PROTECTED] said: We are currently using an nsapi plugin module for our proxy component. As far as I know, it does not support reverse-proxy setup. Since we are using the standard Sun One Web Server, I am not familiar with reverse proxy. For SUN ONE webserver you can download a reverse

Re: https to web server, http from proxy to tomcat

2005-09-28 Thread Tim Funk
There is also a reverse proxy implemented as a webapp which can be used as its own webapp or easily embedded inyour own webapp. (Courtesy of the Google SoC) http://j2ep.sourceforge.net/ -Tim Joost de Heer wrote: [EMAIL PROTECTED] said: We are currently using an nsapi plugin module for our

Re: saving files in webapp folder from deletion?

2005-09-28 Thread Thomas Corte
Hello, Pham Tran Quoc Viet wrote: Create x outside of webapps and create a soft link within webapps that points to x. Then, within server.xml add the following lines: Context docBase=absolute path to x soft link path=link name allowLinking=true/ That's it. Everytime the soft link is hit,

Re: saving files in webapp folder from deletion?

2005-09-28 Thread Anto Paul
Read this thread lately. May be antiResourceLocking is what you are lokking for. It is an attribute of Context element. On 9/28/05, Thomas Corte [EMAIL PROTECTED] wrote: Hello, Pham Tran Quoc Viet wrote: Create x outside of webapps and create a soft link within webapps that points to x.

RE: pointing to a folder outside tomcat webapps

2005-09-28 Thread [EMAIL PROTECTED]
my problem is that i do not want put anything of my application inside tomcat configuration files... Exists context.xml in META-INF that is specific for an application but I can define there just one context. I need more than one context. Hot to do it? -- Initial Header ---

<    2   3   4   5   6   7   8   9   10   11   >