Re: Problem with maximum threads

2009-04-21 Thread connossieur
Christopher, This is my Server.xml Do you think this has a pr

Re: Problem with maximum threads

2009-04-21 Thread connossieur
Christopher, This is my Server.xml Do you think this has a pr

Re: Problem with maximum threads

2009-04-21 Thread connossieur
Christopher, This is my Server.xml Do you think this has a pr

RE: Deploying to Tomcat Server

2009-04-21 Thread Richard Coutinho
Folks: Thanks so much for your help, guidance and support. By fixing the JAVA_HOME environment variable to point to the SDK I was able to successfully start the Tomcat 4.1 server. Now I will proceed with the next challenges ahead. Thanks again Richard Signing off from list -Original Messag

RE: Re: windows 2k3 / Tomcat 6 / IIS configuration - randomlylosing sessions

2009-04-21 Thread Caldarale, Charles R
> From: Menachem Husarsky [mailto:husar...@hotmail.com] > Subject: Re: Re: windows 2k3 / Tomcat 6 / IIS configuration - > randomlylosing sessions > > Do you have any suggestions for me for how to debug this in a finer > more controlled fashion? Have you implemented an HttpSessionListener to track

Re: Re: windows 2k3 / Tomcat 6 / IIS configuration - randomly losing sessions

2009-04-21 Thread Menachem Husarsky
Chris, Firstly, thanks for helping out. Here are my responses to your questions. >Are all your customers using Cookies? Yes. However, URL rewriting is disabled. When I turn off cookies in any of my browsers, our website's cart functionality will not work, so if customers are complain

RE: Headstart on "Resolving OOM-PermGen errors on webapp reload"

2009-04-21 Thread Mark_Despain
Ok, so my wife actually wrote a couple of month ago in Japanese about using strategy for leveraging the Insane library and a continuous integration server in order to prevent webapp classloader leakage issues from creeping in. If you can read Japanese, check out http://pdxwhitebox.blog118.fc2

RE: Access Deny of Tomcat

2009-04-21 Thread Caldarale, Charles R
> From: FreddieWeng [mailto:freddiew...@gmail.com] > Subject: Access Deny of Tomcat > > I'm a new comer to Tomcat and your help is very appreciated~~ What version of Tomcat are you a newcomer to? (That's the first piece of information that should appear whenever you start a new discussion threa

Access Deny of Tomcat

2009-04-21 Thread FreddieWeng
Hi all, I'm a new comer to Tomcat and your help is very appreciated~~ After installing and running the Tomcat, I tried to connect to directories in Tomcat server from some client. But it failed and showed "Access denied". Do you have any idea of how to fix this problem? thanks in advance, Freddi

Re: Cookies and values with ':' in them

2009-04-21 Thread Andre-John Mas
On 21-Apr-2009, at 10:15, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andre-John, On 4/16/2009 5:48 PM, Andre-John Mas wrote: Will this only be for writing? I depend a cookie set by a third-party web application in the same domain, which sends me the cookies this

RE: Headstart on "Resolving OOM-PermGen errors on webapp reload"

2009-04-21 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Subject: Re: Headstart on "Resolving OOM-PermGen errors on webapp > reload" > > the "configuration" seems to indicate that I've > got an 8MB PermGen space, but then the Permanent > Generation says it's 32.5MB. It's really 64 MB,

Re: STOout file output

2009-04-21 Thread Steve Yates
gaganjoshi007 wrote: > Hi, > I like to have different stdout files for different project on my server > log. > is it possible to have different files for different project. > eg: if I have 3 project(A,B,C) on server than I should have tomcat logs > files like > stdout_20090409_A.log > stdout_200904

Re: GlobalNamingResources outside of server.xml

2009-04-21 Thread Robert Koberg
On Apr 21, 2009, at 7:02 PM, André Warnier wrote: André Warnier wrote: Mark Thomas wrote: André Warnier wrote: Mark Thomas wrote: Anthony J. Biacco wrote: I did end up trying it and it did work, I just didn't know if it was something that's frowned upon, or would for whatever reason was

RE: Headstart on "Resolving OOM-PermGen errors on webapp reload"

2009-04-21 Thread Mark_Despain
Hi Chris, I'll follow up later tonight. Hopefully I'll have less typos then, but don't be surprised if I just go triple-negative instead :) ~Mark -Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Tuesday, April 21, 2009 3:47 PM To: Tomcat Users

Re: GlobalNamingResources outside of server.xml

2009-04-21 Thread André Warnier
André Warnier wrote: Mark Thomas wrote: André Warnier wrote: Mark Thomas wrote: Anthony J. Biacco wrote: I did end up trying it and it did work, I just didn't know if it was something that's frowned upon, or would for whatever reason was planned to be phased out/deprecated. Nope. That is abs

Re: GlobalNamingResources outside of server.xml

2009-04-21 Thread André Warnier
Mark Thomas wrote: André Warnier wrote: Mark Thomas wrote: Anthony J. Biacco wrote: I did end up trying it and it did work, I just didn't know if it was something that's frowned upon, or would for whatever reason was planned to be phased out/deprecated. Nope. That is absolutely fine. I know o

Re: Apache Tomcat 503 errors

2009-04-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Daryl, On 4/21/2009 3:00 PM, Daryl Stultz wrote: > I'm running Fedora Core 5, httpd-2.2.2-1.2 (worker MPM), Tomcat 5.5.17, Java > jdk1.5.0_07. I have about 40 connections/apps from Apache to Tomcat like so: > > ProxyPass /foo ajp://localhost:8009/foo

Re: GlobalNamingResources outside of server.xml

2009-04-21 Thread Mark Thomas
André Warnier wrote: > Mark Thomas wrote: >> Anthony J. Biacco wrote: >>> I did end up trying it and it did work, I just didn't know if it was >>> something that's frowned upon, or would for whatever reason was >>> planned to be phased out/deprecated. >> >> Nope. That is absolutely fine. I know of

Re: Headstart on "Resolving OOM-PermGen errors on webapp reload"

2009-04-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 4/21/2009 6:17 PM, mark_desp...@mcafee.com wrote: > None of the issues I've looked into have never been attributed to > Tomcat. You mean "ever" attributed to Tomcat, right? Good. ;) > * A webapp registering an object with another object tha

Re: Deploying to Tomcat Server

2009-04-21 Thread Richard Coutinho
Andre thanks. I think the problem maybe with the JAVA_HOME env var that I need to define. I will try this out and let you know if it fixes the problem. Yes, I do volunteer in addition to being very busy with my career as an IT architect. I miss the good old coding days but its fun to work in th

Re: GlobalNamingResources outside of server.xml

2009-04-21 Thread André Warnier
Mark Thomas wrote: Anthony J. Biacco wrote: I did end up trying it and it did work, I just didn't know if it was something that's frowned upon, or would for whatever reason was planned to be phased out/deprecated. Nope. That is absolutely fine. I know of a number of large corporations that u

Re: Headstart on "Resolving OOM-PermGen errors on webapp reload"

2009-04-21 Thread Ken Bowen
Thanks Chris, As in my previous thanks to Mark, I'll be slowly mastering how to get into this. Cheers, Ken On Apr 21, 2009, at 5:44 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ken, On 4/21/2009 4:32 PM, Ken Bowen wrote: I develop locally on a Mac OS/X 10.5

Re: Deploying to Tomcat Server

2009-04-21 Thread André Warnier
Richard, Considering your later comment about you doing this for free, I apologise for my earlier jibe. My guess : you simply have a "CR" or a quote misplaced in your startup.bat file. This can be the result of a variable value being inserted, maybe by another script which calls startup.bat.

Re: Headstart on "Resolving OOM-PermGen errors on webapp reload"

2009-04-21 Thread Mark Thomas
Ken Bowen wrote: > Hey Mark, > > This is really good. > Presumably this is an outline for success It has a 100% success rate so far on a admittedly small sample size of around 5 (I can't remember the exact number). Mark >-- and it is definitely an > outline for improvement of my rather improvis

Re: Headstart on "Resolving OOM-PermGen errors on webapp reload"

2009-04-21 Thread Ken Bowen
Hey Mark, This is really good. Presumably this is an outline for success -- and it is definitely an outline for improvement of my rather improvished skills in this area. Many thanks! Ken On Apr 21, 2009, at 5:54 PM, Mark Thomas wrote: Ken Bowen wrote: Mark, Any chance we could make a hea

Re: Headstart on "Resolving OOM-PermGen errors on webapp reload"

2009-04-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 4/21/2009 5:50 PM, Caldarale, Charles R wrote: >> From: Christopher Schultz [mailto:ch...@christopherschultz.net] >> Subject: Re: Headstart on "Resolving OOM-PermGen errors on webapp >> reload" >> >> Can you observe your heap and which Class

RE: Headstart on "Resolving OOM-PermGen errors on webapp reload"

2009-04-21 Thread Mark_Despain
Hi Ken (and Mark), Different "Mark" here... I'm new to this mailing list and am not a Tomcat developer. Forgive me if I'm interrupting your thread, but I am very interested in this topic, since I've spent a fair amount of time debugging OOM-PermGen errors within Tomcat (5.5.x). I would be int

Re: Problem with maximum threads

2009-04-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Stephen, On 4/21/2009 5:35 PM, Stephen Caine wrote: > This is the number of threads Tomcat will handle before it errors with > 'max threads reached. This is on OS X, 64 bit memory. The heap size is > 2 gigs. > > If you know how to increase this num

RE: Deploying to Tomcat Server

2009-04-21 Thread Caldarale, Charles R
> From: Richard Coutinho [mailto:richardcouti...@shaw.ca] > Subject: Re: Deploying to Tomcat Server > > It looks like the JAVA_HOME environment is not defined. This must be in > reference to the Java SDK location. That you will need to set. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL

Re: Deploying to Tomcat Server

2009-04-21 Thread Richard Coutinho
It looks like the JAVA_HOME environment is not defined. This must be in reference to the Java SDK location. Sent from my BlackBerry device on the Rogers Wireless Network -Original Message- From: "Caldarale, Charles R" Date: Tue, 21 Apr 2009 16:34:08 To: Tomcat Users List; richardcout

Re: Headstart on "Resolving OOM-PermGen errors on webapp reload"

2009-04-21 Thread Mark Thomas
Caldarale, Charles R wrote: >> From: Christopher Schultz [mailto:ch...@christopherschultz.net] >> Subject: Re: Headstart on "Resolving OOM-PermGen errors on webapp >> reload" >> >> Can you observe your heap and which ClassLoaders are still hanging >> around? You might want to check to see how many

Re: Headstart on "Resolving OOM-PermGen errors on webapp reload"

2009-04-21 Thread Mark Thomas
Ken Bowen wrote: > Mark, > > Any chance we could make a headstart on "Resolving OOM-PermGen errors on > webapp reload" ?? > Perhaps some general pointers, guidance etc. [to help you refine the > talk in advance :-) ] The very short version. 1. Find an app that you can't reload without OOME 2. Ge

RE: Headstart on "Resolving OOM-PermGen errors on webapp reload"

2009-04-21 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Subject: Re: Headstart on "Resolving OOM-PermGen errors on webapp > reload" > > Can you observe your heap and which ClassLoaders are still hanging > around? You might want to check to see how many > org/apache/catalina/loader/Weba

RE: Problem with maximum threads

2009-04-21 Thread Caldarale, Charles R
> From: Stephen Caine [mailto:step...@commongrnd.com] > Subject: Re: Problem with maximum threads > > This is the number of threads Tomcat will handle before > it errors with 'max threads reached. This is on OS X, 64 > bit memory. The heap size is 2 gigs. Looks like the 2400 has nothing to do

RE: GlobalNamingResources outside of server.xml

2009-04-21 Thread Anthony J. Biacco
Thanx very much -Tony --- Manager, IT Operations Format Dynamics, Inc. 303-573-1800x27 abia...@formatdynamics.com http://www.formatdynamics.com > -Original Message- > From: Mark Thomas [mailto:ma...@apache.org] > Sent: Tuesday, April 21, 2009 3:48 PM > To: Tomcat

Re: GlobalNamingResources outside of server.xml

2009-04-21 Thread Mark Thomas
Anthony J. Biacco wrote: > I did end up trying it and it did work, I just didn't know if it was > something that's frowned upon, or would for whatever reason was planned to be > phased out/deprecated. Nope. That is absolutely fine. I know of a number of large corporations that use that feature e

Re: Headstart on "Resolving OOM-PermGen errors on webapp reload"

2009-04-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ken, On 4/21/2009 4:32 PM, Ken Bowen wrote: > I develop locally on a Mac OS/X 10.5.6 box with 4GBmem using (My)Eclipse > and Tomcat 6.0.18 directly. With lots & lots of reloads, I'm not > surprised that I eventually hit OOM PermGen space in this sett

RE: Deploying to Tomcat Server

2009-04-21 Thread Caldarale, Charles R
> From: Richard Coutinho [mailto:richardcouti...@shaw.ca] > Subject: Re: Deploying to Tomcat Server > > I looked at the bat file and I think I need to define an environment > variable called $CATALINA_HOME pointing to the local Tomcat directory You shouldn't have to do that. The startup.bat scri

Re: Problem with maximum threads

2009-04-21 Thread Stephen Caine
Chuck, This is the number of threads Tomcat will handle before it errors with 'max threads reached. This is on OS X, 64 bit memory. The heap size is 2 gigs. If you know how to increase this number, then please provide the information. Others have also noted this limit on OS X in previo

Re: Undeploy does not delete all .jar files

2009-04-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 JT, On 4/21/2009 4:35 PM, JT wrote: > That didn't work either. This is what I did. > > I put back what I had in the conf/context.xml file. I still had the path > and docBase Yeah, that's still a problem. Here's what your conf/context.xml should lo

Re: [OT] Log messages appearing twice

2009-04-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 SM, Marking as OT because this is not Tomcat-related. On 4/21/2009 12:15 PM, Security Management wrote: > In the application log, separate file (the test.log). I only have 1 > copy of log4j.jar in the apache directory, too (my webapps copy). > > Her

Re: Deploying to Tomcat Server

2009-04-21 Thread Richard Coutinho
Looks like the -Dsun message is coming from the catalina.bat file I will look more closely at this file. I will let you know how this gets resolved. Thanks again Go Canucks Go! Sent from my BlackBerry device on the Rogers Wireless Network -Original Message- From: "Richard Coutinho"

RE: GlobalNamingResources outside of server.xml

2009-04-21 Thread Anthony J. Biacco
I did end up trying it and it did work, I just didn't know if it was something that's frowned upon, or would for whatever reason was planned to be phased out/deprecated. The resources are JDBC definitions. -Tony --- Manager, IT Operations Format Dynamics, Inc. 303-573-180

Re: Deploying to Tomcat Server

2009-04-21 Thread Richard Coutinho
I will confirm later tonight. I looked at the bat file and I think I need to define an environment variable called $CATALINA_HOME pointing to the local Tomcat directory I am developing this website for a non-profit group to which I belong on my own time for free. This is my way of giving back

RE: Deploying to Tomcat Server

2009-04-21 Thread Shaun Farrugia
Did this work for you? -Original Message- From: Richard Coutinho [mailto:richardcouti...@shaw.ca] Sent: Tuesday, April 21, 2009 3:32 PM To: Tomcat Users List Subject: Re: Deploying to Tomcat Server Thanks again. Sent from my BlackBerry device on the Rogers Wireless Network -Origin

Re: Undeploy does not delete all .jar files

2009-04-21 Thread JT
That didn't work either. This is what I did. I put back what I had in the conf/context.xml file. I still had the path and docBase so all I took out was the antiJARLocking="true" antiResourceLocking="true. Then I created a context.xml in my application's META-INF that looks like this... That's

Headstart on "Resolving OOM-PermGen errors on webapp reload"

2009-04-21 Thread Ken Bowen
Mark, Any chance we could make a headstart on "Resolving OOM-PermGen errors on webapp reload" ?? Perhaps some general pointers, guidance etc. [to help you refine the talk in advance :-) ] The manager app is giving me more & more of: FAIL - Application at context path /ctx could not be starte

Re: Installing mod_jk 1.2.27 on NetWare 6.5 SP8

2009-04-21 Thread Vladimir Mikhelson
Christopher, I have received an off-line reply from Rainer Jung who suggested to discuss the issue with Gunter Knauf, the person responsible for NetWare binaries compilation. According to Rainer, "The check for multiple JkWorkersFile directives in the config has been added in revision 580793, so

Re: windows 2k3 / Tomcat 6 / IIS configuration - randomly losing sessions

2009-04-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michael, On 4/19/2009 3:09 PM, Menachem Husarsky wrote: > We have multiple sites on our old host that ran under IIS and Resin > fine for years, we recently switched to a dedicated server using > windows 2k3 [still using IIS with Tomcat 6.0.x connect

Re: GlobalNamingResources outside of server.xml

2009-04-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tony, On 4/17/2009 1:01 PM, Anthony J. Biacco wrote: > I'd like to know if it's possible to now put the directives > in a file separate from server.xml and still keep them global? I don't believe Tomcat itself has any support for this type of thing.

Re: Installing mod_jk 1.2.27 on NetWare 6.5 SP8

2009-04-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Vladimir, On 4/17/2009 1:07 PM, Vladimir Mikhelson wrote: > I downloaded the binary mod_jk-1.2.27-httpd-2.0.63-nw.zip > > Unfortunately I was getting the following in the httpd message screen: > > Syntax error on line 638 of SYS:/apache2/conf/httpd.c

RE: Undeploy does not delete all .jar files

2009-04-21 Thread Caldarale, Charles R
> From: JT [mailto:jltoo...@gmail.com] > Subject: Re: Undeploy does not delete all .jar files > > I added this inside of my conf/context.xml file. That was pointless - that pretty much corrupts everything. The conf/context.xml file is used *only* for specifying attributes that you want common

Re: Deploying to Tomcat Server

2009-04-21 Thread Richard Coutinho
Thanks again. Sent from my BlackBerry device on the Rogers Wireless Network -Original Message- From: "Caldarale, Charles R" Date: Tue, 21 Apr 2009 14:22:34 To: Tomcat Users List Subject: RE: Deploying to Tomcat Server > From: Richard Coutinho [mailto:richardcouti...@shaw.ca] > Subjec

Re: Deploying to Tomcat Server

2009-04-21 Thread Richard Coutinho
Thanks I will try downloading again Sent from my BlackBerry device on the Rogers Wireless Network -Original Message- From: André Warnier Date: Tue, 21 Apr 2009 21:17:18 To: Tomcat Users List Subject: Re: Deploying to Tomcat Server Richard Coutinho wrote: > Shaun > > Who would I con

RE: Deploying to Tomcat Server

2009-04-21 Thread Caldarale, Charles R
> From: Richard Coutinho [mailto:richardcouti...@shaw.ca] > Subject: Re: Deploying to Tomcat Server > Who would I contact to verify the startup.bat file? Yourself? You might try downloading a vanilla copy of Tomcat 4.1 from the tomcat.apache.org web site and look for differences. Also note tha

Re: Deploying to Tomcat Server

2009-04-21 Thread André Warnier
Richard Coutinho wrote: Shaun Who would I contact to verify the startup.bat file? Richard, following your desperate call, we had a meeting here at work with all our Tomcat and Java experts to study the problem. After two hours we were not really making any headway, but the blonde cleaning la

RE: Deploying to Tomcat Server

2009-04-21 Thread Martin Gainty
bat(ch) files are run thru a command processor such as bash or cmd.exe /C as in example http://ant.apache.org/manual/CoreTasks/exec.html Martin Gainty __ Disclaimer and Confidentia

Re: What Tomcat presentations / demos / discussions do you want to see at ApacheCon US 2009?

2009-04-21 Thread Mark Thomas
Shaun Farrugia wrote: > Will these talks be archived for future reference for those of us who can't > make it :) :) Yes. Mark - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users

Re: Deploying to Tomcat Server

2009-04-21 Thread Richard Coutinho
Shaun Who would I contact to verify the startup.bat file? Sent from my BlackBerry device on the Rogers Wireless Network -Original Message- From: "Richard Coutinho" Date: Tue, 21 Apr 2009 18:54:10 To: Tomcat Users List Subject: Re: Deploying to Tomcat Server Thanks Shaun Sent from m

Apache Tomcat 503 errors

2009-04-21 Thread Daryl Stultz
Hello, I posted this on the Apache list a while back and didn't get any response. I'm running Fedora Core 5, httpd-2.2.2-1.2 (worker MPM), Tomcat 5.5.17, Java jdk1.5.0_07. I have about 40 connections/apps from Apache to Tomcat like so: ProxyPass /foo ajp://localhost:8009/foo/ I am getting a fai

Re: Deploying to Tomcat Server

2009-04-21 Thread Richard Coutinho
Thanks Shaun Sent from my BlackBerry device on the Rogers Wireless Network -Original Message- From: Shaun Farrugia Date: Tue, 21 Apr 2009 14:44:43 To: Tomcat Users List; p...@pidster.com Subject: RE: Deploying to Tomcat Server Yes this is most certainly a tomcat/ant issue - probably

RE: Deploying to Tomcat Server

2009-04-21 Thread Shaun Farrugia
Yes this is most certainly a tomcat/ant issue - probably a tomcat issue - something in startup.bat since you say that you cannot even run the ide using startup.bat Looks like a misplaced quote someplace in the bat file. Good luck, Shaun -Original Message- From: Pid [mailto:p...@pidst

Re: Deploying to Tomcat Server

2009-04-21 Thread David Smith
Since you put it that way, how much you payin'? Besides, "-Dsun.io." is not an error. It's at best a command line option to the JVM. --David Richard Coutinho wrote: > Is anyone going to respond to my question? > > Sent from my BlackBerry device on the Rogers Wireless Network > > -Origin

Re: Deploying to Tomcat Server

2009-04-21 Thread Pid
Sounds like a netbeans / ant problem. Rather than Tomcat, sorry. p Richard Coutinho wrote: > Is anyone going to respond to my question? > > Sent from my BlackBerry device on the Rogers Wireless Network > > -Original Message- > From: Richard Coutinho > > Date: Mon, 20 Apr 2009 22:43:

Re: Deploying to Tomcat Server

2009-04-21 Thread Richard Coutinho
Is anyone going to respond to my question? Sent from my BlackBerry device on the Rogers Wireless Network -Original Message- From: Richard Coutinho Date: Mon, 20 Apr 2009 22:43:50 To: Cc: Subject: Deploying to Tomcat Server Hello: I am using Netbeans 6.5 IDE to deploy to Tomcat 4.1

RE: What Tomcat presentations / demos / discussions do you want to see at ApacheCon US 2009?

2009-04-21 Thread Shaun Farrugia
Will these talks be archived for future reference for those of us who can't make it :) :) -Original Message- From: Ken Bowen [mailto:kbo...@als.com] Sent: Tuesday, April 21, 2009 2:09 PM To: Tomcat Users List Subject: Re: What Tomcat presentations / demos / discussions do you want to se

Re: What Tomcat presentations / demos / discussions do you want to see at ApacheCon US 2009?

2009-04-21 Thread Ken Bowen
HmmI think this list is getting to be more & more fun: tr.v. whiled, whil·ing, whiles To spend (time) idly or pleasantly: while the hours away. On Apr 21, 2009, at 1:10 PM, Christopher Schultz wrote: whiling to the list.

RE: What Tomcat presentations / demos / discussions do you want to see at ApacheCon US 2009?

2009-04-21 Thread Martin Gainty
will oracle be there? thanks, Martin __ Disclaimer and Confidentiality/Verzicht und Vertraulichkeitanmerkung / Note de déni et de confidentialité This message is confidential. If you should not be the intended receiver, then we ask politely to repo

Re: What Tomcat presentations / demos / discussions do you want to see at ApacheCon US 2009?

2009-04-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Martin, On 4/21/2009 1:17 PM, Martin Gainty wrote: > when/where? We are talking about a presentation in the future. It might/will be at the next ApacheCON (in Oakland, CA, USA - Nov 2 to 6 2009). You can read all about the original request in ... the

RE: What Tomcat presentations / demos / discussions do you want to see at ApacheCon US 2009?

2009-04-21 Thread Martin Gainty
when/where? avialable link(s)? thanks, Martin __ Disclaimer and Confidentiality/Verzicht und Vertraulichkeitanmerkung / Note de déni et de confidentialité This message is confidential. If you should not be the intended receiver, then we ask politel

Re: What Tomcat presentations / demos / discussions do you want to see at ApacheCon US 2009?

2009-04-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 4/16/2009 6:51 AM, Mark Thomas wrote: > Mark Thomas wrote: > Title:Resolving OOM-PermGen errors on webapp reload +1 Like Ken, I won't be able to attend, but slides would certainly be a great resource that we can read and send people to

RE: Log messages appearing twice

2009-04-21 Thread Security Management
In the application log, separate file (the test.log). I only have 1 copy of log4j.jar in the apache directory, too (my webapps copy). Here's an example: 2009-04-21 11:50:59,903 [main] DEBUG com.secmgmt.beans.picture.four.PPDoorProvider - Loading Door Provider 2009-04-21 11:50:59,903 [main] DEB

Re: Undeploy does not delete all .jar files

2009-04-21 Thread JT
You are correct, I am using Windows. I have added antiJARLocking="true" and also added antiResourceLocking="true" and it's still not working. Is there anything special I need to do to get this to work. I added this inside of my conf/context.xml file. When I undeploy test.war goes away, but the

RE: datetime missing in stdout log file

2009-04-21 Thread Caldarale, Charles R
> From: gaganjoshi007 [mailto:gagan.joshi...@gmail.com] > Subject: datetime missing in stdout log file > > I am having multiple project on tomcat server. > I get output and error logged in stdout file. Output and error from what? Tomcat or your webapps? > but when error logs in stdout file it d

RE: Undeploy does not delete all .jar files

2009-04-21 Thread Caldarale, Charles R
> From: JT [mailto:jltoo...@gmail.com] > Subject: Re: Undeploy does not delete all .jar files > > When I look under webapps I see that my exploded application > directory is still there and if I look inside of the directory > everything has been deleted except for 6 .jar files You appear to be r

Re: Iterate LinkedHashMap gives HTTP 500 in a JSP (NPE)

2009-04-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tommy, On 4/19/2009 10:00 PM, Tommy Pham wrote: > Hi, > > I have a problem iterating a LinkedHashMap lhmObject. > The lhmObject.size() gives correct size and lhmObject.keySet().toString gives > the correct values. > However, if I try iterate the ob

RE: Problem with maximum threads

2009-04-21 Thread Caldarale, Charles R
> From: connossieur [mailto:anand.b...@aricent.com] > Subject: RE: Problem with maximum threads > > 1000 threads come up by themselves. You're not answering the questions. To repeat: 1) Do you really have 1,000 threads in a runnable or waiting state, all with the names http-80-xx? 2) What make

Re: [OT] Problem with maximum threads

2009-04-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Peter, On 4/21/2009 10:59 AM, Peter Crowther wrote: >> From: Christopher Schultz [mailto:ch...@christopherschultz.net] >> Also, please post a full thread >> dump. I want to see 1000 complete stack traces, baby. > > Mmm, that's a good few kilos of car

Re: datetime missing in stdout log file

2009-04-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Gagan, On 4/21/2009 5:30 AM, gaganjoshi007 wrote: > I am having multiple project on tomcat server. > I get output and error logged in stdout file. > but when error logs in stdout file it done not get the output date an d > time. Tomcat version? Type

Re: Log messages appearing twice

2009-04-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 S&M, On 4/21/2009 9:32 AM, Security Management wrote: > Here is my log4j config file: > > log4j.appender.A1=org.apache.log4j.FileAppender > log4j.appender.A1.File=${catalina.home}/logs/test.log > > log4j.appender.A1.MaxFileSize=100MB > log4j.appende

RE: Problem with maximum threads

2009-04-21 Thread Peter Crowther
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Also, please post a full thread > dump. I want to see 1000 complete stack traces, baby. Mmm, that's a good few kilos of carbon to shift the bits around the mailing list subscribers ;-). Any chance of putting the thread dump on a

Re: Problem with maximum threads

2009-04-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Anand, On 4/21/2009 9:57 AM, connossieur wrote: > 1000 threads come up by themselves. I have configured Tomcat to spawn only 70 > threads. Something must be wrong. Your executor configuration: Does not match your thread dump: RUNNABLE "http-

RE: R: Apache / Tomcat Load Balanced mode

2009-04-21 Thread Martin Gainty
you can restrict based on roles so in /conf/tomcat-users.xml you can define username fubar to role 'newrole' then in WebAppName/WEB/INF/web.xml HTMLManger and Manager command /admin/* newrole newrole any access to YourWeb

Re: Undeploy does not delete all .jar files

2009-04-21 Thread JT
When I look under the properties for all the .jar files that are left it says that Everyone has Full Control, is that what you mean? On Tue, Apr 21, 2009 at 10:28 AM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > JT, > > On 4/21/2

Re: Undeploy does not delete all .jar files

2009-04-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 JT, On 4/21/2009 8:46 AM, JT wrote: > I'm trying to undeploy my application in Tomcat without having to stop and > start the Tomcat service. In the manager I undeploy the application. When I > look under webapps I see that my exploded application dire

Re: what can Tomcat be doing that a profiler can't see?

2009-04-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nikita, On 4/20/2009 6:14 PM, dukehoops wrote: > The network's nominal bandwith is 1GB (gigabit with a "G"). Sorry about that. I knew you said gigabit (that's Gb, btw, GB means gigabyte) but I neglected a factor of 1024 in my calculations. You're rig

Re: Cookies and values with ':' in them

2009-04-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andre-John, On 4/16/2009 5:48 PM, Andre-John Mas wrote: > Will this only be for writing? I depend a cookie set by a third-party > web application in the same domain, which sends me the cookies this > way. If it is only for writing, then I will have to

Re: Undeploy does not delete all .jar files

2009-04-21 Thread JT
> I'm trying to undeploy my application in Tomcat without having to stop and > start the Tomcat service. In the manager I undeploy the application. When I > look under webapps I see that my exploded application directory is still > there and if I look inside of the directory everything has been del

RE: Problem with maximum threads

2009-04-21 Thread connossieur
1000 threads come up by themselves. I have configured Tomcat to spawn only 70 threads. Also, I'll look for synchronization issues in the code. :) Caldarale, Charles R wrote: > >> From: connossieur [mailto:anand.b...@aricent.com] >> Subject: Re: Problem with maximum threads >> >> Should the code

RE: Problem with maximum threads

2009-04-21 Thread Caldarale, Charles R
> From: connossieur [mailto:anand.b...@aricent.com] > Subject: Re: Problem with maximum threads > > Should the code I write be thread safe? Usually. If it's within a servlet, then it *must* be thread safe, since a servlet instance may handle multiple requests simultaneously. But don't just bl

RE: Problem with maximum threads

2009-04-21 Thread Caldarale, Charles R
> From: Stephen Caine [mailto:step...@commongrnd.com] > Subject: Re: Problem with maximum threads > > However, the maximum number of threads Tomcat will > handle is somewhere about 2400. I'm curious: where did you conjure up that number? The actual limit will vary greatly depending on platform

Log messages appearing twice

2009-04-21 Thread Security Management
Here is my log4j config file: log4j.appender.A1=org.apache.log4j.FileAppender log4j.appender.A1.File=${catalina.home}/logs/test.log log4j.appender.A1.MaxFileSize=100MB log4j.appender.A1.layout=org.apache.log4j.PatternLayout log4j.appender.A1.layout.ConversionPattern=%d [%t] %-5p %c - %m%n log4j

Re: Problem with maximum threads

2009-04-21 Thread connossieur
Ya. I think I will have to re-analyze the code. I have one doubt. Should the code I write be thread safe? Following is the excerpt from the thread dump of different threads at different states: RUNNABLE "http-80-37" daemon prio=6 tid=0x0b094400 nid=0x540 runnable [0x0c5be000..0x0c5bfb94] java

Re: Problem with maximum threads

2009-04-21 Thread Stephen Caine
Anand, As others will surely tell you, there is something amiss in your application that spawns threads. However, the maximum number of threads Tomcat will handle is somewhere about 2400. So, if you are getting an error at 1000 threads, look somewhere else. Stephen Caine Soft Breeze Sys

RE: R: Apache / Tomcat Load Balanced mode

2009-04-21 Thread Karthik Nanjangude
Hi Thx for the same Web application would be installed on 3 nodes of Tomcat below the single load balancer of Apache http 2.x server >> "www.acme.com" being exposed to INTERNET >> >> "www.acme.com/admin"being exposed to INTRANET We would like to block the "/admin" from the INTER

Undeploy does not delete all .jar files

2009-04-21 Thread JT
I'm trying to undeploy my application in Tomcat without having to stop and start the Tomcat service. In the manager I undeploy the application. When I look under webapps I see that my exploded application directory is still there and if I look inside of the directory everything has been deleted exc

RE: Problem with maximum threads

2009-04-21 Thread connossieur
So, I'll take the dump and analyze and revert back. One more confirmation. Is the executor configured by me for Tomcat appropriate? Or should I make any more changes? -Anand Peter Crowther wrote: > >> From: connossieur [mailto:anand.b...@aricent.com] >> The application doesn't have problems as

RE: Problem with maximum threads

2009-04-21 Thread Peter Crowther
> From: connossieur [mailto:anand.b...@aricent.com] > The application doesn't have problems as I tested it with > Visual VM (profiler for java 6) on Windows. OK. You've done more research than most, then - we get a lot of people blaming Tomcat as the first thing they do, so we tend to have some

RE: Problem with maximum threads

2009-04-21 Thread connossieur
Yes, I have already mentioned in the mail. I have that executor attributes. :) mgainty wrote: > > > did you try specifying executor attribute in your Connector e.g. > executor="ThreadPool" > .. > /> > > Martin > __ > Disclaimer and Confidentiality

RE: Problem with maximum threads

2009-04-21 Thread Martin Gainty
did you try specifying executor attribute in your Connector e.g. Martin __ Disclaimer and Confidentiality/Verzicht und Vertraulichkeitanmerkung / Note de déni et de confidentialité This message is confidential. If you should not be the intended rec

  1   2   >