Re: Tomcat5 - MySql5.0.0a - apache2.0 - XP - JNDI connection problems

2004-04-01 Thread Aadi Deshpande
Hi, For your JSTL issue, make sure in your WEB-INF/lib directory you have jstl.jar and standard.jar ( for the apache standard implementation ). otherwise, you will not be able to use JSTL. hth, -a The Gman wrote: I am following:

Re: Help with Cross context

2004-03-31 Thread Aadi Deshpande
i believe crossContext marks that specific web application as being able to initiate a cross-context request, not as the recipient of a cross-context request. so try marking the other web-application that you are calling out from as crossContext=true -a [EMAIL PROTECTED] wrote: Hey gang,

Re: an question about jk2 lbfactor

2004-03-31 Thread Aadi Deshpande
Hi, I don't think that is correct. From the mod_jk documentation : Using the worker's load-balancing factor, perform weighed-round-robin load balancing where high lbfactor means stronger machine (that is going to handle more requests) I would assume that mod_jk2 retains the same semantics as

TC5 Nightly : ClassCastException using Cluster manager

2004-03-23 Thread Aadi Deshpande
( let me know if comments regarding nightly builds should be in the tomcat-dev mailing list instead ). Hi, I have a nightly build of Tomcat 5 ( mainly because i need some fixes in HEAD to resolve cross context issues ) , and I've set up the Cluster Manager ( in the updated format ) as

Re: TC5 Nightly : ClassCastException using Cluster manager

2004-03-23 Thread Aadi Deshpande
As an additional side effect, since this is happening on session expiry the session count keeps getting higher and higher... right now I have 8942 sessions on a single instance! :-) -a Aadi Deshpande wrote: ( let me know if comments regarding nightly builds should be in the tomcat-dev

Re: clustering question?

2004-03-09 Thread Aadi Deshpande
Hi, You're changing the wrong port. You should not change the mcastPort, instead you should change the tcpListenPort The mcastPort and mcastAddr should be the same for every instance participating in the cluster. Also, as a word of advice, it's best to keep the cluster size down to 2-3 ( and

Re: load balancing with apache2

2004-03-09 Thread Aadi Deshpande
Hi, Looks like a permissions issue. Is Apache running as nobody? Does it have rights to /conf/balancing.conf? ( which seems to located from the root directory of your server ). shyam wrote: Hi All, Can somebody help me with this. I am struck . thanks a lot From: shyam [mailto:[EMAIL

Re: clustering question?

2004-03-09 Thread Aadi Deshpande
Hi, The register requests error is independent of the cluster setup ( like Filip said ) and will in no way affect it. Beyond that, the register requests error is completely harmless ( see http://www.mail-archive.com/[EMAIL PROTECTED]/msg119877.html ) and does not prevent me from providing

Re: Cross context c:import not working?

2004-03-03 Thread Aadi Deshpande
For the archives : this is bug 27309 ( http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27309 ) and has been fixed in head. -a Aadi Deshpande wrote: Hi, I'm not sure if this or the taglibs-user is the right place for posting this, but it looks to be a Tomcat error. When trying to use

Re: cross context include

2004-03-03 Thread Aadi Deshpande
I've been struggling with the same problem. I read the bug report, but it only adresses part of the problem, the part that doesn't retrieve the session properly. I actually patched the code independently and have discovered another problem, that somehow sessions are either getting lost or

Re: cross context include

2004-03-03 Thread Aadi Deshpande
tomcat can't handle more than one context switch, maybe because the request that is created for the initial page is the one that's passed down ( instead of a separate internal request being created for the import ) Any more thoughts? Aadi Deshpande wrote: I've been struggling with the same

Re: JSP whitespace removal

2004-03-03 Thread Aadi Deshpande
consider using the trimSpaces option of the Jasper compiler in your $CATALINA_BASE/conf/server.xml . -a John Sidney-Woollett wrote: Hi We want to achieve a 10-15% data reduction of the HTML being served by our webserver (generated by JSP pages). This will have an impact on our bandwidth

Re: JSP whitespace removal

2004-03-03 Thread Aadi Deshpande
[EMAIL PROTECTED] wrote: On Wednesday 03 March 2004 05:33 pm, you wrote: consider using the trimSpaces option of the Jasper compiler in your $CATALINA_BASE/conf/server.xml . What, precisly does that do? I've tried it and seen no difference in the resulting HTML.

Re: How do I automatically post urls?

2004-03-03 Thread Aadi Deshpande
You could look at commons HttpClient if you don't want to roll your own using the java.net libraries. There are a bunch of them out there on the internet that you could google for. Keep in mind that you're probably looking for something that supports https since I'm almost positive PayPal

Re: cross context include

2004-03-03 Thread Aadi Deshpande
resolution. much thanks in advance, -a Aadi Deshpande wrote: More research...once the context gets set in a c:import, it seems like that's the way it's stuck for the life of the HttpRequest. .. i.e. in my example below.. if i start at page Z, the context always remains as 'a' if I start

Re: Cluster error when starting up web application

2004-02-27 Thread Aadi Deshpande
diligent email, open a bug, and I will address this issue shortly. thank you for helping us make better software Filip -Original Message- From: Aadi Deshpande [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 25, 2004 10:36 PM To: Tomcat Users List Subject: Re: Cluster error when starting

Cross context c:import not working?

2004-02-27 Thread Aadi Deshpande
Hi, I'm not sure if this or the taglibs-user is the right place for posting this, but it looks to be a Tomcat error. When trying to use a c:import in the vein of : c:import url=/test.jsp context=/profile/ Hi, Not sure if this is the right place or taglibs-user for this issue ( it seems to be

Cluster error when starting up web application

2004-02-25 Thread Aadi Deshpande
Hi, I just got Tomcat 5.0.19 and after setting up the new delta based cluster manager, i get this during the startup my application : SEVERE: Session event listener threw exception java.lang.IllegalStateException: setAttribute: Session already invalidated at

Re: Cluster error when starting up web application

2004-02-25 Thread Aadi Deshpande
open up a bug and/or propose my patch? Thanks in advance for reading and/or responding, -a Aadi Deshpande wrote: Hi, I just got Tomcat 5.0.19 and after setting up the new delta based cluster manager, i get this during the startup my application : SEVERE: Session event listener threw

Re: tomcat and VM settings

2004-02-16 Thread Aadi Deshpande
Hi, Not sure what you're asking. Hard numbers I don't have. I've pretty much run all my server based applications with -server since they introduced it, but I think Sun's documentation and common knowledge bears it out. There's also some obscure documentation that explains what the -server

Re: tomcat and VM settings

2004-02-11 Thread Aadi Deshpande
Parker, Matt wrote: I'm wondering if anyone has done any tomcat benchmarking with different Hotspot VM settings. Specifically, I'm wondering if -server or -d64 make noticeable differences on the Solaris 8 sparc platform. I have read Sun's documentation about what these settings are supposed to

Re: cookies, Safari, and Tomcat

2004-02-11 Thread Aadi Deshpande
Hollerman Geralyn M wrote: I'm trying to figure out some behavior I'm seeing only when I use Safari (v1.25 - downloaded from the Apple site last week) and Tomcat. This involves cookies. I am using Tomcat 5.0.16. I have written a servlet that sends a cookie back to the server for use later on;

Re: Administering and monitoring under TC 5

2004-02-06 Thread Aadi Deshpande
Thanks for the info. I'm still a little confused about what is meant by replace the MXRI jars with the MX4J jars i have jmx.jar, jmx-remote.jar, and jmx-remote-tools.jar in my $CATALINA_HOME/common/lib. I'm running TC5.0.16 under J2SDK 1.4.2 Thanks again, -a Bill Barker wrote: Aadi

Tomcat 5 incompatibilities with JSTL 1.1 ?

2004-02-06 Thread Aadi Deshpande
Hi, I'm tryin to use Tomcat 5 and the newly released JSTL 1.1 and I get the following error whenever I try to do a x:anything? I've gotten this same error under the Beta 1 running under Tomcat 5. I've tried TC 5.0.16, 5.0.18, and the 20040203 nightly build ( each under J2SDK 1.4.1 with the new

Re: problems shutting down server when enabling the SimpleTcpCluster

2004-02-05 Thread Aadi Deshpande
, thanks for any input you can provide, -a Filip Hanik (lists) wrote: which version of tomcat? the latest? this means that a thread is not a daemon thread, and the stop will not work. this was a bug a long time ago. has it resurfaced? Filip -Original Message- From: Aadi Deshpande [mailto

Administering and monitoring under TC 5

2004-02-05 Thread Aadi Deshpande
Hello all, There's much talk about how TC5 is JMX-enabled, so I'm wondering what tools are available for monitoring and administering a TC5 server. I've checked out the manager application and it provides some basic information ( such as sessions ), but I was wondering what people's

Re: Please help Console Problem in tomcat 5.0.16

2004-02-02 Thread Aadi Deshpande
i've always managed to get this error when i have spaces between the xml pi ( ?xml version=... ? ) and the start of the file. i'd check for that, and that you have no spaces at the '?xml' and a space before the '?' hope this helps, -a Avinash Sridhar wrote: Hi, Thanks for the reply.How do

trouble load balancing with mod_jk2

2004-02-02 Thread Aadi Deshpande
. Is this normal operating procedure? does a higher lb factor or lower lb factor increase that machine's chances of being selected? do dashes ( - ) in the server name have any effect? I've listed my workers2.properties file inline for review. Thanks in advance for any help. Aadi Deshpande

problems shutting down server when enabling the SimpleTcpCluster

2004-02-02 Thread Aadi Deshpande
the Unregistering... messages in my log files. Any help is much appreciated, Thanks in advance, Aadi Deshpande - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]