R: Apache / Tomcat Load Balanced mode

2009-04-21 Thread Leandro Dardini
-Messaggio originale- Da: Karthik Nanjangude [mailto:karthik.nanjang...@xius-bcgi.com] Inviato: martedì 21 aprile 2009 7.34 A: Tomcat Users List Oggetto: Apache / Tomcat Load Balanced mode Hi Would the same work with Apache / Tomcat Load Balanced mode Configuration for

Re: Directed Load Balancing with Sticky Sessions

2009-04-21 Thread Rainer Jung
On 21.04.2009 07:48, Mike Duffy wrote: I've read through the load balancing info in the docs: Using Apache HTTP Server 2.x with mod_proxy What I would like to do is have users sign in on one server and then, based on geographic characteristics, redirect them to another server. If I

Re: R: Apache / Tomcat Load Balanced mode

2009-04-21 Thread Rainer Jung
On 21.04.2009 09:06, Leandro Dardini wrote: -Messaggio originale- Da: Karthik Nanjangude [mailto:karthik.nanjang...@xius-bcgi.com] Inviato: martedì 21 aprile 2009 7.34 A: Tomcat Users List Oggetto: Apache / Tomcat Load Balanced mode Hi Would the same work with Apache / Tomcat

datetime missing in stdout log file

2009-04-21 Thread gaganjoshi007
Hi 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. I like stdout log the error with date and time and the application name before logging the error. like [application name]

Re: datetime missing in stdout log file

2009-04-21 Thread ali navadeh
users-unsubscr...@tomcat.apache.org On 4/21/09, gaganjoshi007 gagan.joshi...@gmail.com wrote: Hi 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. I like stdout log the

Re: datetime missing in stdout log file

2009-04-21 Thread André Warnier
This is a novel combination : someone hijacking another thread, with the only purpose of unsubscribing from the list, and getting it wrong anyway... :-) ali navadeh wrote: users-unsubscr...@tomcat.apache.org On 4/21/09, gaganjoshi007 gagan.joshi...@gmail.com wrote: Hi I am having multiple

Problem with maximum threads

2009-04-21 Thread connossieur
Hi, I am using Tomcat 6.0.9 with the following server.xml config file: The Java version I am using is JDK1.6.0_06. The problem is with the tomcat web app being used for a load test at 200 messages/sec. The application runs well enough for half an hour but after that time, the CPU

RE: Problem with maximum threads

2009-04-21 Thread Peter Crowther
From: connossieur [mailto:anand.b...@aricent.com] There is no problem in the application code. How have you proved this? Take a thread dump (you're on Java 1.6, so you can use jstack). What are the threads doing? - Peter

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 Martin Gainty
did you try specifying executor attribute in your Connector e.g. Connector... executor=ThreadPool .. / Martin __ Disclaimer and Confidentiality/Verzicht und Vertraulichkeitanmerkung / Note de déni et de confidentialité This message is confidential.

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. Connector... executor=ThreadPool .. / Martin __ Disclaimer and

STOout file output

2009-04-21 Thread gaganjoshi007
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_20090409_B.log stdout_20090409_C.log

RE: datetime missing in stdout log file

2009-04-21 Thread Martin Gainty
ali navadeh wrote: users-unsubscr...@tomcat.apache.org On 4/21/09, gaganjoshi007 gagan.joshi...@gmail.com wrote: Hi 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

RE: Problem with maximum threads

2009-04-21 Thread connossieur
The application doesn't have problems as I tested it with Visual VM (profiler for java 6) on Windows. But I need the application on Linux. I'll try to take the thread dump and see. Anyways, can there be problem with Tomcat? I mean, I have limited the number of threads, still tomcat spawns more

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 I

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

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/adminbeing exposed to INTRANET We would like to block the /admin from the INTERNET access

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

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]

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

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,

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

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 I write

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

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: 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

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

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/2009

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' user username=fubar password=fubar roles=newrole/ then in WebAppName/WEB/INF/web.xml !-- Define a Security Constraint on this Application -- security-constraint

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: Executor name=ThreadPool namePrefix=catalina-exec-

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: Log messages appearing twice

2009-04-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 SM, 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

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 of

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 carbon to

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 makes

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 LinkedHashMapInteger, Object lhmObject. The lhmObject.size() gives correct size and lhmObject.keySet().toString gives the correct values. However, if I try

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

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 done

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. Context path=/test docBase=test debug=1

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]

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: 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

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
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

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 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

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 richardcouti...@shaw.ca Date: Mon, 20 Apr 2009 22:43:50 To: users@tomcat.apache.org Cc: users-i...@tomcat.apache.org Subject: Deploying to

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 richardcouti...@shaw.ca Date: Mon, 20

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 -Original

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

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 sfarru...@fry.com Date: Tue, 21 Apr 2009 14:44:43 To: Tomcat Users Listusers@tomcat.apache.org; p...@pidster.comp...@pidster.com Subject: RE: Deploying to Tomcat Server

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

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 richardcouti...@shaw.ca Date: Tue, 21 Apr 2009 18:54:10 To: Tomcat Users Listusers@tomcat.apache.org Subject: Re: Deploying

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:

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 exec executable=cmd.exe arg value=/c/ arg line=C:\apache-tomcat-4.1.39\apache-tomcat-4.1.39\bin\startup.bat / env key=CATALINA_HOME

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

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 that

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 a...@ice-sa.com Date: Tue, 21 Apr 2009 21:17:18 To: Tomcat Users Listusers@tomcat.apache.org Subject: Re: Deploying to Tomcat Server Richard

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 chuck.caldar...@unisys.com Date: Tue, 21 Apr 2009 14:22:34 To: Tomcat Users Listusers@tomcat.apache.org Subject: RE: Deploying to Tomcat Server From: Richard

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 to

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.conf:

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 Resource 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

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 connected

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

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 started

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... Context

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

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: 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.

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: [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). Here's

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 look

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

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 script

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

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

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: 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 with

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

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. Get a

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: 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 chuck.caldar...@unisys.com Date: Tue, 21 Apr 2009 16:34:08 To: Tomcat

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: 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 number,

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

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 ClassLoaders are

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

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 improvished

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 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

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

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

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 that

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 a number of

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 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

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

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

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: 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

  1   2   >