why the ThreadPool is empty if traffic is so low? (block with Tomcat 4.1.24-LE on linux)

2004-10-22 Thread Piergiuliano Bossi
Hello all, I'm sorry to bother again but I was wondering whether any of you has some feedback about the following problem. Synopsis: Tomcat hangs because the threadpool is empty, but traffic is really low == what can cause all these threads/connections to hang? The Whole story. I have a web

AW: Apache 2.0 - mod_proxy, mod_cache - and Tomcat 4.1.29

2004-10-22 Thread Neise, Volker
I will follow the way with squid. Thanks for your input and support. Your cooperation is welcome. Mit freundlichen Grüßen, Volker Neise - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

jasper error compiling jsp

2004-10-22 Thread Sarath PS
hi all , I get an an error like this. org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: -1 in the jsp file: null Generated servlet error: [javac] Compiling 1 source file

Environment entries question

2004-10-22 Thread Igor
Hello! I created environment entry in web.xml: env-entry env-entry-nametest/env-entry-name env-entry-valuesimple test/env-entry-value env-entry-typejava.lang.String/env-entry-type /env-entry This entry is used in the following way: Context initCtx = new

Sv: jasper error compiling jsp

2004-10-22 Thread Roland Carlsson
Hi! I'm not sure but I don't think you can import classes from the root-level. Try to create a package and then import mypackage.Account; Or import mypackage.*; Regards Roland Carlsson Den 04-10-22 09.03, skrev Sarath PS [EMAIL PROTECTED]: hi all , I get an an error like

Re: Testing/Development environment setups..

2004-10-22 Thread Harry Mantheakis
My 2 cents: Learning to use Ant - especially for features Yoav and others have suggested - is very worth while. Ant is a fantastic tool. Harry Mantheakis Yoav, Ben: Thanks for the tips - I think I finally have a grasp on how a real project would be run properly. I already use MySQL,

Database realm in tomcat admin

2004-10-22 Thread Roland Carlsson
Hi! I have configured my tomcat to use a database realm. My problem is that I have been using the tomcat admin to administer my users and feel no need to replace that tool. So is it possible to make tomcat-admin to use the database realm instead of the MemoryRealm? Thanks in advance Roland

jdbc pool

2004-10-22 Thread kangkoong Kakoong
when I compile using jdbc pool the following error show: javax.servlet.ServletException: Name jdbc is not bound in this Context VerifyLogin.doPost(Unknown Source) javax.servlet.http.HttpServlet.service(HttpServlet.java:763) javax.servlet.http.HttpServlet.service(HttpServlet.java:856)

Re: jdbc pool

2004-10-22 Thread Viorel Dragomir
Follow http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples-howto.html#Database%20Connection%20Pool%20(DBCP)%20Configurations closely. Viorel Dragomir . .. --- vioss was here - Original Message -

Mulitple JVMs

2004-10-22 Thread Chris Ward
Dear All, Due to a version upgrade of some third-party component accessed through J-Integra (Java/COM bridge) I've been informed that I need to run the new version in a different JVM to the rest of my webapp (the earlier versions lived in harmony). I know I could have a separate Tomcat on a

split mod_jk2 configuration file for vhosts

2004-10-22 Thread Matteo Turra
I tell apache httpd where is the workers2.properties file with JkSet config.file /etc/httpd/conf/workers2.properties Now I have multiple ip virtual host webapps and each one has a file included in httpd.conf with Include /etc/httpd/conf/vhosts/*.conf How can I configure Jk2 configuration file

Re: Sv: jasper error compiling jsp

2004-10-22 Thread Sarath PS
hi, Thanks for the replay . But this not an application i develop. I just want to deploy it on my tomcat. It seems the app is developed for some other container. Is there any work around to run it on tomcat ? regards, Sarath PS Roland Carlsson wrote: Hi! I'm not sure but I don't think you

RE: split mod_jk2 configuration file for vhosts

2004-10-22 Thread Brendan Colthurst
I would advise to use a single workers2.properties file, and just setup different workers in that file, one for each VirtualHost to use. If I'm not mistaken, anything you'd want to customize per workers file can be customized per-worker in one file. -Brendan -Original Message- From:

RE: jasper error compiling jsp

2004-10-22 Thread Flisch, Alan
It's not Tomcat that is objecting, its javac, the java compiler. Perhaps some other version of the compiler was more forgiving at some point. I think getting the application fixed somehow, is your best option. -Original Message- From: Sarath PS [mailto:[EMAIL PROTECTED] Sent: 22

Re: jasper error compiling jsp

2004-10-22 Thread Sarath PS
Thanks alan, So you say it's not possible to run the app in my current configuration ? (tomcat 4, j2sdk1.4.2_03) regards, Sarath Flisch, Alan wrote: It's not Tomcat that is objecting, its javac, the java compiler. Perhaps some other version of the compiler was more forgiving at some

Webserver - Tomcat - Tapestry / Error 405 Method Not Allowed / :jsession

2004-10-22 Thread Fred Feuerstein
Hi folks. situation: I wrote a webapplication using the Tapestry (version 3.0) Framework. As a webcontainer I am using Tomcat 5. Total of 3 pages: 1. page START: form user has to type in two values /submit 2. page INPUT: form user can type in couple of values or 'cancel' application

Upgrading for the sake of it?

2004-10-22 Thread Andoni
Hello, My questions here are fairly broad and open to opinion, I have not the experience to be dealing with these scenarios though so if you could help me it would be much appreciated. I do not mean to be inflammatory so if it is please ignore. Recently there was a post asking why people are

Re: Upgrading for the sake of it?

2004-10-22 Thread Tim Funk
Summary: Keeping upgrading if your webapp code keeps changing. ** If the webapps running on the tomcat instance will not change or only change for critical fixes - then don't upgrade tomcat. Newer versions may break old applications. (like any software upgrade) ** If the webapps are undergoing

AW: Upgrading for the sake of it?

2004-10-22 Thread Steffen Heil
Hi So is the best advice to go with what I know best (and can be sure my websites run under) and install old versions. Or to go with the very latest of everything. I would recommend to use some recent version. Not the lastest, because they are alpha/beta versions. Simply try it and if it

Embedded tomcat

2004-10-22 Thread Steffen Heil
Hi Is there any place where I can find information about embedded tomcat? I mean beyond the docs - Examples and such? Regards, Steffen smime.p7s Description: S/MIME cryptographic signature

Re: Upgrading for the sake of it?

2004-10-22 Thread Ben Souther
If you're convinced that the conditions such as your code, your requirements, the status of the underlying system, and/or the security of all the pieces involved (and there are no guarantees that someone won't find a security hole in one of them this afternoon) are never going to change then going

Re: Mulitple JVMs

2004-10-22 Thread QM
On Fri, Oct 22, 2004 at 08:58:10AM +0100, Chris Ward wrote: : I know I could have a separate Tomcat on a different (or the same) : server dedicated to running the new stuff, but I wondered if anyone : has any advice on this. You may want to search the archives -- this question appears frequently.

RE: jasper error compiling jsp

2004-10-22 Thread Flisch, Alan
I wouldn't think so. The changes necessary to the app are likely to be pretty trivial, although you never know what else might be lurking in there. -Original Message-From: Sarath PS [mailto:[EMAIL PROTECTED]Sent: 22 October 2004 11:06To: Tomcat Users ListSubject: Re: jasper

RE: Upgrading for the sake of it?

2004-10-22 Thread Steve Kirk
Steffen Heil wrote: - Tomcat 5 uses newer specifications than 4.1.x. does. Your App MIGHT be incompatible. Yes unexpected problems can happen. An example of this is the config files. V4 supports the v2.3 of the servlet spec, V5 supports v2.4 as well as v2.3. If you use v2.4 features, make

Re: jasper error compiling jsp

2004-10-22 Thread Sarath PS
then alan, could you please give me any hints ? The library i'm about to use is proprietory and i don't have the source code. So refactoring the classes is not possible! Flisch, Alan wrote: I wouldn't think so. The changes necessary to the app are likely to be pretty trivial, although you

Upgrading for the sake of it?

2004-10-22 Thread Andoni
Hi, Running the two in parallel is not something I had thought of. I could run TC4 and TC5 and just switch back if an issue arises in testing (or production) of TC5. Andoni. - Original Message - From: Ben Souther [EMAIL PROTECTED] Newsgroups: gmane.comp.jakarta.tomcat.user Sent:

RE: jasper error compiling jsp

2004-10-22 Thread Steve Kirk
Scroll down to point 8 under Incompatibilities Between Java 2 Platform, Standard Edition, v1.4.0 and v1.3, read the second bullet. This confirms Alan's comments. http://forum.java.sun.com/thread.jsp?thread=466368 http://forum.java.sun.com/thread.jsp?thread=466368forum=31message=2145193

Webapp don't start after shutdown

2004-10-22 Thread Roland Carlsson
Hi! I having problem with tomcat not starting web-apps after a shutdown. I deploy my web-app through the manager web-interface. I try the web-app and it works perfectly. Then I run the bin/shutdown.sh script and bin/startup.sh I attempt to access the web-app and only get 404 errors. I look in

RE: split mod_jk2 configuration file for vhosts

2004-10-22 Thread Benson Margulies
Run a web service in the other JVM? -Original Message- From: Matteo Turra [mailto:[EMAIL PROTECTED] Sent: Friday, October 22, 2004 4:32 AM To: Tomcat Users List Subject: split mod_jk2 configuration file for vhosts I tell apache httpd where is the workers2.properties file with JkSet

RE: jasper error compiling jsp

2004-10-22 Thread Steve Kirk
Sorry - ignore my last post, it contained the wrong link. Try this instead. Go to point 8, second bullet: http://java.sun.com/j2se/1.4/compatibility.html#incompatibilities1.4 -Original Message- From: Steve Kirk [mailto:[EMAIL PROTECTED] Sent: Friday 22 October 2004 12:55 To: 'Tomcat

Performance Tuning [Apache2 + JK2 + Tomcat]

2004-10-22 Thread Matteo Turra
Hi, does anybody know which parameters are involved in tuning the performance of the configuration in subject? And witch tools use to monitor where are bottlenecks? How can I monitor how many request are queued on apache and how many on tomcat? Thanks, Matteo. Everything should be made as

RE: Problem with the JRE install

2004-10-22 Thread Hauberoche, Patrick
Hi remy, In fact the tomcat version is 5.0.18., and the JRE 1.4.2_04 doesn’t install on this PC, I don’t understand why ? do you know if the JRE install is instable and what can I do ? -Message d’origine- De: Remy Maucherat [mailto:[EMAIL PROTECTED] Date:

re: performance difference between tomcat 5.0 and 5.5?

2004-10-22 Thread James Black
I am curious if there is any performance improvements over Tomcat 5.5 vs Tomcat 5.0, using jdk1.5. We are in the process of doing testing to prepare for our December upgrades and I don't know if we should try to move to Tomcat 5.5 this year or wait till summer. The main webapp is a webservice

RE: Problem with the JRE install

2004-10-22 Thread Ben Souther
Tomcat 5.0 requires a full j2sdk, not just a JRE (unless you're not using JSP, or unless your JSPs are precompiled) On Fri, 2004-10-22 at 08:28, Hauberoche, Patrick wrote: Hi remy, In fact the tomcat version is 5.0.18., and the JRE 1.4.2_04 doesnt install on this PC, I dont understand

RE: Environment entries question

2004-10-22 Thread Shapira, Yoav
Hi, I think there's been an open bugzilla issue for this for months. It's such a marginal use-case that (as evidenced by the fact no one's done it for months) no one seems to care, given the two workarounds in your post. So if you really care, maybe you could submit a patch? Yoav Shapira

RE: jakarta-tomcat-4.1.31 fails to render the example JSPs

2004-10-22 Thread Shapira, Yoav
Hi, I forgot you were still on Tomcat 4.1, not 5.x. In 4.x, which implements Servlet Spec 2.3, the servlet and JSP APIs are in the same Jar (servlet.jar). So make sure there's only one of those, and ignore my comment on jsp-api.jar/jsp.jar. And upgrade to 5.x when you get a chance ;) Yoav

RE: performance difference between tomcat 5.0 and 5.5?

2004-10-22 Thread Shapira, Yoav
Hi, Yes, there are performance difference. Yoav Shapira http://www.yoavshapira.com -Original Message- From: James Black [mailto:[EMAIL PROTECTED] Sent: Friday, October 22, 2004 8:34 AM To: Tomcat Users List Subject: re: performance difference between tomcat 5.0 and 5.5? I am curious

RE: Tomcat 5.5 and ClassNotFoundException:org.apache.catalina.logger.FileLogger

2004-10-22 Thread Shapira, Yoav
Hi, Did you use a Tomcat 5.0 server.xml or context XML file? The Logger elemnt is history, doesn't exist in Tomcat 5.5. Yoav Shapira http://www.yoavshapira.com -Original Message- From: Martin Grotzke [mailto:[EMAIL PROTECTED] Sent: Thursday, October 21, 2004 6:49 PM To: Tomcat Users

RE: Problem with the JRE install

2004-10-22 Thread Hauberoche, Patrick
Hi, ben Yes the jsp are already precompiled, but do you know the mean of the error message ‘see email below’ -Message d’origine- De: Ben Souther [mailto:[EMAIL PROTECTED] Date: vendredi 22 octobre 2004 14:37 À: Tomcat Users List Objet:

[OT]: performance difference between tomcat 5.0 and 5.5?

2004-10-22 Thread Filip Hanik - Dev
The main webapp is a webservice that will be used constantly, and needs to be fast. he he, on the joking side, one could argue that for a webservice, how can it be fast, given that XML/SOAP adds not only extra bytes to transfer over raw data but adds parsing overhead in your system. If you

RE: Mulitple JVMs

2004-10-22 Thread Shapira, Yoav
Hi, One webapp can only run in one JVM. But if you are splitting your webapp, you can use the CATALINA_BASE/CATALINA_HOME approach QM referred to, or have an entirely new Tomcat instance. It doesn't make that big a difference. Consider also making the rest of your webapp run in the new JVM, so

Re: Testing/Development environment setups..

2004-10-22 Thread Kyle Adams
To build on what others have said... Several things I'd recommend: 1) Automate your testing and do it up front. Project managers who still think in terms of the waterfall approach to development tend to place testing at the end of the project. Inevitably timelines get tight and testing gets

RE: Mulitple JVMs

2004-10-22 Thread Chris Ward
Hi, One webapp can only run in one JVM. But if you are splitting your webapp, you can use the CATALINA_BASE/CATALINA_HOME approach QM referred to, or have an entirely new Tomcat instance. It doesn't make that big a difference. That's is what I thought, but thanks for

RE: why the ThreadPool is empty if traffic is so low? (block with Tomcat 4.1.24-LE on linux)

2004-10-22 Thread Shapira, Yoav
Hi, It seems like connections aren't being closed properly. Some RedHat users have reported a need to set the LD_ASSUME_KERNEL parameter such that NPTL is not used and threading problems go away. I myself don't have experience with that, but if you search this list's archives for

RE: Tomcat 5.5 and ClassNotFoundException:org.apache.catalina.logger.FileLogger

2004-10-22 Thread Martin Grotzke
On Fri, 2004-10-22 at 15:17, Shapira, Yoav wrote: Hi, Did you use a Tomcat 5.0 server.xml or context XML file? The Logger elemnt is history, doesn't exist in Tomcat 5.5. D'oh, my fault. I copied my old (tc-5.0.27) server.xml to tomcat 5.5 conf directory, and did not realize to test the

Re: Taglib loading classes of web application

2004-10-22 Thread Dov Rosenberg
Instead of checking the type of class by doing getClass().getName() I would recommend using If (myclass instanceof com.name.webapp.entities.MetaDataEntity){ ... } else { ... } This is better because you can check the presence of a class at compile time instead of runtime when you do things like

RE: Taglib loading classes of web application

2004-10-22 Thread Shapira, Yoav
Hi, Yeah, using instanceof or isAssignableFrom are much better approaches for this. You cannot simply trim the [L from an array class name and get a valid class name: that's not guaranteed by the JLS and it's cruising for a bruising, as you've already found out. Yoav Shapira

RE: Webapp don't start after shutdown

2004-10-22 Thread Shapira, Yoav
Hi, Then I run the bin/shutdown.sh script and bin/startup.sh Are you sure shutdown is completed properly, i.e. the JVM process is gone? I attempt to access the web-app and only get 404 errors. Are there any errors or startup? If so, please post the relevant logs and/or configuration

RE: Embedded tomcat

2004-10-22 Thread Shapira, Yoav
Hi, See the Embedded class itself: http://cvs.apache.org/viewcvs.cgi/jakarta-tomcat-catalina/catalina/src/s hare/org/apache/catalina/startup/Embedded.java?rev=1.24view=markup. It's fairly self-evident. Yoav Shapira http://www.yoavshapira.com -Original Message- From: Steffen Heil

RE: Webapp don't start after shutdown

2004-10-22 Thread Phillip Qin
Also, have you tried starting it from Manager? -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: October 22, 2004 9:58 AM To: Tomcat Users List Subject: RE: Webapp don't start after shutdown Hi, Then I run the bin/shutdown.sh script and bin/startup.sh Are you

RE: adding HTTP headers for all responses in web application

2004-10-22 Thread Phillip Qin
If your pattern is /*.jsp, then your filter applies to all jsps. -Original Message- From: Mark [mailto:[EMAIL PROTECTED] Sent: October 22, 2004 1:19 AM To: Tomcat Users List Subject: RE: adding HTTP headers for all responses in web application question: will the filter applied to

Re: adding HTTP headers for all responses in web application

2004-10-22 Thread Tim Funk
Actually the pattern is *.jsp - not /*.jsp -Tim Phillip Qin wrote: If your pattern is /*.jsp, then your filter applies to all jsps. -Original Message- From: Mark [mailto:[EMAIL PROTECTED] Sent: October 22, 2004 1:19 AM To: Tomcat Users List Subject: RE: adding HTTP headers for all

Premature EOF error.

2004-10-22 Thread sachin . s . zope
Hi All, I am using following environment. Web Server: Apache Tomcat on Sun Solaris Database: Oracle 8.1.7 on Sun Solaris I have batch process running on the web server. The process reads the xml from url and then parse the xml and insert data in the database. I am getting following error.

Re: Including Zip functionality in a filter...

2004-10-22 Thread Ben Bookey
HI Tim // Don't worry about writing a compression filter - tomcat comes with one on its HTTP connector. // Or if your using apache - use mod_gzip. I here the latest IIS also has compression support. Thanks ALOT for the suggestion. We are just using Tomcat 4.1 and Tomcat 5, is this still

RE: Including Zip functionality in a filter...

2004-10-22 Thread Shapira, Yoav
Hi, // Don't worry about writing a compression filter - tomcat comes with one on its HTTP connector. Thanks ALOT for the suggestion. We are just using Tomcat 4.1 and Tomcat 5, is this still possible. Could you send me an example how to use the HTTP Connector. Look at

RE: adding HTTP headers for all responses in web application

2004-10-22 Thread Phillip Qin
Why this url-pattern is always un-nature? I always have difficulties reading filter section in servlet spec 2.3. Couldn't we simply use /*.jsp in the next release of servlet, i.e. servlet xp? -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: October 22, 2004 10:32 AM To:

RE: adding HTTP headers for all responses in web application

2004-10-22 Thread Shapira, Yoav
Hi, Contact the JSR154 Expert Group with your wishes and concerns. This is not up to us. (And I personally like the available url-patterns, but then again my tolerance for adding hacky stuff for user-friendliness has really dropped recently) Yoav Shapira http://www.yoavshapira.com

tomcat 4.1.31 problem + server stop responding most of the time

2004-10-22 Thread Linux Guru
Hello guy, I have this problem since I have installed Tomcat 4.1.31. It usually stop responding and on restart the tomcat it works fine. Any help will be really appreciated. Regards ___ Do you Yahoo!? Declare Yourself - Register online to vote

Re: adding HTTP headers for all responses in web application

2004-10-22 Thread Tim Funk
You can prefix map or extension map - not both. Since regexs are a part of 1.4 JDK - I am hoping that regexes may be used for URL mapping in the next spec. (Of course - doing so can also kill performance too) If you need real flexibility now - I have some servlet utilities that where you can

RE: tomcat 4.1.31 problem + server stop responding most of the time

2004-10-22 Thread Shapira, Yoav
Hi, Here's a quick fix: go back to whatever you were using before ;) 4.1.31 is a maintenance release and given the status of the 4.x branch, you may be better off spending your time on upgrading to 5.x than you would be on troubleshooting 4.1.31. Yoav Shapira http://www.yoavshapira.com

[Slightly OT] Simplifying deployment

2004-10-22 Thread Robert Bateman
I have an application that I've developed that run strictly on Tomcat. I've noticed a lot of traffic on this list talking about using Apache httpd to serve up static content and using mod_jk to have httpd talk to Tomcat to serve up JSP traffic. And all of that got me thinking about doing the

Archive out of synch?

2004-10-22 Thread Robert Hunt
Searching the tomcat-user mail archive, I find an article that looks to be of interest: Re: OutOfMemory on Tomcat webapp with awt use ( http://www.mail-archive.com/[EMAIL PROTECTED]/msg137239.html ) and when I click the link, a totally different article appears: RE: [Possible bug?]

RE: [Slightly OT] Simplifying deployment

2004-10-22 Thread Chad Maniccia
I would keep it simple less things to hack, break, update, etc.. Also I remember reading in tomcat's documentation that it serves static content almost or just as fast. -Original Message- From: Robert Bateman [mailto:[EMAIL PROTECTED] Sent: Friday, October 22, 2004 11:12 AM To: Tomcat

RE: Including Zip functionality in a filter...

2004-10-22 Thread Dave Been
I looked at the docs and added to my 8080 non-SSL Connector in server.xml (tomcat 4.1.3) the following: compression=force compressableMimeType=text/html,text/xml,*/* and when i send Accept-Encoding: compress, gzip, I still am not getting compression. java is adding this header: Accept:

RE: [Slightly OT] Simplifying deployment

2004-10-22 Thread Shapira, Yoav
Hi, Yup, Chad's right. About the worst thing you can do is add complexity because you *think* it might be better. You do see a lot of connector-related traffic on this list. That's because connector configuration is not easy. The specifics greatly depend on which connector version, which

RE: Archive out of synch?

2004-10-22 Thread Shapira, Yoav
Hi, You might want to contact the archive site's admins, as we have nothing to do with it. There are numerous other archives as well, like MARC and GMane, which seem to work well all the time. Yoav Shapira http://www.yoavshapira.com -Original Message- From: Robert Hunt [mailto:[EMAIL

RE: Including Zip functionality in a filter...

2004-10-22 Thread Shapira, Yoav
Hi, I looked at the docs and added to my 8080 non-SSL Connector in server.xml (tomcat 4.1.3) the following: compression=force compressableMimeType=text/html,text/xml,*/* Look at the docs again. The attributes for Tomcat 4.1 and 5.x are different. The former doesn't have a

RE: [Slightly OT] Simplifying deployment

2004-10-22 Thread Robert Bateman
THANKS Chad and Yoav! Very good information. I will look elsewhere for performance improvements (possibly squid...) Bob On Fri, 2004-10-22 at 12:24, Shapira, Yoav wrote: Hi, Yup, Chad's right. About the worst thing you can do is add complexity because you *think* it might be better. You

RE: Filter question in 4.1.18, can my filter get unchunked and un zipped requests?

2004-10-22 Thread Donie Kelly
Hi Bill I've tried that but it doesn't appear to work. Is this because I need to upgrade to a later version of tomcat or what??? Thanks Donie -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Bill Barker Sent: 22 October 2004 03:54 To: [EMAIL PROTECTED] Subject: Re:

RE: [Slightly OT] Simplifying deployment

2004-10-22 Thread Steve Kirk
I used to use TC behind Apache but found that a bit flakey under windows (which was my dev platform), and I found configuring the two servers separately a bit fiddly. So when I started a new project I did a bit of homework on TC standalone, then decided to drop Apache entirely and run TC

Automated reply from bulletproof@www.bulletproofsoft.com

2004-10-22 Thread bulletproof
BulletProofSoft.com Support Ticket Reply. DO NOT REPLY TO THIS EMAIL Please use our Online Support system for faster results to your questions. You can monitor the status of your ticket online where you can add follow up replies. http://www.bulletproofsoft.com/cgi-bin/custquest/quest_desk.cgi

RE: tomcat 4.1.31 problem + server stop responding most of the time

2004-10-22 Thread Linux Guru
So in other words there is no solution of this problem except to upgrade the version. ? Regards --- Shapira, Yoav [EMAIL PROTECTED] wrote: Hi, Here's a quick fix: go back to whatever you were using before ;) 4.1.31 is a maintenance release and given the status of the 4.x branch, you may

RE: tomcat 4.1.31 problem + server stop responding most of the time

2004-10-22 Thread Shapira, Yoav
Hi, So in other words there is no solution of this problem except to upgrade the version. ? That's not what I said. There ARE other solutions. One is to go back to the version that was working for you before you moved to 4.1.31. Another one is to investigate the root cause of the error you're

which one is a stable version of tomcat

2004-10-22 Thread Linux Guru
Hello, Which one is a stable version of Tomcat that I can use for production . I have been using Tomcat 4.1.24 , 4.1.28 and 4.1.31 and suffering as because web server usually stop responding, resulting i need to restart the web server to make it working. I am assuming i need to customize

RE: which one is a stable version of tomcat

2004-10-22 Thread Shapira, Yoav
Hi, The latest stable versions of each branch are listed on the Tomcat home page. Right now these are 4.1.31 for Tomcat 4.1 and 5.0.28 for Tomcat 5.0. Tomcat is stable out of the box even if you don't customize server.xml. Chances are your server stops responding for other reasons. Yoav

[Somewhat OT] Content vs. Programming

2004-10-22 Thread Anthony E. Carlos
Hello, folks! Based on my readings, it seems that most people running Tomcat on dedicated boxes. Unfortunately, I'm in a shared environment running multiple instances of Tomcat, one for each client. My problem is that some clients like to update their own static content via ftp, while letting

Re: Error in document

2004-10-22 Thread hgomez
Important message, do not show this anyone! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: [Somewhat OT] Content vs. Programming

2004-10-22 Thread Steve Kirk
Sounds like it's a case where using a war file is causing the problem. I would drop the war files altogether and just distribute their contents. That way you can distribute just the bits of the webapp that you have changed. Sounds to me like you own the JSP/servlet/config files and they own the

Re: which one is a stable version of tomcat

2004-10-22 Thread Remy Maucherat
On Fri, 22 Oct 2004 13:14:35 -0400, Shapira, Yoav [EMAIL PROTECTED] wrote: Hi, The latest stable versions of each branch are listed on the Tomcat home page. Right now these are 4.1.31 for Tomcat 4.1 and 5.0.28 for Tomcat 5.0. Tomcat is stable out of the box even if you don't customize

Re: [Somewhat OT] Content vs. Programming

2004-10-22 Thread Robert Koberg
Anthony E. Carlos wrote: Hello, folks! Based on my readings, it seems that most people running Tomcat on dedicated boxes. Unfortunately, I'm in a shared environment running multiple instances of Tomcat, one for each client. My problem is that some clients like to update their own static content

Re: [Somewhat OT] Content vs. Programming

2004-10-22 Thread erh
On Fri, Oct 22, 2004 at 01:24:00PM -0400, Anthony E. Carlos wrote: I've thought of having them upload to a alternate directory and then running some ant script to copy new and changed files into the Tomcat directories, but that still won't help with the merging process. To make things even

Re: [Somewhat OT] Content vs. Programming

2004-10-22 Thread Michael McGrady
You must be saying that you are using an instance of Tomcat and that your content providers are putting pages into your application in that instance. If so, since you are only in development, why don't you forgo the war file and just bounce your application with manager to catch the

RE: Including Zip functionality in a filter...

2004-10-22 Thread Dave Been
right, I checked the 4.1 docs and removed the MimeTypes attribute and it still doesn't compress. So i set compression=5 to have it compress any output length 5 bytes be compressed. still didn't work. any other hints? thanks much for your replies. Yet another reason to upgrade Posted this

How to save files being download

2004-10-22 Thread vivek gupta
Hi Folks, I am testing my website at web hosting company which is using tomcat. I can see my application running if I type www.abc.com/root/. But my problem is if I put www.abc.com/root/jsp it show all my jsps which lying in jsp directory and let any one to download my file. I tested

RE: How to save files being download

2004-10-22 Thread Shapira, Yoav
Hi, Change directoryListings to false for the DefaultServlet in conf/web.xml, as explained in the Tomcat FAQ. Yoav Shapira http://www.yoavshapira.com -Original Message- From: vivek gupta [mailto:[EMAIL PROTECTED] Sent: Friday, October 22, 2004 2:07 PM To: Tomcat Users List Subject: How

Re: Webapp don't start after shutdown

2004-10-22 Thread Roland Carlsson
Hi! (I'm home now so it is another email-adress) I think that I have found another lead to why tomcat doesn't do right with my web-apps. In the web.xml in the %tomcat-home%/conf/Catalina/mydomain .. there is a context path... and of some freak reason the path to the files are the one that I use

RE: How to save files being download

2004-10-22 Thread Steve Kirk
More info here http://jakarta.apache.org/tomcat/tomcat-5.5-doc/default-servlet.html#secure which refers to the servlet spec, which is here http://jcp.org/aboutJava/communityprocess/final/jsr154/index.html -Original Message- From: vivek gupta [mailto:[EMAIL PROTECTED] Sent: Friday 22

Re: which one is a stable version of tomcat

2004-10-22 Thread Linux Guru
I am running tomcat on Redhat 9 Does it means it is some thing to do with OS ?? ( it stop responds usually, required to restart web server all the time ) Regards --- Remy Maucherat [EMAIL PROTECTED] wrote: On Fri, 22 Oct 2004 13:14:35 -0400, Shapira, Yoav [EMAIL PROTECTED] wrote:

RE: which one is a stable version of tomcat

2004-10-22 Thread Shapira, Yoav
Hi, Yes, most likely. Search the archives on the use of the LD_ASSUME_KERNEL parameter. Yoav Shapira http://www.yoavshapira.com -Original Message- From: Linux Guru [mailto:[EMAIL PROTECTED] Sent: Friday, October 22, 2004 2:31 PM To: Tomcat Users List; Remy Maucherat Subject: Re: which

testing my account please ignore.

2004-10-22 Thread Wade Chandler
Testing my account. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: which one is a stable version of tomcat

2004-10-22 Thread Linux Guru
Hello, I tried that too. No luck. almost every day I have to suffer the same problem. Regards --- Shapira, Yoav [EMAIL PROTECTED] wrote: Hi, Yes, most likely. Search the archives on the use of the LD_ASSUME_KERNEL parameter. Yoav Shapira http://www.yoavshapira.com -Original

RE: Servlet caching?

2004-10-22 Thread Carlos Oliva
Hi Steffen, Thank you for your response. I found that there is indeed a bug fro this problem reported for the SUN JDK. You can view it at: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4744405 It also seems that this bug has not yet been solved. Its status is in progress This is a short

RE: Servlet caching?

2004-10-22 Thread Shapira, Yoav
Hi, Note that this is an RFE, not a bug, so don't hold your breath, and further that you can register an use your own PrintService SPI already in JDK 1.4, and that's probably one reason the Sun folks aren't jumping to implement this RFE. Yoav Shapira http://www.yoavshapira.com -Original

Embedded Tomcat + JMX

2004-10-22 Thread sven morales
I tried the Embedded class to work with Tomcat5 from the jakarta-tomcat-5.0.28-embed.tar.gz and am not getting very far, ie not able to deploy even the /manager webapp included in the webapps/. I also tried the JMX style using an xml file (not exactly sure why is this better than starting

RE: Embedded Tomcat + JMX

2004-10-22 Thread Shapira, Yoav
Hi, Maybe ask the book's author ;) Yoav Shapira http://www.yoavshapira.com -Original Message- From: sven morales [mailto:[EMAIL PROTECTED] Sent: Friday, October 22, 2004 3:12 PM To: [EMAIL PROTECTED] Subject: Embedded Tomcat + JMX I tried the Embedded class to work with Tomcat5

RE: Servlet caching?

2004-10-22 Thread Carlos Oliva
Thanks for your clarification. At least the bug says Sate In progress ... Let us hope... -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Friday, October 22, 2004 3:01 PM To: Tomcat Users List Subject: RE: Servlet caching? Hi, Note that this is an RFE, not a

RE: Embedded Tomcat + JMX

2004-10-22 Thread sven morales
The attached minmgr.xml clearly shows no other Realm other than MemoryRealm is set. And the web.xml of the stock /manager webapp set the authentication to BASIC. So please if you can check the attached minmgr.xml file and see how it possibly uses JAASRealm? I restarted again and see these

RE: webdav help

2004-10-22 Thread Mark Thomas
From: Darren Grant [mailto:[EMAIL PROTECTED] Sent: Friday, October 22, 2004 6:08 AM To: [EMAIL PROTECTED] Subject: webdav help The example webdav servlet allows you to log into http://localhost:8080/webdav; and gives you access to the /$CATALINA_HOME/webapps/webdav/ folder which

tomcat startup processing

2004-10-22 Thread Didier McGillis
is there away to have a jsp or something run some code on startup or to have it cache some data results so that I dont have to keep on going to the database each time the page is loaded. _ Powerful Parental Controls Let your child

Re: tomcat startup processing

2004-10-22 Thread vivek gupta
Certainly you can do it. As if you are using Struts you can do it with use of plug-ins in struts-config.xml as Plug-ins get invoked when server starts. I wrote a plug-in which goes to database at starup of system and stores state information in application context. Hope it will help. Thanks

  1   2   >