Problem with removing attributes on Tomcat 6.0.18

2008-10-16 Thread slake
I have a little problem with removing attributes by Tomcat 6.0.18. This happens after migrating from Tomcat 5.5.23 (on this version there wasn't such error). Exception occur occasionally and for now I don't know how to resolve it. Below there is a stack trace from error: 2008-10-16 07:53:52

AW: Changing the ROOT application in Tomcat 6.0.18 on Linux

2008-10-16 Thread Maik Schumacher
Thanks for the response. Make sure you don't have a ROOT directory or ROOT.war file under the Host appBase directory, and that you don't have any Context elements in server.xml. If your new default webapp isn't deploying for some reason, there should be log entries indicating why. Yes, I did

Appeal to Tomcat developers

2008-10-16 Thread André Warnier
Dear Tomcat developers, this is a humble appeal. I know I have in the past been over the top on this subject, and for that I apologise. The appeal is about Tomcat logging. I will venture a few risky bets : 1) for every Tomcat used in a development context, there are 100 used in a production

Re: tomcat 6 and subdirectories

2008-10-16 Thread Johnny Kewl
- Original Message - From: Angelov, Rossen [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Wednesday, October 15, 2008 8:29 PM Subject: tomcat 6 and subdirectories Hi, I recently started using Tomcat 6 but can't configure it to map subdirectories to same

Re: [ANN] Apache Tomcat Connectors 1.2.27-dev-704800 available for testing.

2008-10-16 Thread James Wang
Hi Mladen, We have been having a problem with the AJP connector for a while, sometimes it gets stuck on the begin of receiving the post body until AJP connector read timeout, don't know if it's related to mod_jk or apached httpd server or Client side browser issues.Because of the missing body

Re: Appeal to Tomcat developers

2008-10-16 Thread Johnny Kewl
- Original Message - From: André Warnier [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Thursday, October 16, 2008 9:23 AM Subject: Appeal to Tomcat developers Dear Tomcat developers, this is a humble appeal. I know I have in the past been over the top on

Re: Appeal to Tomcat developers

2008-10-16 Thread Johnny Kewl
- Original Message - From: Johnny Kewl [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Thursday, October 16, 2008 10:01 AM Subject: Re: Appeal to Tomcat developers - Original Message - From: André Warnier [EMAIL PROTECTED] To: Tomcat Users List

Re: [ANN] Apache Tomcat Connectors 1.2.27-dev-704800 available for testing.

2008-10-16 Thread Mladen Turk
James Wang wrote: Hi Mladen, We have been having a problem with the AJP connector for a while, sometimes Please do not hijack threads ;) It's not related the subject, so just post a question on a new thread, with explanatory title and giving as much data as you can. Regards -- ^(TM)

Re: Memory leak from threadlocal for hot deployment

2008-10-16 Thread Leon Rosenberg
Err, why can't you reset the object after usage or at next redeploy? Leon On Thu, Oct 16, 2008 at 7:26 AM, Noble Paul നോബിള്‍ नोब्ळ् [EMAIL PROTECTED] wrote: If I store an application object in ThreadLocal and do hot deployment it prevents the old classloader from getting GCed . Why can't

RE: Appeal to Tomcat developers

2008-10-16 Thread Peter Crowther
From: André Warnier [mailto:[EMAIL PROTECTED] From earlier Tomcat expert's messages here, I understand that the previous logging methods were technically flawed, and that the new methods, technically, are far superior. But from tens of user's messages on this list, it is clear that in

Controlling the order of classloading.

2008-10-16 Thread Vinay Binny
Hi all, I have a situation where I need to control the order in which the webapp jar files(in lib folder) are loaded by Tomcat. Is there anyway to acheive this? To give you a background of the problem, I am using struts2 and Oracle's XSU in one of our webapps. XSU has a tight dependency on its

Re: NIO 100% CPU usage

2008-10-16 Thread Ronald Klop
Filip, How do your top or ps commands relate to threads in the thread dump? Are there shared ids or shared names in there? I'm searching for this for some time, so am really interested in what you mean. Ronald. Op woensdag, 15 oktober 2008 om 20:22 uur schreef Tomcat Users List

Re: Not showing error during deployment

2008-10-16 Thread emerson cargnin
I changed the loggins.properties and put all as ALL, after trying finest. Still I don't get any further messages that would clarify the problem. emerson 2008/10/15 emerson cargnin [EMAIL PROTECTED]: I tried doing the log4j trick and just noticed that that just works in linux/unix. Why can't

Re: Programmatic instruct Tomcat to shutdown

2008-10-16 Thread Maxim Veksler
On Wed, Oct 15, 2008 at 21:07, Filip Hanik - Dev Lists [EMAIL PROTECTED]wrote: you mean like java.lang.System.exit(1); Not quite. I've commented that I've tried System.exit(1); and it's fails because I have threads that aren't going down by this instruction. The need the Servlet

Re: Transaction manager

2008-10-16 Thread Jérôme Delattre
2008/10/15 Jérôme Delattre [EMAIL PROTECTED]: 2008/10/15 Jérôme Delattre [EMAIL PROTECTED]: Hi, I am looking for a standalone transaction manager for Tomcat. I tried JOTM but there's some blocker bugs in XAPool and the datasource implementation, moreover no new release for 3 years is scary

Re: Programmatic instruct Tomcat to shutdown

2008-10-16 Thread Leon Rosenberg
On Thu, Oct 16, 2008 at 1:31 PM, Maxim Veksler [EMAIL PROTECTED] wrote: On Wed, Oct 15, 2008 at 21:07, Filip Hanik - Dev Lists [EMAIL PROTECTED]wrote: you mean like java.lang.System.exit(1); Not quite. I've commented that I've tried System.exit(1); and it's fails because I have threads

Re: Appeal to Tomcat developers

2008-10-16 Thread Leon Rosenberg
On Thu, Oct 16, 2008 at 2:48 PM, David kerber [EMAIL PROTECTED] wrote: For my part, I generally agree with the OP. Specifically, the show stopper for me is that the documentation isn't detailed enough at the level of the application and administrator level, and especially doesn't give enough

Re: NIO 100% CPU usage

2008-10-16 Thread Jerome Jar
Ronald, thread dumps contain the native ID of threads, and ps can output such IDs as well, so you can match the output together. Been there, done that. On Thu, Oct 16, 2008 at 7:16 PM, Ronald Klop [EMAIL PROTECTED]wrote: Filip, How do your top or ps commands relate to threads in the thread

Re: Appeal to Tomcat developers

2008-10-16 Thread Gregor Schneider
Hm, I guess I disagree. Tomcat is using / supporting the standard logging-features from Java, and I think this is the way it should be. If the Java Community decides for a new way of logging, TC may implement it. For us, we just configure TC to use log4j, and it works like charm. Sure, it's no

Re: Appeal to Tomcat developers

2008-10-16 Thread Mikolaj Rydzewski
David kerber wrote: For my part, I generally agree with the OP. Specifically, the show stopper for me is that the documentation isn't detailed enough at the level of the application and administrator level, and especially doesn't give enough examples of the different methods of logging. I

Potential reuse of TagHandlers implementing JspIdConsumer?

2008-10-16 Thread Jochen Wuttke
Hi, for my research project I've been doing some ApsectJ magic with Tomcat and deployed WebApps. Among other things I'm interested in detecting at runtime when TagHandlers instantiated in a HttpServlet go out of scope. Since that can't be done with AspectJ I was tracking garbage

Re: Appeal to Tomcat developers

2008-10-16 Thread David kerber
Leon Rosenberg wrote: On Thu, Oct 16, 2008 at 2:48 PM, David kerber [EMAIL PROTECTED] wrote: For my part, I generally agree with the OP. Specifically, the show stopper for me is that the documentation isn't detailed enough at the level of the application and administrator level, and

Re: Appeal to Tomcat developers

2008-10-16 Thread David kerber
Martin Gainty wrote: logging is as easy with SimpleLog http://commons.apache.org/logging/commons-logging-1.1.1/guide.html#A%20Quick%20Guide%20To%20Simple%20Log How long as SimpleLog been around? I don't recall ever seeing it before... D or as complex

Re: Appeal to Tomcat developers

2008-10-16 Thread Leon Rosenberg
On Thu, Oct 16, 2008 at 3:06 PM, David kerber [EMAIL PROTECTED] wrote: Leon Rosenberg wrote: On Thu, Oct 16, 2008 at 2:48 PM, David kerber [EMAIL PROTECTED] wrote: For my part, I generally agree with the OP. Specifically, the show stopper for me is that the documentation isn't detailed

Re: NIO 100% CPU usage

2008-10-16 Thread Rainer Jung
Jerome Jar schrieb: Ronald, thread dumps contain the native ID of threads, and ps can output such IDs as well, so you can match the output together. Been there, done that. L flag for ps shows all threads and contains thread numbers, usually numerically starting above the PID, but IDs of

RE: [ANN] Apache Tomcat Connectors 1.2.27-dev-704800 available for testing.

2008-10-16 Thread Martin Gainty
Good Morning James- Do you see the same behaviour with the headers or do you see this behaviour with just the body? With regards to the body what happens if you post a content-type to something other than html http://myuminfo.umanitoba.ca/help.asp?eve=2fid=254 Thanks, Martin

Re: tom cat error

2008-10-16 Thread Pid
Frank Uccello wrote: OS: Windows 2003 Server SP2 Tomcat: 5.5 Java: 1.5 I am not sure what you mean about configs. I do know if mean tomcat or my app configuration there are exactly the same as the tomcat instances that work only thing the port change and name change but everything else

Re: Appeal to Tomcat developers

2008-10-16 Thread André Warnier
Leon Rosenberg wrote: [...] I am sorry, but do you always log to system.out in your applications? Maybe you should take a look at some of numerous logging projects, starting with log4j as the most prominent. http://logging.apache.org/log4j/1.2/index.html With utmost respect, Leon, but this

Re: Transaction manager

2008-10-16 Thread Jérôme Delattre
Thanks Martin, but I want to be more generic in my applicationContext.xml, and just look up for the TM like this: tx:jta-transaction-manager/ I finally followed this doc: http://www.atomikos.com/Documentation/Tomcat55Integration33 I just had to add commons-logging to be able to integrate in

Re: Appeal to Tomcat developers

2008-10-16 Thread Stephen Caine
Andre, In regards to contacting IS people (not developers or specialists) who use Tomcat in production environments, please contact me off-list. I think I can help to point you in the right direction and get you access to the resources you are requesting. Thank you, Stephen Caine

RE: Transaction manager

2008-10-16 Thread Martin Gainty
take a look at this setup for atomikosTransactionManager as a ref for org.springframework.transaction.jta.JtaTransactionManager 'transactionManager' bean id=atomikosTransactionManager class=com.atomikos.icatch.jta.UserTransactionManager init-method=init destroy-method=close

Re: Not showing error during deployment

2008-10-16 Thread emerson cargnin
I found out this is because the errors might be happening inside spring: http://forum.springframework.org/showthread.php?t=27967page=2 Anyone know how to configure tomcat to show listeners errors? emerson 2008/10/16 emerson cargnin [EMAIL PROTECTED]: I changed the loggins.properties and put

org.apache.jasper.JasperException: File /tags/struts-logic

2008-10-16 Thread Raghu
I have struts application running in windows-xp., jdk1.5, apache-tomcat-5.5 I moved the same application to linux, jdk1.6.0-10, and apache-tomcat 5.5.26 I am getting following error on linux system. HTTP Status 500 - description : The server encountered an internal error () that

RE: tom cat error

2008-10-16 Thread Frank Uccello
It seem it to be a port issue not sure why I had at 9057 and it did not work when I changed to 8057 it works Thanks -Original Message- From: Pid [mailto:[EMAIL PROTECTED] Sent: Thursday, October 16, 2008 9:47 AM To: Tomcat Users List Subject: Re: tom cat error Frank Uccello wrote:

Re: Appeal to Tomcat developers

2008-10-16 Thread Leon Rosenberg
On Thu, Oct 16, 2008 at 3:42 PM, André Warnier [EMAIL PROTECTED] wrote: Leon Rosenberg wrote: [...] I am sorry, but do you always log to system.out in your applications? Maybe you should take a look at some of numerous logging projects, starting with log4j as the most prominent.

tom cat error

2008-10-16 Thread Frank Uccello
OS: Windows 2003 Server SP2 Tomcat: 5.5 Java: 1.5 I am not sure what you mean about configs. I do know if mean tomcat or my app configuration there are exactly the same as the tomcat instances that work only thing the port change and name change but everything else is the same David

common jars for all applications in tomcat

2008-10-16 Thread Raghu
I have different applications using spajco.jar I have this jars in web-inf/lib folder of all the applications used like struts, log4j,servlet,sapjco.jar.etc... But I get this error sometimes. SO to have one JCO instance for one JVM instance I need to moved them to

Re: Appeal to Tomcat developers

2008-10-16 Thread Mark H. Wood
On Thu, Oct 16, 2008 at 10:01:30AM +0200, Johnny Kewl wrote: The thing that has alway amazed me... we use JMX, we have this complex logging engine, but tomcat is a big powerful web server... is it only me, but how come that cant be presented as a web page you just address

RE: common jars for all applications in tomcat

2008-10-16 Thread paul.ockleford
I use tomcat/shared/lib for this, but I don't know how appropriate that is. -Original Message- From: Raghu [mailto:[EMAIL PROTECTED] Sent: 16 October 2008 15:38 To: 'Tomcat Users List' Subject: common jars for all applications in tomcat I have different applications using spajco.jar I

AW: AW: Using S/MIME encryption in Tomcat5.5 fails

2008-10-16 Thread Celik, Servet (ext MA)
Hi Martin, hi all, Just to clarify again: When I run the mailer component as a standalone java application it works fine. That's why I think the crypto package is alright. Also I put a echo line into catalina.bat to dump the used endorsed-path. The stdout says: Using JAVA_ENDORSED_DIRS

Re: Appeal to Tomcat developers

2008-10-16 Thread Mark H. Wood
There is simple, and then there is SIMPLE. The typical daemon has ONE LINE for logging configuration: log file goes there. Some might have one line for the error log and another for an activity log. Some might let you say whether to use syslog or files. If you supply NO configuration, it will

RE: common jars for all applications in tomcat

2008-10-16 Thread Martin Gainty
Good Afternoon Paul did you locate your sap.jars specifically sapco.jar to be located on CLASSPATH? and set LD_LIBRARY_PATH environment variable to jcolib_install_path where the jcolib_install_path contains libsapjcorfc.so for OS AND specific processor (32bit or 64 bit)

RE: common jars for all applications in tomcat

2008-10-16 Thread Caldarale, Charles R
From: Raghu [mailto:[EMAIL PROTECTED] Subject: common jars for all applications in tomcat My questions is where is the correct folder to have the common jar files which are shared across multiple applications $CATALINA_BASE/shared/libor $CATALINA_BASE/common/lib. Read the doc and

RE: Appeal to Tomcat developers

2008-10-16 Thread Martin Gainty
logging is as easy with SimpleLog http://commons.apache.org/logging/commons-logging-1.1.1/guide.html#A%20Quick%20Guide%20To%20Simple%20Log or as complex http://tomcat.apache.org/tomcat-6.0-doc/logging.html as you configure Martin __ Disclaimer and

Re: Appeal to Tomcat developers

2008-10-16 Thread David kerber
Mark H. Wood wrote: There is simple, and then there is SIMPLE. The typical daemon has ONE LINE for logging configuration: log file goes there. Some might have one line for the error log and another for an activity log. Some might let you say whether to use syslog or files. If you supply NO

RE: common jars for all applications in tomcat

2008-10-16 Thread Caldarale, Charles R
From: Martin Gainty [mailto:[EMAIL PROTECTED] Subject: RE: common jars for all applications in tomcat did you locate your sap.jars specifically sapco.jar to be located on CLASSPATH? Don't ever, ever do that. The CLASSPATH variable should never be used with Tomcat, and the only thing on the

Re: AW: Changing the ROOT application in Tomcat 6.0.18 on Linux

2008-10-16 Thread Mark Thomas
Maik Schumacher wrote: - Having a changed 'appBase' in the 'server.xml' pointing for example to 'c:/test/www' on a Windows machine - Deploying a Web application as a WAR file with the name' testweb.war' putting it in the folder 'c:/test/www' - Now the goal here is to access the Web

RE: Appeal to Tomcat developers

2008-10-16 Thread Peter Crowther
I think there's a miscommunication going on. From: Leon Rosenberg [mailto:[EMAIL PROTECTED] well our [...] admins are well able to configure tomcat logging as they wish (mainly by using log4j configs we (developers) [...]). OK. So your admins have in-house developers to turn to. [...] I

tomcat 5.5 How can I write my persitence session manager

2008-10-16 Thread Alexandre Bes
Hi, When an authenticated user accesses a specific URL, I need to save its session to restore it if the server is stopped abruptly. That is why I plan to write my own session persistence manager. I'd like to learn how to do this, I think do: - Download the sources of tomcat 5.5 - Compile -

Re: Controlling the order of classloading.

2008-10-16 Thread Mark Thomas
Vinay Binny wrote: Hi all, I have a situation where I need to control the order in which the webapp jar files(in lib folder) are loaded by Tomcat. Is there anyway to acheive this? Sorry, no. You simply don't have that much control over the classloader in a servlet container. To give you a

Re: Appeal to Tomcat developers

2008-10-16 Thread André Warnier
Mark H. Wood wrote: [...] good stuff I think that's what is being asked: there should be *one page* that begins with *everything you need to know* in order to say, put the log file there. Just that. After that, it's appropriate to point out that much more subtle arrangements are available,

Re: NIO 100% CPU usage

2008-10-16 Thread Filip Hanik - Dev Lists
in the thread dump, the first line for each thread has nid=0x574 this is the hex value for the kernel thread identifier. transform this into a decimal value, if you do a top (and show threads, each thread will have a PID) that pid corresponds to nid same thing if you do ps, you can get LWP

Re: Controlling the order of classloading.

2008-10-16 Thread André Warnier
Mark Thomas wrote: Vinay Binny wrote: Hi all, I have a situation where I need to control the order in which the webapp jar files(in lib folder) are loaded by Tomcat. Is there anyway to acheive this? Sorry, no. You simply don't have that much control over the classloader in a servlet

two instances of tomcat problem

2008-10-16 Thread emilio
I just installed the tomcat 5.5 with two instances running in the same ip address, but in different ports. Its works but the manager just work in one of them. The manager for the second port show me the following error: HTTP Status 500 - _ type Exception report message

Tomcat manager - Two instances problem!

2008-10-16 Thread emilio
I just installed the tomcat 5.5 with two instances running in the same ip address, but in different ports. Its works but the manager just work in one of them. The manager for the second port show me the following error: HTTP Status 500 - _ type Exception report message

RE: Controlling the order of classloading.

2008-10-16 Thread Caldarale, Charles R
From: André Warnier [mailto:[EMAIL PROTECTED] Subject: Re: Controlling the order of classloading. But is there not a load-at-startup tag or something like it in a web.xml file, with a numeric value for that purpose ? It specifies that the designated servlet be loaded during startup, but does

Re: Tomcat 6 and ROOT application...

2008-10-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Maik, Please keep conversations on the list. I'm cc'ing the list in my reply. Maik Schumacher wrote: My goal is to access the Web application ‚testweb.war‘ on Tomcat 6.0.18 using Windows here with: http://localhost:8080 and not with

Re: Appeal to Tomcat developers

2008-10-16 Thread Mark Thomas
André Warnier wrote: Mark H. Wood wrote: [...] good stuff I think that's what is being asked: there should be *one page* that begins with *everything you need to know* in order to say, put the log file there. Just that. After that, it's appropriate to point out that much more subtle

Re: tomcat 5.5 How can I write my persitence session manager

2008-10-16 Thread Mark Thomas
Alexandre Bes wrote: Hi, When an authenticated user accesses a specific URL, I need to save its session to restore it if the server is stopped abruptly. That is why I plan to write my own session persistence manager. What is wrong with the built in ones? Mark

Re: tomcat 5.5 How can I write my persitence session manager

2008-10-16 Thread Alexandre Bes
Maybe I don't know use the sessions managers provided by tomcat ^ ^. They save my sessions only when I stop tomcat cleanly. Moreover when a session is saved the manager invalid this session no? I don't know how to get the manager to start the backup in a struts action. thx for your help Mark

Re: Appeal to Tomcat developers

2008-10-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, Mark Thomas wrote: André Warnier wrote: I have another point to add : maybe I understand this wrong, but it seems that with the current implementation, a webapp is able to decide where and how it logs, no matter what the overall server

Re: [OT] Save the DOLLAR

2008-10-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Johnny, Johnny Kewl wrote: Petition : Save the DOLLAR Please mark these posts as OT. And, honestly, please don't post them at all. Straying off-topic to talk about something related (say, Apache httpd or Java or whatever) is fine. Let's try to stay

Re: tomcat 5.5 How can I write my persitence session manager

2008-10-16 Thread Mark Thomas
Alexandre Bes wrote: Maybe I don't know use the sessions managers provided by tomcat ^ ^. http://tomcat.apache.org/tomcat-6.0-doc/config/manager.html They save my sessions only when I stop tomcat cleanly. That is configurable. See maxIdleBackup. Moreover when a session is saved the manager

Fwd: Problem with connecting to port used by Tomcat.

2008-10-16 Thread S Vashisht
-- Forwarded message -- From: S Vashisht [EMAIL PROTECTED] Date: Fri, 17 Oct 2008 00:02:47 +0530 Subject: Problem with connecting to port used by Tomcat. To: users@tomcat.apache.org Hi all, I'm a new bie to Tomcat server. I downloaded Tomcat 6 server package from official Tomcat

Re: [ANN] Apache Tomcat Connectors 1.2.27-dev-704800 available for testing.

2008-10-16 Thread Rainer Jung
One problem has already been found and fixed. There is a new source tarball available under http://tomcat.apache.org/dev/dist/tomcat-connectors/jk/source/jk-1.2.27-dev-705300/ The new extension feature has also been added to the docs:

I/O exception

2008-10-16 Thread Frank Uccello
I have Windows 2003 SP2, tom cat 5.5 , jave 1.5 box and I get the tomcat error of INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection timed out: connect Anyone see this before I try Google it but could come up with an answer Thanks

Re: I/O exception

2008-10-16 Thread André Warnier
Frank Uccello wrote: I have Windows 2003 SP2, tom cat 5.5 , jave 1.5 box and I get the tomcat error of INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection timed out: connect Ok, I'll pick that one up, that's obviously in my league ;-) Frank, thanks for

RE: Problem with connecting to port used by Tomcat.

2008-10-16 Thread Caldarale, Charles R
From: S Vashisht [mailto:[EMAIL PROTECTED] Subject: Fwd: Problem with connecting to port used by Tomcat. when I start server and try to connect to port used by Tomcat; I get unable to connect error. Look for a firewall between your client (browser?) and the server on which Tomcat is

Re: Controlling the order of classloading.

2008-10-16 Thread supareno
hi, i did some research and i found this http://mail-archives.apache.org/mod_mbox/struts-user/200606.mbox/[EMAIL PROTECTED] and this http://java.sun.com/j2se/1.5.0/docs/api/javax/xml/parsers/SAXParserFactory.html i don't know if it could help you but i learn something new: we can configure

Tomcat not using multiple cores

2008-10-16 Thread Matthew Laird
We're pulling our hair out with a Tomcat issue. We have an in-house application running on Tomcat 5.5 with Sun JDK 1.6. The machine is an x86 dual-CPU, quad core (8 cores total) with 16GB of RAM. We're running OpenSuSE 10.2, 32-bit. Java memory size set to 2GB, multi-threaded GC enabled.

RE: Tomcat not using multiple cores

2008-10-16 Thread Caldarale, Charles R
From: Matthew Laird [mailto:[EMAIL PROTECTED] Subject: Tomcat not using multiple cores Unfortunately what then occurs is all other threads suddenly become unusably slow. The entire web application grinds to a halt until this thread that's running hot completes. We've run Tomcat on 32 cores

Re: Tomcat not using multiple cores

2008-10-16 Thread Leon Rosenberg
Hello Matthew, Without wanting to advertise own product, I think moskito can help you a lot here. It was specially designed to detect cpu eaters among call trees. Feel free to contact me of list if you want to give it a try ;-) http://moskito.anotheria.net/moskitodemo/mui/mskShowAllProducers

Re: Tomcat not using multiple cores

2008-10-16 Thread Matthew Laird
From the OS, no. From Tomcat, as far as I understand you can only do 2GB per Tomcat instance. Please correct me if I'm wrong. Jim Cox wrote: On Thu, Oct 16, 2008 at 10:30 PM, Matthew Laird [EMAIL PROTECTED] wrote: [...lines snipped...] We have an in-house application running on Tomcat 5.5

RE: Tomcat not using multiple cores

2008-10-16 Thread Caldarale, Charles R
From: Matthew Laird [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat not using multiple cores From Tomcat, as far as I understand you can only do 2GB per Tomcat instance. Please correct me if I'm wrong. Not true. The limitation is due to the OS, not the JVM and certainly not Tomcat. A

Re: Appeal to Tomcat developers

2008-10-16 Thread André Warnier
Christofer, Mark and others, I have read, collected, and will re-read, the answers I got this time. I appreciate them, because they are informative, and you took the time and pain to answer this in a way I can (at least in part) understand. Other people, in various ways, made the point better

Re: Tomcat not using multiple cores

2008-10-16 Thread Brantley Hobbs
I think that this is a garbage collection issue. Enable the garbage collection output to see if that's the case (the -verbose:gc flag) . I struggled with this myself just a month ago and ended up learning more about Java GC than I ever wanted to know. The gist of it is that when the JVM

Re: Tomcat not using multiple cores

2008-10-16 Thread Brantley Hobbs
This will be a helpful document: http://java.sun.com/docs/hotspot/gc5.0/ergo5.html Brantley Matthew Laird wrote: We're pulling our hair out with a Tomcat issue. We have an in-house application running on Tomcat 5.5 with Sun JDK 1.6. The machine is an x86 dual-CPU, quad core (8 cores total)

RE: Tomcat not using multiple cores

2008-10-16 Thread Caldarale, Charles R
From: Brantley Hobbs [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat not using multiple cores I think that this is a garbage collection issue. Extremely unlikely, since the OP has already stated: The only time I began to see the other cores actually start being used is when I enabled

Re: setHeader after DoFilter delegation in filter?

2008-10-16 Thread slioch
Thanks for the responses. The reason we need to look at the response before setting a header value is to support a dynamic caching behavior, where the caching determination is made after examining the response and what database interactions are made as a result of building the response. So, I

Re: Tomcat not using multiple cores

2008-10-16 Thread Brantley Hobbs
This is the exact thing that makes me think that that's the problem. I saw the exact same symptoms: No matter how many CPU's I threw at it and no matter how I threaded my app, I was only consuming one CPU in total. I know it sounds counter-intuitive, and I could easily be wrong (I'm no JVM

Re: Tomcat not using multiple cores

2008-10-16 Thread Matthew Laird
Caldarale, Charles R wrote: The only time I began to see the other cores actually start being used is when I enabled multi-threaded GC. But that doesn't give much improvement since the threads responding the web requests are still all on the same core. The most likely cause is internal

Classes in tomcat\server\lib folder sometimes are visible to web application

2008-10-16 Thread Gary Hirschhorn
We are using Tomcat 5.5.17 and are using a custom ClassLoader, which we specify using the Loader element per the documentation at http://tomcat.apache.org/tomcat-5.5-doc/config/loader.html. We place the jar containing our custom ClassLoader in the tomcat\server\lib folder, per the

RE: Tomcat not using multiple cores

2008-10-16 Thread Caldarale, Charles R
From: Matthew Laird [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat not using multiple cores But of course I'm not a Java or JVM expert and have no idea what kind of interlinks can exist between different client connections. Again - get a thread dump when at 100% on one core and 0% on the

Re: Tomcat not using multiple cores

2008-10-16 Thread Brantley Hobbs
Matt, Chuck is right. You want to get real information. Try the verbose GC output flag on the JVM and see what that says. If you /don't/ see a bunch of major collections in the output while that task is running, then GC is not your problem. B. Caldarale, Charles R wrote: From: Matthew

RE: Classes in tomcat\server\lib folder sometimes are visible to web application

2008-10-16 Thread Caldarale, Charles R
From: Gary Hirschhorn [mailto:[EMAIL PROTECTED] Subject: Classes in tomcat\server\lib folder sometimes are visible to web application According to this documentation, classes in this jar should be TOTALLY invisible to web applications. That's not quite the case. Classes outside of a given

RE: Tomcat manager - Two instances problem!

2008-10-16 Thread Caldarale, Charles R
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Subject: Tomcat manager - Two instances problem! (Odd that unisys.com.br is not a resolvable DNS name, even from inside the corporate network...) java.lang.NoClassDefFoundError: org/apache/catalina/manager/ManagerServlet Looks like the

TomCat realm cmd properties

2008-10-16 Thread Denis Orlov
Hello I'm trying to use TomCat realm option and I would like to pass parameter into realm tag. Could I do it? I use next realm tag: Realm className=org.apache.catalina.realm.JNDIRealm .. connectionURL=${connection.url} .. / But when I try to start TomCat I see next

Re: Tomcat not using multiple cores

2008-10-16 Thread Leon Rosenberg
On Fri, Oct 17, 2008 at 3:05 AM, Matthew Laird [EMAIL PROTECTED] wrote: Caldarale, Charles R wrote: The only time I began to see the other cores actually start being used is when I enabled multi-threaded GC. But that doesn't give much improvement since the threads responding the web