Re: processing of tlds failed -- application still works -- why?

2010-12-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Satish, On 12/28/2010 9:54 AM, Satish Kumar wrote: >>> So, you are using an older version of Tomcat which contains a bug which >>> you acknowledge is now fixed? > > I don't know the details but I was told that there were some application > issues (I

Re: How to configure Tomcat-6 to use TLS based SMTP with exchange

2010-12-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 RV, On 12/28/2010 8:56 AM, Mupparthy Ravindranath wrote: > thank you for the link. However, I am not writing any code here. I > am just using tomcat. Tomcat doesn't provide email services directly: it only provides a javax.mail.Session object that

Re: Can JSP code be served from a DB instead of files?

2010-12-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, On 12/27/2010 7:51 PM, David Wall wrote: > Thanks, Chris. Yeah, I figured this could be a tough one as there > cannot be too many folks who want to store their JSPs in a database. > It's a first for me and it seems like forever I've been doin

Re: Http11NioProtocol error 505 (or 400)

2010-12-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 12/28/2010 5:11 AM, André Warnier wrote: > Business is slow these days, so let's muse a bit. One of my favorite bands. > There is no mention of a size limit for the headers part, nor any > mention of any special ordering of the individual

RE: Change of email address

2010-12-28 Thread Michael McQuade
simple question, didnt need a smart remark, maybe you have a ton of time on your hand, sadly I didnt, but I did figure it out before you enlightened me with your wisdom Sorry to have bothered this forum with a stupid question -Original Message- From: Justin Randall [mailto:ran...@hotm

Re: Tomcat 5.5/HTTPD cluster question

2010-12-28 Thread Don Hill
We are on 64bit JVM 1.6 the heap is 8GB for each Tomcat instance. The OS is RHEL 4.0 64 bit On Tue, Dec 28, 2010 at 7:30 AM, Pid wrote: > On 12/27/10 4:42 PM, Don Hill wrote: > > Thanks. > > > > I am trying to get them to migrate. It seems that part of there > bottleneck > > could be the MAX cli

Re: isapi_redirector.dll Problems - Bad Gateway?

2010-12-28 Thread André Warnier
amythyst wrote: I'm fairly certain the tomcat server is up and running because the application works internally. If tomcat wasn't working then I assume I wouldn't be able to access the app internally as it requires tomcat to function. Define what you mean by "internally", as opposed to the oth

Re: isapi_redirector.dll Problems - Bad Gateway?

2010-12-28 Thread André Warnier
amythyst wrote: Sorry for all the posts... I have a specific question... I'm reading the isapi_redirector.log which shows the errors... it says things like this: shutting down the read side of socket 576 [127.0.0.1:1145 -> 127.0.0.1:8009] To me, it seems like its trying to connect to tomcat on

Re: isapi_redirector.dll Problems - Bad Gateway?

2010-12-28 Thread amythyst
Sorry for all the posts... I have a specific question... I'm reading the isapi_redirector.log which shows the errors... it says things like this: shutting down the read side of socket 576 [127.0.0.1:1145 -> 127.0.0.1:8009] To me, it seems like its trying to connect to tomcat on 127.0.0.1:8009 b

Re: isapi_redirector.dll Problems - Bad Gateway?

2010-12-28 Thread amythyst
I'm fairly certain the tomcat server is up and running because the application works internally. If tomcat wasn't working then I assume I wouldn't be able to access the app internally as it requires tomcat to function. Michael Ludwig-6 wrote: > > > But the ISAPI redirector doesn't get a reply

Re: isapi_redirector.dll Problems - Bad Gateway?

2010-12-28 Thread amythyst
Yes, exactly. I have been thrown to the wolves and it is really causing a problem because our application rollout schedule has been pushed back because of this problem and its been going on for like 3 weeks. The other annoying thing is that the application vendor does not support getting the app

Re: isapi_redirector.dll Problems - Bad Gateway?

2010-12-28 Thread André Warnier
When you ask how many threads I have configured you're talking about worker threads right? I only have the one. There are threads on both sides. If you haven't configured anything for your AJP connector the default applies, which is 200. http://tomcat.apache.org/tomcat-6.0-doc/config/ajp.htm

Re: isapi_redirector.dll Problems - Bad Gateway?

2010-12-28 Thread Michael Ludwig
amythyst schrieb am 28.12.2010 um 07:12 (-0800): > > With that script, how exactly would I execute that script? Save it to a file called, say, "ajp.pl", and then: perl ajp.pl Windows doesn't come with Perl out of the box, so if you don't use Perl yet maybe it's not worth while downloading it.

Re: isapi_redirector.dll Problems - Bad Gateway?

2010-12-28 Thread André Warnier
oh oh. So it looks like you have been thrown to the wolves, he ? The positive side of it, is that if you solve it, you'll be the star. Time for some ascii-art I think. Except for firewalls, you have the following schema : Browser-1 <---> <---> - webapp Browser-2 <--->

Re: Tomcat(5.5) Clustering and Load Balancing.

2010-12-28 Thread David Smith
On 12/28/2010 8:33 AM, Pid wrote: > On 12/27/10 4:11 AM, Harsimranjit singh Kler wrote: >> Hi >> >> i have testing tomcat clustering on single machine.What i am able to do is i >> hv 4 tomcat instances 1 work as balancer and 3 as cluster.using Rule.xml in >> balancer with round robin approach.all r

Re: isapi_redirector.dll Problems - Bad Gateway?

2010-12-28 Thread amythyst
Thanks for the reply. With that script, how exactly would I execute that script? Pardon my ignorance, but I am a database developer that has been thrown into networking because our network admin is at a loss to what the problem is and doesn't seem keen on fixing it. According to him, all the por

Re: processing of tlds failed -- application still works -- why?

2010-12-28 Thread Satish Kumar
>>So, you are using an older version of Tomcat which contains a bug which >>you acknowledge is now fixed? I don't know the details but I was told that there were some application issues (I guess it is related to cookies) when the app was deployed on newer version. Also, for a Tomcat upgrade QA tea

+1 for 6.0.30 (was: Re: Http11NioProtocol error 505 (or 400))

2010-12-28 Thread Ronald Klop
Hi, May I vote +1 for a 6.0.30 in relation to this bug. Ronald. Op dinsdag, 28 december 2010 10:19 schreef Olaf Tomczak : Ok, I used Mark Thomas' patch that Roland suggested - created a clean instance of Tomcat with and without the patch and tested it with my request. Indeed the pa

Re: How to configure Tomcat-6 to use TLS based SMTP with exchange

2010-12-28 Thread Mupparthy Ravindranath
Hi Pid, thank you for the link. However, I am not writing any code here. I am just using tomcat. Is there a configuration property that accepts some string similar to "mail.smtp.starttls.enable = true" ? thanks & regards, RV द्वारा: Pid To: Tomcat Users List Cc: भेजे गए: मंगलवार, 28 दि

Re: Can JSP code be served from a DB instead of files?

2010-12-28 Thread Pid
On 12/28/10 3:15 AM, Martin Gainty wrote: > > determine the template for your form > for each individual field encountered populate the value attribute with > content extracted from each Database Table.Column That's extraordinary, even by your standards. p 0x62590808.asc Description: applica

Re: Can JSP code be served from a DB instead of files?

2010-12-28 Thread Pid
On 12/28/10 1:09 AM, Nikunj wrote: > hi guys, > > While rendering jsp Is there any way to hide html source code from > browser i.e when user clicks on view source browser will display blank > page ... How is this question related to the thread in which it is posted? Please do not hijack other pe

Re: How to configure Tomcat-6 to use TLS based SMTP with exchange

2010-12-28 Thread Pid
On 12/28/10 8:49 AM, Mupparthy Ravindranath wrote: > Dear all, > > I have recently installed apache-tomcat-6.0.18. One of my webapps needs to > send email using the Microsoft Exchange server 2003 of my > company. The exchange server needs authentication over TLS. So far, I have > configured

Re: processing of tlds failed -- application still works -- why?

2010-12-28 Thread Pid
On 12/26/10 7:44 PM, Satish Kumar wrote: > Hi All, > > I am seeing the error below while deploying a web application on Tomcat > 6.0.16. Note that the parser used for processing tlds is Crimson -- I expect > Tomcat to use the default Xerces parser to process tlds, but it using > Crimson parser tha

Re: Tomcat(5.5) Clustering and Load Balancing.

2010-12-28 Thread Pid
On 12/27/10 4:11 AM, Harsimranjit singh Kler wrote: > Hi > > i have testing tomcat clustering on single machine.What i am able to do is i > hv 4 tomcat instances 1 work as balancer and 3 as cluster.using Rule.xml in > balancer with round robin approach.all requests hits on balancer redirected > to

Re: Tomcat 5.5/HTTPD cluster question

2010-12-28 Thread Pid
On 12/27/10 4:42 PM, Don Hill wrote: > Thanks. > > I am trying to get them to migrate. It seems that part of there bottleneck > could be the MAX clients on HTTPD. They get high volumes at times and have > like 1800-3000 active sessions. Any other input would be great like tuning > tomcat to worker

Re: Tomcat stops responding

2010-12-28 Thread K J.Sreekumar
Thank you Andre, Michael, Konstantin and Mark. As suggested from the thread dump (all the threads where in waiting state), we had a thread synchronization problem in the code (committed recently). We could find this out after a few load tests on Tomcat and further code reviews. Corrected this, and

Re: Http11NioProtocol error 505 (or 400)

2010-12-28 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Olaf, On 12/27/2010 5:24 PM, Olaf Tomczak wrote: 2010/12/27 Christopher Schultz Non-blocking just means that your request processor threads don't block waiting for data to arrive. The requirements of reading the request

Re: Http11NioProtocol error 505 (or 400)

2010-12-28 Thread Olaf Tomczak
Ok, I used Mark Thomas' patch that Roland suggested - created a clean instance of Tomcat with and without the patch and tested it with my request. Indeed the patched instance handles the requests correctly. Just FYI this is my request: GET /0123456789012345678901234567890123456.htm HTTP/1.1 Accep

Re: Can JSP code be served from a DB instead of files?

2010-12-28 Thread Mikolaj Rydzewski
On Mon, 27 Dec 2010 16:51:24 -0800, David Wall wrote: While we use Tomcat ourselves, we've had users who run on other containers. I'll take a look though since maybe it's something that can be plugged into other containers, too. Good luck. In either case, a DataSourceDirContext would be

How to configure Tomcat-6 to use TLS based SMTP with exchange

2010-12-28 Thread Mupparthy Ravindranath
Dear all, I have recently installed apache-tomcat-6.0.18. One of my webapps needs to send email using the Microsoft Exchange server 2003 of my company. The exchange server needs authentication over TLS. So far, I have configured in context.xml in this way... [quote] 35 36 47