Re: Tomcat 4.0.x memory leak (not javac)

2003-12-02 Thread David Rees
Christopher Schultz wrote: We're having a problem with tomcat 4.0.4. Every time a context is reloaded it leaks memory. It's a known bug, but not fixed in 4.1.x, it still exists there. I am not sure if it still exists in 5.0.x. Can you provide a bug number or a link? I'd like to take a look at

Error -The requested service (Servlet TkTld is currently unavailable) is not currently available.

2003-12-02 Thread Yuval Zantkeren
Hi I'm trying to run a servlet and I get this error in the access log: [02/Dec/2003:12:11:49 +0200] GET /newer/Titled HTTP/1.1 503 788 and in the browser I get: The requested service (Servlet TkTld is currently unavailable) is not currently available. please advise, Regards, Yuval Zantkeren

Re: Tomcat FAQs on Wiki

2003-12-02 Thread Adam Hardy
On 12/02/2003 07:55 AM Nikola Milutinovic wrote: Mark Eggers wrote: I have put some of my documentation on the Tomcat Wiki at: http://nagoya.apache.org/wiki/apachewiki.cgi?TomcatWeb These are sort of bare-bones documents about some ways to connect Tomcat/Apache on Linux, Tomcat/Apache on

Re: Please Help to compile mod_jk2 on AIX

2003-12-02 Thread jose
What is resources dir ? I don't find that directory. - Original Message - From: Ben Souther [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, December 02, 2003 4:33 AM Subject: Re: Please Help to compile mod_jk2 on AIX I just ran into the same problem. I had to

Re: Please Help to compile mod_jk2 on AIX

2003-12-02 Thread jose
Yes object file is created. - Original Message - From: Christopher Schultz [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, December 02, 2003 4:28 AM Subject: Re: Please Help to compile mod_jk2 on AIX Jose, Please, i have tried to compile hundred of times

Re: Tomcat FAQs on Wiki

2003-12-02 Thread Tim Funk
Google for Wiki. Most of the links are great and you'll learn more about Wiki than you wish to know. The best page about Wikis is this one: http://c2.com/cgi/wiki -Tim Adam Hardy wrote: On 12/02/2003 07:55 AM Nikola Milutinovic wrote: Mark Eggers wrote: I have put some of my documentation on

Re: application reloads on web.xml change

2003-12-02 Thread Tim Funk
Please submit a documentation change. Historically, only reloadable was being done. This caused a lot of questions as to why changes in web.xml were not being picked up. As some refactorings came, it became easier to perform a stop, then start on the webapp instead of classloader reload. -Tim

Re: Include tag, dynamic param

2003-12-02 Thread Tim Funk
2 things 1) Are you trying to use el? If so you need a $ in front of {. You also need your web.xml to state that you are using el. 2) For the RT expression - make sure you tag lib declaration allows runtime expressions. For both of the above - there are plenty of net articles on the specifics

Re: Compression and server.xml file 5.0.14??

2003-12-02 Thread Tim Funk
1) If you have compression turned off, then your don't need any of the other attributes. One would say bug, but personally I think its ok. 2) I don't use the admin console. If these values can't be set - then it might be a bug since those attributes can't be set. (But I don't know since I don't

Re: Tomcat FAQs on Wiki

2003-12-02 Thread Nikola Milutinovic
Tim Funk wrote: Google for Wiki. Most of the links are great and you'll learn more about Wiki than you wish to know. The best page about Wikis is this one: http://c2.com/cgi/wiki I still haven't figured out how to publish to Wiki and frankly, I don't have the time. I'm up to my ass in

Re: Tomcat FAQs on Wiki

2003-12-02 Thread Tim Funk
Writing anything like that for the list is a good thing since we can always link to it in the archives ;) Each Wiki has its quirks and can be a PITA. -Tim Nikola Milutinovic wrote: Tim Funk wrote: Google for Wiki. Most of the links are great and you'll learn more about Wiki than you wish to

Re: Error -The requested service (Servlet TkTld is currently unavailable) is not currently available.

2003-12-02 Thread Dhruva B. Reddy
This usually means that for some reason the web application containing this servlet did not load successfully. --- Yuval Zantkeren [EMAIL PROTECTED] wrote: Hi I'm trying to run a servlet and I get this error in the access log: [02/Dec/2003:12:11:49 +0200] GET /newer/Titled HTTP/1.1 503

Context/DefaultContext Question

2003-12-02 Thread Dhruva B. Reddy
Thanks to all who responded to my OutOfMemoryError post. Among other things, it was suggested that I look at the reloadable attribute for the context definition. We define a DefaultContext in server.xml, with the reloadable attribute explicitly set to false. We also have, for each application,

RE: Error -The requested service (Servlet TkTld is currently unavailable) is not currently available.

2003-12-02 Thread Yuval Zantkeren
How do I reload it? Regards, Yuval Zantkeren Domain The Net Technologies Ltd. 81 Sokolov St. Ramat-Hasharon Israel 47238 Tel: 972-3-7600500 Fax: 972-3-7600505 www.DomainTheNet.com This email message and any attachments hereto are intended only for use by the addressee(s) named above, and may

Tomcat 5.x and JBoss

2003-12-02 Thread J.L.
Hi, I want to use JBoss 3.2.2 and Tomcat 5.0.14. The problem is that I have to replace the JBoss embedded Tomcat, by the 5.0.14 version (I need local access between servlets and EJBs). I have heard I can do that by recompiling JBoss with Tomcat 5.0.14, but I have no idea how to do that. If

RE: Error -The requested service (Servlet TkTld is currently unavailable) is not currently available.

2003-12-02 Thread Dhruva B. Reddy
From my experience, this is likely due to some sort of configuration error for that application. You'll have to look in the logs for a clue as to what it could be. --- Yuval Zantkeren [EMAIL PROTECTED] wrote: How do I reload it? Regards, Yuval Zantkeren Domain The Net Technologies

Re: endorsed directory

2003-12-02 Thread Basavaraju P. Banakar [SLK-India]
Thank Jean... Basu. - Original Message - From: Jeanfrancois Arcand [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, December 01, 2003 9:12 PM Subject: Re: endorsed directory See http://java.sun.com/j2se/1.4.1/docs/guide/standards/ -- Jeanfrancois Basavaraju

RE: Compression and server.xml file 5.0.14??

2003-12-02 Thread Shapira, Yoav
Howdy, 1) If you have compression turned off, then your don't need any of the other attributes. One would say bug, but personally I think its ok. Yup, it's definitely not a bug, and definitely intentional. 2) I don't use the admin console. If these values can't be set - then it might be a bug

Re: Please Help to compile mod_jk2 on AIX

2003-12-02 Thread Christopher Schultz
Jose, These all seem to be warnings, not errors. Does the build succed in creating an object file? Yes object file is created. Okay, I think you're safe ignoring those warnings, then. Are you using apxs to create an Apache DSO? If so, the file apache-2.0/mod_jk.la should exist (or

RE: Context/DefaultContext Question

2003-12-02 Thread Shapira, Yoav
Howdy, For JNDI resources, such as your mail session, first bound stays bound. In fact I'm surprised you don't get an error in the logs when you try to define another JNDI resource with the same name. For most other properties, including reloadable, last set stays set. So the context-specific

RE: Error -The requested service (Servlet TkTld is currently unavailable) is not currently available.

2003-12-02 Thread Shapira, Yoav
Howdy, Yup, you logs will have errors, including a line from tomcat saying it's marking the servlet as unavailable and why. Yoav Shapira Millennium ChemInformatics -Original Message- From: Dhruva B. Reddy [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 02, 2003 8:26 AM To: Tomcat

RE: OutOfMemoryError

2003-12-02 Thread Shapira, Yoav
Howdy, Dhruva B. Reddy wrote: We get OutOfMemoryError's on Tomcat 4.1.27, running on RH 7.3, Sun JDK 1.4.1_02 (with 512MB allocated to it) The box has 1GB of RAM, 2GB of swap space, and four Xeon processors. Can you reproduce the errors in a test environment? Are you using the context

Virtual host configuration

2003-12-02 Thread shyamperi
7:21p How is that I can configure my virtual host to be a deployable. In the sense, I would like it to be deployable with out stopping the server Here is my server.xml and made necessary setting in the apache server also. Host name=localhost debug=0 appBase=webapps unpackWARs=true

RE: SessionListener

2003-12-02 Thread Shapira, Yoav
Howdy, Senor Basu, your solution is seriously not thread-safe. But that's for you to worry about it, maybe it's good enough for your needs ;) As for Senor Hart's questions: - HttpSessionListener goes in web.xml, as do all other Servlet Specification listeners. - SessionListener goes in

RE: Shell script to check if Tomcat is running?

2003-12-02 Thread Shapira, Yoav
Howdy, You can also always add -DthisIsMyTomcat=true (or any other distinguishing argument) to the java runtime options, so that you can grep the ps output for this specific parameter if there are multiple java processes. Yoav Shapira Millennium ChemInformatics -Original Message- From:

Re: Tomcat 4.0.x memory leak (not javac)

2003-12-02 Thread Christopher Schultz
All, http://www.apache.org/dist/jakarta/tomcat-4/v4.1.29/RELEASE-NOTES http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20758 Uhhh... this looks like standard operating procedure for Java to me... When you dump a ClassLoader and all of it's object get GC'd, the VM almost never GC's the unused

RE: Argument Type Mismatch

2003-12-02 Thread Hart, Justin
I was reading through the code, the session has a note on it with the password. I actually already wrote a custom realm implementation... I wanted to join the sessions all by using the session ID, which the realm doesn't have, which is why I figured at the creation of the session would be the

upload file

2003-12-02 Thread andrea antibo
Hi, my question is if you know if there are problems on file upload using cos.jar under tomcat 4.1.x, because I have a project that work fine on tomcat 4.0.6 but it goes broke on tomcat 4.1.x or under jboss-tomcat.4.1.x. thx

RE: Tomcat 4.0.x memory leak (not javac)

2003-12-02 Thread Shapira, Yoav
Howdy, Besides what Senor Schultz said (which is 100% true), 1. Where is this mentioned in the release notes, and what would one have to search for? 2. You mentioned in your passage the bug was marked as invalid or wontfix, and the bug you gave below is marked as new. So if anyone actually

RE: SessionListener

2003-12-02 Thread Hart, Justin
Basic authentication. I figured it wouldn't be hard with Form authentication, but I'm using basic in order to match the look and feel of the rest of the site. Yeah, saw the same problem with Basu's implementation, though I did like the idea. Justin -Original Message- From: Shapira,

Re: Tomcat FAQs on Wiki - mod_jk2 howto

2003-12-02 Thread Nikola Milutinovic
Tim Funk wrote: Writing anything like that for the list is a good thing since we can always link to it in the archives ;) Here goes. STEP 1 -- Build mod_jk2.so and jkjni.so - do whatever needs to be done :-) STEP 2 -- Place mod_jk2.so and jkjni.so with other Apache modules. In case of

RE: Tomcat FAQs on Wiki

2003-12-02 Thread Shapira, Yoav
Howdy, Wiki is for the most part trivially easy: - Look for the link at the bottom of the page that says Edit Text or something like that, - Add your text - Click save. That's it. There are a host of other tricks and trips on google. Yoav Shapira Millennium ChemInformatics -Original

R: upload file

2003-12-02 Thread Simone Chiaretta
I was using as you cos.jar and uploadbean from zoom But monving to 4.1 and 5 I decided to pass to commons-upload from jakarta since it's more tested even it has some strange behaveour. Simone - Simone Chiaretta www.piyosailing.com/S Any sufficiently advanced technology

RE: Tomcat FAQs on Wiki

2003-12-02 Thread Derek Mahar
Speaking of Wiki, checkout Janne Jalkannen's JSPWiki at http://www.jspwiki.org. Derek -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: December 2, 2003 6:53 AM To: Tomcat Users List Subject: Re: Tomcat FAQs on Wiki Google for Wiki. Most of the links are great and

RE: SessionListener

2003-12-02 Thread Shapira, Yoav
Howdy, Basic authentication. I figured it wouldn't be hard with Form authentication, but I'm using basic in order to match the look and feel of the rest of the site. OK, so you have basic authentication. Do you have a security-constraint defined in web.xml? A login-config? You can let tomcat

Commons FileUpload

2003-12-02 Thread Luc Foisy
Could someone please describe this to me, it looks interesting, and perhaps useful to me, and the site doesn't have the greatest description of the project. Basically a brief description of how it functions, and what its capabilities are after a file has been uploaded. Thanks

RE: Commons FileUpload

2003-12-02 Thread Shapira, Yoav
Howdy, This is not the list for commons-fileupload discussion, so please mark your subject as [OFF-TOPIC] if you choose to pursue it. The commons-user list is the right place. I find commons-fileupload's site to be complete and informative. What do you think it's missing. Try reading the page

RE: SessionListener

2003-12-02 Thread Hart, Justin
How will the container get my user logged into the database? My plan was to use the username password to authenticate to my database so the user only operates with their perms in the database. My original approach was through realm, but this left the problem of figuring out which user was

RE: SessionListener

2003-12-02 Thread Shapira, Yoav
Howdy, Yes, now you got it ;) It's these simple misunderstandings that often cause a lot of debate. As a bonus, your approach will work very well in any J2EE container. You may not have to do any custom coding, just the JDBC realm. Yoav Shapira Millennium ChemInformatics -Original

RE: SessionListener

2003-12-02 Thread Hart, Justin
Won't quite do it, JDBCRealm looks for users in a database, I want to connect a user TO a database using their credentials, but the code to do this feat will be quite minimal by comparison. Thanks for bouncing ideas off me! It's been most fun :-) -Original Message- From: Shapira, Yoav

RE: Argument Type Mismatch

2003-12-02 Thread Hart, Justin
I figured it out, see the SessionListener thread. Instead of worrying about Session IDs, I'll use the principal to identify the user (hell, that's what the rest of the system does). See, I needed a way to pair a user to the connection, if I use a hash of the principal, I can do so just as

OutOfMemory Exception initializing page context

2003-12-02 Thread Rob Wichterman
Hello, I am having major memory problem that I have been fighting through. Has any body ever seen this one. Here are the errors that always come up in my logs. 1. java.lang.IllegalStateException: getAttribute: Session already invalidated 2. JspFactoryImpl: Exception initializing

RE: OutOfMemory Exception initializing page context

2003-12-02 Thread Shapira, Yoav
Howdy, Once you're out of memory, the system is in a bad state and must be restarted. You will see error messages that are at best meaningless and at worst misleading, because they will make you look in the wrong places. You want to fix the memory issue first, by adding more memory (via the

Re: SessionListener

2003-12-02 Thread Christopher Schultz
Justin, Won't quite do it, JDBCRealm looks for users in a database, I want to connect a user TO a database using their credentials, but the code to do this feat will be quite minimal by comparison. This will make it hard to use a connection pool (which you mentioned that you do/want to do). Is

RE: SessionListener

2003-12-02 Thread Hart, Justin
Unfortunately, the paranoia is founded in this case, though I do agree. Justin -Original Message- From: Christopher Schultz [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 02, 2003 10:23 AM To: Tomcat Users List Subject: Re: SessionListener Justin, Won't quite do it, JDBCRealm

Configure tomcat for LDAP

2003-12-02 Thread Damien Pacaud
Hi, i want to use LDAP to athenticate my users on a JSP application and would like to know how to configure TOMCAT so that i can acces the login of the current user through a jsp ? for now, i have it all set on apache, in the virtual host using ath_ldap . my problem is that the

Re: OutOfMemory Exception initializing page context

2003-12-02 Thread Christopher Schultz
What's with all the OOM questions this week? I've noticed that topics tend to come in waves. I wonder if there are only like 5 people out there that post to the newsgroup, but they have all kinds of alias and alternate personalities so that the average response is what they use to solve their

RE: Configure tomcat for LDAP

2003-12-02 Thread Hart, Justin
JNDIRealm can be used to authenticate users against an LDAP (I'm guessing in this case ActiveDirectory). You will, however, want to use Basic authentication, and prompt the user username for a username and password. Justin -Original Message- From: Damien Pacaud [mailto:[EMAIL

Please Help: Inconsistent Load Balancing info mod_jk2

2003-12-02 Thread Asif Chowdhary
The apache documentation say that higher the number the greater the number of requests which tomcat will receive. The tomcat definitive Guide from orielly says that the lower the number the greater the number of requests a tomcat instance will receive. What is correct? Which instance will get

RE: OutOfMemory Exception initializing page context

2003-12-02 Thread Rob Wichterman
Well I have had my -Xmx set to as high as 1gb and I still receive these errors. The site will stay running for at best 1 day without crashing. I was just hoping one of these could point me in a direction while I work on looking at memory leaks. Thanks, Rob -Original Message- From:

Re: OutOfMemory Exception initializing page context

2003-12-02 Thread Christopher Schultz
Rob, Well I have had my -Xmx set to as high as 1gb and I still receive these errors. The site will stay running for at best 1 day without crashing. I was just hoping one of these could point me in a direction while I work on looking at memory leaks. Sorry for the levity. Try this: Turn on

RE: Tomcat FAQs on Wiki - mod_jk2 howto

2003-12-02 Thread Scott, Sean
In what cases is step 5 required? I am currently running without jk2.properties at all. Can you explain what the purpose of jk2.properties is and when it should be used? What is the handler list used for? Thanks -sean -Original Message- From: Nikola Milutinovic [mailto:[EMAIL

AW: Servlet as Welcome File doesn't work

2003-12-02 Thread SH Solutions
Hi I found an solution to force tomcat 4.1.29 to use servlets as welcome files. My applications web.xml: servlet servlet-nameRoot/servlet-name servlet-classcom.osiris4.servlets.Root/servlet-class /servlet servlet-mapping servlet-nameRoot/servlet-name

load-on-startup and multiple coyotes

2003-12-02 Thread SH Solutions
Hi, once again, after having just solved the welcome-servlet problem (posted separately) I just run into another problem. I have 5 distinct servlets while all inherit from a common base class whose simple purpose is to initialize the applications database pool, read different configuration files

RE: load-on-startup and multiple coyotes

2003-12-02 Thread Shapira, Yoav
Howdy, As soon as I start using 2 coyote connectors together with load-on- startup tomcat initializes the database pools twice. Interestingly it keeps initializing things twice even if I add a third coyote. You have one load-on-startup tag for each servlet element in web.xml, and one servlet

Re: load-on-startup and multiple coyotes

2003-12-02 Thread Christopher Schultz
Steffen, As soon as I start using 2 coyote connectors together with load-on-startup tomcat initializes the database pools twice. Interestingly it keeps initializing things twice even if I add a third coyote. In about two minutes, Yoav Shapira is going to tell you this: Don't use a servlet to

RE: Tag Handler pool eating up Memory (and enablePooling is set to false)

2003-12-02 Thread Neil Aggarwal
Chris: Yeah, it's possible (and probable) that the TagHandlerPool maintains a reference back to the ServletContext in which it lives. That might kew your results. I'm sure that the TagHandlerPool isn't actually taking up that much memory. This is strange. When I created a heap dump

Question using JProfiler with Tomcat

2003-12-02 Thread Laurent Michenaud
Hi, I'm using Jprofiler to monitor my web application running on Tomcat. My Webapp uses XML/XSLTC to generate the html page. Looking at the JVM, I was horrified to see that some pages are using more than 30 Mo of memory. So, I've added another webapp that shows the JVM ( graphic in a applet

Re: Tag Handler pool eating up Memory (and enablePooling is set to false)

2003-12-02 Thread Christopher Schultz
Neil, This is strange. When I created a heap dump from my server just now, it does not have any instances of TagHandlerPool in the heap dump. That is what I expected before, but I still had them in my last dump. That is weird. However, you still have a bunch of tag handler instances, I see...

RE: Question using JProfiler with Tomcat

2003-12-02 Thread Hart, Justin
You saw the 30 MB in JProfiler? I haven't used it myself, but I would imagine that JProfiler tares its own consumption off of the scores. Justin -Original Message- From: Laurent Michenaud [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 02, 2003 12:32 PM To: [EMAIL PROTECTED] Subject:

Setting Display Name

2003-12-02 Thread Rhino
Can anyone tell me where/how to set the Display Name for a given servlet or point me to the relevant documentation? This is the valuethat comes up in the Manager application when it lists your servlets. Rhino---rhino1 AT sympatico DOT ca"If you want the best seat in the house, you'll have

RE: Question using JProfiler with Tomcat

2003-12-02 Thread Shapira, Yoav
Howdy, Never use a profiler for absolute values such as how much memory an object takes or how much time it takes to do a certain operation. The time and memory are severely (often orders of magnitude) skewed by the profiler. Instead, use relative values as appropriate (e.g. 30% of the time is

Can Tomcat really run cgi scripts?

2003-12-02 Thread Januski, Ken
I've been trying for last day to get Tomcat 4.1.12 to run a perl cgi script. I've done most of it based on this article: http://www.fawcette.com/javapro/2003_03/online/perl_teden_03_18_03/default_p f.aspx. But now I'm stuck with this error: java.io.IOException: CreateProcess: perl

RE: OutOfMemory Exception initializing page context

2003-12-02 Thread Rob Wichterman
I consulted with the developers and they said we don't use or do anything that you suggested except we do use tomcat's connection pooling for oracle. We are running Sun j2sdk1.4.2_02 with the Concurrent Mark Sweep GC with -Xmx512m. I currently use the verbose logging for GC times. The odd thing

Re: OutOfMemory Exception initializing page context

2003-12-02 Thread David Rees
Christopher Schultz wrote: What's with all the OOM questions this week? I've noticed that topics tend to come in waves. I wonder if there are only like 5 people out there that post to the newsgroup, but they have all kinds of alias and alternate personalities so that the average response is

RE: Setting Display Name

2003-12-02 Thread Shapira, Yoav
Howdy, Simply add display-nameBlahBlah/display-name to the servlet element. The doc for this and all other deployment descriptor questions of this kind is the Servlet Specification itself, SRV 13. Yoav Shapira Millennium ChemInformatics -Original Message- From: Rhino [mailto:[EMAIL

RE: OutOfMemory Exception initializing page context

2003-12-02 Thread Shapira, Yoav
Howdy, How was 512MB determined to be the correct heap size for the application? Could it be that 512MB is too little for your application when faced with a high load? Yoav Shapira Millennium ChemInformatics -Original Message- From: Rob Wichterman [mailto:[EMAIL PROTECTED] Sent:

Re: Can Tomcat really run cgi scripts?

2003-12-02 Thread Christopher Schultz
Ken, But now I'm stuck with this error: java.io.IOException: CreateProcess: perl C:\Tomcat4112\webapps\examples\WEB-INF\cgi\exp.cgi This is likely to be due to the lack of PATH information available to the script itself. Try using #!/usr/bin/perl in your script instead of #!perl I've heard

Re: Please Help: Inconsistent Load Balancing info mod_jk2

2003-12-02 Thread David O'Brien
Higher the number ... More Hits I have one worker at lb_factor=4 and one at lb_factor=8 and the distribution if I have 150 sessions active the server with lb_factor=4 has 49 and the server with lb_factor=8 has 101 This can be seen at @ http://www.nacrraware.net/cluster/ -Dave At 10:32 AM

Re: OutOfMemory Exception initializing page context

2003-12-02 Thread Christopher Schultz
Rob, I consulted with the developers and they said we don't use or do anything that you suggested except we do use tomcat's connection pooling for oracle. Okay, that's good. Sometimes, people don't use connection pooling or do it improperly, and leave Connection objects lying around. SQL

RE: Please Help: Inconsistent Load Balancing info mod_jk2

2003-12-02 Thread Asif Chowdhary
Thank you -Original Message- From: David O'Brien [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 02, 2003 12:48 PM To: Tomcat Users List Cc: [EMAIL PROTECTED] Subject: Re: Please Help: Inconsistent Load Balancing info mod_jk2 Higher the number ... More Hits I have one worker at

RE: Can Tomcat really run cgi scripts?

2003-12-02 Thread Januski, Ken
Thanks Chris, I've tried !#c:\perl\bin\perl.exe, #!c:\perl\bin, #!perl, and #!/usr/bin/perl and get same error on each. I've also added perl to the path environmental PATH variable. I do think that you're right about missing PATH information so I'll keep experimenting. I just can't figure out

Re: Tomcat 4.0.x memory leak (not javac)

2003-12-02 Thread David Rees
Shapira, Yoav wrote: Besides what Senor Schultz said (which is 100% true), 1. Where is this mentioned in the release notes, and what would one have to search for? Under KNOWN ISSUES IN THIS RELEASE it does mention issues during web application reloading where shared libraries keep references to

RE: Tomcat 4.0.x memory leak (not javac)

2003-12-02 Thread Shapira, Yoav
Howdy, Under KNOWN ISSUES IN THIS RELEASE it does mention issues during web application reloading where shared libraries keep references to objects instantiated by the web application. That says memory leak to me although it doesn't specifically say that. I see what you mean. I was searching

Re: Tomcat 4.0.x memory leak (not javac)

2003-12-02 Thread David Rees
Shapira, Yoav wrote: inherent to the design of Tomcat 4 (which was overhauled in Tomcat 5), but I'm sure that they are willing to accept patches if anyone can fix it. ;-) It's a tough one because of the plethora of 3rd party libraries that use such static variables or threads, leaving tomcat

RE: OutOfMemoryError

2003-12-02 Thread Trenton D. Adams
-Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: December 2, 2003 6:55 AM To: Tomcat Users List Subject: RE: OutOfMemoryError Howdy, Dhruva B. Reddy wrote: We get OutOfMemoryError's on Tomcat 4.1.27, running on RH 7.3, Sun JDK 1.4.1_02 (with 512MB

RE: Tomcat 4.0.x memory leak (not javac)

2003-12-02 Thread Trenton D. Adams
-Original Message- From: David Rees [mailto:[EMAIL PROTECTED] Sent: December 2, 2003 11:01 AM To: Tomcat Users List Subject: Re: Tomcat 4.0.x memory leak (not javac) Shapira, Yoav wrote: Besides what Senor Schultz said (which is 100% true), 1. Where is this mentioned in the

RE: Tomcat 4.0.x memory leak (not javac)

2003-12-02 Thread Shapira, Yoav
Howdy, Since you can reproduce your error easily, can you narrow down which 3rd party library is keeping the references that cause the memory leak? Yoav Shapira Millennium ChemInformatics -Original Message- From: Trenton D. Adams [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 02,

Re: Severe notification ...

2003-12-02 Thread Travis Reeder
This is in regards to this error message which kills tomcat: SEVERE: All threads are busy, waiting. Please increase maxThreads or check the servlet status75 75 Erik: How do you know this is fixed in 4.1.29? Also, would increasing maxProcesses help in the connector? Travis On Tuesday,

RE: OutOfMemory Exception initializing page context

2003-12-02 Thread Rob Wichterman
We have tried setting the heap as high as 1024 with the same results. It actually seemed to make the tomcat die sooner with the higher setting. We currently have an average of 250 logins a day. Thanks, Rob Wichterman Systems Analyst Nuventive 3996 Mount Royal

RE: Tomcat 4.0.x memory leak (not javac)

2003-12-02 Thread Trenton D. Adams
Ouch, LOL. I don't really know a whole lot about the tomcat under the hood! :) I can try though. Do you have a procedure that I should take to find this? Is there a debugging option that I can turn on for tomcat? -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED]

Re: Tomcat 4.0.x memory leak (not javac)

2003-12-02 Thread Filip Hanik
download a trial of JProbe :) Filip - Original Message - From: Trenton D. Adams [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Tuesday, December 02, 2003 11:08 AM Subject: RE: Tomcat 4.0.x memory leak (not javac) Ouch, LOL. I don't really know a whole lot about the

deployment quirk in Tomcat5. Bug?

2003-12-02 Thread Jacob Kjome
When deploying war files in Tomcat-5.0.16, I noticed something a little odd. After using the ant manager deploy task and then doing an undeploy, manually dropping the war file into CATALINA_HOME/webapps trigger auto-deployment. For example, say I have myapp.war. I just drop this into

deploy unpack/context.xml

2003-12-02 Thread Frank Calfo
Does this combination of deployment options work ? Copy a war file for Tomcat to unpack to the webapps dir that also contains an xml config file ? If I leave out the xml config file, Tomcat will unpack the war file as I want it to but when I add the xml config file, Tomcat complains that the

RE: Tomcat 4.0.x memory leak (not javac)

2003-12-02 Thread Shapira, Yoav
Howdy, You don't have to know much about the tomcat under the hood to diagnose this. It's not a problem with the tomcat classes. What you need to know is: - What 3rd party libraries does your application use - What classes stay in memory after a reload and have a 2nd instance of them created.

Re: deployment quirk in Tomcat5. Bug?

2003-12-02 Thread Jacob Kjome
Whoops... manually dropping the war file into CATALINA_HOME/webapps trigger auto- deployment. Should say... manually dropping the war file into CATALINA_HOME/webapps *won't* trigger auto-deployment. I believe it *should* continue to trigger auto-deployment where it doesn't currently.

Catalina.out is empty after JDK upgrade!!!

2003-12-02 Thread Nadia Kunkov
Hi, I have upgraded my Linux box to j2sdk1.4.1_04 from jdk1.3.1_04. I have fixed the Java_Home variable in /tomcat4/conf/tomcat4.conf file to use the new one. Now, when I run my java applications usually catalina.out gets populated with errors and messages. My catalina.out is completely

Re: Setting Display Name

2003-12-02 Thread Peter Choe
of the web.xml file in your servlet context. Shapira, Yoav wrote: Howdy, Simply add display-nameBlahBlah/display-name to the servlet element. The doc for this and all other deployment descriptor questions of this kind is the Servlet Specification itself, SRV 13. Yoav Shapira Millennium

Re: Tomcat FAQs on Wiki

2003-12-02 Thread Cliff Willsher
Mark, Thank you for this. With a just a little jiggery-pokery I was able to get Tomcat5 and IIS5 working together in minutes after many frustrating hours. Thanks again. Cliff At 13:37 01/12/2003 -0800, you wrote: Folks, I have put some of my documentation on the Tomcat Wiki at:

Re: Setting Display Name

2003-12-02 Thread Rhino
Hi, Are we talking about the same thing? I mean the Display Names on the http://localhost:8080/manager/html/list page, specifically the Display Name column in the Applications table on that page. All I was asking what how to set the display name for a given path in that table. Is setting a value

RE: Can Tomcat really run cgi scripts?

2003-12-02 Thread Januski, Ken
Beat my head against wall for another couple hours and still end up with this error. Anyone have any other ideas? java.io.IOException: CreateProcess: perl C:\Tomcat4112\webapps\examples\WEB-INF\cgi\exp.pl lname=januski fname=ken error=2 at java.lang.Win32Process.create(Native Method)

Re: Setting Display Name

2003-12-02 Thread Ben Souther
The display name is for the servlet contex, not for individual servlets. You can download the Servlet Specs as a PDF here: http://jcp.org/aboutJava/communityprocess/final/jsr154/index.html On Tuesday 02 December 2003 03:16 pm, Rhino wrote: Hi, Are we talking about the same thing? I mean

RE: Tomcat 4.0.x memory leak (not javac)

2003-12-02 Thread Trenton D. Adams
Ok, thanks guys. I'll see what I can do. EXTREMELY busy right now, but I might be able to try it over christmas holidays. :) MAYBE! -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: December 2, 2003 12:08 PM To: Tomcat Users List Subject: RE: Tomcat 4.0.x

Re: OutOfMemoryError

2003-12-02 Thread Christopher Schultz
Trenton, Are you using the context reloading feature? reloadable=true or using the tomcat manager app will cause this to happen eventually. Really? Prove that please... Actually, I can't prove it in his instance, but I have proved it time and time again on ours. I'm using 4.0.4 right now

RE: Windows Serive Permissions?

2003-12-02 Thread Karl Coleman
It seems the problem with this lies with JRE1.4. When we loaded 1.3 and ran it, it worked. Anyone know of a workaround for the exec method hanging when using JRE 1.4 (besides using 1.3). Karl -Original Message- From: Karl Coleman Sent: Monday, December 01, 2003 11:02 AM To: [EMAIL

4.1.29 tar file Cannot find message resources under key org.apache.struts.action.MESSAGE

2003-12-02 Thread tommy
I am getting this error returned to my browser when accessing http://10.1.1.1:8080/admin org.apache.jasper.JasperException: Cannot find message resources under key org.apache.struts.action.MESSAGE at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:254)

EL and XML escaping

2003-12-02 Thread Dave Ford
Is there way to specify if EL expression in the body of a jsp page should be escaped? Consider the following: % request.setAttribute(message,It is a igreat/i day); request.setAttribute(equation,10 4); % ${message} !-- xml escaping should be off -- br/ ${equation} !-- xml escaping should be on

[OT] Role-based security, how to switch active role

2003-12-02 Thread Richard Mixon (qwest)
We are considering assigning multiple roles to some users/principals in our Struts 1.1 application. The alternative is to have to give some users multiple login ids, which does not seem attractive. J2EE, Struts and Tomcat all seem to support multiple roles. BACKGROUND: I took a look at

Re: Application-specific Manager access?

2003-12-02 Thread Leonard Sitongia
On Monday 10 November 2003 6:26 pm, Tim Funk wrote: Few options ... 1) Place each group in its own virtual host. Then register a manager app per virtual host. Hi, I'm looking at this again. The manager is a servlet container application (as I gather it's called) and is in

Re: deployment quirk in Tomcat5. Bug?

2003-12-02 Thread Remy Maucherat
Jacob Kjome wrote: When deploying war files in Tomcat-5.0.16, I noticed something a little odd. After using the ant manager deploy task and then doing an undeploy, manually dropping the war file into CATALINA_HOME/webapps trigger auto-deployment. For example, say I have myapp.war. I just drop

  1   2   >