Re: JNDI DBCP Resources: Pool Leak

2005-09-07 Thread Nikola Milutinovic
Justin Jaynes wrote: Concerning JNDI Database Connection Pooling Sources, I have read that if you fail to explicitely close Result Sets, Statements, or Connections to the DataSource from WITHIN the web application, a connection in the pool will be "lost." (I read this at: http://jakarta.apache.

Vs: RE: Windows Authentication in Tomcat

2005-09-07 Thread john polinsky
Hello, If you really can send me that code that would make my life much easier! Thanks, john_polinsky (at) suomi24.fi Cheers! Message Lähettäjä: [EMAIL PROTECTED] Päivämäärä: 2005/09/07 13:31 Vastaanottaja: "Tomcat Users List" Aihe: RE: Windows Authentication in Tomcat http://jcifs.

JNDI DBCP Resources: Pool Leak

2005-09-07 Thread Justin Jaynes
Concerning JNDI Database Connection Pooling Sources, I have read that if you fail to explicitely close Result Sets, Statements, or Connections to the DataSource from WITHIN the web application, a connection in the pool will be "lost." (I read this at: http://jakarta.apache.org/tomcat/tomcat-5.5-do

RE: Tomcat/JVM hangs in session.getAttribute / HashMap.get()

2005-09-07 Thread Caldarale, Charles R
> From: Len Popp [mailto:[EMAIL PROTECTED] > Subject: Re: Tomcat/JVM hangs in session.getAttribute / HashMap.get() > > Inside Tomcat, references to the hashmap in question are synchronized > on the hashmap object itself, StandardSession.attributes (see > org.apache.catalina.session.StandardSessio

Re: Tomcat/JVM hangs in session.getAttribute / HashMap.get()

2005-09-07 Thread Len Popp
OK, so how do I fix this problem in my application? I can't figure it out. Inside Tomcat, references to the hashmap in question are synchronized on the hashmap object itself, StandardSession.attributes (see org.apache.catalina.session.StandardSession). So if I want to *safely* call session.setAttr

Windows Box: User Account

2005-09-07 Thread Lalit Batra
Hi! I am new to the world of Tomcat and have recently installed 5.5.9 on a Windows (2003 and XP) Box. It works fine but only with Users having Administrative/power user privileges. 1) When the service for tomcat is started with USER option, it does not go and read the Webapps. The folder has r

cluster listener question

2005-09-07 Thread John MccLain
When our application starts up, it removes admin information about old user sessions from our database; We store information such as locks and session state in our DB. BUT, if we are running in a cluster and Tomcat stars up, we do NOT want this to occur EXCEPT for on the first server in the cluster

Runaway Process

2005-09-07 Thread Ron Price
Hello, I just installed tomcat 5.5.9 from binary and I'm using Java 1.5.0_02. I followed the following instructions on The Linux Documentation Project: http://www.tldp.org/HOWTO/MMBase-Inst-HOWTO/x266.html I have encountered a problem with starting and stopping Tomcat (I do this as root for now

Re: Bug votes needed..you really should read this..Tomcat/JVM hangs in session.getAttribute / HashMap.get()

2005-09-07 Thread Leon Rosenberg
I've send a similar mail to the struts-users mailing list. Maybe other affected jakarta projects should be notified too. Leon > -Ursprüngliche Nachricht- > Von: Wade Chandler [mailto:[EMAIL PROTECTED] > Gesendet: Mittwoch, 7. September 2005 23:05 > An: Tomcat Users List > Betreff: Re:

Re: Bug votes needed..you really should read this..Tomcat/JVM hangs in session.getAttribute / HashMap.get()

2005-09-07 Thread Wade Chandler
This bug doesn't only affect code where you access the session using session.getAttribute("") or session.setAttribute("",""), but also affects jsp tags such as jsp:useBean with scope="session". I'm guessing that pages using EL and accessing the session are going to be broken as well I didn't look

Apache with Trust and Keystore files

2005-09-07 Thread James R. Marcus
How does Apache2 work with Trust and Key store files that Tomcat is using for SSL? Does any one know of a good doc? I'm using SSL mod_jk apache2 and tomcat 5 Thanks, James - To unsubscribe, e-mail: [EMAIL PROTECTED] For addit

RE: IIS6 -> ASP.Net -> JK -> TC5 - tomcatAuthentication=false: user auth not getting passed?

2005-09-07 Thread Tracy Spratt
Thanks for the response, Allistair, but that was already set as you suggested. Perhaps I should after all skip the Windows - based authentication step and go directly to my real need, which is using the asp.net authentication token in my Tomcat app. Is this possible? The request dump shows the

Re: AW: Tomcat/JVM hangs in session.getAttribute / HashMap.get()

2005-09-07 Thread Wade Chandler
--- Leon Rosenberg <[EMAIL PROTECTED]> wrote: > > > > -Ursprüngliche Nachricht- > > Von: Wade Chandler > [mailto:[EMAIL PROTECTED] > > Gesendet: Mittwoch, 7. September 2005 21:11 > > An: Tomcat Users List > > Betreff: Re: Tomcat/JVM hangs in > session.getAttribute / HashMap.get() > >

AW: Tomcat/JVM hangs in session.getAttribute / HashMap.get()

2005-09-07 Thread Leon Rosenberg
> -Ursprüngliche Nachricht- > Von: Wade Chandler [mailto:[EMAIL PROTECTED] > Gesendet: Mittwoch, 7. September 2005 21:11 > An: Tomcat Users List > Betreff: Re: Tomcat/JVM hangs in session.getAttribute / HashMap.get() > > > Should be enough to explain the issue and why synchronization

RE: Tomcat/JVM hangs in session.getAttribute / HashMap.get()

2005-09-07 Thread Wade Chandler
--- "Caldarale, Charles R" <[EMAIL PROTECTED]> wrote: > > From: Wade Chandler > [mailto:[EMAIL PROTECTED] > > Subject: Re: Tomcat/JVM hangs in > session.getAttribute / HashMap.get() > > > > so it's not just a getAttribute call or even > > 50 million of them alone going to cause HashMap to > > lo

RE: Tomcat/JVM hangs in session.getAttribute / HashMap.get()

2005-09-07 Thread Caldarale, Charles R
> From: Wade Chandler [mailto:[EMAIL PROTECTED] > Subject: Re: Tomcat/JVM hangs in session.getAttribute / HashMap.get() > > so it's not just a getAttribute call or even > 50 million of them alone going to cause HashMap to > lock, but rather the Object being in an intermediate > step when get is c

Re: Tomcat/JVM hangs in session.getAttribute / HashMap.get()

2005-09-07 Thread Leon Rosenberg
Check the bug: http://issues.apache.org/bugzilla/show_bug.cgi?id=36541 And yes, the HashMap explicitely prohibits the way it's been used by tomcat 5 StandardSession in it's javadoc. > -Ursprüngliche Nachricht- > Von: Wade Chandler [mailto:[EMAIL PROTECTED] > Gesendet: Mittwoch, 7. S

Problem with error.jsp (via JSF)

2005-09-07 Thread David Thielen
Hi; In my web.xml I have: java.lang.Throwable /error.jsp Most of my jsp pages are in a pages subdirectory. So when an excpetion is thrown in say /pages/order.faces (order.jsp), I am sort-of in that subdirectory.

Re: Tomcat/JVM hangs in session.getAttribute / HashMap.get()

2005-09-07 Thread Wade Chandler
--- Remy Maucherat <[EMAIL PROTECTED]> wrote: > On 9/7/05, GB Developer > <[EMAIL PROTECTED]> wrote: > > coming late to the party with: > > > > > http://blogs.opensymphony.com/plightbo/archives/000175.html > > I had read your blog when you originally posted it, > and thought it was > the most in

RE: JK Connector with IIS

2005-09-07 Thread Tracy Spratt
I am a rank newbie with this stuff, so please correct any nonsense!. First, can you not achieve your fist goal using the context specification in the uriworkermap.properties file? If tomcatapp2 is not in one of the specified contexts, you should not be able to access it. Second, To get a tomcat

Re: mod_jk and text/plain

2005-09-07 Thread Eugeny N Dzhurinsky
On Wed, Sep 07, 2005 at 06:37:46PM +0300, Eugeny N Dzhurinsky wrote: > I have a problem with the application resources, mapped with the JkMount. For > some reason httpd server threats the content-type as text/plain, and ignores > the text/html set by tomcat. > > any ideas how to get rid of that? >

Re: Why does tomcat redirect to welcome files

2005-09-07 Thread Mark Thomas
Jim Kennedy wrote: Thanks Mark, found some good info. Another question: Is is possible to force a forwards for welcome pages with Tomcat. Is there an engine setting for that? Or would I be forced to change the Tomcat source. I notice with other web servers (i.e. IIS) I can specify a default pa

Re: Tomcat/JVM hangs in session.getAttribute / HashMap.get()

2005-09-07 Thread Remy Maucherat
On 9/7/05, GB Developer <[EMAIL PROTECTED]> wrote: > coming late to the party with: > > http://blogs.opensymphony.com/plightbo/archives/000175.html I had read your blog when you originally posted it, and thought it was the most interesting blog I had read in months. IMO, given the average size of

RE: Tomcat/JVM hangs in session.getAttribute / HashMap.get()

2005-09-07 Thread GB Developer
coming late to the party with: http://blogs.opensymphony.com/plightbo/archives/000175.html - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Turning off the containers session

2005-09-07 Thread Atif Suleman
Hi Can you stop tomcat container from creating a jsession cookie? Ta Atif. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

JK Connector with IIS

2005-09-07 Thread Joe Plautz
We're are successfully using the JK connector between IIS 6.0 and Tomcat 5.0.28 to forward on requests. We starting to run into some configuration "issues" that I haven't seen any documentation for. I guess I don't truly know what is possible so I thought I would ask. Is there a way to configu

mod_jk and text/plain

2005-09-07 Thread Eugeny N Dzhurinsky
I have a problem with the application resources, mapped with the JkMount. For some reason httpd server threats the content-type as text/plain, and ignores the text/html set by tomcat. any ideas how to get rid of that? Tomcat 4.1.31, mod_jk 1.2.14.1, Apache httpd 1.3 Defaultcontent is commented ou

Re: Disabling IdentityCheck (port 113)

2005-09-07 Thread Jason Bainbridge
On 9/7/05, Tim Funk <[EMAIL PROTECTED]> wrote: > Odd. Are you sure its not your OS logging all incoming TCP connections? There > is no such setting in tomcat which does this. > > -Tim http://grc.com/port_113.htm Regards, -- Jason Bainbridge http://kde.org - [EMAIL PROTECTED] Personal Site - htt

Re: Disabling IdentityCheck (port 113)

2005-09-07 Thread Tim Funk
Odd. Are you sure its not your OS logging all incoming TCP connections? There is no such setting in tomcat which does this. -Tim Jim Doble wrote: I am using Tomcat as a stand-alone web server, and I have noticed that whenever my browser opens up a TCP connection to the web server, the server

Disabling IdentityCheck (port 113)

2005-09-07 Thread Jim Doble
I am using Tomcat as a stand-alone web server, and I have noticed that whenever my browser opens up a TCP connection to the web server, the server attempts (unsuccessfully) to establish a TCP connection to port 113 on the host where the browser is running. This option can cause problems in firewal

expirationtime on images( ico, gif)

2005-09-07 Thread Mark
Hello, I'd like to know when the default expiration time set on images. Here an example: Http request was generated on Wednesday, September 07, 2005 10:01:41 AM I've gor the following expire times (I'm using firefox and got the information from the page info): for *ico is Friday, September 09, 2

RE: Pre-compiled JSPs? - Solved. Thanks!

2005-09-07 Thread Richard Burman
Right, I get it now. Thanks for all your help Tim, Darryl and Nicolas! Happy Tomcat-ing, Richard. -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: 07 September 2005 12:15 To: Tomcat Users List Subject: Re: Pre-compiled JSPs? Yes, think of jspf like .h files in c. You do

Re: Pre-compiled JSPs?

2005-09-07 Thread Tim Funk
Yes, think of jspf like .h files in c. You don't compile .h files, but .c files include .h files at compile time. -Tim Richard Burman wrote: Hi Tim, Sorry, I'm sure I'm being a bit dense but I seem to be missing something important here. Are the jspf files included (embedded) into the class

Re: RE: where to deploy my .war and how ? help needed please!

2005-09-07 Thread Sonja Löhr
No, docBase="webapps" is not good ;-) I have everything under the localhost default Host with appBase="webapps", so that the Context element can indeed be So, if you already specify that /srv/www/tomcat/base as appBase, the docBase should be ... the empty String? Don't know wheter this is valid

"SEVERE: Unable to start cluster listener." on tomcat 5.0.28

2005-09-07 Thread Imanol Apaolaza Sanz
Hello, I'am trying to setup a 3 linux box tomcat cluster but I have problems starting the cluster on each box. When I run the script startup.sh, catalina.out sais: -- Sep 7, 2005 12:23:13 PM org.apache.catalina.startup.Catalina load INFO: Initialization processed in 1075 ms

RE: Windows Authentication in Tomcat

2005-09-07 Thread Raghupathy,Gurumoorthy
http://jcifs.samba.org/ If you want more information let me know and I will send you the code -Original Message- From: john polinsky [mailto:[EMAIL PROTECTED] Sent: 07 September 2005 11:28 To: tomcat-user@jakarta.apache.org Subject: Windows Authentication in Tomcat Hello there, How To

Windows Authentication in Tomcat

2005-09-07 Thread john polinsky
Hello there, How Tomcat is usually configured when it is wanted to get information from Windows Server (e.g. Active Directory running in W2k or Win2003)? What Realms should be used in Tomcat and how this is done, any document available? Second question is, that if I e.g. for testing purposes

Re: Re: where to deploy my .war and how ? help needed please!

2005-09-07 Thread Yassine ELassad
Dear Eren, unfortunatly iam not using tomcat's manager admin modules since iam using tomcat only kind of plugin for apache so i can#t use there resources provided by tomcat Thanks directBOX Reply --- From: Mert Eren ÜSTÜNKAYA ([EMAIL PROTECTED]) To: TomcatUsersList (tomcat-

Different behaviour for log4j configuration from common/classes and WEb-INF/classes

2005-09-07 Thread Allistair Crossley
Hi, We've recently noticed that our log4j configuration logs are pretty empty. I decided I must have changed something that ruptured the configuration, so with a brand new installation of Tomcat 5.5.11 and a basic log4j config file (shown below) I set about testing what was happening. Before

Re: RE: where to deploy my .war and how ? help needed please!

2005-09-07 Thread Yassine ELassad
Dear Guy, well i have added a context element into my host and its now looking like this : =

Re: where to deploy my .war and how ? help needed please!

2005-09-07 Thread Mert Eren ÜSTÜNKAYA
Hey Yassine, You should deploy your codes under webapps. I am using tomcats manager to deploy my war files i recommend it to you. http://localhost:8080/manager/html u can give your war file to it and deploy with out any problems.. Yassine ELassad wrote: good morning list, (sorry for

Another Jasper precompile question

2005-09-07 Thread Sonja Löhr
Hi! I also use (or try to use) that tomcat-delivered jspc-task with tomcat 5.5.9. My problem is that whenever there is a character reference (like  ) in a jsp file, the compiled jsp contains nonsense at that location, and compile errors follow in javac. Is there a fix/update available or another

RE: jasper jsp precompilation error

2005-09-07 Thread Ramnish Kalsi
This method was added in Servlet API version 2.3. Can you check if you are using that version ? Have a look at whats in your classpath at JSP precompilation time !!! -Original Message- From: Aaron Phillips [mailto:[EMAIL PROTECTED] Sent: 06 September 2005 23:27 To: tomcat-user@jakarta

RE: Pre-compiled JSPs?

2005-09-07 Thread Richard Burman
Hi Tim, Sorry, I'm sure I'm being a bit dense but I seem to be missing something important here. Are the jspf files included (embedded) into the class file when Jasper compiles the jsp files to java? Essentially, the compiled class file will include the original jsp and also the fragment? Thanks

RE: IIS6 -> ASP.Net -> JK -> TC5 - tomcatAuthentication=false: user auth not getting passed?

2005-09-07 Thread Allistair Crossley
Hi, You probably need to ensure that the IIS virtual directory for the jakarta dll has Directory Security set to Windows Integrated? Allistair. > -Original Message- > From: Tracy Spratt [mailto:[EMAIL PROTECTED] > Sent: 07 September 2005 01:03 > To: Tomcat Users List; [EMAIL PROTECTED]

RE: where to deploy my .war and how ? help needed please!

2005-09-07 Thread Sonja Löhr
I'm no expert, but isnt' the docbase of a context evaluated relative to the HOST's appbase? so I guess your "docBase" path should not contain /srv/www/htdocs". Am Mittwoch, den 07.09.2005, 10:04 +0300 schrieb Guy Katz: > -

RE: where to deploy my .war and how ? help needed please!

2005-09-07 Thread Guy Katz
put it under your webapps and put a context elements with all its sub elements to configure the app in the server.xml file in the tomcat conf directory. -Original Message- From: Yassine ELassad [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 07, 2005 10:01 AM To: tomcat-user@jakarta.

where to deploy my .war and how ? help needed please!

2005-09-07 Thread Yassine ELassad
good morning list, (sorry for the long mail) im running Tomcat behind an apache Server using mod_jk2 everything seems to be working fine but im really confused about one thing where to deploy my .war files to??? OS Suse Linux 9.1 java version "1.4.2_03" Java(TM) 2 Runtime Environment, Standard