Re: Very slow shutdown - 3 mins

2009-12-15 Thread Elli Albek
You have many threads that are not part of Tomcat, as Chuck mentions. Whatever you start in the webapp you have to close as well. You can close via a shutdown listener (Context listener), or if you use something like Spring which already has built in shutdown hook, implement their shutdown interfac

Need Some info

2009-12-15 Thread Karthik Nanjangude
Hi Need Some info 1) Is there a way to track the JNDI based Connection Pool usage within the TOMCAT 2) Is it possible to start abased servlet to start AFTER another Servlet define with 1 With regards karthik

RE: Accumulation of Request Processors objects causes tomcat stuck?

2009-12-15 Thread Michal Singer
Uploaded server.xml Caldarale, Charles R wrote: > >> From: Michal Singer [mailto:michal.sin...@expand.com] >> Subject: Re: Accumulation of Request Processors objects causes tomcat >> stuck? >> >> i am using in the configuration of the connectors > > Might want to post your server.xml so we

Re: Trying to access a directory outside docBase... is possible !

2009-12-15 Thread Ingo Gambin
Hi, thanks a lot! Using the 'deprecated' way of putting the '' directive to server.xml worked whereas trying to put it into documents.xml in the localhost directory did not (using Tomcat 5.5). I am using an extra servlet for the viewer because I dont want to reload the whole page but still want

RE: Accumulation of Request Processors objects causes tomcat stuck?

2009-12-15 Thread Caldarale, Charles R
> From: Michal Singer [mailto:michal.sin...@expand.com] > Subject: Re: Accumulation of Request Processors objects causes tomcat > stuck? > > i am using in the configuration of the connectors Might want to post your server.xml so we can take a look at it. > if i understand you correctly, it mean

Re: Accumulation of Request Processors objects causes tomcat stuck?

2009-12-15 Thread Michal Singer
Hi. First of all, i am using in the configuration of the connectors, and so if i understand you correctly, it means that the requestors are supposed to reduce? at least after i see that messages are stuck. Second, i am using apache-tomcat-6.0.18, jdk1.6.0_12, running on Windows XP. While you're

Re: [OT - question] Limit user sessions in tomcat

2009-12-15 Thread Bill Barker
"Caldarale, Charles R" wrote in message news:99c8b2929b39c24493377ac7a121e21f9680850...@usea-exch8.na.uis.unisys.com... >> From: André Warnier [mailto:a...@ice-sa.com] >> Subject: Re: [OT - question] Limit user sessions in tomcat >> >> It would seem that there ought to be some low-level response

Re: 'Parametrizing' context.xml?

2009-12-15 Thread Bill Barker
"Mario Splivalo" wrote in message news:4b27994e.5080...@megafon.hr... > Bill Barker wrote: >> "Mario Splivalo" wrote in message >> news:4b266622.5060...@megafon.hr... >> >> Tomcat also supports ant-style variable replacement, so using that then >> Ken's example would look like: >> >> ba

Re: tomcat 6 not responding to any kind of request i.e. static and dynamic resources after some hours

2009-12-15 Thread sasidhar prabhakar
DDOS is definitely not the cause we are accurately monitoring the incoming traffic and all the mails we are sending from the application are user generated like friend requests. we are unable to identify the cause by seeing thread dump could any body tell us the problem by seeing thread dump. On

Re: tomcat jdbc pool is not proxying resultSets and preparedStatements

2009-12-15 Thread Filip Hanik - Dev Lists
On 12/15/2009 10:34 AM, Guillermo Fernandes wrote: Hi, I'm using ddlutils 1.0 and tomcat jdbc pool 1.0.7.1 and I getting an error due to a connection is closed and the pool is not aware of that. Basically the issue is that ddlutils has a resultset iterator and when it finishes it closes the conn

RE: How to JSF 2.0 (Mojarra-2.0.2) with Facelets on Tomcat?

2009-12-15 Thread Caldarale, Charles R
> From: zacheu...@gmail.com [mailto:zacheu...@gmail.com] > On Behalf Of Zacheusz Siedlecki > Subject: Re: How to JSF 2.0 (Mojarra-2.0.2) with Facelets on Tomcat? > > Nobody knows? Probably not, since you got zero responses to your original query - but then it contained pretty much zero useful in

Re: How to JSF 2.0 (Mojarra-2.0.2) with Facelets on Tomcat?

2009-12-15 Thread Zacheusz Siedlecki
Nobody knows? Regards, Zacheusz On Sat, Dec 12, 2009 at 10:35 PM, Zacheusz Siedlecki wrote: > Can I use JSF 2.0 (Mojarra-2.0.2) with Facelets on Tomcat? With Jetty > and Glassfish Mojarra works fine. With Tomcat I get facelets > exception. For example java.io.FileNotFoundExcept

RE: [OT - question] Limit user sessions in tomcat

2009-12-15 Thread Caldarale, Charles R
> From: Leon Rosenberg [mailto:rosenberg.l...@googlemail.com] > Subject: Re: [OT - question] Limit user sessions in tomcat > > Hmm, last time I implemented a tcp/ip stack (which is more than 10 > years ago) there were no possibility in the tcp protocol to detect a > broken (not closed) connection

Could not init service for worker=jkstatus

2009-12-15 Thread Carlos Ortiz
Hi I having a problem with mod_jk [ Could not init service for worker=avizpado] where avizpado is my workername [ you can see all the configuration attatch] i already have test if the port 8009 is open [nmap and telenet] and is open but i have absolute no idea what is wrong Thanks in avance for t

Page 404 on mydomain.com/share but not localhost:8080/share

2009-12-15 Thread Tim Heger
Hello- I am running Alfresco on Apache/Tomcat on Snow Leopard 10.6.2 and have an anomaly that I can¹t figure out. http://localhost:8080/alfresco works as expected http://localhost:8080/share works as expected http://mydomain.com/alfresco works as expected http://mydomain.com/share fails. When I

Re: [OT - question] Limit user sessions in tomcat

2009-12-15 Thread Leon Rosenberg
On Tue, Dec 15, 2009 at 11:01 PM, Caldarale, Charles R wrote: >> From: André Warnier [mailto:a...@ice-sa.com] >> Subject: Re: [OT - question] Limit user sessions in tomcat >> >> It would seem that there ought to be some low-level response-direction >> socket flag that should be available, to tell

Re: exclusions from conf/web.xml are not being picked up

2009-12-15 Thread Shaun Senecal
Thanks Chuck. That is in fact what I was doing, so I will move that into the webapps web.xml. Pid, I'm actually not as concerned about the favicon as I am with agentapp, but your suggestion of moving it into the webapp seems to be the key. Thanks. On Wed, Dec 16, 2009 at 12:32 AM, Caldarale,

Re: [OT - question] Limit user sessions in tomcat

2009-12-15 Thread Pid
On 15/12/2009 22:01, Caldarale, Charles R wrote: From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: [OT - question] Limit user sessions in tomcat It would seem that there ought to be some low-level response-direction socket flag that should be available, to tell whether the receiving end

RE: [OT - question] Limit user sessions in tomcat

2009-12-15 Thread Caldarale, Charles R
> From: André Warnier [mailto:a...@ice-sa.com] > Subject: Re: [OT - question] Limit user sessions in tomcat > > It would seem that there ought to be some low-level response-direction > socket flag that should be available, to tell whether the receiving end > has gone, without actually having to se

Re: [OT - question] Limit user sessions in tomcat

2009-12-15 Thread André Warnier
Ken Bowen wrote: Chris, Thanks. We do #1 routinely, usually setting the thread(s) up as workers managing a queue. #2 can be problematic as you note: long-running db queries or long graphics generation are hard to fit into this model simply because one is using someone else's monolithic code th

Expired client certificate was not rejected by server

2009-12-15 Thread tony bui
Using the keytool, I generated a couple of client trust/key stores and a server trust/key store to setup two way ssl authentication. I used a single jks file as both the trust/key store for each client/server. I've setup the tomcat 6 secure connector to require the client to present it's cert .

Re: [OT] Context Chicken & Egg Problem

2009-12-15 Thread Ken Bowen
On the Eclipse question: Eclipse basically just starts your Tomcat (which you configure into Eclipse), using it's own startup script which maps all Tomcat output into the Eclipse console. As such, JNDI (or whatever else) works just like it does when start Tomcat from it's own startup.sh in

Re: SSL problem

2009-12-15 Thread André Warnier
Carl wrote: Fresh Tomact 6.0.20 install on a new Slackware (version 13 - 64bit) linux box. Access to 8080 works fine but neither 8443 nor 443 work. Can you define "does not work" ? What error are you seeing ? - is it a failure to even connect to that port on the server ? - or do you get a Tom

Re: [OT - question] Limit user sessions in tomcat

2009-12-15 Thread Ken Bowen
Chris, Thanks. We do #1 routinely, usually setting the thread(s) up as workers managing a queue. #2 can be problematic as you note: long-running db queries or long graphics generation are hard to fit into this model simply because one is using someone else's monolithic code that makes no suc

Re: AW: mod_jk and session stickyness of images requests

2009-12-15 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Timo, On 12/15/2009 8:36 AM, Kockert, Timo wrote: - We enabled session cookies and URL rewriting (the latter via EncodeUrlTransformer of Cocoon). Oh, and what version of Cocoon are you using? I believe that I saw pass,

Re: SSL problem

2009-12-15 Thread Carl
Mark and Chuck, I am so embarrassed, I should have caught that. It works properly with that one little addition. You guys (and others also) provide so much help. All I can say is thanks. Carl - Original Message - From: "Mark Thomas" To: "Tomcat Users List" Sent: Tuesday, Decembe

Re: SSL problem

2009-12-15 Thread Carl
Chuck, When I try to go to either 8443 or 443, with: https://10.10.10.30/ or https://10.10.10.30:8443/ I get the following: Secure Connection Failed An error occurred during a connection to 10.10.10.30. SSL received a record that exceeded the maximum permissible length. (Error code: ssl_err

Re: [OT] Context Chicken & Egg Problem

2009-12-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, I'm bringing this back onto the list in case it helps anyone. Also marking OT. On 12/15/2009 1:42 PM, David Fisher wrote: > We designed things during the Tomcat 3 timeframe. I will need to push my > developer to do it the JNDI way, I'll likely

Re: tomcat jdbc pool is not proxying resultSets and preparedStatements

2009-12-15 Thread Guillermo Fernandes
Ok, I agree it is a bug. I have created the ticket: https://issues.apache.org/bugzilla/show_bug.cgi?id=48392 Actually I'm using commons-dbcp but were are not getting good performance results so I wanted to try out with the tomcat jdbc-pool.

Re: Tomcat 6 and IIS 7

2009-12-15 Thread Tuan Quan
Hi Peter; no other service listens to port 80, except Tomcat and IIS. When IIS stops and Tomcat start, running netstat -an returns what I expected. However, then Tomcat stop, and IIS start, running netstat -an got below: TCP    [::]:80    [::]:0 LISTENING Even though, I

Re: Limit user sessions in tomcat

2009-12-15 Thread André Warnier
Chetan Chheda wrote: Thanks Peter for the clarification. My background is that of a UNIX administrator not a web administrator and its showing from my posts.. My problem is long running requests. If the requests take longer than their fancy, the users just close the browser window, open a new o

Re: Limit user sessions in tomcat

2009-12-15 Thread André Warnier
Chetan Chheda wrote: Andre, We have a vast user population thats geographically dispersed, so implementing something thru the system would be the favourable approach.. Can you point me to links on the web that explain the add on modules and their implementation? All, Is there a 3rd par

Re: [OT - question] Limit user sessions in tomcat

2009-12-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ken, On 12/15/2009 1:52 PM, Ken Bowen wrote: > Are there any standard techniques that a /developer/ of such a long > running proccess could apply to wrap the process in a cocoon which > periodically updates a browser with (real) progress data, and at

Re: How to access JNDI resources on Tomcat level

2009-12-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 To whom it may concern, On 12/15/2009 7:44 AM, vramanaj wrote: > Yes, I did [read the SSL HOWTO]. I have followed those configuration > steps for other applications earlier. You may still need to import the /remote server's/ certificate into your key

Re: j_security_check change the principal user

2009-12-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Peibel, On 12/15/2009 8:03 AM, peibel80 wrote: >>> I have a web application (java,jsp) with j_security_check but the user >>> that >>> i use to authenticate need change por other in the Simpleprincipal for >>> j_security_check store in the session as

Re: [OT - question] Limit user sessions in tomcat

2009-12-15 Thread Ken Bowen
Are there any standard techniques that a /developer/ of such a long running prccess could apply to wrap the process in a cocoon which periodically updates a browser with (real) progress data, and at the same time, such updates are verifications that the socket is still live and the user hasn'

Re: Trying to access a directory outside docBase... is it possible ?

2009-12-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Peter, On 12/15/2009 11:05 AM, Peter Crowther wrote: > If you're going to do this, be Very Very Careful. Tomcat doesn't follow > symbolic links by default, even on UNIX. This is for a very good reason: if > you do this, Tomcat *will* follow the syml

Re: Limit user sessions in tomcat

2009-12-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chetan, On 12/15/2009 11:03 AM, Chetan Chheda wrote: > We frequently have situations where a user has brought down a tomcat > entirely by himself by running the same transaction multiple times > because the response was not quick enough. Does this us

Re: SSL problem

2009-12-15 Thread Mark Thomas
On 15/12/2009 18:18, Carl wrote: > maxThreads="600" minSpareThreads="25" maxSpareThreads="75" >enableLookups="false" disableUploadTimeout="true" >acceptCount="100" scheme="https" secure="true" >clientAuth="false" sslProtocol="TLS"

RE: SSL problem

2009-12-15 Thread Caldarale, Charles R
> From: Carl [mailto:c...@etrak-plus.com] > Subject: SSL problem > > Access to 8080 works fine but neither 8443 nor 443 work. What does that mean? Does Tomcat return a message saying "not working"? (I doubt it.) > I believe 443 and 8443 are up because a nmap gives: Do a netstat -an while Tom

Re: tomcat jdbc pool is not proxying resultSets and preparedStatements

2009-12-15 Thread Mark Thomas
On 15/12/2009 17:34, Guillermo Fernandes wrote: > Hi, > > I'm using ddlutils 1.0 and tomcat jdbc pool 1.0.7.1 and I getting an error > due to a connection is closed and the pool is not aware of that. > Basically the issue is that ddlutils has a resultset iterator and when it > finishes it closes t

Re: Limit user sessions in tomcat

2009-12-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 12/15/2009 12:01 PM, André Warnier wrote: > On another level, I don't quite understand yet how this squares with the > fact that most browsers will not establish more than 2 connections with > the same webserver at the same time. Things hav

SSL problem

2009-12-15 Thread Carl
Fresh Tomact 6.0.20 install on a new Slackware (version 13 - 64bit) linux box. Access to 8080 works fine but neither 8443 nor 443 work. I believe 443 and 8443 are up because a nmap gives: Discovered open port 443/tcp on 127.0.0.1 Discovered open port 8080/tcp on 127.0.0.1 Discovered open port

Re: SessionID cookie not secure over SSL

2009-12-15 Thread Mark Thomas
On 15/12/2009 13:09, vramanaj wrote: > > I am not sure whether i can post this here or not. But i want to try my luck. Please don't hijack threads. Many members of this list will ignore posts that hijack other threads. Mark -

Re: AW: mod_jk and session stickyness of images requests

2009-12-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Timo, On 12/15/2009 8:36 AM, Kockert, Timo wrote: > - We enabled session cookies and URL rewriting (the latter via > EncodeUrlTransformer of Cocoon). Oh, and what version of Cocoon are you using? - -chris -BEGIN PGP SIGNATURE- Version: GnuPG

Re: AW: mod_jk and session stickyness of images requests

2009-12-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Timo, On 12/15/2009 8:36 AM, Kockert, Timo wrote: > Just to make it clear, here is a summary of my problem and what was suggested > so far: Thanks for the nice summary. After a long thread like this, it's nice to have everything together. > - In ge

Re: Limit user sessions in tomcat

2009-12-15 Thread Chetan Chheda
Thanks Peter for the clarification. My background is that of a UNIX administrator not a web administrator and its showing from my posts.. My problem is long running requests. If the requests take longer than their fancy, the users just close the browser window, open a new one and resubmit the s

Re: Context Chicken & Egg Problem

2009-12-15 Thread David Fisher
Hi Chris, Current architecture is to share a jar in shared/lib between the main webapps, an admin webapps and a localhost only management webapps. This was originally in Tomcat 3. New architecture will separate each, drop the management webapps and we'll control contexts via multicasting, j

Re: Limit user sessions in tomcat

2009-12-15 Thread Peter Crowther
2009/12/15 Chetan Chheda > Is there a 3rd party tool available to manage tomcat sessions and kill > them once they go rogue? > > Can I just check two pieces of terminology? In Tomcat (and many other web servers), a "session" is the notion that a user will make multiple requests to the server

tomcat jdbc pool is not proxying resultSets and preparedStatements

2009-12-15 Thread Guillermo Fernandes
Hi, I'm using ddlutils 1.0 and tomcat jdbc pool 1.0.7.1 and I getting an error due to a connection is closed and the pool is not aware of that. Basically the issue is that ddlutils has a resultset iterator and when it finishes it closes the connection by getting it from the * resultSet.preparedSta

Re: Limit user sessions in tomcat

2009-12-15 Thread Chetan Chheda
Andre, We have a vast user population thats geographically dispersed, so implementing something thru the system would be the favourable approach.. Can you point me to links on the web that explain the add on modules and their implementation? All,     Is there a 3rd party tool available to

RE: Limit user sessions in tomcat

2009-12-15 Thread Caldarale, Charles R
> From: André Warnier [mailto:a...@ice-sa.com] > Subject: Re: Limit user sessions in tomcat > > On another level, I don't quite understand yet how this squares with > the fact that most browsers will not establish more than 2 connections > with the same webserver at the same time. Because when yo

Re: Limit user sessions in tomcat

2009-12-15 Thread Peter Crowther
2009/12/15 André Warnier > On another level, I don't quite understand yet how this squares with the > fact that most browsers will not establish more than 2 connections with the > same webserver at the same time. It seems a bit difficult to imagine that > one single user can "crash" a Tomcat jus

Re: Limit user sessions in tomcat

2009-12-15 Thread André Warnier
Caldarale, Charles R wrote: From: Chetan Chheda [mailto:chetan_chh...@yahoo.com] Subject: Limit user sessions in tomcat Is there a way through configuation of tomcat and mod_jk to control the number of concurrent transactions/sessions a user can maintain? Don't know about what you might be abl

RE: Trying to access a directory outside docBase... is it possible ?

2009-12-15 Thread Caldarale, Charles R
> From: peter.crowth...@googlemail.com > [mailto:peter.crowth...@googlemail.com] On Behalf Of Peter Crowther > Subject: Re: Trying to access a directory outside docBase... is it > possible ? > > This is a common enough use case (it comes up about once a month on the > list) that Someone may have c

RE: Limit user sessions in tomcat

2009-12-15 Thread Caldarale, Charles R
> From: Chetan Chheda [mailto:chetan_chh...@yahoo.com] > Subject: Limit user sessions in tomcat > > Is there a way through configuation of tomcat and mod_jk to control > the number of concurrent transactions/sessions a user can maintain? Don't know about what you might be able to configure in htt

AW: mod_jk and session stickyness of images requests

2009-12-15 Thread Kockert, Timo
> > Just to make it clear, here is a summary of my problem and what was suggested so far: > > > > - We have a webapp that serves content (html, xhtml, ...) and images (jpg, png, ...). > > - Both, content and images, are _not_ static. > > - They are generated by two different servlets in the same co

RE: Tomcat / windows 2008 IIS 7 x64

2009-12-15 Thread Sabo, Eric
Got it to work finally. -Original Message- From: Pid [mailto:p...@pidster.com] Sent: Tuesday, December 15, 2009 10:03 AM To: users@tomcat.apache.org Subject: Re: Tomcat / windows 2008 IIS 7 x64 On 15/12/2009 13:28, Sabo, Eric wrote: > We did get tomcat to process the JSP on the loca

Re: Tomcat Config Question

2009-12-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dick, On 12/15/2009 8:15 AM, steflik wrote: > I'm a little bit hesitant as a number of the students are still struggling > to get their JSP project done. Right now the server is running and the > statements that define where the apps are are right at

Re: Trying to access a directory outside docBase... is it possible ?

2009-12-15 Thread André Warnier
Pid wrote: On 15/12/2009 16:05, Peter Crowther wrote: 2009/12/15 André Warnier But maybe you could just create a link, inside your deployment directory, to the mount ? /opt/Tomcat/webapps/myApp/docs --> /opt/document-repository If you're going to do this, be Very Very Careful. Tomcat does

Re: Trying to access a directory outside docBase... is it possible ?

2009-12-15 Thread Paolo Santarsiero
2009/12/15 Ingo Gambin > Hi, > > I am new to Tomcat and JEE, but a new job means to learn new things. > > So right to my problem, wich I am sure is not too unusual, but I > couldn't really find a solution (via google) so far. > > my directory structure looks as follows > > /opt/document-repositor

Re: Accumulation of Request Processors objects causes tomcat stuck?

2009-12-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michal, On 12/15/2009 9:55 AM, Caldarale, Charles R wrote: >> From: Michal Singer [mailto:michal.sin...@expand.com] >> Subject: Accumulation of Request Processors objects causes tomcat >> stuck? >> >> i am running an application on tomcat which gets s

Re: tomcat 6 not responding to any kind of request i.e. static and dynamic resources after some hours

2009-12-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sasidhar, On 12/15/2009 9:21 AM, sasidhar prabhakar wrote: > Tomcat hangs after running for several hours. > Means initially it is taking around 24hr now it is hanging every 3 to 4 hr > we can not say the exact time. [snip] > And we are sending per

Re: Trying to access a directory outside docBase... is it possible ?

2009-12-15 Thread Pid
On 15/12/2009 16:05, Peter Crowther wrote: 2009/12/15 André Warnier But maybe you could just create a link, inside your deployment directory, to the mount ? /opt/Tomcat/webapps/myApp/docs --> /opt/document-repository If you're going to do this, be Very Very Careful. Tomcat doesn't follow s

RE: Limit user sessions in tomcat

2009-12-15 Thread George Sexton
This is an application level problem. You need to implement your own synchronization/locking system to prevent this from happening. If you're running reports that are taking a while, you might want to consider creating a system that will email the results to the clients rather than making them wai

Re: Trying to access a directory outside docBase... is it possible ?

2009-12-15 Thread Peter Crowther
2009/12/15 André Warnier > But maybe you could just create a link, inside your deployment directory, > to the mount ? > > /opt/Tomcat/webapps/myApp/docs --> /opt/document-repository > > If you're going to do this, be Very Very Careful. Tomcat doesn't follow symbolic links by default, even on UNI

Limit user sessions in tomcat

2009-12-15 Thread Chetan Chheda
Hello,     We frequently have situations where a user has brought down a tomcat entirely by himself by running the same transaction multiple times because the response was not quick enough.   Is there a way through configuation of tomcat and mod_jk to control the number of concurrent transac

Re: mod_jk and session stickyness of images requests

2009-12-15 Thread Rainer Jung
On 15.12.2009 14:36, Kockert, Timo wrote: Thanks for all your answers so far! I'm still trying to figure out the problem but there are also some other things I need to take care of. Just to make it clear, here is a summary of my problem and what was suggested so far: - We have a webapp that s

Re: Trying to access a directory outside docBase... is it possible ?

2009-12-15 Thread André Warnier
Ingo Gambin wrote: ... my directory structure looks as follows /opt/document-repository <- mounted nfs-disk of an archiving system /opt/Tomcat/webapps/myApp.war <- my project deployment file my webapp for now is just a bunch of servlets which, using java.io.File..., have no trouble to read t

Re: Trying to access a directory outside docBase... is it possible ?

2009-12-15 Thread Pid
On 15/12/2009 15:25, Ingo Gambin wrote: Am Dienstag, den 15.12.2009, 15:01 + schrieb Pid: o right to my problem, wich I am sure is not too unusual, but I couldn't really find a solution (via google) so far. my directory structure looks as follows /opt/document-repository<- mounted nfs-dis

RE: exclusions from conf/web.xml are not being picked up

2009-12-15 Thread Caldarale, Charles R
> From: Pid [mailto:p...@pidster.com] > Subject: Re: exclusions from conf/web.xml are not being picked up > > The /agentapp/ could be deployed in it's own war, or exploded dir, with > a separate web.xml. The favicon is a bit more tricky, not sure you can > do what you want to as long as the first

Re: Trying to access a directory outside docBase... is it possible ?

2009-12-15 Thread Ingo Gambin
Am Dienstag, den 15.12.2009, 15:01 + schrieb Pid: > o right to my problem, wich I am sure is not too unusual, but I > > couldn't really find a solution (via google) so far. > > > > my directory structure looks as follows > > > > /opt/document-repository<- mounted nfs-disk of an archiving system

Re: cluster error recovered?

2009-12-15 Thread Mitch Claborn
What are more reasonable values for those settings? mitch Filip Hanik - Dev Lists wrote: > increase your send timeout, 3000 seconds is very aggressive, and you > would have to tune away most long GC pauses to not timeout. > increase your dropTimeout, it seems you're getting false positives, > pr

Re: 'Parametrizing' context.xml?

2009-12-15 Thread Pid
On 14/12/2009 16:21, Mario Splivalo wrote: Is there a way to 'parametrize' context.xml, for instance, in a manner one can 'parametrize' build.xml? For some webapplication in context.xml one puts, for instance, JDBC specific stuff. But, several developers can have different 'properties' for the d

Re: exclusions from conf/web.xml are not being picked up

2009-12-15 Thread Pid
On 15/12/2009 06:45, Shaun Senecal wrote: I have a "blanket" security-constraint defined in my conf/web.xml, followed by a couple more specific security-constraints. However, it appears that the more specific ones are not being picked up. When I break in FormAuthenticator.invoke(), I can see in

Re: Tomcat / windows 2008 IIS 7 x64

2009-12-15 Thread Pid
On 15/12/2009 13:28, Sabo, Eric wrote: We did get tomcat to process the JSP on the localhost site, but it will not process .JSP on the others sites we have configured. > Can you do multiple sites? Yes. p > I am assuming we are missing something in the "Server.XML" is where we need to d

Re: Trying to access a directory outside docBase... is it possible ?

2009-12-15 Thread Pid
On 15/12/2009 13:46, Ingo Gambin wrote: Hi, I am new to Tomcat and JEE, but a new job means to learn new things. So right to my problem, wich I am sure is not too unusual, but I couldn't really find a solution (via google) so far. my directory structure looks as follows /opt/document-reposito

RE: Accumulation of Request Processors objects causes tomcat stuck?

2009-12-15 Thread Caldarale, Charles R
> From: Michal Singer [mailto:michal.sin...@expand.com] > Subject: Accumulation of Request Processors objects causes tomcat > stuck? > > i am running an application on tomcat which gets stuck when > processing incoming messages after a while. So take a thread dump and find out what they're waitin

RE: Very slow shutdown - 3 mins

2009-12-15 Thread Caldarale, Charles R
> From: Wayne Pope [mailto:waynemailingli...@gmail.com] > Subject: Very slow shutdown - 3 mins > > I've done a thread dump, but as far as I can tell all > looks ok. Not to me. You have numerous threads apparently spawned by a webapp that are still sitting around. Whatever webapp is responsible

tomcat 6 not responding to any kind of request i.e. static and dynamic resources after some hours

2009-12-15 Thread sasidhar prabhakar
hi, we are using tomcat 6, jdk1.5, CentOS 5, with 4gb of ram, data base is Oracle 11g. For the past one month we are getting this problem before that we don't. Tomcat hangs after running for several hours. Means initially it is taking around 24hr now it is hanging every 3 to 4 hr we can not say th

Re: 'Parametrizing' context.xml?

2009-12-15 Thread Mario Splivalo
Bill Barker wrote: > "Mario Splivalo" wrote in message > news:4b266622.5060...@megafon.hr... > > Tomcat also supports ant-style variable replacement, so using that then > Ken's example would look like: > > baseprefix > ${BPVAL} > > > where BPVAL is a Java system property (that

Re: Tomcat Config Question

2009-12-15 Thread Pid
On 15/12/2009 13:15, steflik wrote: Chuck, I'm a little bit hesitant as a number of the students are still struggleing to get their JSP project done. Right now the server is running and the statements that define where the apps are are right at the end of server.xml. This is an example of a s

Trying to access a directory outside docBase... is it possible ?

2009-12-15 Thread Ingo Gambin
Hi, I am new to Tomcat and JEE, but a new job means to learn new things. So right to my problem, wich I am sure is not too unusual, but I couldn't really find a solution (via google) so far. my directory structure looks as follows /opt/document-repository <- mounted nfs-disk of an archiving sy

Re: How to access JNDI resources on Tomcat level

2009-12-15 Thread Pid
On 15/12/2009 12:44, vramanaj wrote: Yes, I did. I have followed those configuration steps for other applications earlier. Are there any other configurations required to store the cookies in IE browser, if the application is ssl enabled ? No, Tomcat doesn't need to do anything special for IE.

AW: mod_jk and session stickyness of images requests

2009-12-15 Thread Kockert, Timo
Thanks for all your answers so far! I'm still trying to figure out the problem but there are also some other things I need to take care of. Just to make it clear, here is a summary of my problem and what was suggested so far: - We have a webapp that serves content (html, xhtml, ...) and images

RE: Tomcat / windows 2008 IIS 7 x64

2009-12-15 Thread Sabo, Eric
We did get tomcat to process the JSP on the localhost site, but it will not process .JSP on the others sites we have configured.Can you do multiple sites? I am assuming we are missing something in the "Server.XML" is where we need to define all this. -Original Message- From:

Re: Tomcat Config Question

2009-12-15 Thread David Smith
I'm assuming your docBase for this app is not inside tomcat's webapps folder and in that case, you're right to wonder how tomcat finds the context.xml file. The ... element can also be in it's own file named after the path attribute - i.e. alti.xml in conf/Catalina/localhost. Replace 'Catalina' w

Re: Tomcat Config Question

2009-12-15 Thread steflik
Chuck, I'm a little bit hesitant as a number of the students are still struggleing to get their JSP project done. Right now the server is running and the statements that define where the apps are are right at the end of server.xml. This is an example of a ststement as they are currently in serve

Re: SessionID cookie not secure over SSL

2009-12-15 Thread vramanaj
I am not sure whether i can post this here or not. But i want to try my luck. I am facing problem in configuring rememberMe for one of the Josso partner application. Following cookies are getting generated when i logging for the first time. cookie=JSESSIONID=964AB2019709DEEEA148DC018D69C2D4; JO

Re: j_security_check change the principal user

2009-12-15 Thread peibel80
Pid Ster wrote: > > On 15/12/2009 10:03, peibel80 wrote: >> >> >> Hi, >> >> I have a problem. >> >> I have a web aplication (java,jsp) with j_security_check but the user >> that >> i use to authenticate need change por other in the Simpleprincipal for >> j_security_check store in the session a

Re: How to access JNDI resources on Tomcat level

2009-12-15 Thread vramanaj
Yes, I did. I have followed those configuration steps for other applications earlier. Are there any other configurations required to store the cookies in IE browser, if the application is ssl enabled ? Pid Ster wrote: > > On 15/12/2009 11:25, vramanaj wrote: >> >> The problem is https. For rem

Re: j_security_check change the principal user

2009-12-15 Thread Pid
On 15/12/2009 10:03, peibel80 wrote: Hi, I have a problem. I have a web aplication (java,jsp) with j_security_check but the user that i use to authenticate need change por other in the Simpleprincipal for j_security_check store in the session as the primary user. Is posible? I don't think

Re: How to access JNDI resources on Tomcat level

2009-12-15 Thread Pid
On 15/12/2009 11:25, vramanaj wrote: The problem is https. For rememberMe in Josso, the site should be in ssl. I configured ssl in tomcat. Now i am getting the following error. I have installed the cert. in IE. Please help me if there are tomcat settings required for ssl. If the problem is se

Re: Getting Servlet-api.jar source.

2009-12-15 Thread Pid
On 15/12/2009 10:50, Jaime Carmona Loeches wrote: Where Can I download Servlet-api.jar source? Thanks in advance Jaime Carmona Loeches. http://tomcat.apache.org/svn.html p - To unsubscribe, e-mail: users-unsubscr...@tomcat

Re: compiling tomcat6020 from source on modern amd64-bit linux

2009-12-15 Thread lux-integ
On Sunday 13 December 2009 10:54:10 am Zacheusz Siedlecki wrote: > Right - I meant native APR (with IO functionality) not connectors in jars >Regards, > Zacheusz > thanks for your comments, perhaps you et al could help with a little decryption?. ..

Re: How to access JNDI resources on Tomcat level

2009-12-15 Thread vramanaj
The problem is https. For rememberMe in Josso, the site should be in ssl. I configured ssl in tomcat. Now i am getting the following error. I have installed the cert. in IE. Please help me if there are tomcat settings required for ssl. 15 Dec 2009 06:14:38,992 DEBUG Error getting client certs j

AW: Re: Response logging

2009-12-15 Thread Abid Hussain
Thanks for the link, I will try the filter in my application. Best regards, Abid -Ursprüngliche Nachricht- Von: Christopher Schultz [mailto:ch...@christopherschultz.net] Gesendet: Montag, 14. Dezember 2009 19:56 An: Tomcat Users List Betreff: Re: Response logging -BEGIN PGP SIGNED

Getting Servlet-api.jar source.

2009-12-15 Thread Jaime Carmona Loeches
Where Can I download Servlet-api.jar source? Thanks in advance Jaime Carmona Loeches. Formador de Java J2EE / Java-J2EE Teacher Pronoide SL www.pronoide.com Spain

j_security_check change the principal user

2009-12-15 Thread peibel80
Hi, I have a problem. I have a web aplication (java,jsp) with j_security_check but the user that i use to authenticate need change por other in the Simpleprincipal for j_security_check store in the session as the primary user. Is posible? thanks, Sorry for my inglish. -- View this message

Accumulation of Request Processors objects causes tomcat stuck?

2009-12-15 Thread Michal Singer
Hi, i am running an application on tomcat which gets stuck when processing incoming messages after a while. I see accumulation of request processors objects in jconsole under: Catalina\RequestProcessor\http-8080. What do these objects mean, what does it mean that they accumulate? can it explain t

  1   2   >