Re: SQL Server 2000: JDBC

2005-09-30 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

Re: Tomcat Alone or tomcat+IIS/Apache

2005-09-30 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

Re: Tomcat Alone or tomcat+IIS/Apache

2005-09-30 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

Installing Tomcat 5.5 on Fedora 4 via Yum

2005-09-30 Thread Rob Hills
Hi All, I'm a relative newbie to Linux but I've successfully managed to get TC 5.0 up and running with Sun's JDK 1.5 after much Googling. I've also managed to do this using Yum (thanks to JPackage) so far to make it easier to keep things up to date. However, I've so far been unsuccessful in

Re: Tomcat Alone or tomcat+IIS/Apache

2005-09-30 Thread Leon Rosenberg
We had the same discussion a year ago, as we switched to tomcat 5 and was testing whether we do need apache in front of it. Actually the only advantage for this solution left were apache mods like url-rewriting - http://mydomain - http://mydomain/myapp/mypath - better for some search engines and

RE: SQL Server 2000: JDBC

2005-09-30 Thread Karasek-XID, Nicolas
-Original Message- From: sree kanth [mailto:[EMAIL PROTECTED] Sent: vendredi 30 septembre 2005 05:27 To: Tomcat Users List; Lalit Batra Subject: Re: SQL Server 2000: JDBC Hello lalit, we too had the problem of connection reset by peer and then we changed the Driver.Now we are using

RE: session state preserved across different applications

2005-09-30 Thread Michal Kwiatek
Thanks a lot Bernhard, this is a pretty complete explanation! Michał. -Original Message- From: Bernhard Slominski [mailto:[EMAIL PROTECTED] Sent: Thursday, September 29, 2005 6:25 PM To: 'Tomcat Users List' Subject: AW: session state preserved across different applications Hi

Re: Asking Again: 5.5.12 Broke my 5.5.9 Config

2005-09-30 Thread Remy Maucherat
On 9/30/05, Bob Bronson [EMAIL PROTECTED] wrote: 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

TC 5.5.9 and IIS 6.0 connection

2005-09-30 Thread Julien Barnier
Hi to all, I have a problem trying to connect IIS 6.0 with Tomcat 5.5.9 using the 1.2.14 version of the isapi_redirect.dll file. (Yes, I know, I should really better connect it to Apache, and if I could I am sure I wouldn't have lost so many hours on this... Excuse me for this off-topic

Monitor and restart tomcat

2005-09-30 Thread Matteo Turra
Hi, I would like to write a monitoring script (linux shell) checking tomcat is alive and use the result to shutdown and restart tomcat if it does not respond. How can I detect if Tomcat is running? Kill proccess or shutdown? Thanks in advance. Matteo.

RE: Monitor and restart tomcat

2005-09-30 Thread Matteo Turra
More: if I use jsvc to launch tomcat as daemon, does jsvc -check provide information abuot tomcat status? -Original Message- From: Matteo Turra Sent: venerdì 30 settembre 2005 11.57 To: tomcat-user@jakarta.apache.org Subject: Monitor and restart tomcat Hi, I would like to

Apache and IIS

2005-09-30 Thread BAHLR2
I am trying to link Apache and IIS. I had already linked Apache and Tomcat for processing .jsp files. Now I want to run .asp and /or .htm files having in-code asp. Simple solution will do. I already tried LoadFile Perl58.dll available under Perl home and LoadModule mod_perl.so in httpd.conf. I am

FW: Apache and IIS

2005-09-30 Thread Raghupathy,Gurumoorthy
Proxy is may be on of the solution http://httpd.apache.org/docs/2.0/mod/mod_proxy.html#proxypass http://httpd.apache.org/docs/2.0/mod/mod_proxy.html#proxypassreverse Regards Guru -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 30 September 2005 11:59 To:

RE: Apache and IIS

2005-09-30 Thread BAHLR2
I want Apache to server .asp files, if possible rather than having IIS server to serve .asp files. -Original Message- From: Raghupathy,Gurumoorthy [mailto:[EMAIL PROTECTED] Sent: 30 September, 2005 4:32 PM To: 'Tomcat Users List' Subject: FW: Apache and IIS Importance: High Proxy is may

Reg form based authentication

2005-09-30 Thread sree kanth
Hi all, i have been developing on JSP's for the last one year,but still i have never implemented form based authentication. Can any one help me in implenting form based authentication? Thank you all Sreekanth

Re: Apache and IIS

2005-09-30 Thread Nikola Milutinovic
[EMAIL PROTECTED] wrote: I want Apache to server .asp files, if possible rather than having IIS server to serve .asp files. Look for mod_asp, there are actually several implementations, ChillySoft was one of them, if memory serves. I think they are all based on mod_perl, so have that

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