what does this error mean?
[Thu Nov 15 11:18:53 2001] [jk_ajp13_worker.c (228)]: connection_tcp_get_message: Error - jk_tcp_socket_recvfull failed [Thu Nov 15 11:18:53 2001] [jk_ajp13_worker.c (712)]: Error reading reply [Thu Nov 15 11:18:53 2001] [jk_ajp13_worker.c (845)]: In jk_endpoint_t::service, get_reply failed in send loop 0 Maureen Fisher, CIT/ID, Cornell University Ithaca, NY 14850 [EMAIL PROTECTED] http://mo.cit.cornell.edu/ Treat people as if they were what they ought to be and you help them to become what they are capable of being. --Johann Wolfgang von Goethe -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: mod_jk / Ajp13 config fix on heavily loaded system
] [jk_ajp13_worker.c (848)]: In jk_endpoint_t::service, send_request failed in send loop 2 [wed oct 31 11:03:21 2001] [jk_ajp13_worker.c (228)]: connection_tcp_get_message: Error - jk_tcp_socket_recvfull failed [wed oct 31 11:03:21 2001] [jk_ajp13_worker.c (712)]: Error reading reply Fortunatly, the fix is easy, just configure Ajp13Connector in server.xml to support up to 150 threads (or whatever you define as MaxClients in Apache, didn't know how on IIS/iPlanet). Ajp13Connector port=8009 maxThreads=150 maxSpareThreads=50 minSpareThreads=10 / Also you should take care of the number of descriptors opened in your webapplication, which is : Tomcat used descriptors (sockets, files) + YouWebApp descriptors (files, sockets, jdbc...) The JVM, like any others process have a limit on the number of descriptors it could open (and of course on number of threads). So take care of closing no more used socket, files and so on. - Henri Gomez ___[_] EMAIL : [EMAIL PROTECTED](. .) PGP KEY : 697ECEDD...oOOo..(_)..oOOo... PGP Fingerprint : 9DF8 1EA8 ED53 2F39 DC9B 904A 364F 80E6 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] Maureen Fisher, CIT/ID, Cornell University Ithaca, NY 14850 [EMAIL PROTECTED] http://mo.cit.cornell.edu/ Treat people as if they were what they ought to be and you help them to become what they are capable of being. --Johann Wolfgang von Goethe -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
tomcat server status
Like apache has the built-in monitor where you can watch the states of open threads to the web server, does tomcat offer anything like that? Our connector is dying under heavy lad and I am trying to tune it. Using jdk 1.3.0 under AIX Apache 1.3.14 Tomcat 3.2.2 ajpv13 Maureen Fisher, CIT/ID, Cornell University Ithaca, NY 14850 [EMAIL PROTECTED] http://mo.cit.cornell.edu/ Treat people as if they were what they ought to be and you help them to become what they are capable of being. --Johann Wolfgang von Goethe -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Loadbalancing and logs
Hi -- I have set up loadblancing btwn 2 machines. I have their lbfactor both set to 1. If I pound on the same servlet with about 4 windows open, I can see I am hitting both machines, but every once in a while the browser returns Document contains no data errors. Does the lb'ing get written to a log somewhere? What can I tweak or look for in my config to get rid of these errors? In standalone, these errors do not occur. Maureen Fisher, CIT/ID, Cornell University Ithaca, NY 14850 [EMAIL PROTECTED] http://mo.cit.cornell.edu/ Treat people as if they were what they ought to be and you help them to become what they are capable of being. --Johann Wolfgang von Goethe
redux -- Tomcat 3.2 apache, 2 boxes, mod_jk
I've been going through the archives and I am still stuck. While I can do this using mod_jserv, I have recently set up a box with ajpv13 and mod_jk. I have several contexts on the same machine that are mounted and operating. However I have been asked to mount a context from another machine. I added the info to the workers.properties like so # CyberTower worker.cybert12.port=8507 worker.cybert12.host=ip address (I really have a valid IP there) ;-) worker.cybert12.type=ajp12 and then in my httpd.conf # CyberTower test JkMount /admin/* cybert12 However I get a 500 error. Ideas? Suggestions? URL's? I can't get into cvs.apache.org to get latest docs. Maureen Fisher, CIT/ID, Cornell University Ithaca, NY 14850 [EMAIL PROTECTED] http://mo.cit.cornell.edu/ Treat people as if they were what they ought to be and you help them to become what they are capable of being. --Johann Wolfgang von Goethe
apache loses mime-type header
Has anyone seen this? The setup is apache 1.3.14 and tomcat 3.2.1 on AIX. The servlet correctly sets the header and with tomcat set up to accept HTTP requests, everything displays fine. However, if we access the same servlet through apache's port, it gets displayed as text/plain instead. Any ideas? Maureen Fisher, CIT/ID, Cornell University Ithaca, NY 14850 [EMAIL PROTECTED] http://mo.cit.cornell.edu/ Treat people as if they were what they ought to be and you help them to become what they are capable of being. --Johann Wolfgang von Goethe
setting home attribute
This is a comment in the server.xml of Tomcat.3.2 You can add a home attribute to represent the base for all relative paths. If none is set, the TOMCAT_HOME property will be used, and if not set . will be used. webapps/, work/ and logs/ will be relative to this ( unless set explicitely to absolute paths ). What is the syntax of this command? Maureen Fisher, CIT/ASDT, Cornell University Ithaca, NY 14850 [EMAIL PROTECTED] http://mo.cit.cornell.edu/ Ad astra per aspera
Re: Setting up Virtual Hosts
Does this work only with ajpv13 and/or Tomcat 3.2? I have tried this config with my setup (Apache 1.3.14, tomcat 3.1, ajpv12, AIX) with no success. We are preparing to move to 3.2. At 03:06 PM 5/24/2001 -0700, Jeff Kilbride wrote: Yes: NameVirtualHost 111.222.333.444 VirtualHost www.mydomain.com server.xml: Host www.mydomain.com This is how I have it set up and it works for about 10 domains. --jeff From: Glen Eustace [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Date: Wed, 23 May 2001 05:28:13 GMT To: [EMAIL PROTECTED] Subject: Re: Setting up Virtual Hosts Apache: VirtualHost www.mydomain.com server.xml: Host www.mydomain.com In your config, you're using an IP in the Apache VirtualHost directive and a hostname in your server.xml config. I have a feeling that may be causing your problems. Try changing your Apache config to use the host name in the VirtualHost directive, rather than the IPAddress and see if that makes a difference. Jeff, can you please confirm that you have the following directive ( with a different IP number of course ) NameVirtualHost 210.55.214.169 in your apache config, and that you have multiple hosts using that same IP number, and that these hosts are the same ones in you tomcat server.xml config. My experimentation would still suggest that tomcat is not doing named virtual hosts. Glen.
Re: Is there A Guide to Setting Up Apache Tomcat on Linux Anywhere on the Web?
make that http://www.GOOGLE.com/ ;-) At 11:18 AM 5/24/2001 -0400, Jan Labanowski wrote: Did you try to go to, say: http://www.goohle.com and search for: Apache Tomcat Linux Tell us what you found... Jan On Thu, 24 May 2001 [EMAIL PROTECTED] wrote: I've been struggling to get Apache Tomcat running on Linux. Can anyone point me to a web-based guide (hopefully PDF) to doing this? Thank you, Tom Hunter Jan K. Labanowski|phone: 614-292-9279, FAX: 614-292-7168 Ohio Supercomputer Center|Internet: [EMAIL PROTECTED] 1224 Kinnear Rd, |http://www.ccl.net/chemistry.html Columbus, OH 43212-1163 |http://www.osc.edu/
web.xml
Is there a way to specify the name of the web.xml file, as a command line parameter to tomcat? (Much like we can specify different server.xml files.) This is the default web.xml, not application specific. Thanks. Maureen Fisher, CIT/ASDT, Cornell University Ithaca, NY 14850 [EMAIL PROTECTED] http://mo.cit.cornell.edu/ Ad astra per aspera
migrating from 3.1 to 3.2.1 problems
Hi -- I am in the process of moving from Apache 1.3.12 to 1.3.14 and also Tomcat 3.1 to 3.2.1. Here's how I have it set up, which may be part of the problem I am experiencing. I am using an AIX box. The 1.3.12 build of Apache has mod_jserv.c built in. The 1.3.14 has DSO-enabled and I have the mod_jk.so and mod_jserv.so available to me. Because of the different architectures, I have the 1.3.14 build loading a different tomcat.conf file than the 1.3.12 version: the only difference is the line where the module is loaded. The problem: I have one context that will not load. I have tried to mount only the .jsp files to tomcat. ApJServMount /ivy/*.jsp ajpv12://localhost:8011/ivy This config works with Apache 1.3.12, mod_jserv.c and Tomcat 3.1. But not with 1.3.14, mod_jserv.so and Tomcat 3.1. Any clues as to why? Maureen Fisher, CIT/ASDT, Cornell University Ithaca, NY 14850 [EMAIL PROTECTED] http://mo.cit.cornell.edu/ Ad astra per aspera - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: Tomcat 3.2 + Apache 1.3.14 + Windows NT 4 + mod_jk
it says right in the tomcat docs that windows does not support relative paths. I should have thought of that ;-) At 12:35 PM 12/11/2000 -0800, Hernandez, Rey wrote: Hi all, Well, with the help of the comments I figured out the problem. I did not wish to use the auto-generated file because I wanted to change a few things manually. I thought that I had copied enough from the auto-conf to have my manual conf work. The problem was this: I set these two directives: IfModule mod_jk.c JkWorkersFile conf/workers.properties JkLogFile logs/mod_jk.log The auto-conf set them this way: IfModule mod_jk.c JkWorkersFile "C:/web/apache/conf/workers.properties" JkLogFile "C:/web/apache/logs/mod_jk.log" It seems that when I set them using relative paths that Apache did not know where to find them, even though relative paths work elsewhere in my httpd.conf file. Does anyone know why my way didn't work? Anyway, thanks for the help, I knew it had to be a simple user error. Rey -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, December 11, 2000 11:59 AM To: [EMAIL PROTECTED] Subject: RE: Tomcat 3.2 + Apache 1.3.14 + Windows NT 4 + mod_jk Note that with mod_jk, you have to start Tomcat first, then Apache. If you followed the directions in the howto, you'll see that you include in httpd.conf a file that is not present until Tomcat is running. -Original Message- From: Hernandez, Rey [mailto:[EMAIL PROTECTED]] Sent: Monday, December 11, 2000 1:37 PM To: '[EMAIL PROTECTED]' Subject: Tomcat 3.2 + Apache 1.3.14 + Windows NT 4 + mod_jk Hi all, I know this has probably been addressed before, but I can't find documentation on this anywhere, I checked the list archive, I've looked in the documentation, I've checked the readmes and I've looked at the mod_jk documentation very closely. I can get Tomcat up and running just fine as a standalone. I can get it running with apache when I use the mod_jserv module. When I try to get Tomcat running with Apache using mod_jk, apache won't start and I can't find errors in any of the log files. I'm sure someone has run into this problem at some point and I would appreciate a little light to be shed on this situation. Thanks in advance, Rey -Original Message- From: Duane Morse [mailto:[EMAIL PROTECTED]] Sent: Friday, December 08, 2000 11:56 AM To: '[EMAIL PROTECTED]' Subject: RE: Error Messages I think you can get errors of this type if the user clicks the STOP button on the browser before the response is completely transmitted (or, equivalently, when the user closes the browser prematurely). Duane Morse, Eldorado Computing Inc., Phoenix AZ -Original Message- From: Parayali, Jayesh 1065 [mailto:[EMAIL PROTECTED]] Sent: Friday, December 08, 2000 12:40 PM To: '[EMAIL PROTECTED]' Subject: Error Messages I am running tomcat 3.2 on windows NT workstation I am getting the below messages 2000-12-08 11:08:38 - Ctx( ): IOException in: R( + /00.jpg + null) Connection aborted by peer: socket write error Anybody encountered this problem? Thanks, Jayesh
Re: Your thoughts on organizing multiple web apps
give each developer a separate jvm and context; give each jvm its own classpath; give each application its own "webapps" directory and load app-specific jars in the WEB-INF. For example, we provide a base directory with common jars (ie a customized mailer, security services (we use kerberos) and vaious objects that make life easier). Some jars get updated and are placed alongside the older versions in this directory. Then using a classpath script that is called from the startup script the developer can pick and choose what jars and what versions to use in creating the application. The app jars are placed in the "webapps" directory are auto-loaded with each restart. Each webapp has its own server.xml file and startup files. The developer can specify what version jdk to use there too. This has worked very well, and several people can develop on the same box without effecting other's development efforts. Of course, your mileage may vary, and this is best used in development only. HTH... At 08:52 AM 12/06/2000 -0800, George McKInney wrote: We've got a heterogeneous collection of internal applications running under the same Tomcat installation, and have recently had some problems. This collection has "evolved" and changed as we learn more about using Tomcat, and the problem seems to be that some webapps (particularly the earlier ones) were installed with the .jar files they needed being put into TOMCAT_HOME/lib and when another app (which required, for example, a different version of some class) was installed with the .jars IT needed going into WEB-INF/lib the .jars in TOMCAT_HOME/lib "shadowed" the classes the new app needed. General consensus here seems (in hindsight) to be that TOMCAT_HOME/lib is ***NOT*** the place to put .jar files UNLESS the Tomcat administrator can ensure that every app that will be installed will be happy with them. Otherwise, the webapp should keep the .jars it needs in its own WEB-INF/lib even if that means some duplication of .jar files across the collection of webapps. Has anyone else had similar experiences, and what were your solutions? Thanks, George McKinney, Developer tantalus communications inc. 500-1122 Mainland Street Vancouver, BC, Canada V6B 5L1 [EMAIL PROTECTED] Direct 604.726.6753 Main604.609.0700 Fax 604.609.0705 www.tantalus.com "When eBusiness experience counts."