Re: [Commercial] Part time developer - Delhi / noida

2011-01-03 Thread Vivek Mohan
Hi Abhishek, Wish you a happy new year. Did you get any one for this requirement of yours? -- vivek. On Sun, Dec 26, 2010 at 6:28 PM, abhishek jain abhishek.netj...@gmail.comwrote: Hello , I am looking for a part time developer for java with struts and hibernate and a good knowledge of

Re: Tomcat(5.5) Clustering and Load Balancing.

2011-01-03 Thread Harsimranjit singh Kler
Hi Here is details: *Tomcat version*: 5.5.27 *OS*:Window XP *JDK*:1.6 *Environment Trying to Create* :Load balancing and Clustering on single Machine using tomcat instances only(balancer Feature) . *What i have Achieved*:i am running 4 instances of tomcat on ports 8080,9080,10080,11080.So port

Re: Tomcat(5.5) Clustering and Load Balancing.

2011-01-03 Thread André Warnier
Harsimranjit singh Kler wrote: Hi Here is details: *Tomcat version*: 5.5.27 *OS*:Window XP *JDK*:1.6 *Environment Trying to Create* :Load balancing and Clustering on single Machine using tomcat instances only(balancer Feature) . *What i have Achieved*:i am running 4 instances of tomcat on

What is the healthy interval length for young gc?

2011-01-03 Thread Leon Rosenberg
Hi, First of all Happy and Successful New Year to all subscribers. I understand that this is a very application specific issue, but I'm wondering which interval is perceived as 'healthy' for young collections? I have one customer's system which, at peak time, performs a young gc every 15

Re: What is the healthy interval length for young gc?

2011-01-03 Thread André Warnier
Leon Rosenberg wrote: Hi, First of all Happy and Successful New Year to all subscribers. And the same to you. I understand that this is a very application specific issue, but I'm wondering which interval is perceived as 'healthy' for young collections? I have one customer's system which,

Re: What is the healthy interval length for young gc?

2011-01-03 Thread Leon Rosenberg
Hello André, On Mon, Jan 3, 2011 at 1:35 PM, André Warnier a...@ice-sa.com wrote: Leon Rosenberg wrote: I understand that this is a very application specific issue, but I'm wondering which interval is perceived as 'healthy' for young collections? I have one customer's system which, at peak

Re: isapi_redirector.dll Problems - Bad Gateway?

2011-01-03 Thread amythyst
What I mean by internally is the application works on the intranet within our corporate domain. I'm trying to get the application to work externally outside the corporate firewall. awarnier wrote: amythyst wrote: I'm fairly certain the tomcat server is up and running because the

Tomcat uses more and more PermGen space

2011-01-03 Thread Mikolaj Rydzewski
Hi all, While investigating OOM issue I discovered, that Tomcat instantly uses more and more PermGen space. At this moment I have access to one environemnt only, this is: Windows XP Java 1.6.0_22 Vanilla Tomcat 6.0.21 I use jconsole to monitor PermGen space and I can observe that it slowly

Re: Tomcat uses more and more PermGen space

2011-01-03 Thread Pid
On 1/3/11 1:48 PM, Mikolaj Rydzewski wrote: Hi all, While investigating OOM issue I discovered, that Tomcat instantly uses more and more PermGen space. At this moment I have access to one environemnt only, this is: Windows XP Java 1.6.0_22 Vanilla Tomcat 6.0.21 Are you sure it's

Re: What is the healthy interval length for young gc?

2011-01-03 Thread Pid
On 1/3/11 1:10 PM, Leon Rosenberg wrote: Hello André, On Mon, Jan 3, 2011 at 1:35 PM, André Warnier a...@ice-sa.com wrote: Leon Rosenberg wrote: I understand that this is a very application specific issue, but I'm wondering which interval is perceived as 'healthy' for young collections? I

Re: Tomcat(5.5) Clustering and Load Balancing.

2011-01-03 Thread Pid
On 1/3/11 9:40 AM, Harsimranjit singh Kler wrote: using tomcat instances only(balancer Feature) Why? http://tomcat.apache.org/tomcat-5.5-doc/balancer-howto.html#Using_the_balancer_webapp This is a simple implementation of a rules-based load balancer. It was not designed as a replacement for

Re: Tomcat uses more and more PermGen space

2011-01-03 Thread Mikolaj Rydzewski
On Mon, 03 Jan 2011 14:02:20 +, Pid p...@pidster.com wrote: Windows XP Java 1.6.0_22 Vanilla Tomcat 6.0.21 Are you sure it's 6.0.21? This version was not released. If you're using it in production you know what I'm going to suggest you do, right? I misread console logs. Tomcat

RE: Tomcat uses more and more PermGen space

2011-01-03 Thread Caldarale, Charles R
From: Mikolaj Rydzewski [mailto:m...@ceti.pl] Subject: Tomcat uses more and more PermGen space While investigating OOM issue I discovered, that Tomcat instantly uses more and more PermGen space. I suspect you're not using the word instantly appropriately here... PermGen can steadily

Re: multipart/form-data support

2011-01-03 Thread Pid
On 1/3/11 3:06 AM, Pankaj Tiwari wrote: I have been trying to send multipart/form-data to the server. I have found that the request never reaches the server. Doesn't sound like a Tomcat problem to me then... This is my client code, if I am missing something core in here. public static

RE: Tomcat uses more and more PermGen space

2011-01-03 Thread Mikolaj Rydzewski
On Mon, 3 Jan 2011 08:13:20 -0600, Caldarale, Charles R chuck.caldar...@unisys.com wrote: I suspect you're not using the word instantly appropriately here... You're right, should be constantly rather. PermGen can steadily increase if there's something in your environment that creates

RE: What is the healthy interval length for young gc?

2011-01-03 Thread Caldarale, Charles R
From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: What is the healthy interval length for young gc? I don't think that a Minor GC (involving only the new Heap area) suspends the applications, while a Major GC does. Not true; a minor GC does suspend the mutator threads, just not for

Re: GeoServer on Tomcat

2011-01-03 Thread Pid
On 1/3/11 4:05 AM, Deepak Pal wrote: Hye Guys, I have a web based application which is getting it's Geo-spatial data from Geo-Server and the Geo- Server is deployed on Tomcat I want to scale this web application by using Scalr scalability framework . My configuration in scalr framework

Re: Encoding Issue on POST

2011-01-03 Thread Pid
On 1/3/11 7:17 AM, André Warnier wrote: Try the following : in your form tag, add the attribute enctype=multipart/form-data and try again. Is it possible to include charset attribute? enctype=multipart/form-data;charset=UTF-8 p 0x62590808.asc Description: application/pgp-keys

RE: Tomcat uses more and more PermGen space

2011-01-03 Thread Caldarale, Charles R
From: Mikolaj Rydzewski [mailto:m...@ceti.pl] Subject: RE: Tomcat uses more and more PermGen space I thought, that PermGen data cannot be garbage collected... I don't know what idiot started that rumor, but it has never been true - unless you change the GC settings to utilize one of the

Re: What is the healthy interval length for young gc?

2011-01-03 Thread André Warnier
Leon Rosenberg wrote: If Major GC's are taking place often, then it must mean that despite the regular copying from the From to the To parts of the new generation (by the Minor GCs), the JVM is running out of space on the new gen part, and therefore has to do a Major GC to move things to the

Re: What is the healthy interval length for young gc?

2011-01-03 Thread Leon Rosenberg
On Mon, Jan 3, 2011 at 3:10 PM, Pid p...@pidster.com wrote: On 1/3/11 1:10 PM, Leon Rosenberg wrote: Actually no, in my understanding both are independent. I mean the gc doesn't start to copy over if young is full, it simply cleans young. However, to quote your article: Old generation objects

Comet and multipart

2011-01-03 Thread sol myr
Hi, We're implementing a CometServlet on top of Tomcat NIO connector, using long polling. Currently we're using the approach recommended by most tutorials: the client opens a connection and waits for a message (for a configured timeout); if such a message arrives, the client consumes it (e.g.

RE: What is the healthy interval length for young gc?

2011-01-03 Thread Caldarale, Charles R
From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: What is the healthy interval length for young gc? But, it is reasonable to assume that it runs out of space because objects are moved there from the new gen, when ditto objects have survived a certain time in the new gen. (I

Re: What is the healthy interval length for young gc?

2011-01-03 Thread Leon Rosenberg
Hello Chuck, On Mon, Jan 3, 2011 at 3:23 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: By increasing the space on the new gen alone, you may make Minor GC's less frequent. And by specifying fixed sizes for generations, you can upset the balance between old and new, and prevent

Re: multipart/form-data support

2011-01-03 Thread Pankaj Tiwari
1. Keep-Alive - I am not sure if that should cause any issues here. 2. The request never reaches the server. I have tried without the last connect as well but nothing seems to work here. When I run this piece of code, I do not get any exceptions or error on the client side but the request does

Re: Encoding Issue on POST

2011-01-03 Thread André Warnier
Pid wrote: On 1/3/11 7:17 AM, André Warnier wrote: Try the following : in your form tag, add the attribute enctype=multipart/form-data and try again. Is it possible to include charset attribute? enctype=multipart/form-data;charset=UTF-8 I don't think so. You can specify

RE: multipart/form-data support

2011-01-03 Thread Caldarale, Charles R
From: Pankaj Tiwari [mailto:panky.tiw...@gmail.com] Subject: Re: multipart/form-data support 2. The request never reaches the server. Then it can't be a Tomcat issue, can it? - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use

Re: isapi_redirector.dll Problems - Bad Gateway?

2011-01-03 Thread amythyst
Yes, I'm still getting those error messages in the isapi_connector log. I don't think the application installs a standard tomcat installation. Basically, I have a directory in the program files folder called Atlassian then under that I have JIRA 4.2. In that directory I have lots of folders

Re: isapi_redirector.dll Problems - Bad Gateway?

2011-01-03 Thread André Warnier
amythyst wrote: Yes, I'm still getting those error messages in the isapi_connector log. I don't think the application installs a standard tomcat installation. Basically, I have a directory in the program files folder called Atlassian then under that I have JIRA 4.2. In that directory I have

Re: isapi_redirector.dll Problems - Bad Gateway?

2011-01-03 Thread amythyst
They do not offer any support with getting their application to work externally. They provide an online walkthrough document which is here: http://confluence.atlassian.com/display/JIRA/Integrating+JIRA+with+IIS And that is how I and the network guy set it up however, as you know, it isn't

Re: isapi_redirector.dll Problems - Bad Gateway?

2011-01-03 Thread amythyst
Woo I fixed it! I changed the listener port from 8009 to 8010! And now it works! Thank you guys so much for the assistance and the guidance. :) awarnier wrote: amythyst wrote: Yes, I'm still getting those error messages in the isapi_connector log. I don't think the application

Re: isapi_redirector.dll Problems - Bad Gateway?

2011-01-03 Thread André Warnier
amythyst wrote: They do not offer any support with getting their application to work externally. They provide an online walkthrough document which is here: http://confluence.atlassian.com/display/JIRA/Integrating+JIRA+with+IIS And that is how I and the network guy set it up however, as

Re: Tomcat uses more and more PermGen space

2011-01-03 Thread Pid
On 1/3/11 2:13 PM, Mikolaj Rydzewski wrote: So Tomcat, with no webapps, uses more PermGen over time? Yes. My 6.0.29 doesn't. It just sits there using ~18Mb of PermGen. No webapps, or just the example webapps? Is there any traffic to the Tomcat instance? p 0x62590808.asc Description:

Re: Comet and multipart

2011-01-03 Thread Mark Thomas
On 03/01/2011 14:48, sol myr wrote: Hi, We're implementing a CometServlet on top of Tomcat NIO connector, using long polling. Currently we're using the approach recommended by most tutorials: the client opens a connection and waits for a message (for a configured timeout); if such a

Re: Comet and multipart

2011-01-03 Thread Filip Hanik - Dev Lists
On 1/3/2011 7:48 AM, sol myr wrote: Hi, We're implementing a CometServlet on top of Tomcat NIO connector, using long polling. Currently we're using the approach recommended by most tutorials: the client opens a connection and waits for a message (for a configured timeout); if such a message

[OT] Re: multipart/form-data support

2011-01-03 Thread Pid
On 1/3/11 2:55 PM, Pankaj Tiwari wrote: 1. Keep-Alive - I am not sure if that should cause any issues here. Why set it if you're not reusing the connection? 2. The request never reaches the server. I have tried without the last connect as well but nothing seems to work here. Check the

Re: isapi_redirector.dll Problems - Bad Gateway?

2011-01-03 Thread Michael Ludwig
amythyst schrieb am 03.01.2011 um 07:36 (-0800): Woo I fixed it! I changed the listener port from 8009 to 8010! And now it works! Congrats. The worker.properties you posted last year, however, read as follows: | worker.worker1.type=ajp13 | worker.worker1.host=localhost |

Re: isapi_redirector.dll Problems - Bad Gateway?

2011-01-03 Thread amythyst
Yup you are correct. It was 8009. And changing the port to 8010 seems to have resolved it. But I'm not sure why this has fixed it. I changed the port in the worker.properties and the server.xml Michael Ludwig-6 wrote: amythyst schrieb am 03.01.2011 um 07:36 (-0800): Woo I

Re: isapi_redirector.dll Problems - Bad Gateway?

2011-01-03 Thread Michael Ludwig
amythyst schrieb am 03.01.2011 um 09:15 (-0800): Yup you are correct. It was 8009. And changing the port to 8010 seems to have resolved it. But I'm not sure why this has fixed it. Unfavourable firewall configuration? -- Michael Ludwig

Re: Encoding Issue on POST

2011-01-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 1/2/2011 7:38 AM, André Warnier wrote: Well, I would say that by removing the filter nothing changes, then that proves at least that the filter is useless, doesn't it ? Or that it wasn't actually being used. The filter does have some

Re: multipart/form-data support

2011-01-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pankaj, On 1/2/2011 10:06 PM, Pankaj Tiwari wrote: I have been trying to send multipart/form-data to the server. I have found that the request never reaches the server. How are you checking to see if it reaches the server? This is my client

Re: isapi_redirector.dll Problems - Bad Gateway?

2011-01-03 Thread amythyst
Yea I don't know... I'm not the network person so I don't have access to see what is in the firewall. He told me everything was set up properly in the firewall and when I changed the port to 8010, we made no changes in the firewall whatsoever. Michael Ludwig-6 wrote: amythyst schrieb am

RE: isapi_redirector.dll Problems - Bad Gateway?

2011-01-03 Thread Caldarale, Charles R
From: amythyst [mailto:roxanne.ga...@deltasolutions.com] Subject: Re: isapi_redirector.dll Problems - Bad Gateway? And changing the port to 8010 seems to have resolved it. I changed the port in the worker.properties and the server.xml You earlier stated that you changed the listener port

RE: isapi_redirector.dll Problems - Bad Gateway?

2011-01-03 Thread amythyst
Hmm... maybe. :) I was calling it that because that is the port tomcat is listening on to forward the requests right? n828cl wrote: From: amythyst [mailto:roxanne.ga...@deltasolutions.com] Subject: Re: isapi_redirector.dll Problems - Bad Gateway? And changing the port to 8010 seems to

Re: isapi_redirector.dll Problems - Bad Gateway?

2011-01-03 Thread André Warnier
amythyst wrote: Yea I don't know... I'm not the network person so I don't have access to see what is in the firewall. He told me everything was set up properly in the firewall and when I changed the port to 8010, we made no changes in the firewall whatsoever. Michael Ludwig-6 wrote: amythyst

Re: What is the healthy interval length for young gc?

2011-01-03 Thread Pid
On 1/3/11 2:41 PM, Leon Rosenberg wrote: On Mon, Jan 3, 2011 at 3:10 PM, Pid p...@pidster.com wrote: On 1/3/11 1:10 PM, Leon Rosenberg wrote: Actually no, in my understanding both are independent. I mean the gc doesn't start to copy over if young is full, it simply cleans young. However, to

Handling Comet Timeouts with CometProcessor

2011-01-03 Thread Joe Biron
Hello, I've been making great progress with CometProcessor on Tomcat 6.0.29. I have a question about handling timeouts (and I did review this thread: http://www.mail-archive.com/users@tomcat.apache.org/msg55616.html). I want my clients to connect and stay connected for a very long time, but I do

Re: multipart/form-data support

2011-01-03 Thread Pankaj Tiwari
Hi Chris, Thank you so much for pointing me to the right direction. The problem was with my SERVERURL. The server was sending back the response as 200. I should have checked that before :( Thanks Again, Pankaj On Mon, Jan 3, 2011 at 11:29 PM, Christopher Schultz ch...@christopherschultz.net

Tomcat 7

2011-01-03 Thread Peter Sparkes
Can anyone please point me to a tutorial on how to Install Tomcat 7 with virtual hosts on Debian Lenny Thanks Peter - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail:

Re: Tomcat(5.5) Clustering and Load Balancing.

2011-01-03 Thread Harsimranjit singh Kler
So this means tomcat alone have not sufficent support for Load Balancing and clustering?. but i am able to check successfully: 1)Session maintaince2)Auto Deployment Only thing i am not able to achive to hide Cluster URL on redirection. You main only way to achive is to use apache server HTTPD

RE: Tomcat 7

2011-01-03 Thread Caldarale, Charles R
From: Peter Sparkes [mailto:pe...@didm.co.uk] Subject: Tomcat 7 Can anyone please point me to a tutorial on how to Install Tomcat 7 with virtual hosts on Debian Lenny http://tomcat.apache.org/tomcat-7.0-doc/setup.html http://tomcat.apache.org/tomcat-7.0-doc/virtual-hosting-howto.html Also