Re: Updating webapps in a running production cluster.

2005-01-29 Thread Roberto Cosenza
Sorry if I insist with this post. Has anybody succeeded in updating a webapp in a tomcat cluster without loosing (any)requests? I´m wondering if this is possible at all with tomcat. If we don´t provide a solution we are forced to switch to an other servlet container :- Does anybody know if

tomcat-5.0.27 authentication/authorization

2005-01-29 Thread mate markovic
Hi. You can find discusion here: http://groups-beta.google.com/group/comp.lang.java.programmer tomcat-5.0.27 authentication/authorization

Re: logging remote IP address

2005-01-29 Thread Markus Schönhaber
Mark wrote: I'm just tring to see if http request that came from one IP address has more then 1 client behind it. I've seen on some webpages that My IP is displayed as both external and internal - so it means it's doable - but the question is how to get this info in Tomcat. If your local an your

Re: JSP under /WEB-INF folder

2005-01-29 Thread Frank W. Zammetti
Just from a curiosity standpoint Jack... I've already decided it's not an approach I'd advocate, but I am interested to know how you serve things like graphics and stylesheets from under WEB-INF. I assume all your graphics are actually server by an Action (a trick I've pulled when serving

commons-loggin instead of loggers

2005-01-29 Thread Philippe Mathieu
Hi, Loggers seems to have disappeared since 5.5 release It seems that we must use commons-loggin Does someone have an example to replace my classical logger which was in my context Logger className=org.apache.catalina.logger.FileLogger prefix=myappli_log. suffix=.txt timestamp=true/

Tomcat'evolution abstract

2005-01-29 Thread Philippe Mathieu
Hi, I'm a little bit lost in the releases; Does anyone could tell me precisely since which release ... : - Tomcat takes account of JSP 2.0 ? - Realms are integrated in Tomcat ? - DBCP (pools) are integrated in Tomcat ? - the invoker servlet in not set by default ? (4.1.12 ?) - The DataSourceRealm

Re: JSP under /WEB-INF folder

2005-01-29 Thread Dakota Jack
snip On Sat, 29 Jan 2005 09:00:39 -0500, Frank W. Zammetti [EMAIL PROTECTED] wrote: Just from a curiosity standpoint Jack... I've already decided it's not an approach I'd advocate, but I am interested to know how you serve things like graphics and stylesheets from under WEB-INF. I assume all

Re: logging remote IP address

2005-01-29 Thread Dakota Jack
snip On Fri, 28 Jan 2005 20:43:20 -0500, Parsons Technical Services [EMAIL PROTECTED] wrote: Definitely possible. Not as unlikely as you think. I know of shops that put a whole bunch of users on the same IP. Then there are schools that put a hundreds of classroom machines on one IP. Doug

Re: Tomcat'evolution abstract

2005-01-29 Thread Remy Maucherat
On Sat, 29 Jan 2005 19:02:25 +0100, Philippe Mathieu [EMAIL PROTECTED] wrote: Hi, I'm a little bit lost in the releases; Does anyone could tell me precisely since which release ... : - Tomcat takes account of JSP 2.0 ? 5.0+ - Realms are integrated in Tomcat ? 4.0+ (with API changes) -

RE: Updating webapps in a running production cluster.

2005-01-29 Thread Richard Mixon (qwest)
Roberto Cosenza wrote: Sorry if I insist with this post. Has anybody succeeded in updating a webapp in a tomcat cluster without loosing (any)requests? I´m wondering if this is possible at all with tomcat. If we don´t provide a solution we are forced to switch to an other servlet container

RE: logging remote IP address

2005-01-29 Thread Caldarale, Charles R
From: Dakota Jack [mailto:[EMAIL PROTECTED] Subject: Re: logging remote IP address The IP address that is exposed to the public, which is the one I use, has to be different or there would be no way to get back to the client machine. Not true - the combination of IP address and PORT must

Re: commons-loggin instead of loggers

2005-01-29 Thread Jacob Kjome
Put log4j-1.2.9.jar and commons-logging-1.0.4.jar (not commons-logging-api.jar!!) in CATALINA_HOME/common/lib and log4j.properties in CATALINA_HOME/common/classes and make the properties file look something like... log4j.appender.A1=org.apache.log4j.ConsoleAppender

Re: Updating webapps in a running production cluster.

2005-01-29 Thread Peter Rossbach
Hello, with which tomcat version you test this, please try the new 5.5.7 and tell us the result! :-) Please tell us your env, Apache, mod_jk JDK, OS Thanx Peter PS: You can find my cluster dev template at http://tomcat.objektpark.org/examples/05_02_tomcat_example.tar.gz, Sorry the docs are

Re: Tomcat Freezes unexpectedly

2005-01-29 Thread Diego Espada
In the end, It had nothing to do with Tomcat. Just for the record, the problem was the JTDS JDBC Driver combined with the DBCP Pooling. Looks like JTDS doesn't like pooling that much... we switched to antother driver and everything went all right. Thanks !!! VTR Ravi Kumar wrote: This might

Re: Updating webapps in a running production cluster.

2005-01-29 Thread Roberto Cosenza
We used : jakarta-tomcat-5.5.4 apache 2.0.49 mod_jk2 (jakarta-tomcat-connectors-1.2.8-src) Linux webster2 2.4.26 #11 SMP Thu Apr 22 13:16:46 CEST 2004 i686 i686 i386 GNU/Linux jdk-1_5_0_01-linux-i586.bin CATALINA_OPTS='-Xmx512m -Xms256m -XX:MaxPermSize=256M' I will test a new version and let you

Re: Updating webapps in a running production cluster.

2005-01-29 Thread Peter Rossbach
Please update to Apache 2.0.52 and I hope you mean mod_jk 1.2.8 not a mod_jk2 Regards Peter Roberto Cosenza schrieb: We used : jakarta-tomcat-5.5.4 apache 2.0.49 mod_jk2 (jakarta-tomcat-connectors-1.2.8-src) Linux webster2 2.4.26 #11 SMP Thu Apr 22 13:16:46 CEST 2004 i686 i686 i386 GNU/Linux

Re: Updating webapps in a running production cluster.

2005-01-29 Thread Roberto Cosenza
I do mean mod_jk2. Could this be the problem? /roberto - Original Message - From: Peter Rossbach [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Sent: Saturday, January 29, 2005 10:42 PM Subject: Re: Updating webapps in a running production cluster. Please update

configure: error: Unsupported operating system freebsd5.3

2005-01-29 Thread Bagus
Hi there, Any idea why I might get that error on running configure from my $CATALINA_HOME/bin/jsvc_src/ directory? I'm a newbie and this is my first Jakarta-tomcat installation. This is the first step I've taken since getting my jdk1.4.2 running on my new FreeBSD 5.3 box. It's like this:

Re: JSP under /WEB-INF folder

2005-01-29 Thread Frank W. Zammetti
One thing worth pointing out about this is that you'll lose the benefit of fronting your app server with a web server... You won't be able to offload the serving of images, stylesheets and such, from the app server to the web server. That's probably not a big problem in many cases where a

RE: configure: error: Unsupported operating system freebsd5.3

2005-01-29 Thread Caldarale, Charles R
From: Bagus [mailto:[EMAIL PROTECTED] Subject: configure: error: Unsupported operating system freebsd5.3 Hmm... I guess I'm not even sure if I should be running Jakarta as a daemon as the first page of the set up recommends. First, it's not Jakarta, it's Tomcat. Jakarta is the cover name

Re: JSP under /WEB-INF folder

2005-01-29 Thread Dakota Jack
snip On Sat, 29 Jan 2005 17:17:03 -0500, Frank W. Zammetti [EMAIL PROTECTED] wrote: One thing worth pointing out about this is that you'll lose the benefit of fronting your app server with a web server... You won't be able to offload the serving of images, stylesheets and such, from the app

Re: Updating webapps in a running production cluster.

2005-01-29 Thread Flaffer
I am not sure which app server you are thiking of switching to, but I work for a Fortune 500 which uses Webspere, Weblogic and Tomcat. And ALL of them have issues with sessions getting lost during restarts. There just is no way around it. There will be requests lost in the very small window

Re: JSP under /WEB-INF folder

2005-01-29 Thread Frank W. Zammetti
Lo, Frank. You really don't lose anything. You just gain a choice. There is a lot more to be said on this, but you probably would know everything on this anyway, so I will leave it at that. That's not strictly true though Jack (neither your premise that you don't lose anything or that I know

RE: Updating webapps in a running production cluster.

2005-01-29 Thread Richard Mixon (qwest)
Roberto Cosenza wrote: I do mean mod_jk2. Could this be the problem? /roberto Yes - jk2 is deprecated. From what I understand jk 1.2.8 has all significant function of jk2 and is much more stable/reliable. I am not sure whether it has the jkstatus function however. BTW, My tests that showed

RE: Updating webapps in a running production cluster.

2005-01-29 Thread Richard Mixon (qwest)
Peter, I used the Jan 19th version of Tomcat 5.5.7, Apache 2.0.52 (build for ssl), jk 1.2.8, Windows XP SP2 and Sun JRE 1.5 SP1. - Richard Peter Rossbach wrote: Hello, with which tomcat version you test this, please try the new 5.5.7 and tell us the result! :-) Please tell us your env,

Re: JSP under /WEB-INF folder PROTOCOL PAGES (ProtocolPages)

2005-01-29 Thread Dakota Jack
Hi, Frank, Always good discussing these matters with you. I think you are going to get a kick out of the turn this reply to your response will get. I AM GOING TO REVEAL WHY I THINK THAT THE BASIC STRUTS ARCHITECTURE, AND .do IN PARTICULAR, IS THE WAVE OF THE FUTURE, NOT THE PAST. [Imagine

[OT]Re: logging remote IP address

2005-01-29 Thread Parsons Technical Services
From: Dakota Jack [mailto:[EMAIL PROTECTED] Subject: Re: logging remote IP address The IP address that is exposed to the public, which is the one I use, has to be different or there would be no way to get back to the client machine. Charles Wrote: Not true - the combination of IP address and

Re: JSP under /WEB-INF folder PROTOCOL PAGES (ProtocolPages)

2005-01-29 Thread Frank W. Zammetti
Dakota Jack wrote: I am going to tell you something that you might have missed. There is no need to have a JSP page to do this. This is NOT dynamic content. This is strictly HTML. I fully understand that. Keep in mind that a recent project I did required that images be served out of a

Re: JSP under /WEB-INF folder PROTOCOL PAGES (ProtocolPages)

2005-01-29 Thread Dakota Jack
Well, I sure got excited, though. Back to reality! ;-) snip What I was getting at is the fact that if I return a page to the browser that have ten images, all referencing ResourceAction, what's happening is that the browser is making ten separate requests TO THE APP SERVER, whereas in a

Re: [OT]Re: logging remote IP address

2005-01-29 Thread Dakota Jack
snip On Sat, 29 Jan 2005 22:58:01 -0500, Parsons Technical Services Not true - the combination of IP address and PORT must be unique, not just the IP address. This is the essence of how NAT and proxies work. /snip Yes, once again, I agree with this. Jack -- You can lead a horse to water

Catalina Log File - Coyote can't register jmx for protocol

2005-01-29 Thread HockChai Lim
I'm new to tomcat and java programming. When I start Tomcat, I see the following in the Catalina Log File. What is that mean and should I be worried about it? thanks __ Do you Yahoo!? Read only the mail you want - Yahoo! Mail SpamGuard.

RE: Catalina Log File - Coyote can't register jmx for protocol

2005-01-29 Thread Caldarale, Charles R
From: HockChai Lim [mailto:[EMAIL PROTECTED] Subject: Catalina Log File - Coyote can't register jmx for protocol I'm new to tomcat and java programming. When I start Tomcat, I see the following in the Catalina Log File. What is that mean and should I be worried about it? Whatever error

Where is jkstatus function in jk version 1.2.8?

2005-01-29 Thread Richard Mixon (qwest)
I understand that the jk 1.2.8 connector supercedes the deprecated jk2 connector. I had read previous posting that indicated version 1.2.8 of jk contained equivalent or better function/features than jk2. However the jk2 connector contains documentation on a jkstatus administration interface that

[OT] Re: JSP under /WEB-INF folder PROTOCOL PAGES (ProtocolPages)

2005-01-29 Thread Frank W. Zammetti
I marked my response as OT, I think we're going down that road (not exactly unusual for us)... Dakota Jack wrote: What I was getting at is the fact that if I return a page to the browser that have ten images, all referencing ResourceAction, what's happening is that the browser is making ten

Failed JDBC connection hangs Tomcat

2005-01-29 Thread Igor
We have the same problem, that described in http://www.mail-archive.com/tomcat-user@jakarta.apache.org/msg58799.html There is ServletContextListener in our application, that schedule two tasks for repeated fixed rate execution on context initialization (Timer.scheduleAtFixedRate). First task