From userstaylorsarah@example.com Thu Oct 01 00:43:06 2009 Return-Path: <userstaylorsarah@example.com> Delivered-To: taylorsarah@example.com Received: (qmail 54448 invoked from network); 1 Oct 2009 00:43:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Oct 2009 00:43:05 -0000 Received: (qmail 80708 invoked by uid 500); 1 Oct 2009 00:43:01 -0000 Delivered-To: taylorsarah@example.com Received: (qmail 80619 invoked by uid 500); 1 Oct 2009 00:43:01 -0000 Mailing-List: contact taylorsarah@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:taylorsarah@example.com> List-Unsubscribe: <mailto:taylorsarah@example.com> List-Post: <mailto:taylorsarah@example.com> List-Id: <users.tomcat.apache.org> Reply-To: "Tomcat Users List" <taylorsarah@example.com> Delivered-To: mailing list taylorsarah@example.com Received: (qmail 80607 invoked by uid 99); 1 Oct 2009 00:43:01 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Oct 2009 00:43:01 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of taylorsarah@example.com designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-qy0-f179.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Oct 2009 00:42:50 +0000 Received: by qyk9 with SMTP id 9so11477881qyk.30 for <taylorsarah@example.com>; Wed, 30 Sep 2009 17:42:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:in-reply-to :references:content-type:date:message-id:mime-version:x-mailer :content-transfer-encoding; bh=Rn4MfkhtQfSoqcNfHtDp+J7z+cIw8VzvCyE1HhrJlqo=; b=Kh29MjI50EHlTB3JsdNAtilpU+cx3axS8XmHbxfC7FJZgyJ1A4EoqcXuooW23N9wHg QpJgwkWRsFHjc1NGiNcZtL4jbiDieSKVj+ljpPa+VwXAovZbL8r9O4O6OjWtTDIooBkj 2UZfU0VRrKqIubJ+HJK9Y8OvL3WkIpUK2jg+8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:in-reply-to:references:content-type:date:message-id :mime-version:x-mailer:content-transfer-encoding; b=BshbBWoCE2upe+wfY8aHPPF24BkwPXWBLHU8nZ5aXOakGbo+CyKDXlg7bRzVNjxiNP hkFa1lE0dxl8L2z+EJtRGTnVpxo853DYIgWqGb8yovY3Hg8PEmTdmKcOANDNMzjREJnd vf51ak2L7oBsBwwfDyJwGPMrQOH0wdyxUjM8c= Received: by 83.161.120.155 with SMTP id i9mr395891qcd.83.1254357749170; Wed, 30 Sep 2009 17:42:29 -0700 (PDT) Received: from ?83.161.120.155? (173-30-54-17.client.mchsi.com [83.161.120.155]) by mx.google.com with ESMTPS id 4sm267186qwe.25.283.161.120.155.42.26 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 30 Sep 2009 17:42:27 -0700 (PDT) Subject: Re: errors after install From: Daniel Wittenberg <taylorsarah@example.com> To: Tomcat Users List <taylorsarah@example.com> In-Reply-To: <taylorsarah@example.com> References: <taylorsarah@example.com> <taylorsarah@example.com> <taylorsarah@example.com> <taylorsarah@example.com> Content-Type: text/plain Date: Wed, 30 Sep 2009 19:42:24 -0500 Message-Id: <taylorsarah@example.com> Mime-Version: 1.0 X-Mailer: Evolution 2.26.3 (2.26.3-1.fc11) Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org >> Daniel Wittenberg wrote: > >>> I'm setting up spacewalk, all default settings, and I'm getting this in > >>> the catalina.out. Any ideas ? > >>> Sep 29, 2009 7:19:34 PM com.mchange.v2.resourcepool.BasicResourcePool > >>> $AcquireTask run > >>> WARNING: com.mchange.v2.resourcepool.BasicResourcePool > >>> $AcquireTask@7da79447 -- Acquisition Attempt Failed!!! Clearing pending > >>> acquires. While trying to acquire a needed new resource, we failed to > >>> succeed more than the maximum number of allowed acquisition attempts > >>> (30). I don't see that the RPM's include version.sh, so the closest I know how to get: tomcat5-5.5.23-0jpp.7.el5_3.2 I stopped tomcat, cleared the log and started again and got this: Sep 30, 2009 8:13:08 PM org.apache.catalina.core.AprLifecycleListener lifecycleEvent INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/lib/jvm/java-1.6.0-openjdk-83.161.120.155.x86_64/jre/lib/amd64/server:/usr/lib/jvm/java-1.6.0-openjdk-83.161.120.155.x86_64/jre/lib/amd64:/usr/lib/jvm/java-1.6.0-openjdk-83.161.120.155.x86_64/jre/../lib/amd64:/opt/oracle/lib:/usr/lib:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib .. Sep 30, 2009 8:13:08 PM org.apache.catalina.startup.HostConfig deployDescriptor WARNING: A docBase /var/lib/tomcat5/webapps/rhn inside the host appBase has been specified, and will be ignored Sep 30, 2009 8:13:08 PM org.apache.catalina.loader.WebappClassLoader validateJarFile INFO: validateJarFile(/usr/share/tomcat5/webapps/rhn/WEB-INF/lib/jspapi.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/jsp/JspPage.class Sep 30, 2009 8:13:44 PM com.mchange.v2.resourcepool.BasicResourcePool $AcquireTask run WARNING: com.mchange.v2.resourcepool.BasicResourcePool $AcquireTask@60ab835a -- Acquisition Attempt Failed!!! Clearing pending acquires. While trying to acquire a needed new resource, we failed to succeed more than the maximum number of allowed acquisition attempts (30). Sep 30, 2009 8:13:44 PM com.mchange.v2.resourcepool.BasicResourcePool $AcquireTask run WARNING: com.mchange.v2.resourcepool.BasicResourcePool $AcquireTask@1c3cbb4b -- Acquisition Attempt Failed!!! Clearing pending acquires. While trying to acquire a needed new resource, we failed to succeed more than the maximum number of allowed acquisition attempts (30). 2009-09-30 20:13:44,630 [main] WARN org.hibernate.cfg.SettingsFactory - Could not obtain connection metadata java.sql.SQLException: Connections could not be acquired from the underlying taylorsarah@example.com(SqlUtils.java:104) at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection(C3P0PooledConnectionPool.java:236) at com.mchange.v2.c3p0.PoolBackedDataSource.getConnection(PoolBackedDataSource.java:94) at org.hibernate.connection.C3P0ConnectionProvider.getConnection(C3P0ConnectionProvider.java:56) at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:84) at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2009) at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1292) at com.redhat.rhn.common.hibernate.ConnectionManager.createSessionFactory(ConnectionManager.java:173) at com.redhat.rhn.common.hibernate.ConnectionManager.initialize(ConnectionManager.java:119) at com.redhat.rhn.common.hibernate.HibernateFactory.createSessionFactory(HibernateFactory.java:91) at com.redhat.rhn.webapp.RhnServletListener.startHibernate(RhnServletListener.java:89) at com.redhat.rhn.webapp.RhnServletListener.contextInitialized(RhnServletListener.java:111) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3764) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4212) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:626) at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:553) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022) at org.apache.catalina.core.StandardHost.start(StandardHost.java:736) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:448) at org.apache.catalina.core.StandardServer.start(StandardServer.java:700) at org.apache.catalina.startup.Catalina.start(Catalina.java:552) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433) Caused by: com.mchange.v2.resourcepool.CannotAcquireResourceException: A ResourcePool could not acquire a resource from its primary factory or source. at com.mchange.v2.resourcepool.BasicResourcePool.awaitAcquire(BasicResourcePool.java:970) at com.mchange.v2.resourcepool.BasicResourcePool.checkoutResource(BasicResourcePool.java:208) at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection(C3P0PooledConnectionPool.java:232) ... 34 more Looks like the only ports it's opening is 8080: # netstat -nap |grep -i listen tcp 0 0 888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4:8080 888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4:* LISTEN 2651/java # ps -ef |grep 2651 tomcat 2651 1 32 20:40 ? 00:00:08 /usr/lib/jvm/java/bin/java -ea -Xms256m -Xmx256m -Djava.awt.headless=true -Dorg.xml.sax.driver=org.apache.xerces.parsers.SAXParser -XX:MaxNewSize=256 -XX:-UseConcMarkSweepGC -Dcatalina.ext.dirs=/usr/share/tomcat5/shared/lib:/usr/share/tomcat5/common/lib -Djava.endorsed.dirs=/usr/share/tomcat5/common/endorsed -classpath /usr/lib/jvm/java/lib/tools.jar:/usr/share/tomcat5/bin/bootstrap.jar:/usr/share/tomcat5/bin/commons-logging-api.jar:/usr/share/java/mx4j/mx4j-impl.jar:/usr/share/java/mx4j/mx4j-jmx.jar -Dcatalina.base=/usr/share/tomcat5 -Dcatalina.home=/usr/share/tomcat5 -Djava.io.tmpdir=/usr/share/tomcat5/temp org.apache.catalina.startup.Bootstrap start Does that help more ? Thanks, Dan --------------------------------------------------------------------- To unsubscribe, e-mail: taylorsarah@example.com For additional commands, e-mail: taylorsarah@example.com From userstaylorsarah@example.com Thu Oct 01 01:37:10 2009 Return-Path: <userstaylorsarah@example.com> Delivered-To: taylorsarah@example.com Received: (qmail 73709 invoked from network); 1 Oct 2009 01:37:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Oct 2009 01:37:10 -0000 Received: (qmail 11128 invoked by uid 500); 1 Oct 2009 01:37:06 -0000 Delivered-To: taylorsarah@example.com Received: (qmail 11073 invoked by uid 500); 1 Oct 2009 01:37:06 -0000 Mailing-List: contact taylorsarah@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:taylorsarah@example.com> List-Unsubscribe: <mailto:taylorsarah@example.com> List-Post: <mailto:taylorsarah@example.com> List-Id: <users.tomcat.apache.org> Reply-To: "Tomcat Users List" <taylorsarah@example.com> Delivered-To: mailing list taylorsarah@example.com Received: (qmail 11062 invoked by uid 99); 1 Oct 2009 01:37:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Oct 2009 01:37:06 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of taylorsarah@example.com designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO lo.gmane.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Oct 2009 01:36:56 +0000 Received: from list by lo.gmane.org with local (Exim 4.50) id 1MtAax-0003YE-9v for taylorsarah@example.com; Thu, 01 Oct 2009 03:36:35 +0200 Received: from pool-71-107-255-51.lsanca.dsl-w.verizon.net ([83.161.120.155]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <taylorsarah@example.com>; Thu, 01 Oct 2009 03:36:35 +0200 Received: from billwbarker by pool-71-107-255-51.lsanca.dsl-w.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <taylorsarah@example.com>; Thu, 01 Oct 2009 03:36:35 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: taylorsarah@example.com From: "Bill Barker" <taylorsarah@example.com> Subject: Re: mod_jk with Apache HTTP server version 2.2 and Tomcat 6.0 Date: Wed, 30 Sep 2009 18:36:14 -0700 Lines: 85 Message-ID: <taylorsarah@example.com> References: <taylorsarah@example.com> <taylorsarah@example.com> X-Complaints-To: taylorsarah@example.com X-Gmane-NNTP-Posting-Host: pool-71-107-255-51.lsanca.dsl-w.verizon.net X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.3138 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350 X-RFC2646: Format=Flowed; Response Sender: news <taylorsarah@example.com> X-Virus-Checked: Checked by ClamAV on apache.org "André Warnier" <taylorsarah@example.com> wrote in message news:taylorsarah@example.com... > François Gravel wrote: >> Greetings, >> I'm a newbie trying my hand at setting up a local PHP and Java >> development >> environment. I use a laptop with Windows XP SP3. >> >> Both service are running fine locally, after install. I will describe >> what >> I did as I followed the procedure to have mod_jk handle the communication >> between them (from >> http://tomcat.apache.org/connectors-doc/webserver_howto/apache.html). I >> got >> the binary for Windows (mod_jk-1.2.28-httpd-2.2.3.so). >> >> Then I created a workers.properties file which I placed in a folder I >> created at $TOMCAT_HOME/conf/jk; the file content is: >> worker.list=worker1 >> worker.worker1.type=ajp13 >> worker.worker1.host=localhost >> worker.worker1.port=8009 > > So far, so good. >> >> I copied the file mod_jk-1.2.28-httpd-2.2.3.so to $HTTPD_HOME/modules and >> renamed it mod_jk.so. It was suggested at this point to also modify >> Apache's httpd.conf file. I imagine that meant to add a line to have the >> module loaded by Apache (I added "LoadModule mod_jk modules/mod_jk.so"). > > That's wrong, and probably the cause of the following messages. > It should be : > LoadModule jk_module modules/mod_jk.so > >> Doing this, however, leads to an intriguing message if you try to test >> the >> configuration: "Can't locate API module structure 'mod_jk' in file >> $HTTPD_HOME/modules/mod_jk.so: No error." Is it an error or not, I'm not >> sure, but since I'm not done with the procedure, I keep going. >> > Rectify the above, and then try again. There may be other problems, but > solve that one first. > >> I then went through the steps to use Tomcat to auto-configure. > > As far as I remember, that is not a very good idea either anymore. I > think I remember Rainer admitting that the mod_jk auto-configuration was > somewhat broken. > Yes, the auto-configure was written for Apache 1.3.x. And even then, it is almost alway necessary to modify the output file by hand. Nobody has felt the itch to get it to work with Apache 2.x, much less with newer versions of mod_jk. The result is that this feature will be gone in Tomcat 7. > So I've >> added the line "Include $TOMCAT_HOME/conf/jk/mod_jk.conf-auto" to the >> file $HTTPD_HOME/conf/httpd.conf. >> >> I also added the listener by way of the line "<Listener >> className="org.apache.jk.config.ApacheConfig" modJk="/path/to/mod_jk.so" >> />" >> in the file $TOMCAT_HOME/conf/server.xml. >> >> Then I re-started Tomcat to generate mod_jk.conf-auto: it is of note to >> specify that the name of the file is "mod_jk.conf" and not >> "mod_jk.conf-auto". >> >> Finally, I modified the Apache webserver configuration file >> $HTTPD_HOME/conf/httpd.conf to include the simple configuration example. >> >> The end result being a failure to start the Apache 2.2 server: testing >> the >> configuration reveals the same error listed above: "Can't locate API >> module >> structure 'mod_jk' in file $HTTPD_HOME/modules/mod_jk.so: No error." >> >> Please, I've spent hours getting to this point, but I have no idea how to >> get around this error. Thank you, >> > > See above. --------------------------------------------------------------------- To unsubscribe, e-mail: taylorsarah@example.com For additional commands, e-mail: taylorsarah@example.com From userstaylorsarah@example.com Thu Oct 01 05:36:51 2009 Return-Path: <userstaylorsarah@example.com> Delivered-To: taylorsarah@example.com Received: (qmail 15754 invoked from network); 1 Oct 2009 05:36:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Oct 2009 05:36:50 -0000 Received: (qmail 11028 invoked by uid 500); 1 Oct 2009 05:36:46 -0000 Delivered-To: taylorsarah@example.com Received: (qmail 10967 invoked by uid 500); 1 Oct 2009 05:36:46 -0000 Mailing-List: contact taylorsarah@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:taylorsarah@example.com> List-Unsubscribe: <mailto:taylorsarah@example.com> List-Post: <mailto:taylorsarah@example.com> List-Id: <users.tomcat.apache.org> Reply-To: "Tomcat Users List" <taylorsarah@example.com> Delivered-To: mailing list taylorsarah@example.com Received: (qmail 10955 invoked by uid 99); 1 Oct 2009 05:36:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Oct 2009 05:36:46 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of taylorsarah@example.com designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-pz0-f190.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Oct 2009 05:36:35 +0000 Received: by pzk28 with SMTP id 28so2507080pzk.30 for <taylorsarah@example.com>; Wed, 30 Sep 2009 22:36:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=UvnbA5lPfDVWJ79bhZ9aLyuZuGFcSxE3hpmE7ClJZU4=; b=iKUdY7eEPShXHf/NNTOqYEqIG4mY5RdNCyPdH9XKIGGFOhwuvk212LFCtC0NO7Slay EjcF9cX7BQJxOrZscVqobJS8hDQmCFUh8z2aZUN6LeNrS2cEzhSgrvdbmWhRd18t8mI+ CjaJlToz2/ssVhduwVmHKBQ/5GconFele134w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=PPj+lk0g0vUgaVuBofTRxLI/saO+nVmHr3E9cVCImo96PHojyooqWKvLx00E4UsPko uNfwL+pHgCOCy+5/lnQFjl+tDGFpclmUIludd3IJYxpmsx+1GNrxOyIJds6WBZCXZWbP 2iyXbfUSNgI7yMuLsDHDgM3yKyPEHdj8j6KZY= MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id j12mr1365950wan.121.1254375374077; Wed, 30 Sep 2009 22:36:14 -0700 (PDT) Date: Wed, 30 Sep 2009 22:36:14 -0700 Message-ID: <taylorsarah@example.com> Subject: Comet duplicate END events From: Dan D <taylorsarah@example.com> To: taylorsarah@example.com Content-Type: multipart/alternative; boundary=0016e648f4b2963f690474d906ef X-Virus-Checked: Checked by ClamAV on apache.org --0016e648f4b2963f690474d906ef Content-Type: text/plain; charset=ISO-8859-1 I have the exact situation as described thoroughly here: http://taylorsarah@example.com/msg66793.html Any thoughts? --0016e648f4b2963f690474d906ef-- From userstaylorsarah@example.com Thu Oct 01 07:01:36 2009 Return-Path: <userstaylorsarah@example.com> Delivered-To: taylorsarah@example.com Received: (qmail 44529 invoked from network); 1 Oct 2009 07:01:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Oct 2009 07:01:36 -0000 Received: (qmail 64496 invoked by uid 500); 1 Oct 2009 07:01:32 -0000 Delivered-To: taylorsarah@example.com Received: (qmail 64416 invoked by uid 500); 1 Oct 2009 07:01:32 -0000 Mailing-List: contact taylorsarah@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:taylorsarah@example.com> List-Unsubscribe: <mailto:taylorsarah@example.com> List-Post: <mailto:taylorsarah@example.com> List-Id: <users.tomcat.apache.org> Reply-To: "Tomcat Users List" <taylorsarah@example.com> Delivered-To: mailing list taylorsarah@example.com Received: (qmail 64405 invoked by uid 99); 1 Oct 2009 07:01:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Oct 2009 07:01:32 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [83.161.120.155] (HELO smtp5.freeserve.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Oct 2009 07:01:21 +0000 Received: from me-wanadoo.net (localhost [83.161.120.155]) by mwinf3422.me.freeserve.com (SMTP Server) with ESMTP id A8B151C00082 for <taylorsarah@example.com>; Thu, 1 Oct 2009 09:00:51 +0200 (CEST) Received: from me-wanadoo.net (localhost [83.161.120.155]) by mwinf3422.me.freeserve.com (SMTP Server) with ESMTP id 9A2301C00083 for <taylorsarah@example.com>; Thu, 1 Oct 2009 09:00:51 +0200 (CEST) Received: from mx01.dev.local (unknown [83.161.120.155]) by mwinf3422.me.freeserve.com (SMTP Server) with ESMTP id 5F3F21C00082 for <taylorsarah@example.com>; Thu, 1 Oct 2009 09:00:51 +0200 (CEST) X-ME-UUID: taylorsarah@example.com Received: from localhost (localhost [83.161.120.155]) by mx01.dev.local (Postfix) with ESMTP id B1918321F6 for <taylorsarah@example.com>; Thu, 1 Oct 2009 08:01:14 +0100 (BST) X-Virus-Scanned: Debian taylorsarah@example.com Received: from mx01.dev.local ([83.161.120.155]) by localhost (mx01.dev.local [83.161.120.155]) (amavisd-new, port 10024) with ESMTP id QoiOXoQgekSr for <taylorsarah@example.com>; Thu, 1 Oct 2009 08:01:08 +0100 (BST) Received: from [83.161.120.155] (study03.dev.local [83.161.120.155]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.dev.local (Postfix) with ESMTPSA id D22B4321AD for <taylorsarah@example.com>; Thu, 1 Oct 2009 08:01:08 +0100 (BST) Message-ID: <taylorsarah@example.com> Date: Thu, 01 Oct 2009 08:00:39 +0100 From: Mark Thomas <taylorsarah@example.com> User-Agent: Thunderbird 83.161.120.155 (Windows/20090812) MIME-Version: 1.0 To: Tomcat Users List <taylorsarah@example.com> Subject: Re: 6.0.20 - New behavior on conf/Catalina/<host>/<ctxpath>.xml update. Why redeploy? References: <taylorsarah@example.com> <taylorsarah@example.com> <taylorsarah@example.com> <taylorsarah@example.com> <taylorsarah@example.com> <taylorsarah@example.com> In-Reply-To: <taylorsarah@example.com> X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Peter Crowther wrote: > I know it's bad form to reply to my original mail - sorry! > > 2009/9/30 Peter Crowther <taylorsarah@example.com>: >> I wonder whether this is a race condition with some text editors. For >> example, if vi operated in the following way: >> 1) Rename context.xml to context.xml~ >> 2) Create context.xml, write contents, close file >> ... then a poll of the state of context.xml between 1 and 2 would show >> context.xml as missing. > > A swift perusal of the vim/gvim sources indicates that at least those > two editors operate in exactly this way. There's a small period when > the file would appear not to be present if polled. That could explain what Igor saw although the odds of it happening must be pretty small. Could you raise a bug for this in Bugzilla? For the fix I'm thinking along the lines of waiting 500ms if the file appears to be deleted to check that it doesn't re-appear before continuing. Mark --------------------------------------------------------------------- To unsubscribe, e-mail: taylorsarah@example.com For additional commands, e-mail: taylorsarah@example.com From userstaylorsarah@example.com Thu Oct 01 07:16:50 2009 Return-Path: <userstaylorsarah@example.com> Delivered-To: taylorsarah@example.com Received: (qmail 48258 invoked from network); 1 Oct 2009 07:16:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Oct 2009 07:16:50 -0000 Received: (qmail 76229 invoked by uid 500); 1 Oct 2009 07:16:47 -0000 Delivered-To: taylorsarah@example.com Received: (qmail 76169 invoked by uid 500); 1 Oct 2009 07:16:46 -0000 Mailing-List: contact taylorsarah@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:taylorsarah@example.com> List-Unsubscribe: <mailto:taylorsarah@example.com> List-Post: <mailto:taylorsarah@example.com> List-Id: <users.tomcat.apache.org> Reply-To: "Tomcat Users List" <taylorsarah@example.com> Delivered-To: mailing list taylorsarah@example.com Received: (qmail 76158 invoked by uid 99); 1 Oct 2009 07:16:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Oct 2009 07:16:46 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of taylorsarah@example.com designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-ew0-f211.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Oct 2009 07:16:37 +0000 Received: by ewy7 with SMTP id 7so7359044ewy.41 for <taylorsarah@example.com>; Thu, 01 Oct 2009 00:15:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=+9q1Uqr7le5OV0sjRzqRA4z5119mBEQrtGRh2Dvi9BQ=; b=C8YqTtqYXw02tOv5YXoFTDscnklbfWPjirept86OkPGzxkCYQlby/hMoW4Nac9jEoe FAWWSXAjwPTi53DdC20Sp8Mz96i9ttbYDVDOp1RLVwrnJjhv92pJitWvGwpoE+xupUb0 PQxAofeX90KO53ts9mgAlBjOZwjMnz61fq+zc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=eXDasUgDwoJEvVIYVs3NXkT+Q588QSerLugYPub8QG2PbQh1H/Wf4bGfnS9qIu5RGR 2tCO3myRHlq8d8xMoxC6m7Wsl0+VBgMPGIPg6Iq4T/DT2SUHzTWjXYxN6hXlLfPhkNoI RJ/P80FRTF3xfvnl1wu0ybIe0vGlUOHglDBCE= MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id w7mr959802ebn.28.1254381316845; Thu, 01 Oct 2009 00:15:16 -0700 (PDT) In-Reply-To: <taylorsarah@example.com> References: <taylorsarah@example.com> <taylorsarah@example.com> <taylorsarah@example.com> <taylorsarah@example.com> Date: Thu, 1 Oct 2009 09:15:16 +0200 Message-ID: <taylorsarah@example.com> Subject: Re: Explanation mod_jk error messages From: Bocalinda <taylorsarah@example.com> To: Tomcat Users List <taylorsarah@example.com> Content-Type: multipart/alternative; boundary=00504502d037cdb15d0474da68c0 X-Virus-Checked: Checked by ClamAV on apache.org --00504502d037cdb15d0474da68c0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Thanks a lot Rainer. If the error messages are in some way "OK", then my question got answered. Thanks again. 2009/9/30 Rainer Jung <taylorsarah@example.com> > On 30.09.2009 17:19, Bocalinda wrote: > > Hi Andr=E9. > > > > I actually stopped one server on purpose, to test the mod_jk's behavior= . > > So the errors are not generated due to an overload or something. > > > > I would love to send you the whole workers.properties file and > server.xml, > > but unfurtunately at this moment I can't. > > In advance I can tell you that both Tomncat's are running on diffferent > > servers 10.189.x.x, on port 8009 and 8010 respectively. > > > > I stopped the server on port 8009, which coincides with the logs. > Although, > > it seems strange to me that it keeps trying to send request to that > server. > > > > Hope this helps... > > Yes, if a backend node is gone and you don't inform mod_jk it will > detect it, but it will also log it. > > Currently there is no separate probing of failed backends. If a backend > has been detected as failed, mod_jk will use one of the requests which > are eligible for this backend every now and then to see, if it works > again. Depending on the load this should happen about once a minute. > Usually mod_jk can detect very quickly, that the backend is still > broken, log the fact and send the request to some other backend. > > If you to a backend out of service for some time, then it is nicer to > set its attribute "activation" to stopped, Then mod_jk knows, that it > shouldn't try to send anything there (and will not log any errors). > > Regards, > > Rainer > > --------------------------------------------------------------------- > To unsubscribe, e-mail: taylorsarah@example.com > For additional commands, e-mail: taylorsarah@example.com > > --00504502d037cdb15d0474da68c0-- From userstaylorsarah@example.com Thu Oct 01 07:25:14 2009 Return-Path: <userstaylorsarah@example.com> Delivered-To: taylorsarah@example.com Received: (qmail 51621 invoked from network); 1 Oct 2009 07:25:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Oct 2009 07:25:14 -0000 Received: (qmail 88604 invoked by uid 500); 1 Oct 2009 07:25:10 -0000 Delivered-To: taylorsarah@example.com Received: (qmail 88520 invoked by uid 500); 1 Oct 2009 07:25:10 -0000 Mailing-List: contact taylorsarah@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:taylorsarah@example.com> List-Unsubscribe: <mailto:taylorsarah@example.com> List-Post: <mailto:taylorsarah@example.com> List-Id: <users.tomcat.apache.org> Reply-To: "Tomcat Users List" <taylorsarah@example.com> Delivered-To: mailing list taylorsarah@example.com Received: (qmail 88509 invoked by uid 99); 1 Oct 2009 07:25:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Oct 2009 07:25:10 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of taylorsarah@example.com designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO ey-out-1920.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Oct 2009 07:24:59 +0000 Received: by ey-out-1920.google.com with SMTP id 5so1589426eyb.2 for <taylorsarah@example.com>; Thu, 01 Oct 2009 00:23:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to :content-type:content-transfer-encoding; bh=WIQnjG0zZ9nqMiQ6vNRYalIIIIt5gonXF+8Tw1iZo20=; b=gwssWspYcovVmdw3JESirv+HOHqWuhjqeaF5Iv6oLMcKBgc23qXpfOeJYwA+UIgslC zoMUlD7l3DiBdDSmIqmKbWbry+e0/DvITF90mDAdRfLBprbsVd5HQxSgxBgBzNHU/jJd EMPlWp2QjjbEl4GiCjHUbGmMKtfZNMcXc4SCA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; b=EuSA2LLhEBs+ea8ZZvr+7hp43PAdw6zykh6tfD/wvh+jm3ZwqKsolzcujPiieFZtY2 tuIFSGuiTsYYfdf/qMkzQVtdTfsIxLnKBlnAmuaJJ33pS2zy+vEGJGgqAxxyUQ0ZQiur 33sdx67j4evBpIbiaZBmcEE1mQ22aW4Kwfnu8= MIME-Version: 1.0 Sender: taylorsarah@example.com Received: by 83.161.120.155 with SMTP id x57mr165746wee.83.1254381818646; Thu, 01 Oct 2009 00:23:38 -0700 (PDT) In-Reply-To: <taylorsarah@example.com> References: <taylorsarah@example.com> <taylorsarah@example.com> <taylorsarah@example.com> <taylorsarah@example.com> <taylorsarah@example.com> Date: Thu, 1 Oct 2009 08:23:38 +0100 X-Google-Sender-Auth: ab88962297fc399c Message-ID: <taylorsarah@example.com> Subject: Re: errors after install From: Peter Crowther <taylorsarah@example.com> To: Tomcat Users List <taylorsarah@example.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Yes, that helps considerably. 2009/10/1 Daniel Wittenberg <taylorsarah@example.com>: >>> Daniel Wittenberg wrote: > tomcat5-5.5.23-0jpp.7.el5_3.2 Great. Not the most up-to-date, but at least 5.5.23 isn't *too* ancient :-= ). > INFO: The Apache Tomcat Native library which allows optimal performance > in production environments was not found on the > java.library.path: /usr/lib/jvm/java-1.6.0-openjdk-83.161.120.155.x86_64/jre/lib= /amd64/server:/usr/lib/jvm/java-1.6.0-openjdk-83.161.120.155.x86_64/jre/lib/amd64:= /usr/lib/jvm/java-1.6.0-openjdk-83.161.120.155.x86_64/jre/../lib/amd64:/opt/oracle= /lib:/usr/lib:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib Not a problem, Tomcat will run fine without it. > WARNING: A docBase /var/lib/tomcat5/webapps/rhn inside the host appBase > has been specified, and will be ignored That's some very poor configuration somewhere in your conf/server.xml - if that's the CentOS default, then some packager needs their wrists slapping. Hard. > Sep 30, 2009 8:13:08 PM org.apache.catalina.loader.WebappClassLoader > validateJarFile > INFO: > validateJarFile(/usr/share/tomcat5/webapps/rhn/WEB-INF/lib/jspapi.jar) - > jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: > javax/servlet/jsp/JspPage.class Same again - if rhn is a RedHat-supplied app, including the API jars is Very Poor Practise. Tomcat's smart enough to ignore them, but it's a good indication that whoever wrote this didn't know what they were doing. > Sep 30, 2009 8:13:44 PM com.mchange.v2.resourcepool.BasicResourcePool > $AcquireTask run > WARNING: com.mchange.v2.resourcepool.BasicResourcePool > $AcquireTask@60ab835a -- Acquisition Attempt Failed!!! Clearing pending > acquires. While trying to acquire a needed new resource, we failed to > succeed more than the maximum number of allowed acquisition attempts > (30). Looks like the app's using c3p0 connection pooling. I think that's a consequence of... > 2009-09-30 20:13:44,630 [main] WARN =A0org.hibernate.cfg.SettingsFactory = - > Could not obtain connection metadata > java.sql.SQLException: Connections could not be acquired from the > underlying database! > =A0 =A0 =A0 =A0at com.mchange.v2.sql.SqlUtils.toSQLException(SqlUtils.jav= a:104) [...] > at com.redhat.rhn.common.hibernate.ConnectionManager.createSessionFactory= (ConnectionManager.java:173) That's the rhn app being unable to get hold of a database connection, probably because you haven't configured one. Do you need this app or can you bin it? > Looks like the only ports it's opening is 8080: > # netstat -nap |grep -i listen > tcp =A0 =A0 =A0 =A00 =A0 =A0 =A00 888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4:8080 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0 =A0 888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4:* > LISTEN =A0 =A0 =A02651/java Then I'm very worried, as you should at least have a shutdown port (usually 8005). Could you post your conf/server.xml here, preferably with comments stripped and any sensitive hostnames, usernames and passwords blanked? That would tell us a lot more. You might have to hunt for it, but it should be a file called server.xml *somewhere* on your system! It looks like Spacewalk is trying to talk from Apache httpd to Tomcat via AJP (which uses port 8009), but Tomcat's not configured with an AJP connector to listen on 8009. That would certainly give the symptoms you're observing. - Peter --------------------------------------------------------------------- To unsubscribe, e-mail: taylorsarah@example.com For additional commands, e-mail: taylorsarah@example.com From userstaylorsarah@example.com Thu Oct 01 07:47:45 2009 Return-Path: <userstaylorsarah@example.com> Delivered-To: taylorsarah@example.com Received: (qmail 56439 invoked from network); 1 Oct 2009 07:47:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Oct 2009 07:47:45 -0000 Received: (qmail 16733 invoked by uid 500); 1 Oct 2009 07:47:41 -0000 Delivered-To: taylorsarah@example.com Received: (qmail 16654 invoked by uid 500); 1 Oct 2009 07:47:41 -0000 Mailing-List: contact taylorsarah@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:taylorsarah@example.com> List-Unsubscribe: <mailto:taylorsarah@example.com> List-Post: <mailto:taylorsarah@example.com> List-Id: <users.tomcat.apache.org> Reply-To: "Tomcat Users List" <taylorsarah@example.com> Delivered-To: mailing list taylorsarah@example.com Received: (qmail 16642 invoked by uid 99); 1 Oct 2009 07:47:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Oct 2009 07:47:41 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of taylorsarah@example.com designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO kuber.nabble.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Oct 2009 07:47:30 +0000 Received: from isper.nabble.com ([83.161.120.155]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <taylorsarah@example.com>) id 1MtGNZ-0000wE-P8 for taylorsarah@example.com; Thu, 01 Oct 2009 00:47:09 -0700 Message-ID: <taylorsarah@example.com> Date: Thu, 1 Oct 2009 00:47:09 -0700 (PDT) From: MartinOShea <taylorsarah@example.com> To: taylorsarah@example.com Subject: Re: Tomcat 6.X and MySQL connection pooling issue In-Reply-To: <taylorsarah@example.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: taylorsarah@example.com References: <taylorsarah@example.com> X-Virus-Checked: Checked by ClamAV on apache.org Changing testOnBorrow = "true" has not changed the situation with the connection pool failing -can anyone suggest anything? Thanks. Martin. MartinOShea wrote: > > Hello > > I wonder if anyone can advise me on this issue. I have a Tomcat 6.X Java / > JSP application which uses connection pooling to access a MySQL database > but, if the application is left for up to eight hours, one of the pages > fails to display the contents of a dataset upon loading. > > Looking into the logs, I find that I have the following: > > ERROR|29 09 2009|08 42 > 19|http-8080-4|myDataSharer.database_access.Database_Metadata_DBA| - Error > getting types of columns of tabular Dataset 12 > > com.mysql.jdbc.CommunicationsException: Communications link failure due to > underlying exception: > > ** BEGIN NESTED EXCEPTION ** > > java.io.EOFException > > STACKTRACE: > > java.io.EOFException > at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:1956) > at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2368) > at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2867) > at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1616) > at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1708) > at com.mysql.jdbc.Connection.execSQL(Connection.java:3255) > at > com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1293) > at > com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:1428) > at > org.apache.tomcat.dbcp.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:93) > at > myDataSharer.database_access.Database_Metadata_DBA.getTabDSColumnTypes(Database_Metadata_DBA.java:364) > at > myDataSharer.database_access.Dataset_DBA.getTabDSAsHTMLTable(Dataset_DBA.java:1266) > > And so on for several hundred lines. > > Now the page in question is meant to display data from one of a number of > tables in MySQL which vary in their column types. Each table forms a > dataset which is created from data extracted from RSS feeds or an Excel / > CSV file uploaded by a user, hence the varying table column types. > > So, in the absence of defined object types, what the application does is > to look up the table's column types in a query > (Database_Metadata_DBA.getTabDSColumnTypes) and then use the output from > this to build a HTML table > (Dataset_DBA.getTabDSAsHTMLTable) which is returned to the servlet for > displaying in a JSP. Each database operation uses code similar to the > example below and these work perfectly normally. But I think what is > happening after eight hours of inactivity, is that the system is trying to > reuse a connection pool object that MySQL has closed down after its > default eight hour period. > > But I can't seem to resolve this problem and I wonder if anyone can > advise? > > The relevant part of my application's context.xml file is: > > name = "jdbc/myDataSharer" > auth = "Container" > maxActive = "100" > maxIdle = "30" > maxWait = "10000" > username = "XXXX" > password = "XXXXXXXXXX" > driverClassName = "com.mysql.jdbc.Driver" > url = "jdbc:mysql://XXXXXXXXXX:XXXX/myDataSharer?autoReconnect=true" > logAbandoned = "true" > minEvictableIdleTimeMillis = "30000" > numTestsPerEvictionRun = "5" > removeAbandoned = "true" > removeAbandonedTimeout = "120" > testOnBorrow = "false" > testOnReturn = "false" > testWhileIdle = "true" > timeBetweenEvictionRunsMillis = "60000" > type = "javax.sql.DataSource" > validationQuery = "select now()" /> > > And my application uses servlets which generally have several database IO > operations each of the form : > > public static Dataset getDataset(int DatasetNo) > { > ConnectionPool_DBA pool = ConnectionPool_DBA.getInstance(); > Connection connection = pool.getConnection(); > PreparedStatement ps = null; > ResultSet rs = null; > String query = ("SELECT * " + > "FROM Dataset " + > "WHERE DatasetNo = ?;"); > try { > ps = connection.prepareStatement(query); > ps.setInt(1, DatasetNo); > rs = ps.executeQuery(); > if (rs.next()) > { > Dataset d = new Dataset(); > d.setDatasetNo(rs.getInt("DatasetNo")); > d.setDatasetName(rs.getString("DatasetName")); > ... > } > return d; > } > else { > return null; > } > } > catch(Exception ex) > { > logger.error("Error getting Dataset " + DatasetNo + "\n", ex); > return null; > } > finally > { > DatabaseUtils.closeResultSet(rs); > DatabaseUtils.closePreparedStatement(ps); > pool.freeConnection(connection); > } > > Where class ConnectionPool_DBA is my own DBCP-based class. > > Apologies for the length of this message but any help would be much > appreciated. Is there a MySQL setting which should be changed at all? > > Thanks > > Martin O'Shea. > -- View this message in context: http://www.nabble.com/Tomcat-6.X-and-MySQL-connection-pooling-issue-tp25677820p25693459.html Sent from the Tomcat - User mailing list taylorsarah@example.com. --------------------------------------------------------------------- To unsubscribe, e-mail: taylorsarah@example.com For additional commands, e-mail: taylorsarah@example.com From userstaylorsarah@example.com Thu Oct 01 08:13:11 2009 Return-Path: <userstaylorsarah@example.com> Delivered-To: taylorsarah@example.com Received: (qmail 63797 invoked from network); 1 Oct 2009 08:13:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Oct 2009 08:13:11 -0000 Received: (qmail 54577 invoked by uid 500); 1 Oct 2009 08:13:06 -0000 Delivered-To: taylorsarah@example.com Received: (qmail 54523 invoked by uid 500); 1 Oct 2009 08:13:06 -0000 Mailing-List: contact taylorsarah@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:taylorsarah@example.com> List-Unsubscribe: <mailto:taylorsarah@example.com> List-Post: <mailto:taylorsarah@example.com> List-Id: <users.tomcat.apache.org> Reply-To: "Tomcat Users List" <taylorsarah@example.com> Delivered-To: mailing list taylorsarah@example.com Received: (qmail 54512 invoked by uid 99); 1 Oct 2009 08:13:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Oct 2009 08:13:06 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of taylorsarah@example.com designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO tor.combios.es) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Oct 2009 08:12:55 +0000 Received: from localhost (localhost [83.161.120.155]) by tor.combios.es (Postfix) with ESMTP id E039422608D for <taylorsarah@example.com>; Thu, 1 Oct 2009 10:12:04 +0200 (CEST) Received: from tor.combios.es ([83.161.120.155]) by localhost (tor.combios.es [83.161.120.155]) (amavisd-new, port 10024) with ESMTP id bF-+zh3w7gRN for <taylorsarah@example.com>; Thu, 1 Oct 2009 10:12:04 +0200 (CEST) Received: from [83.161.120.155] (p549EA6DE.dip0.t-ipconnect.de [83.161.120.155]) by tor.combios.es (Postfix) with ESMTPA id 91728226087 for <taylorsarah@example.com>; Thu, 1 Oct 2009 10:12:04 +0200 (CEST) Message-ID: <taylorsarah@example.com> Date: Thu, 01 Oct 2009 10:11:52 +0200 From: =?ISO-8859-1?Q?Andr=E9_Warnier?= <taylorsarah@example.com> Reply-To: Tomcat Users List <taylorsarah@example.com> User-Agent: Thunderbird 83.161.120.155 (Windows/20090812) MIME-Version: 1.0 To: Tomcat Users List <taylorsarah@example.com> Subject: Re: errors after install References: <taylorsarah@example.com> <taylorsarah@example.com> <taylorsarah@example.com> <taylorsarah@example.com> <taylorsarah@example.com> <taylorsarah@example.com> In-Reply-To: <taylorsarah@example.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org To agree and augment on everything Peter wrote, the whole thing stinks of a very broken installation and configuration package, or packages. Not for lack of desire to help, but I believe you should really go back to the spacewalker (or CentOS) help forum, and enquire there about working packages for your specific platform. We have no idea what is needed by this application. It seems that you have indeed some kind of Tomcat installed now, with some /rhn webapp half-installed in it. On the other hand, some other bits and pieces needed by that /rhn webapp appear to be missing, and some standard parts of Tomcat also (like the version.sh script). Even the standard Tomcat 8005 shutdown port doesn't seem to be there, which as Peter wrote is very strange. I am starting to wonder if this CentOS spacewalker package is not installing its own embedded Tomcat, which conflicts with another one already installed. Alternatively, you could try to de-install what you have installed so far, then install *only* the latest CentOS pure-Tomcat package you can find, and test if that one, on its own, works. Test it by simply calling the URL http://your-hostname:8080 in your browser. You should then get some Tomcat page, with an easily recognisable cat on it. Most standard Tomcat packages I have seen so far, have Tomcat configured so that it will, by default, listen on 3 ports : - port 8005 : that's Tomcat's "shutdown port"; you see it in the server.xml file as an attribute to the <Server> tag. - port 8080 : that's Tomcat's standard HTTP connector, which allows you to use it as a standard webserver (that one, you will find in a <Connector ... protocol="HTTP"> tag in server.xml - port 8009 : that is Tomcat's standard listening port for the AJP connector, another <Connector> tag in server.xml. This one may or may not be activated, depending on how the CentOS packagers structured their stuff. It may only get installed/activated if you install another complementary package containing mod_jk or mod_proxy_ajp, and this complementary package may in turn depend on the Apache httpd package being installed. And so on... Variations are endless, and depend on the whims and competence of whoever creates these packages for each platform. --------------------------------------------------------------------- To unsubscribe, e-mail: taylorsarah@example.com For additional commands, e-mail: taylorsarah@example.com From userstaylorsarah@example.com Thu Oct 01 08:55:13 2009 Return-Path: <userstaylorsarah@example.com> Delivered-To: taylorsarah@example.com Received: (qmail 73631 invoked from network); 1 Oct 2009 08:55:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Oct 2009 08:55:13 -0000 Received: (qmail 97058 invoked by uid 500); 1 Oct 2009 08:55:09 -0000 Delivered-To: taylorsarah@example.com Received: (qmail 96989 invoked by uid 500); 1 Oct 2009 08:55:09 -0000 Mailing-List: contact taylorsarah@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:taylorsarah@example.com> List-Unsubscribe: <mailto:taylorsarah@example.com> List-Post: <mailto:taylorsarah@example.com> List-Id: <users.tomcat.apache.org> Reply-To: "Tomcat Users List" <taylorsarah@example.com> Delivered-To: mailing list taylorsarah@example.com Received: (qmail 96978 invoked by uid 99); 1 Oct 2009 08:55:09 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Oct 2009 08:55:09 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of taylorsarah@example.com designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-ew0-f211.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Oct 2009 08:54:58 +0000 Received: by ewy7 with SMTP id 7so7421404ewy.41 for <taylorsarah@example.com>; Thu, 01 Oct 2009 01:53:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to :content-type:content-transfer-encoding; bh=1eZjFm7iTECj2bUEGagBDp7AyCVTRePAyrvea6B3gWA=; b=Xd3klorDuKWXfsZY7gLMBAJIshW4Kca2wDvtykvavOmaME8/i8MufJ+Z0QTxcY8Skl f5PmzUX61MU5Xw66BEcAXijo1x5kl9HCZMJLout6JMglCQoJlkJdMdDC4dOUOvq3s7Be MzkQXzzk9KZLWtOSd+Tmw3ZTb0QO0gjij6o7k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; b=jjVbU4UWcJs49Zo6h1lTl7NjOFNJuQm4z2yXVryu5tG1FfrjGLubsGy1IUFk070dEV GIT1HLM0oTwvD4CVNqWYyLeCUHqtQxQvNrzhKy99lol1wSft5R69WoeHDWiQ2C+EWY7c XFDStjOd28ZUazpTRanT6nWl7gAKlcEVG2Zxw= MIME-Version: 1.0 Sender: taylorsarah@example.com Received: by 83.161.120.155 with SMTP id v56mr207629web.132.1254387217807; Thu, 01 Oct 2009 01:53:37 -0700 (PDT) In-Reply-To: <taylorsarah@example.com> References: <taylorsarah@example.com> <taylorsarah@example.com> <taylorsarah@example.com> <taylorsarah@example.com> <taylorsarah@example.com> <taylorsarah@example.com> <taylorsarah@example.com> Date: Thu, 1 Oct 2009 09:53:37 +0100 X-Google-Sender-Auth: b23d7178f44fdcb6 Message-ID: <taylorsarah@example.com> Subject: Re: 6.0.20 - New behavior on conf/Catalina/<host>/<ctxpath>.xml update. Why redeploy? From: Peter Crowther <taylorsarah@example.com> To: Tomcat Users List <taylorsarah@example.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org 2009/10/1 Mark Thomas <taylorsarah@example.com>: > Peter Crowther wrote: >> I wonder whether this is a race condition with some text editors. =A0For >> example, if vi operated in the following way: >> 1) Rename context.xml to context.xml~ >> 2) Create context.xml, write contents, close file >> ... then a poll of the state of context.xml between 1 and 2 would show >> context.xml as missing. >> >> A swift perusal of the vim/gvim sources indicates that at least those >> two editors operate in exactly this way. =A0There's a small period when >> the file would appear not to be present if polled. > > That could explain what Igor saw although the odds of it happening must > be pretty small. Could you raise a bug for this in Bugzilla? For the fix > I'm thinking along the lines of waiting 500ms if the file appears to be > deleted to check that it doesn't re-appear before continuing. The odds would increase on a heavily loaded system, but I agree it's pretty unlikely. On the flip side, most people would only notice it if, like Igor, they didn't have the war file and had autoDeploy set to "true". In any other situation this would cause a re-deploy rather than a re-load, but the system would recover to its previous state. So it might be more common than we know! I'll create a Bugzilla entry once Bugzilla responds - at present it's timing out on 3 page loads in 4. My own suggested fix would have been to delete only if two successive polls indicated that the file had been deleted, but you know the source code far better than I do. - Peter --------------------------------------------------------------------- To unsubscribe, e-mail: taylorsarah@example.com For additional commands, e-mail: taylorsarah@example.com From userstaylorsarah@example.com Thu Oct 01 09:48:39 2009 Return-Path: <userstaylorsarah@example.com> Delivered-To: taylorsarah@example.com Received: (qmail 88128 invoked from network); 1 Oct 2009 09:48:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Oct 2009 09:48:39 -0000 Received: (qmail 51733 invoked by uid 500); 1 Oct 2009 09:48:35 -0000 Delivered-To: taylorsarah@example.com Received: (qmail 51667 invoked by uid 500); 1 Oct 2009 09:48:35 -0000 Mailing-List: contact taylorsarah@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:taylorsarah@example.com> List-Unsubscribe: <mailto:taylorsarah@example.com> List-Post: <mailto:taylorsarah@example.com> List-Id: <users.tomcat.apache.org> Reply-To: "Tomcat Users List" <taylorsarah@example.com> Delivered-To: mailing list taylorsarah@example.com Received: (qmail 51656 invoked by uid 99); 1 Oct 2009 09:48:35 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Oct 2009 09:48:35 +0000 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [83.161.120.155] (HELO zinal.switch.ch) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Oct 2009 09:48:24 +0000 Received: from [888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4] (helo=machr.switch.ch) by zinal.switch.ch with esmtps (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from <taylorsarah@example.com>) id 1MtICx-000796-7N for taylorsarah@example.com; Thu, 01 Oct 2009 11:44:19 +0200 Message-ID: <taylorsarah@example.com> Date: Thu, 01 Oct 2009 11:44:19 +0200 From: Halm Reusser <taylorsarah@example.com> User-Agent: Thunderbird 83.161.120.155 (Macintosh/20090812) MIME-Version: 1.0 To: taylorsarah@example.com Subject: Default character encoding for ServletRequest Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-SWITCH-SCANNER: bypassed X-Virus-Checked: Checked by ClamAV on apache.org Hi, Calling <%= request.getCharacterEncoding() %> in a jsp deployed in a Tomcat 6.0.20 container returns null. Is there any possibility to force a default CharacterEncoding for such requests? Thanks in advance! Regards, -- SWITCH Serving Swiss Universities -------------------------- Halm Reusser, Software Engineer Werdstrasse 2, P.O. Box, 8021 Zurich, Switzerland phone (581)345-5051, fax (581)345-5051 taylorsarah@example.com, http://www.switch.ch --------------------------------------------------------------------- To unsubscribe, e-mail: taylorsarah@example.com For additional commands, e-mail: taylorsarah@example.com From userstaylorsarah@example.com Thu Oct 01 10:35:15 2009 Return-Path: <userstaylorsarah@example.com> Delivered-To: taylorsarah@example.com Received: (qmail 5064 invoked from network); 1 Oct 2009 10:35:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Oct 2009 10:35:15 -0000 Received: (qmail 98349 invoked by uid 500); 1 Oct 2009 10:35:11 -0000 Delivered-To: taylorsarah@example.com Received: (qmail 98270 invoked by uid 500); 1 Oct 2009 10:35:11 -0000 Mailing-List: contact taylorsarah@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:taylorsarah@example.com> List-Unsubscribe: <mailto:taylorsarah@example.com> List-Post: <mailto:taylorsarah@example.com> List-Id: <users.tomcat.apache.org> Reply-To: "Tomcat Users List" <taylorsarah@example.com> Delivered-To: mailing list taylorsarah@example.com Received: (qmail 98245 invoked by uid 99); 1 Oct 2009 10:35:11 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Oct 2009 10:35:11 +0000 X-ASF-Spam-Status: No, hits=1.4 required=10.0 tests=FORGED_YAHOO_RCVD,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of taylorsarah@example.com designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO kuber.nabble.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Oct 2009 10:35:01 +0000 Received: from isper.nabble.com ([83.161.120.155]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <taylorsarah@example.com>) id 1MtIzg-0000IR-Ra for taylorsarah@example.com; Thu, 01 Oct 2009 03:34:40 -0700 Message-ID: <taylorsarah@example.com> Date: Thu, 1 Oct 2009 03:34:40 -0700 (PDT) From: Kreshna Aryaguna Nurzaman <taylorsarah@example.com> To: taylorsarah@example.com Subject: Installing Tomcat: how much do versions matter? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: taylorsarah@example.com X-Virus-Checked: Checked by ClamAV on apache.org I need to install the following components on Windows XP (for ArcIMS): 1) Apache 2.0.43 (MSI installer for Windows, no crypto) 2) JSDK 1.4.1_01 3) Tomcat 4.1.12 4) mod_jk2-2.0.43.dll Problem is, Apache 2.0.43 and Tomcat 4.1.12 are just _nowhere_ to be found. These are what I got instead: 1) Apache 2.0.63 (MSI installer for Windows, no crypto) 2) JSDK 1.4.1_01 3) Tomcat 4.1.40 4) mod_jk2-2.0.43.dll The Tomcat 4.1.40 is the JDK 1.4 version, so I think (or hope) there should be no problem with that. However, the Apache is 2.0.63, while the mod_jk2 connector is clearly named mod_jk2-2.0.43.dll. Will I be able to run everything smoothly, or will they just fail? What if I go with newest version of every component instead? Thus, I'll be using: 1) Apache 2.2.13 2) JSDK 6u16 3) Tomcat 6.0.20 4) mod_jk-1.2.28-httpd-2.2.3.so Are those safe choices? -- View this message in context: http://www.nabble.com/Installing-Tomcat%3A-how-much-do-versions-matter--tp25696421p25696421.html Sent from the Tomcat - User mailing list taylorsarah@example.com. --------------------------------------------------------------------- To unsubscribe, e-mail: taylorsarah@example.com For additional commands, e-mail: taylorsarah@example.com From userstaylorsarah@example.com Thu Oct 01 10:38:38 2009 Return-Path: <userstaylorsarah@example.com> Delivered-To: taylorsarah@example.com Received: (qmail 5655 invoked from network); 1 Oct 2009 10:38:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Oct 2009 10:38:38 -0000 Received: (qmail 3169 invoked by uid 500); 1 Oct 2009 10:38:34 -0000 Delivered-To: taylorsarah@example.com Received: (qmail 3134 invoked by uid 500); 1 Oct 2009 10:38:34 -0000 Mailing-List: contact taylorsarah@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:taylorsarah@example.com> List-Unsubscribe: <mailto:taylorsarah@example.com> List-Post: <mailto:taylorsarah@example.com> List-Id: <users.tomcat.apache.org> Reply-To: "Tomcat Users List" <taylorsarah@example.com> Delivered-To: mailing list taylorsarah@example.com Received: (qmail 3123 invoked by uid 99); 1 Oct 2009 10:38:34 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Oct 2009 10:38:34 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of taylorsarah@example.com designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO tor.combios.es) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Oct 2009 10:38:23 +0000 Received: from localhost (localhost [83.161.120.155]) by tor.combios.es (Postfix) with ESMTP id A0954226090 for <taylorsarah@example.com>; Thu, 1 Oct 2009 12:38:02 +0200 (CEST) Received: from tor.combios.es ([83.161.120.155]) by localhost (tor.combios.es [83.161.120.155]) (amavisd-new, port 10024) with ESMTP id mjXrt--rv2iP for <taylorsarah@example.com>; Thu, 1 Oct 2009 12:38:02 +0200 (CEST) Received: from [83.161.120.155] (p549EA6DE.dip0.t-ipconnect.de [83.161.120.155]) by tor.combios.es (Postfix) with ESMTPA id 5AC8C22608B for <taylorsarah@example.com>; Thu, 1 Oct 2009 12:38:02 +0200 (CEST) Message-ID: <taylorsarah@example.com> Date: Thu, 01 Oct 2009 12:37:50 +0200 From: =?ISO-8859-1?Q?Andr=E9_Warnier?= <taylorsarah@example.com> Reply-To: Tomcat Users List <taylorsarah@example.com> User-Agent: Thunderbird 83.161.120.155 (Windows/20090812) MIME-Version: 1.0 To: Tomcat Users List <taylorsarah@example.com> Subject: Re: Default character encoding for ServletRequest References: <taylorsarah@example.com> In-Reply-To: <taylorsarah@example.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Halm Reusser wrote: > Hi, > > Calling <%= request.getCharacterEncoding() %> in a jsp deployed in a > Tomcat 6.0.20 container returns null. > > Is there any possibility to force a default CharacterEncoding for such > requests? > Don't worry, there is already a default. The only problem is to figure out what it is.. ;-) My guess, at this stage, is that it is either iso-8859-1 (which is the default charset for the HTTP protocol), or else it is tied to whatever "locale" your Tomcat's JVM has been started under. It would also depend on whether the request which you are processing is a GET or a POST. And, whatever you would decide to set as a default at the server level, you can still not be quite sure that the client's choice matches yours. Confused enough ? Sorry, but that's about the most definite thing that can be said on the subject, considering the various often conflicting specifications that play a role here. If the past is any guide however, this post will probably trigger a lively discussion. --------------------------------------------------------------------- To unsubscribe, e-mail: taylorsarah@example.com For additional commands, e-mail: taylorsarah@example.com From userstaylorsarah@example.com Thu Oct 01 10:45:38 2009 Return-Path: <userstaylorsarah@example.com> Delivered-To: taylorsarah@example.com Received: (qmail 7215 invoked from network); 1 Oct 2009 10:45:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Oct 2009 10:45:38 -0000 Received: (qmail 14805 invoked by uid 500); 1 Oct 2009 10:45:34 -0000 Delivered-To: taylorsarah@example.com Received: (qmail 14728 invoked by uid 500); 1 Oct 2009 10:45:34 -0000 Mailing-List: contact taylorsarah@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:taylorsarah@example.com> List-Unsubscribe: <mailto:taylorsarah@example.com> List-Post: <mailto:taylorsarah@example.com> List-Id: <users.tomcat.apache.org> Reply-To: "Tomcat Users List" <taylorsarah@example.com> Delivered-To: mailing list taylorsarah@example.com Received: (qmail 14717 invoked by uid 99); 1 Oct 2009 10:45:34 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Oct 2009 10:45:34 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of taylorsarah@example.com designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO tor.combios.es) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Oct 2009 10:45:24 +0000 Received: from localhost (localhost [83.161.120.155]) by tor.combios.es (Postfix) with ESMTP id 77793226087 for <taylorsarah@example.com>; Thu, 1 Oct 2009 12:44:33 +0200 (CEST) Received: from tor.combios.es ([83.161.120.155]) by localhost (tor.combios.es [83.161.120.155]) (amavisd-new, port 10024) with ESMTP id RTZxP3RYA2ih for <taylorsarah@example.com>; Thu, 1 Oct 2009 12:44:33 +0200 (CEST) Received: from [83.161.120.155] (p549EA6DE.dip0.t-ipconnect.de [83.161.120.155]) by tor.combios.es (Postfix) with ESMTPA id 2F2C422608B for <taylorsarah@example.com>; Thu, 1 Oct 2009 12:44:33 +0200 (CEST) Message-ID: <taylorsarah@example.com> Date: Thu, 01 Oct 2009 12:44:21 +0200 From: =?ISO-8859-1?Q?Andr=E9_Warnier?= <taylorsarah@example.com> Reply-To: Tomcat Users List <taylorsarah@example.com> User-Agent: Thunderbird 83.161.120.155 (Windows/20090812) MIME-Version: 1.0 To: Tomcat Users List <taylorsarah@example.com> Subject: Re: Installing Tomcat: how much do versions matter? References: <taylorsarah@example.com> In-Reply-To: <taylorsarah@example.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Kreshna Aryaguna Nurzaman wrote: > I need to install the following components on Windows XP (for ArcIMS): > 1) Apache 2.0.43 (MSI installer for Windows, no crypto) > 2) JSDK 1.4.1_01 > 3) Tomcat 4.1.12 > 4) mod_jk2-2.0.43.dll > > Problem is, Apache 2.0.43 and Tomcat 4.1.12 are just _nowhere_ to be found. > These are what I got instead: > 1) Apache 2.0.63 (MSI installer for Windows, no crypto) > 2) JSDK 1.4.1_01 > 3) Tomcat 4.1.40 > 4) mod_jk2-2.0.43.dll > > The Tomcat 4.1.40 is the JDK 1.4 version, so I think (or hope) there should > be no problem with that. However, the Apache is 2.0.63, while the mod_jk2 > connector is clearly named mod_jk2-2.0.43.dll. Will I be able to run > everything smoothly, or will they just fail? > > What if I go with newest version of every component instead? Thus, I'll be > using: > 1) Apache 2.2.13 > 2) JSDK 6u16 > 3) Tomcat 6.0.20 > 4) mod_jk-1.2.28-httpd-2.2.3.so > Are those safe choices? Definitely. Why would you start with versions (as you mention at the beginning) which are at least 5 years old, and most of them not developed and not maintained and not supported anymore ? (Apache 2.0.63 being, I think, the only exception here). Contrary to what the numbering may lead you to believe, mod_jk2.x is a different product, older than mod_jk-1.2.28, and it is no longer developed nor supported. --------------------------------------------------------------------- To unsubscribe, e-mail: taylorsarah@example.com For additional commands, e-mail: taylorsarah@example.com From userstaylorsarah@example.com Thu Oct 01 11:03:23 2009 Return-Path: <userstaylorsarah@example.com> Delivered-To: taylorsarah@example.com Received: (qmail 12911 invoked from network); 1 Oct 2009 11:03:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Oct 2009 11:03:23 -0000 Received: (qmail 31273 invoked by uid 500); 1 Oct 2009 11:03:19 -0000 Delivered-To: taylorsarah@example.com Received: (qmail 31209 invoked by uid 500); 1 Oct 2009 11:03:19 -0000 Mailing-List: contact taylorsarah@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:taylorsarah@example.com> List-Unsubscribe: <mailto:taylorsarah@example.com> List-Post: <mailto:taylorsarah@example.com> List-Id: <users.tomcat.apache.org> Reply-To: "Tomcat Users List" <taylorsarah@example.com> Delivered-To: mailing list taylorsarah@example.com Received: (qmail 31198 invoked by uid 99); 1 Oct 2009 11:03:19 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Oct 2009 11:03:19 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of taylorsarah@example.com designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-ew0-f211.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Oct 2009 11:03:09 +0000 Received: by ewy7 with SMTP id 7so22036ewy.41 for <taylorsarah@example.com>; Thu, 01 Oct 2009 04:01:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to :content-type; bh=rXTX4O7+Lq21YBTxGAGm7CtyybkmxtnOZfjBos5Unxg=; b=jN6WP4YX8EQQDJunwU7BAjKFB3AZvUzqoFxMtrKbtQeAX+Ev95SerNlT9KFZb/cvqn x9BMY8uOKwdquhD9JYrtnALhCtfCbWIYpbGdAWQgp311MJci9XH9GMuFJkp+SE0LgM34 q86q0mK3y42vvAcBkBrxK0d0ZkHTIbQfh2DEE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; b=BniAJPH+15o386kMI8tBX6WyJozgtQUdHf1YKnyHQ2tbEmywT8cn9Q1FTvnMNApQvl JfnsQtm0PnC2cKKq6sWkuwRMfSB2L9q+ehP+MORummI2Dg/ggqmVqMtrPGtDSd5QYmzC pz6DVQDafpHOzvp5fuleXuEcJNkUzqVwWEk+E= MIME-Version: 1.0 Sender: taylorsarah@example.com Received: by 83.161.120.155 with SMTP id 57mr210256weh.53.1254394908966; Thu, 01 Oct 2009 04:01:48 -0700 (PDT) In-Reply-To: <taylorsarah@example.com> References: <taylorsarah@example.com> Date: Thu, 1 Oct 2009 12:01:48 +0100 X-Google-Sender-Auth: 567a908839043bbf Message-ID: <taylorsarah@example.com> Subject: Re: Installing Tomcat: how much do versions matter? From: Peter Crowther <taylorsarah@example.com> To: Tomcat Users List <taylorsarah@example.com> Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org 2009/10/1 Kreshna Aryaguna Nurzaman <taylorsarah@example.com>: > I need to install the following components on Windows XP (for ArcIMS): > 1) Apache 2.0.43 (MSI installer for Windows, no crypto) > 2) JSDK 1.4.1_01 > 3) Tomcat 4.1.12 > 4) mod_jk2-2.0.43.dll > [...] > What if I go with newest version of every component instead? Thus, I'll be > using: > 1) Apache 2.2.13 > 2) JSDK 6u16 > 3) Tomcat 6.0.20 > 4) mod_jk-1.2.28-httpd-2.2.3.so > Are those safe choices? I'll soften Andre's response slightly: "probably". ArcIMS might require some Java 1.4isms that are not in 1.6, or may rely on unsupported behaviour in Tomcat 4.1 that behaves a different way in 6.0. There's also a strong chance that if they tell you to change some configuration options in Tomcat, those options will be slightly different in Tomcat 6.0. Do you *need* Apache httpd? What are you using it for? If the configuration is just forwarding everything to Tomcat, you may well save yourself a lot of time and grief by removing httpd and mod_jk, and just serving all content out of Tomcat. A lot depends on ArcIMS. - Peter --------------------------------------------------------------------- To unsubscribe, e-mail: taylorsarah@example.com For additional commands, e-mail: taylorsarah@example.com From userstaylorsarah@example.com Thu Oct 01 11:13:58 2009 Return-Path: <userstaylorsarah@example.com> Delivered-To: taylorsarah@example.com Received: (qmail 15378 invoked from network); 1 Oct 2009 11:13:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Oct 2009 11:13:58 -0000 Received: (qmail 42916 invoked by uid 500); 1 Oct 2009 11:13:54 -0000 Delivered-To: taylorsarah@example.com Received: (qmail 42883 invoked by uid 500); 1 Oct 2009 11:13:54 -0000 Mailing-List: contact taylorsarah@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:taylorsarah@example.com> List-Unsubscribe: <mailto:taylorsarah@example.com> List-Post: <mailto:taylorsarah@example.com> List-Id: <users.tomcat.apache.org> Reply-To: "Tomcat Users List" <taylorsarah@example.com> Delivered-To: mailing list taylorsarah@example.com Received: (qmail 42872 invoked by uid 99); 1 Oct 2009 11:13:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Oct 2009 11:13:54 +0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=SPF_SOFTFAIL X-Spam-Check-By: apache.org Received-SPF: softfail (nike.apache.org: transitioning domain of taylorsarah@example.com does not designate 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-fx0-f218.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Oct 2009 11:13:44 +0000 Received: by fxm18 with SMTP id 18so25484fxm.41 for <taylorsarah@example.com>; Thu, 01 Oct 2009 04:13:23 -0700 (PDT) Received: by 83.161.120.155 with SMTP id l5mr1076630fge.3.1254395603858; Thu, 01 Oct 2009 04:13:23 -0700 (PDT) Received: from phoenix.config (78-86-122-68.zone2.bethere.co.uk [83.161.120.155]) by mx.google.com with ESMTPS id d6sm1754679fga.1.283.161.120.155.13.22 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 01 Oct 2009 04:13:22 -0700 (PDT) Message-ID: <taylorsarah@example.com> Date: Thu, 01 Oct 2009 12:13:21 +0100 From: Pid <taylorsarah@example.com> Reply-To: taylorsarah@example.com Organization: Pidster Inc User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-GB; rv:83.161.120.155) Gecko/20090715 Thunderbird/3.0b3 MIME-Version: 1.0 To: Tomcat Users List <taylorsarah@example.com> Subject: Re: Default character encoding for ServletRequest References: <taylorsarah@example.com> In-Reply-To: <taylorsarah@example.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On 01/10/2009 10:44, Halm Reusser wrote: > Hi, > > Calling <%= request.getCharacterEncoding() %> in a jsp deployed in a > Tomcat 6.0.20 container returns null. > > Is there any possibility to force a default CharacterEncoding for such > requests? How about? request.setCharacterEncoding("ENCODING"); Bearing in mind that you're not really changing what the client requests, or might expect you to be setting... p > Thanks in advance! > > Regards, > --------------------------------------------------------------------- To unsubscribe, e-mail: taylorsarah@example.com For additional commands, e-mail: taylorsarah@example.com From userstaylorsarah@example.com Thu Oct 01 11:26:20 2009 Return-Path: <userstaylorsarah@example.com> Delivered-To: taylorsarah@example.com Received: (qmail 18494 invoked from network); 1 Oct 2009 11:26:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Oct 2009 11:26:19 -0000 Received: (qmail 62051 invoked by uid 500);
{'source': 'Apache Software Foundation Public Mail Archives'}