Re: [OT] Which webframework to use?

2004-11-29 Thread Roberto Cosenza
Take a look at Spring. It is much more than a MVC though. Allistair Crossley wrote: +1. we've created an intranet on struts, integrated backend solutions like a CMS, search engine, custom applications, SQL server etc... is very cool. Allistair. -- Roberto Cosenza Infoflex Connect AB, Sweden

Re: tomcat5.0 shutdown

2004-12-02 Thread Roberto Cosenza
] For additional commands, e-mail: [EMAIL PROTECTED] -- Roberto Cosenza Infoflex Connect AB, Sweden Tel: +46-(0)8-55576860, Fax: +46-(0)8-55576861 -- Nordic Messaging Technologies is a trademark of Infoflex Connect. Please visit www.nordicmessaging.se for more information about our carrier-grade messaging

logging swallow output

2004-12-03 Thread Roberto Cosenza
For some reason I still have a lot of messages getting to catalina.out even If I have swallowoutput=3 and my logger gets a copy of the message. What can the problem be? I use tomcat 5.0.28 -- Roberto Cosenza Infoflex Connect AB, Sweden Tel: +46-(0)8-55576860, Fax: +46-(0)8-55576861 -- Nordic

Re: logging swallow output

2004-12-03 Thread Roberto Cosenza
I did mean swallowOutput=true My typo. Problem still there, strange... (I'm using commons-logging + log4j to log) Ben Souther wrote: On Fri, 2004-12-03 at 04:28, Roberto Cosenza wrote: For some reason I still have a lot of messages getting to catalina.out even If I have swallowoutput=3

Re: logging swallow output

2004-12-04 Thread Roberto Cosenza
Yes, I'm using a ConsoleAppender. Are you telling me to use SimpleLog ? I don't think that the link you sent me clarifies my ideas... /rob David Stevenson wrote: Is your Log4j configured to use a ConsoleAppender? That might possibly explain it.

Re: Tomcat synchronous shutdown?

2004-12-08 Thread Roberto Cosenza
Will tomcat wait until time consuming requests are completed before shutting down? /rob - Original Message - From: Shapira, Yoav [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, December 08, 2004 9:36 PM Subject: RE: Tomcat synchronous shutdown? Hi, The Tomcat

Tomcat mailing list is full of non tomcat topics

2004-12-08 Thread Roberto Cosenza
Hi cats worldover. It's been a while that I've reading the posts on this mailing list and I can easily say that about 30% are not pertinent to tomcat but are related to web technology in general. Isn't it time to route this traffic to other mailing lists? Can't the tomcat project host new list

Re: Tomcat mailing list is full of non tomcat topics

2004-12-08 Thread Roberto Cosenza
PROTECTED] Sent: Wednesday, December 08, 2004 10:57 PM Subject: RE: Tomcat mailing list is full of non tomcat topics From: Roberto Cosenza [mailto:[EMAIL PROTECTED] Subject: Tomcat mailing list is full of non tomcat topics Isn't it time to route this traffic to other mailing lists? Are you

[OT] Re: Tomcat mailing list is full of non tomcat topics

2004-12-09 Thread Roberto Cosenza
to an intvery legitimate question but very OT. I know that you can't kill a user for writing such questions/answers, but it they were just reminded, from time to time... I think that educating the list users is a duty of the mailing list itself. /roberto -- Roberto Cosenza Infoflex Connect

Re: [OT] Re: Tomcat mailing list is full of non tomcat topics

2004-12-09 Thread Roberto Cosenza
It's like those posters that remind people not to be rude with their cellphones in public places: the offenders hardly recognize themselves, so the posters are a waste. =) -QM That's a risk, but there is people who care but just needs to be informed -- Roberto Cosenza Infoflex Connect AB

Re: prevent multiple form posts using only servlets

2004-12-09 Thread Roberto Cosenza
PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Roberto Cosenza Infoflex Connect AB, Sweden Tel: +46-(0)8-55576860, Fax: +46-(0)8-55576861 -- Nordic Messaging Technologies is a trademark of Infoflex Connect. Please visit www.nordicmessaging.se for more information about our carrier

High reliability tomcat

2005-01-12 Thread Roberto Cosenza
Hi. We have two instances of tomcat configured as cluster. We are using: Tomcat 5.0.28 mod_jk2 Apache2 Our purpose it to be able to upgrade a webapp with no down time. Now, everythink works fine except that: If we shut down server A while incoming requests are coming in, they eventually get a

Re: in web.xml

2005-01-17 Thread Roberto Cosenza
Sure! Mark wrote: will getInitParameter(...) translate lt; to ? --- Peter Crowther [EMAIL PROTECTED] wrote: - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[OT]Re: Logger file

2005-01-20 Thread Roberto Cosenza
Check on log4j homepage. One strategy is to have a log4j.properties file in your classpath. There you will define where you want your log file to be saved. Please do not discuss this argument on this mailing list since it is not tomcat related. /Roberto - Original Message - From: micky

Re: Updating webapps in a running production cluster.

2005-01-20 Thread Roberto Cosenza
We have done some testing in this direction. Two tomcat in a cluster, with session replication. Shutdown B, update B, restart B Shutdown A, update A, restartAB What we experience is that, when shutting down any of the two servers. 1) Few requests are lost (let's say, on our machine, for 0.30

Logger configuration

2004-09-07 Thread Roberto Cosenza
How do I configure context loggers so that everything written to stdout or stderr goes to a special file? My debug messages are only printed to catalina.out. Thanx -- Roberto Cosenza Infoflex Connect AB, Sweden Tel: +46-(0)8-55576860, Fax: +46-(0)8-55576861 -- Nordic Messaging Technologies

Re: Logger configuration

2004-09-07 Thread Roberto Cosenza
Bedrijven.nl wrote: see tomcat page http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/index.html Thanx, I read the manual. The fact is that the logger seems to not to log what i print using System.out.println. Am I right or am I just confusing stuff? -- Roberto Cosenza Infoflex Connect

Re: Logger configuration

2004-09-07 Thread Roberto Cosenza
for. /roberto -- Roberto Cosenza Infoflex Connect AB, Sweden Tel: +46-(0)8-55576860, Fax: +46-(0)8-55576861 -- Nordic Messaging Technologies is a trademark of Infoflex Connect. Please visit www.nordicmessaging.se for more information about our carrier-grade messaging products

Re: Logger configuration

2004-09-07 Thread Roberto Cosenza
Bedrijven.nl wrote: See the product Log4j. -Oorspronkelijk bericht- Van: Roberto Cosenza [mailto:[EMAIL PROTECTED] Verzonden: Tuesday, September 07, 2004 1:48 PM Aan: Tomcat Users List Onderwerp: Re: Logger configuration Bedrijven.nl wrote: see tomcat page http://jakarta.apache.org

Re: Location of third party jar files.

2004-09-09 Thread Roberto Cosenza
directory. You probably have a corrupted jar file or you have bad permissions on the WEB-INF/lib directory. Check that the user running Tomcat can access the dir correctly. /rob -- Roberto Cosenza Infoflex Connect AB, Sweden Tel: +46-(0)8-55576860, Fax: +46-(0)8-55576861 -- Nordic Messaging

Tomact + jk2: won't shutdown

2004-09-09 Thread Roberto Cosenza
the problem? (Strange enough: we have an other box which is running exactly the same configuration and it works perfectly) -- Roberto Cosenza Infoflex Connect AB, Sweden Tel: +46-(0)8-55576860, Fax: +46-(0)8-55576861 -- Nordic Messaging Technologies is a trademark of Infoflex Connect. Please

Re: Tomact + jk2: won't shutdown

2004-09-09 Thread Roberto Cosenza
Shapira, Yoav wrote: Hi, The most common reason for failed shutdowns as you describe, i.e. Tomcat closing but some threads (and therefore the JVM process) still alive, is your app (or libraries used by your app) starting up non-daemon threads and not shutting them down on exit. The JVM cannot

Re: jaring a zip file

2004-09-22 Thread Roberto Cosenza
Unzip it and then run jar -cvf filename.jar theoldfiles to create a new jar -- Roberto Cosenza Infoflex Connect AB, Sweden Tel: +46-(0)8-55576860, Fax: +46-(0)8-55576861 -- Nordic Messaging Technologies is a trademark of Infoflex Connect. Please visit www.nordicmessaging.se for more information

Re: JSP Implicit import

2004-09-22 Thread Roberto Cosenza
jsp, anyway, should import those classes by itself. -- Roberto Cosenza Infoflex Connect AB, Sweden Tel: +46-(0)8-55576860, Fax: +46-(0)8-55576861 -- Nordic Messaging Technologies is a trademark of Infoflex Connect. Please visit www.nordicmessaging.se for more information about our carrier-grade

Re: Updating webapps in a running production cluster.

2005-01-29 Thread Roberto Cosenza
if moving to Jboss, with tomcat as a servlet container, will help? Thanx - Original Message - From: Roberto Cosenza [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Sent: Thursday, January 20, 2005 8:59 PM Subject: Re: Updating webapps in a running production cluster. We

Re: Updating webapps in a running production cluster.

2005-01-29 Thread Roberto Cosenza
1.2.8 on Windows/Linux Roberto Cosenza schrieb: 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

Re: Updating webapps in a running production cluster.

2005-01-29 Thread Roberto Cosenza
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 jdk-1_5_0_01-linux

Re: separate log4j configurations

2005-02-01 Thread Roberto Cosenza
If you will configure log4j instances which are in the same classloader, they will conflict. Bootstrap | System | Common / \ Catalina Shared / \ Webapp1 Webapp2 ...

Re: separate log4j configurations

2005-02-01 Thread Roberto Cosenza
No, Tomcat will continue to log just as it was configured at the server level. And, actually, his log4j.properties file in WEB-INF/classes wouldn't even get picked up by log4j at all because the default logger repository has already been configured (assuming no manual configuration) so there would

Class loader and garbage collector

2005-02-07 Thread Roberto Cosenza
is not enough. The number of loaded classes keep increasing when reloading a webapp. The jconsole only shows the number of loaded classes. Is there any way to see which classes are still referenced so that I can further investigate the problem? /roberto -- Roberto Cosenza Infoflex Connect AB, Sweden Tel: +46

Re: IllegalStateException: getOutputStream() has already been called for this response

2005-02-08 Thread Roberto Cosenza
Your approach is bad but don't worry. If you have time, read something about MVC. You will need it eventually. To make your servlet work, try something like: public void doPost(HttpServletRequest req, HttpServletResponse res) throws ServletException,

Re: Recommendation: where to place app config file without overwriting during deploy. JNDI configuration also??

2005-02-08 Thread Roberto Cosenza
] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Roberto Cosenza http://robcos.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands

Re: IllegalStateException: getOutputStream() has already been called for this response

2005-02-09 Thread Roberto Cosenza
or Writer for the XSLT results is what keeps me from doing exactly what you suggested. I have this one hook, so to speak. -- Roberto Cosenza http://robcos.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

Memory Usage from Mbean

2005-02-10 Thread Roberto Cosenza
Hi. I'm trying to build a Servlet to retrieve some memory information about tomcat. I'm using Tomcat 5.5.7. Which bean contains the jvm memory data? Thanx ___ Roberto Cosenza http://robcos.com - To unsubscribe, e-mail: [EMAIL

Re: 301 permanent redirects in Tomcat - how to achieve

2005-02-11 Thread Roberto Cosenza
Bainbridge KDE - Conquer Your Desktop - http://kde.org KDE Web Team - [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Roberto Cosenza http://robcos.com

Re: commons-logging logger instances - how to initialize in replicated session objects

2005-02-14 Thread Roberto Cosenza
: [EMAIL PROTECTED] -- Roberto Cosenza http://robcos.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]