Re: threads in TC 4.1.29
Good news! thank you! :) Howdy, Don't worry about it, just make sure your threads terminate gracefully on server shutdown. As an aside, consider log4j's SMTPAppender (perhaps via an AsyncAppender to make the mail sending operation non-blocking). Questions on this approach should be posted to the log4j-user list. Yoav Shapira Millennium ChemInformatics Hi! I need organize in my web application sending emails in nonblocking way. So I'll create a message queue and thread that will pop messages from the queue and send them. But I have doubt about it is safe to create my own threads in web application? and if not how can I organize nonblocking processing without threads creating ? -- Maksimenko Alexander Softwarium, www.softwarium.net -- Maksimenko Alexander Softwarium, www.softwarium.net - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: All threads (150) are currently busy, waiting. Increase maxThreads (150) or check the servlet status
Hi, Have you taken a thread dump and checked as what are these threads waiting for before increasing the max-threads? Please specify the jdk version and OS too. In case you are using any databases, please also send in the details. Arnab From: alan sparago [mailto:[EMAIL PROTECTED] Sent: Thu 12/25/2003 12:45 AM To: [EMAIL PROTECTED] Cc: Dave McCuistion Subject: All threads (150) are currently busy, waiting. Increase maxThreads (150) or check the servlet status I am using Tomcat 5.0.16 standalone serving as both an http/https web server and servlet container. This error occurred in our QA environment and has caused Tomcat to hang and not service any requests. This error seemed to occur when no users were using the site at the time, but about 4 DAYS earlier we preformed a stress test simulating 1200 semi-simultaneous users and everything worked perfectly without any errors. Since the stress test we are only accessing the application as an occasional single user, the last time being about 8 hours prior to this error happening. Most parameters in the server.xml file are the default values (the maxThreads value is set to 150). Our log file is in xml format and contains the following error; loggerorg.apache.tomcat.util.threads.ThreadPool/logger levelSEVERE/level classorg.apache.tomcat.util.threads.ThreadPool/class methodlogFull/method thread13/thread messageAll threads (150) are currently busy, waiting. Increase maxThreads (150) or check the servlet status/message fyi. Nowhere in my application is the code creating any threads. We are very close to our site being live so any help or information would be greatly appreciated. Would tomcat 4.1.29 be more stable? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: All threads (150) are currently busy, waiting. Increase maxThreads (150) or check the servlet status
alan sparago wrote: I am using Tomcat 5.0.16 standalone serving as both an http/https web server and servlet container. This error occurred in our QA environment and has caused Tomcat to hang and not service any requests. This error seemed to occur when no users were using the site at the time, but about 4 DAYS earlier we preformed a stress test simulating 1200 semi-simultaneous users and everything worked perfectly without any errors. Since the stress test we are only accessing the application as an occasional single user, the last time being about 8 hours prior to this error happening. Most parameters in the server.xml file are the default values (the maxThreads value is set to 150). Our log file is in xml format and contains the following error; loggerorg.apache.tomcat.util.threads.ThreadPool/logger levelSEVERE/level classorg.apache.tomcat.util.threads.ThreadPool/class methodlogFull/method thread13/thread messageAll threads (150) are currently busy, waiting. Increase maxThreads (150) or check the servlet status/message fyi. Nowhere in my application is the code creating any threads. If running Linux 2.4 with tweaks, and esp RH 9, use LD_ASSUME_KERNEL=2.4.1. This kind of report is not very useful without a thread dump once the issue occurs and all threads appear deadlocked, BTW. If there's actually a bug in the Tomcat code, then it's the only way to identify where it is. We are very close to our site being live so any help or information would be greatly appreciated. Would tomcat 4.1.29 be more stable? No, it is the same connector anyway. -- x Rémy Maucherat Senior Developer Consultant JBoss Group (Europe) SàRL x - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: taglibs moving from 4.X to 5.X
[EMAIL PROTECTED] wrote: I have a large group of tag libs that have been working fine on tomcat 4.X versions. I needed to upgrade to tomcat 5.X versions do to new features. Well to make this short my tag libs no longer work on 5.X versions. When i try to run them i get... org.apache.jasper.JasperException: /myproductdisplay.jsp(16,0) Unknown attribute type (String) for attribute pageToInclude. org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:83) org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:402) org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:274) org.apache.jasper.compiler.Validator$ValidateVisitor.checkXmlAttributes(Validator.java:975) org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:739) org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1458) org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2180) org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2230) org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2236) org.apache.jasper.compiler.Node$Root.accept(Node.java:485) org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2180) org.apache.jasper.compiler.Validator.validate(Validator.java:1515) org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:247) org.apache.jasper.compiler.Compiler.compile(Compiler.java:456) org.apache.jasper.compiler.Compiler.compile(Compiler.java:439) org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:552) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:291) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248) javax.servlet.http.HttpServlet.service(HttpServlet.java:856) Is this a bug in tomcat ? Could this just be the way i have my taglib set up(all of my tags were created in netbeans 3.5.1)? Is there anyone who might be able to shead some light on the problem? You should post relevant samples of your TLDs and JSPs also. Or a test case. -- x Rémy Maucherat Senior Developer Consultant JBoss Group (Europe) SàRL x - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Sorry, that's your mail
Norton AntiVirus gelöscht1.txt Description: plain/text - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Querying MBeans in Tomcat
Hi, How can I query the MBeans in the Tomcat server (5.x) from a remote JVM . Thanks and Regards, Arun kumar - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
java.lang.OutOfMemoryError
i am using tomcal 4.1.18 with JDK 1.4.1_01. i encounter the java.lang.OutOfMemoryError error when i trying to reload my application.this does not happen frequenly. it was like every 10 times i reload and 3 times the error came out. i can restart the tomcat and it work fine. does everybody encounter this b4? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
How to Run I am developed JSP file thro TOMCAT
Hi sir, I am kumaran. Currently I have worked in Software Programmer. Actually, I have installed the Tomcat 5.0 in WinXp and see and execute the example program for servlets and JSPs from TOMCAT. But, how to running the new or ( I am developing ) JSP and Servlet file thro Tomcat. So what should i do ?. Pls do the necessary IMMEDIATELY. your faithfully, Kumaran. mail2web - Check your email from the web at http://mail2web.com/ . - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Querying MBeans in Tomcat
Assuming that you have the JK2 Connector enabled, in you jk2.properties file add: mx.enabled=true and then one or both of: mx.httpPort=some-port-number mx.jrmpPort-some-other-port-number arunkumar [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, How can I query the MBeans in the Tomcat server (5.x) from a remote JVM . Thanks and Regards, Arun kumar - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Error with Tomcat
Hello sir, I installed Apache2 on my Fedora machine with Tomcat 5.0.16. Both are working well as stand alone. I some where got mod_jk2 RPM(mod_jk2-4.1.27-8.i386.rpm). I installed mod_jk2 RPM and it created the mod_jk2.so file in /etc/httpd/modules/ . I also installed APR. When i ran 'catalina.sh run' i got the error `` INFO: APR not loaded, disabling jni components: java.io.IOException: java.lang.UnsatisfiedLinkError: no jkjni in java.library.path ``` How to correct this error. I found some suggestions that i need jkjni.so, but my mod_jk2 RPM didnot create the one. How to proceed. Please help me. Thank You __ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: java.lang.OutOfMemoryError
yeah i also encountered this problem actaully it is bcoz u r not closing any connection and eventually it is eating up ram u can check for it or increase ur RAM size -Original Message- From: Lam Chee Choong [mailto:[EMAIL PROTECTED] Sent: Thursday, December 25, 2003 8:22 PM To: [EMAIL PROTECTED] Subject: java.lang.OutOfMemoryError i am using tomcal 4.1.18 with JDK 1.4.1_01. i encounter the java.lang.OutOfMemoryError error when i trying to reload my application.this does not happen frequenly. it was like every 10 times i reload and 3 times the error came out. i can restart the tomcat and it work fine. does everybody encounter this b4? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: How to Run I am developed JSP file thro TOMCAT
in \tomcat_home\conf\Catalina\localhost\ see for xml file and add ur xml file defining context and doc base u can just copy the examples xml file and edit for ur purpose -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, December 25, 2003 1:23 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: How to Run I am developed JSP file thro TOMCAT Hi sir, I am kumaran. Currently I have worked in Software Programmer. Actually, I have installed the Tomcat 5.0 in WinXp and see and execute the example program for servlets and JSPs from TOMCAT. But, how to running the new or ( I am developing ) JSP and Servlet file thro Tomcat. So what should i do ?. Pls do the necessary IMMEDIATELY. your faithfully, Kumaran. mail2web - Check your email from the web at http://mail2web.com/ . - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: java.lang.OutOfMemoryError
i add this problen out off memory on my old server i dindint have enoufg ram to execute tomcat proprely [EMAIL PROTECTED] crazy-wilys webmaster From: akki Reply-To: Tomcat Users List To: Tomcat Users List Subject: RE: java.lang.OutOfMemoryError Date: Fri, 26 Dec 2003 08:21:02 +0530 yeah i also encountered this problem actaully it is bcoz u r not closing any connection and eventually it is eating up ram u can check for it or increase ur RAM size -Original Message- From: Lam Chee Choong [mailto:[EMAIL PROTECTED] Sent: Thursday, December 25, 2003 8:22 PM To: [EMAIL PROTECTED] Subject: java.lang.OutOfMemoryError i am using tomcal 4.1.18 with JDK 1.4.1_01. i encounter the java.lang.OutOfMemoryError error when i trying to reload my application.this does not happen frequenly. it was like every 10 times i reload and 3 times the error came out. i can restart the tomcat and it work fine. does everybody encounter this b4? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] _ MSN Messenger : discutez en direct avec vos amis ! http://messenger.fr.msn.ca/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
service not found
i ad 5.0working whit my chat server i ad to format wen ive changed the motherboard got it running back on 4.0 but the 5.0 dosent start anymore i get an erore mesage after instalation saying service not foundso ive downloaded it again same eror mesage service not fond sombody ad this eror before? [EMAIL PROTECTED] crazy-wilys webmaster _ MSN Messenger : discutez en direct avec vos amis ! http://messenger.fr.msn.ca/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to: Tomcat 5.0.16 as Windows Service
It looks like user-error at the moment. The exception is for processing a '--JavaOptions' argument w/o anything following it. Yes, argument parsing could be more robust, but that isn't anyone immediate concern at the moment :). It is possible that it is a command-line-length thing, in which case you should split it into one //IS// and two //US// statements. Merrill Cornish [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Bill, Here's the Dr. Watson log for the failure of the install of Tomcat as a service. Application exception occurred: App: E:\Program Files\Apache Group\Tomcat 5.0.16\bin\tomcat.exe (pid=2032) When: 12/24/2003 @ 10:01:13.045 Exception number: c005 (access violation) * System Information * Computer Name: MERRILL User Name: Merrill Cornish Terminal Session Id: 0 Number of Processors: 1 Processor Type: x86 Family 6 Model 8 Stepping 1 Windows Version: 5.1 Current Build: 2600 Service Pack: 1 Current Type: Uniprocessor Free Registered Organization: Registered Owner: Merrill Cornish * Task List * 0 System Process 4 System 372 smss.exe 588 csrss.exe 612 winlogon.exe 656 services.exe 668 lsass.exe 872 svchost.exe 964 svchost.exe 1124 svchost.exe 1184 ccEvtMgr.exe 1328 spoolsv.exe 1424 mysqld-max-nt.exe 1496 navapsvc.exe 1596 Error 0xD022 1864 Explorer.EXE 1960 ccApp.exe 180 jusched.exe 184 Error 0xD022 220 Remind32.exe 1800 cmd.exe 508 HTMLKit.exe 3264 iexplore.exe 3724 cmd.exe 3568 drwtsn32.exe 3556 thunderbird.exe 2032 tomcat.exe 2336 drwtsn32.exe * Module List * (0040 - 0040d000: E:\Program Files\Apache Group\Tomcat 5.0.16\bin\tomcat.exe (70a7 - 70ad5000: C:\WINDOWS\system32\SHLWAPI.dll (77c0 - 77c07000: C:\WINDOWS\system32\VERSION.dll (77c1 - 77c63000: C:\WINDOWS\system32\msvcrt.dll (77c7 - 77cb: C:\WINDOWS\system32\GDI32.dll (77d4 - 77dcc000: C:\WINDOWS\system32\USER32.dll (77dd - 77e5d000: C:\WINDOWS\system32\ADVAPI32.dll (77e6 - 77f46000: C:\WINDOWS\system32\kernel32.dll (77f5 - 77ff7000: C:\WINDOWS\System32\ntdll.dll (7800 - 78086000: C:\WINDOWS\system32\RPCRT4.dll * State Dump for Thread Id 0xc4c * eax= ebx=00832430 ecx= edx=00832024 esi=0007 edi= eip=00405971 esp=0012fce4 ebp=00833d74 iopl=0 nv up ei pl nz na pe nc cs=001b ss=0023 ds=0023 es=0023 fs=0038 gs= efl=0202 *** WARNING: Unable to verify checksum for E:\Program Files\Apache Group\Tomcat 5.0.16\bin\tomcat.exe *** ERROR: Module load completed but symbols could not be loaded for E:\Program Files\Apache Group\Tomcat 5.0.16\bin\tomcat.exe function: tomcat 00405953 40 inc eax 00405954 0057ff add [edi-0x1],dl 00405957 152c714000 adc eax,0x40712c 0040595c 83c40c add esp,0xc 0040595f 85c0 testeax,eax 00405961 0f858900 jne tomcat+0x59f0 (004059f0) 00405967 8b7d04 mov edi,[ebp+0x4] 0040596a 83c504 add ebp,0x4 0040596d 83c9ff or ecx,0x 00405970 46 inc esi FAULT -00405971 f2ae repne scasb es:=?? 00405973 8b54242c mov edx,[esp+0x2c] 00405977 8974241c mov [esp+0x1c],esi 0040597b f7d1 not ecx 0040597d 2bf9 sub edi,ecx 0040597f 8bc1 mov eax,ecx 00405981 8bf7 mov esi,edi 00405983 8bfa mov edi,edx 00405985 c1e902 shr ecx,0x2 00405988 f3a5 rep movsd 0040598a 8bc8 mov ecx,eax * Stack Back Trace * WARNING: Stack unwind information not available. Following frames may be wrong. ChildEBP RetAddr Args to Child 00833d74 505c3a45 72676f72 46206d61 73656c69 tomcat+0x5971 0x505c3a45 * Raw Stack Dump * 0012fce4 30 24 83 00 29 fe 12 00 - e5 4d e7 77 00 00 00 00 0$..)M.w 0012fcf4 00 00 00 00 10 00 00 00 - 83 54 40 00 06 00 00 00 [EMAIL PROTECTED] 0012fd04 07 00 00 00 58 3d 83 00 - 20 fd 12 00 24 fd 12 00 X=.. ...$... 0012fd14 92 c8 c3 77 38 3e 83 00 - e9 68 e7 77 00 00 00 00 ...w8...h.w 0012fd24 45 3a 5c 50 72 6f 67 72 - 61 6d 20 46 69 6c 65 73 E:\Program Files 0012fd34 5c 41 70 61 63 68 65 20 - 47 72 6f 75 70 5c 54 6f \Apache Group\To 0012fd44 6d 63 61 74 20 35 2e 30 - 2e 31 36 5c 62 69 6e 5c