Re: [error] (32)Broken pipe: ajp_ilink_send(): send failed

2008-10-06 Thread André Warnier
Sehyia Jalaludheen wrote: Hi Chuck, Thanks for the quick reply. I am not sure about it. But a few other machines in the same network also have the same Login issues for this application. Thanks Sehiya On Mon, Oct 6, 2008 at 11:39 AM, Caldarale, Charles R < [EMAIL PROTECTED]> wrote: From:

Monitoring of services deployed in tomcat

2008-10-06 Thread Raghunandan
Dear All, Is it required to monitor the deployed services in tomcat? Is there option for auto restart if the service goes down? If it is necessary to monitor the deployed services, what are the different ways of monitoring. Regards Raghu

RE: Using tomcat to hold many open connections.

2008-10-06 Thread Caldarale, Charles R
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Subject: Re: Using tomcat to hold many open connections. > > Does CometProcessor and/or NIO come pre-installed & > pre-configured as part of Tomcat 6? All part of the basic package: http://tomcat.apache.org/tomcat-6.0-doc/aio.html - Chuck T

Re: Using tomcat to hold many open connections.

2008-10-06 Thread ayden
Does CometProcessor and/or NIO come pre-installed & pre-configured as part of Tomcat 6? or do you have to download/install additional things? > tomcat has one too, it's called the CometProcessor > > Filip > > Clemens Eisserer wrote: >> Jetty has a special api to allow exactly this kind of request

Managing Tomcat 6 threads : How to make tomcat destroy threads when idle?

2008-10-06 Thread Rohan Sahgal
Hi, I tried increasing the number of tomcat threads. However, I cannot get tomcat to destroy the threads once they get created even though tomcat is idle. I have modified my connector as follows :- However I have observed that once 2000 threads are created (I am monitoring with jconsole), the

RE: Using tomcat to hold many open connections.

2008-10-06 Thread Martin Gainty
Jan- BB software has the potential to cause a considerable amount of havoc and heartache you could be damaging the disks if you dont quiesce all of your DB,mail,ftp, tc servers first I can see the utility to either turn on or turn off smart appliances though.. Martin _

RE: Reloading Tomcat Server

2008-10-06 Thread Martin Gainty
one of 3 things that could possibly be causing this the response is too big the response is taking too long (timeout) you need to authenticate to the url I would use wget or curl to determine what the error is if you point us to the URL i can test it out here and then we can suggest an appropriat

Re: Using tomcat to hold many open connections.

2008-10-06 Thread Filip Hanik - Dev Lists
tomcat has one too, it's called the CometProcessor Filip Clemens Eisserer wrote: Jetty has a special api to allow exactly this kind of request efficiently. The thread is not kept assignd to the "sleeping" connection, but is re-used. lg Clemens 2008/10/6 Kees Jan Koster <[EMAIL PROTECTED]>:

Re: Question about TLS Ciphers in tomcat

2008-10-06 Thread David Wall
We've used the following in Tomcat 5.5 with JDK 1.6: David - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Deploying to a subfolder

2008-10-06 Thread McEahern, Mark S
> >> -Original Message- > >> From: Mark Thomas [mailto:[EMAIL PROTECTED] > >> Sent: Sunday, October 05, 2008 1:41 PM > >> To: Tomcat Users List > >> Subject: Re: Deploying to a subfolder > >> > >> I can repeat this now. It looks like I missed this > combination in my > >> testing. I'll ge

Re: Using tomcat to hold many open connections.

2008-10-06 Thread ayden
Im no techo but I think this is might help Have a look at icefaces.org if you can work out how to do it and whats required from tomcat side (NIO etc) please let me know :) > > - Original Message - > From: "Kees Jan Koster" <[EMAIL PROTECTED]> > To: "Tomcat Users List" > Sent: Monday, Octo

Re: Using tomcat to hold many open connections.

2008-10-06 Thread Johnny Kewl
- Original Message - From: "Kees Jan Koster" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Monday, October 06, 2008 9:22 PM Subject: Re: Using tomcat to hold many open connections. Dear Uprooter, I'm looking for a server that has to hold many (web services) remote clients for

Re: Using tomcat to hold many open connections.

2008-10-06 Thread Clemens Eisserer
Jetty has a special api to allow exactly this kind of request efficiently. The thread is not kept assignd to the "sleeping" connection, but is re-used. lg Clemens 2008/10/6 Kees Jan Koster <[EMAIL PROTECTED]>: > Dear Uprooter, > >> I'm looking for a server that has to hold many (web services) rem

Re: how to avoid multiple requests from the same client

2008-10-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tim, Tim J Schumacher wrote: > We do this in our project by using the TokenProcessor in struts. Are > you using struts by chance? I think Colin is more worried about repeated requests for /any/ page, not just form submissions (which struts' tokens a

Re: Apache DirectoryIndex and mod_jk ForwardDirectories not playing nicely

2008-10-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Charlotte, > I'm trying to configure mod_jk 1.2.16.with Apache 1.3.26 and tomcat > 5.0.28 on Solaris 9. I compiled the mod_jk from source for the Apache > version. Unfortunately, I'm stuck with this environment. Ouch. Thanks for pointing out that you

Re: Question about TLS Ciphers in tomcat

2008-10-06 Thread Mark Thomas
Farid Izem wrote: > Hi, > > I'm trying to enforce the https connections of my tomcat server by > disabling weakness ciphers. > In the tomcat documentation, there is a directive cipher which allow > to specify a list of ciphers. > Has anyone use this directive and how does il work ? It is ciphers

Re: Using tomcat to hold many open connections.

2008-10-06 Thread Kees Jan Koster
Dear Uprooter, I'm looking for a server that has to hold many (web services) remote clients for controlling them. I want to do things like sending power off command to a bunch of machines remotely. Building a botnet? :-) The clients are usually windows machines behind firewalls NAT or

Re: Tomcat 5.5.x - Logging Issues

2008-10-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Piercey, piercey wrote: > This setup worked ok in Tomcat 4.1.x, but I decided to upgrade to a > newer version (with support for JDK 1.4.2). Note that Tomcat 4.1.x should happily work under JDK 1.4.x. > Anyway, the problem comes when I try to log in

Question about TLS Ciphers in tomcat

2008-10-06 Thread Farid Izem
Hi, I'm trying to enforce the https connections of my tomcat server by disabling weakness ciphers. In the tomcat documentation, there is a directive cipher which allow to specify a list of ciphers. Has anyone use this directive and how does il work ? Kind Regards, Farid

Re: Authentication behaviour

2008-10-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Maurizio, Maurizio Lotauro wrote: > I already read this rfc and now I have read it again, but I'm unable to found > where it > describe that the server can answer with 401 before the client has finished > to send all data. There's nothing that sa

RE: Cannot load JDBC driver class in WebApp-specific lib

2008-10-06 Thread Martin Gainty
remembering every lookup is a complete roundtrip which can be slow during peak periods try to maintain as direct a path as possible to the DB with as few lookups as possible to ensure best performance thanks, Martin __ Disclaimer and confidentiality

Re: Using tomcat to hold many open connections.

2008-10-06 Thread Johnny Kewl
- Original Message - From: "uprooter" <[EMAIL PROTECTED]> To: Sent: Monday, October 06, 2008 6:48 PM Subject: Re: Using tomcat to hold many open connections. Thanks johnny. Will TC can survive 20k polling clients ? How much pipe do you have? How "real time" do you want it? Are yo

Re: Reloading Tomcat Server

2008-10-06 Thread Pid
Barry Fawthrop wrote: > To All > > I have a simple website that reads third party RSS feeds and displays them. > (1) I have tried with DocBuilder > (2) tried with rssutils > (3) Even tried with the rss xml file downloaded locally (using wget) and > then a reading the local file. > > All three

Reloading Tomcat Server

2008-10-06 Thread Barry Fawthrop
To All I have a simple website that reads third party RSS feeds and displays them. (1) I have tried with DocBuilder (2) tried with rssutils (3) Even tried with the rss xml file downloaded locally (using wget) and then a reading the local file. All three have the same Issue. You can get it the

RE: Apache DirectoryIndex and mod_jk ForwardDirectories not playing nicely

2008-10-06 Thread Townsley, Charlotte
Hello all, I haven't received any replies, probably because I didn't explain the problem very clearly. I created a "band aid" for the problem I encountered with mod_jk and apache not handling DirectoryIndex correctly. Essentially I used mod_rewrite to check for index.shtml and pass to index.p

Re: Cannot load JDBC driver class in WebApp-specific lib

2008-10-06 Thread Juha Laiho
McEahern, Mark S wrote: > I have a JNDI resource defined in my application's context.xml like so: > > > >name="jdbc/v5/myjndi" > type="javax.sql.DataSource" > driverClassName="oracle.jdbc.driver.OracleDriver" ... > maxActive="4"/> > > > When I try to put th

Re: Cross Context Session in Tomact

2008-10-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Maciej, Bajolek, Maciej wrote: > Basically the problem is: how can webAppA share the session object with > webAppB. Both apps are deployed within the same instance of Tomact. The servlet specification (section 7.3) specifies that session scope is lim

Re: Deploying to a subfolder

2008-10-06 Thread Mark Thomas
McEahern, Mark S wrote: >> -Original Message- >> From: Mark Thomas [mailto:[EMAIL PROTECTED] >> Sent: Sunday, October 05, 2008 1:41 PM >> To: Tomcat Users List >> Subject: Re: Deploying to a subfolder >> >> I can repeat this now. It looks like I missed this >> combination in my testing. I

Re: Servlet url mapping work incorrect when many servlets have one code

2008-10-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mihail, Druzhiinin Mihail wrote: > We have 2 servlets with one code and different init parameters mapped to > different url. So, you mean to say that you have a single servlet deployed on two different URL patterns. > On high load requests to first

Re: Using tomcat to hold many open connections.

2008-10-06 Thread uprooter
Thanks johnny. Will TC can survive 20k polling clients ? Johnny Kewl wrote: > > > - Original Message - > From: "uprooter" <[EMAIL PROTECTED]> > To: > Sent: Monday, October 06, 2008 4:29 PM > Subject: Using tomcat to hold many open connections. > > >> >> Hi. >> I'm looking for a ser

Re: Using tomcat to hold many open connections.

2008-10-06 Thread Johnny Kewl
- Original Message - From: "uprooter" <[EMAIL PROTECTED]> To: Sent: Monday, October 06, 2008 4:29 PM Subject: Using tomcat to hold many open connections. Hi. I'm looking for a server that has to hold many (web services) remote clients for controlling them. I want to do things lik

RE: Heap dump of servlet

2008-10-06 Thread Martin Gainty
i would use either jmap, jhat or jconsole..instructions located at http://www.rtidemo.org/drupal/node/122 Martin __ Disclaimer and confidentiality note Everything in this e-mail and any attachments relates to the official business of Sender. This tr

RE: Deploying to a subfolder

2008-10-06 Thread McEahern, Mark S
> -Original Message- > From: Mark Thomas [mailto:[EMAIL PROTECTED] > Sent: Sunday, October 05, 2008 1:41 PM > To: Tomcat Users List > Subject: Re: Deploying to a subfolder > > I can repeat this now. It looks like I missed this > combination in my testing. I'll get it fixed for 6.0.19+ >

Re: [error] (32)Broken pipe: ajp_ilink_send(): send failed

2008-10-06 Thread Sehyia Jalaludheen
Hi Chuck, Thanks for the quick reply. I am not sure about it. But a few other machines in the same network also have the same Login issues for this application. Thanks Sehiya On Mon, Oct 6, 2008 at 11:39 AM, Caldarale, Charles R < [EMAIL PROTECTED]> wrote: > > From: Sehyia Jalaludheen [mailt

RE: [error] (32)Broken pipe: ajp_ilink_send(): send failed

2008-10-06 Thread Caldarale, Charles R
> From: Sehyia Jalaludheen [mailto:[EMAIL PROTECTED] > Subject: [error] (32)Broken pipe: ajp_ilink_send(): send failed > > This happens only when I am logging into the application > after a few days inactivity. Login fails in the first three > or four attempts and then the login is successful. Any

Re: how to avoid multiple requests from the same client

2008-10-06 Thread Tim J Schumacher
We do this in our project by using the TokenProcessor in struts. Are you using struts by chance? -Tim colin_ wrote: mgainty wrote: you can implement single sign on access with SingleSignOn Valve ... ... http://tomcat.apache.org/tomcat-5.5-doc/config/host.html is this what you're

RE: Heap dump of servlet

2008-10-06 Thread Caldarale, Charles R
> From: Mohit Anchlia [mailto:[EMAIL PROTECTED] > Subject: Re: Heap dump of servlet > > Is there any way to get just the heapdump of servlet threads? Since the heap is shared by all threads in the JVM, there's no such thing as a "heapdump of servlet threads". Use jmap or similar tools to see wha

Re: Basic Tribes Questions

2008-10-06 Thread Filip Hanik - Dev Lists
there are getters and setters for everything and they are all documented here http://tomcat.apache.org/tomcat-6.0-doc/config/cluster-channel.html each component has getters/setters, for example, the multicast address setAddress getAddress breakpoints might not work very well, since you are stop

Re: Tomcat Servlet & Bouncy Castle Problem

2008-10-06 Thread Jeng Yu
--- Mark Thomas <[EMAIL PROTECTED]> wrote: > Jeng Yu wrote: > > Interestngly, the same RSA public encryption code > with > > Bouncy Castle library works flawlessly when I > develop > > it in Netbeans IDE and run it as a java > application > > (not servlet). In servlet environment, it fails. > Yes

Re: Heap dump of servlet

2008-10-06 Thread Mohit Anchlia
Is there any way to get just the heapdump of servlet threads? On Sat, Oct 4, 2008 at 12:16 AM, Leon Rosenberg <[EMAIL PROTECTED]> wrote: > kill -QUIT produces the thread dump, not the heap dump. That's being > said it works exactly the same way with tomcat as with any other > application, the whol

Cannot load JDBC driver class in WebApp-specific lib

2008-10-06 Thread McEahern, Mark S
I have a JNDI resource defined in my application's context.xml like so: When I try to put the ojdbc14.jar in the /WEB-INF/lib/*.jar of my web application, it results in the following error: Could not get JDBC Connection; nested exception is org.apache.tomcat.dbcp.dbcp.SQLNestedExce

[error] (32)Broken pipe: ajp_ilink_send(): send failed

2008-10-06 Thread Sehyia Jalaludheen
Hi, I am getting the following error messages when I login to a web application which uses AJP Connector between Tomcat and Apache. httpd-error log: [error] (32)Broken pipe: ajp_ilink_send(): send failed Page shows Service Temporarily Unavailable The server is temporarily unable to service yo

RE: how to avoid multiple requests from the same client

2008-10-06 Thread colin_
mgainty wrote: > > > you can implement single sign on access with SingleSignOn Valve > > ... > > ... > > http://tomcat.apache.org/tomcat-5.5-doc/config/host.html > > is this what you're looking for? > Martin > nope, but thx anyway. i got just 1 web app running. my problem is, that

RE: Basic Tribes Questions

2008-10-06 Thread Mike Wannamaker
Hi Filip Thanks for the info. However, I don't see the documentation for the setters/getters you mention below? Also I'm having issues while debugging. When I hit a breakpoint in my code and while stepping thru code, I get DISAPPEARED/ADDED messages over and over on the other server? I would

RE: Regd....ASF Bugzilla - Bug 45015 (Quoting in attributes)

2008-10-06 Thread subir.sasikumar
Hi Mark, Thanks a lot :) You have given crystal clear solution. Regards Subir -Original Message- From: Mark Thomas [mailto:[EMAIL PROTECTED] Sent: Monday, October 06, 2008 6:49 PM To: Tomcat Users List Subject: Re: RegdASF Bugzilla - Bug 45015 (Quoting in attributes) [EMAIL PROTECTE

RE: how to avoid multiple requests from the same client

2008-10-06 Thread Martin Gainty
you can implement single sign on access with SingleSignOn Valve ... ... http://tomcat.apache.org/tomcat-5.5-doc/config/host.html is this what you're looking for? Martin __ Disclaimer and confidentiality note Everything in this e-mail and any

RE: how to avoid multiple requests from the same client

2008-10-06 Thread colin_
paul.ockleford wrote: > > Could you just use javascript? > > no, the whole frontend of our framework is in java -- View this message in context: http://www.nabble.com/how-to-avoid-multiple-requests-from-the-same-client-tp19836189p19839203.html Sent from the Tomcat - User mailing list archi

Using tomcat to hold many open connections.

2008-10-06 Thread uprooter
Hi. I'm looking for a server that has to hold many (web services) remote clients for controlling them. I want to do things like sending power off command to a bunch of machines remotely. The clients are usually windows machines behind firewalls NAT or web proxies that only allow HTTP (this is why

RE: how to avoid multiple requests from the same client

2008-10-06 Thread paul.ockleford
Could you just use javascript? -Original Message- From: colin_ [mailto:[EMAIL PROTECTED] Sent: 06 October 2008 15:07 To: users@tomcat.apache.org Subject: Re: how to avoid multiple requests from the same client any idea how i would do that, or where to find an example? Mark Thomas-18

Re: how to avoid multiple requests from the same client

2008-10-06 Thread colin_
any idea how i would do that, or where to find an example? Mark Thomas-18 wrote: > > It is something you need to handle within your application. > > This has been discussed before in the archives. Try searching > http://tomcat.markmail.org/ for "multiple requests" > > Mark > > > >

Re: Regd....ASF Bugzilla - Bug 45015 (Quoting in attributes)

2008-10-06 Thread Mark Thomas
[EMAIL PROTECTED] wrote: > Hi, > > I tried to give the system property in three ways > > a) set org.apache.jasper.compiler.Parser.STRICT_QUOTE_ESCAPING=false That sets an environment variable, not a system property. > b) ant -Dorg.apache.jasper.compiler.Parser.STRICT_QUOTE_ESCAPING=false Ant isn

Re: Native library issue on RHEL5

2008-10-06 Thread John Ozarchuk
I set the LD_LIBRARY_PATH variable in my shell and starting Tomcat up is still not seeing the native libraries. Thanks John - Original Message From: Rainer Jung <[EMAIL PROTECTED]> To: Tomcat Users List Sent: Friday, October 3, 2008 8:37:57 AM Subject: Re: Native library issue on

RE: Problem with jasper-compiler when ported web application from tomcat 5.5.9 to 5.5.26

2008-10-06 Thread Bhagwat, Vinit (Vinit)
Thanks again for links. This code was written by somebody else and I am maintain it. I agree that there is no valid reason for referencing non-existent jsp. I will change my code. I was curious about what got changed and with your help I got the answer. Thanks a lot. Thanks and Regards, Vinit ---

Re: Problem with jasper-compiler when ported web application from tomcat 5.5.9 to 5.5.26

2008-10-06 Thread Konstantin Kolinko
> Can you please look into Bug 37326 for 5.5.25 I think this is related > with my problem. Yes, it certainly looks like it. Also, if you are interested, here is what was changed: http://mail-archives.apache.org/mod_mbox/tomcat-dev/200708.mbox/[EMAIL PROTECTED] http://svn.apache.org/viewvc?view=

Re: how to avoid multiple requests from the same client

2008-10-06 Thread Mark Thomas
colin_ wrote: > hello everyone > while testing our website (running with a java servlet) i noticed that an > impacient user could overload our database server. since some sites need > alot of time to load, an impacient user can click multiple times on the same > link. i thought tomcat would notice

RE: Problem with jasper-compiler when ported web application from tomcat 5.5.9 to 5.5.26

2008-10-06 Thread Bhagwat, Vinit (Vinit)
Thanks for the changelog link and pointers. This is not the actual snippet. I tried to simulate as per my application. What I suspect is if it should not try to include def.jsp which was happening when I used 5.5.9 but with 5.5.26 I guess though t:panelTab rendered attribute is false it tries t

how to avoid multiple requests from the same client

2008-10-06 Thread colin_
hello everyone while testing our website (running with a java servlet) i noticed that an impacient user could overload our database server. since some sites need alot of time to load, an impacient user can click multiple times on the same link. i thought tomcat would notice this, and block the fur

Re: Problem with jasper-compiler when ported web application from tomcat 5.5.9 to 5.5.26

2008-10-06 Thread Konstantin Kolinko
> I wanted to know what change has happened in above mentioned jars from > tomcat 5.5.9 to 5.5.26 which is breaking my code? Don't know. All changes are mentioned in the changelog, http://tomcat.apache.org/tomcat-5.5-doc/changelog.html and there is source code repository where you can look for co

Re: Tomcat with support for asyn servlets (3.0)?

2008-10-06 Thread Clemens Eisserer
> There is a draft 3.0 spec but no APIs at present. Once there is a draft > with some APIs I image there will be a Tomcat 7 branch that will remain > alpha at least until the spec is final. Thanks :) lg Clemens - To start a new t

Re: question : encounter java.net.SocketTimeoutException: Read timed out occasionally

2008-10-06 Thread Mark Thomas
James Wang wrote: > Hi Mark, > > Would like to know if Request.getParameter("parm") return null is related to > the > SocketTimeoutException error, below was my finding that I posted last time > for > your reference . Unlikely. Mark

RE: Regd....ASF Bugzilla - Bug 45015 (Quoting in attributes)

2008-10-06 Thread subir.sasikumar
Hi, Thanks for all the responses! I suspect this system property part does not work with pre-compilation options. Can any one advise if this is a bug? Regards, Subir From: Subir Sasikumar(WT01 - PES - MCE Mobile (Telecom)) Sent: Monday, October 06, 2008