Re: tomcat 7.0.29 build fails with dbcp target enabled; ok if disabled.

2012-07-24 Thread k9157
On Tue, Jul 24, 2012, at 06:11 PM, Caldarale, Charles R wrote: > Tomcat 7 must be built with JDK 6 due to incompatibilities introduced by > Sun/Oracle in JRE 7. Once built, you may run Tomcat 7 under JRE/JDK 7. > Tomcat 8 will be buildable with JDK 7. As JDK7 is our stanrard fare, is there a T

tomcat 7.0.29 build fails with dbcp target enabled; ok if disabled.

2012-07-24 Thread k9157
building Tomcat7 from src (apache-tomcat-7.0.29-src) with java -version java version "1.7.0_b147-icedtea" OpenJDK Runtime Environment (suse-27.1-x86_64) OpenJDK 64-Bit Server VM (build 23.0-b21, mixed mode) from Opensuse 12.1's repos (http:/

Re: launching Tomcat7 with jsvc. Want only one Tomcat instance, but 'ps' shows two -- or does it?

2012-07-23 Thread k9157
> > No other instance of 'java', 'jsvc' or 'tomcat' in the output. > > Hm. Re-reading the commons-daemon page, it looks like maybe the > launcher process exits shortly after launch, leaving only two > long-running processes: the controlling process (the one in the > fork()/wait() loop) and the c

Re: launching Tomcat7 with jsvc. Want only one Tomcat instance, but 'ps' shows two -- or does it?

2012-07-23 Thread k9157
On Mon, Jul 23, 2012, at 04:15 PM, Christopher Schultz wrote: > > netstat -pan --tcp | grep jsvc tcp0 0 :::8080 > > :::* LISTEN 30891/jsvc.exec tcp0 0 :::8009 > > :::* LISTEN 30891/jsvc.exec > > jsvc's job is to allow the controlled process to open ports, so a

@ Tomcat 7.0.29 shutdown, WARNING -> " Acceptor thread [null] failed to unlock. Forcing hard socket shutdown". It the warning a problem, or ignorable?

2012-07-23 Thread k9157
I've Tomcat 7.0.29 installed on linux/64. @ service shutdown, sh /etc/init.d/tomcat7 stop I see in my logs two "WARNING: Acceptor thread [null] failed to unlock. Forcing hard socket shutdown": INFO: Deploying web application directory /usr/local/tomcat7/b

Re: launching Tomcat7 with jsvc. Want only one Tomcat instance, but 'ps' shows two -- or does it?

2012-07-23 Thread k9157
Hi On Mon, Jul 23, 2012, at 01:10 PM, Jeff Beard wrote: > ps is showing threads as processes, which occurs with some versions of > Linux kernel. The listeners are 2 different threads: an AJP on 8009 and > an > HTTP on 8080. Ok, so that sounds like one PID per thread, at least according to ps on t

launching Tomcat7 with jsvc. Want only one Tomcat instance, but 'ps' shows two -- or does it?

2012-07-23 Thread k9157
I've built/installed Tomcat 7.0.29 from source on linux/64. I've setup an init.d using jsvc launch, loosely based on the src-bundled daemon.sh script. @ tomcat service launch, using out-of-the-box config for now, I see two listeners on ONE pid, netstat -pan --tcp | grep jsvc

Re: Tomcat 7.0.27 listens only @IPv6 localhost, ignores 'use IPv4' JAVA_OPTS in tomcat.conf. How to correctly force IPv4?

2012-07-22 Thread k9157
Hi, On Sun, Jul 22, 2012, at 03:57 PM, Tim Watts wrote: > But doing so would close the door on ::1, turning "prefer" into > "require". Whereas binding on ::* allows both IPv6 & 4 in. I guess > what's confusing in all this is that the "preferences" just deal with > "outbound" addresses and connec

Re: Tomcat 7.0.27 listens only @IPv6 localhost, ignores 'use IPv4' JAVA_OPTS in tomcat.conf. How to correctly force IPv4?

2012-07-22 Thread k9157
On Sun, Jul 22, 2012, at 08:42 PM, André Warnier wrote: > You still have a Connector listening on port 8009 (and IPv6). You may > want to disable that one too (the AJP connector), to match your above > desires. Of course. Now at, netstat -pan --tcp | grep java tcp0 0 127.0.0.1:8

Re: Tomcat 7.0.27 listens only @IPv6 localhost, ignores 'use IPv4' JAVA_OPTS in tomcat.conf. How to correctly force IPv4?

2012-07-22 Thread k9157
Hi, On Sun, Jul 22, 2012, at 02:08 PM, Tim Watts wrote: > > No. I want Tomcat7 to listen ONLY on one address: the IPv4 loopback @ > > 127.0.0.1. No other IPv4 addresses, and no IPv6 addresses at all. > > > Oh, that's easy: specify address="127.0.0.1" on your . it certainly appears to be: vi

Re: Tomcat 7.0.27 listens only @IPv6 localhost, ignores 'use IPv4' JAVA_OPTS in tomcat.conf. How to correctly force IPv4?

2012-07-22 Thread k9157
> What happens if you install a real Tomcat from tomcat.apache.org same issue > What do your elements in your server.xml file look like? It's out-of-the-box: ... ... > Have you installed APR? yes. apr-2-config --version 2.0.0 svn info `a

Re: Tomcat 7.0.27 listens only @IPv6 localhost, ignores 'use IPv4' JAVA_OPTS in tomcat.conf. How to correctly force IPv4?

2012-07-22 Thread k9157
Hi, On Sun, Jul 22, 2012, at 01:24 PM, Tim Watts wrote: > On Sun, 2012-07-22 at 08:03 -0700, k9...@operamail.com wrote: > > Linux svr 3.1.10-1.16-desktop #1 SMP PREEMPT Wed Jun 27 > > 05:21:40 UTC 2012 (d016078) x86_64 x86_64 x86_64 > > GNU/Linux > > > > IPv4 i

Re: Tomcat 7.0.27 listens only @IPv6 localhost, ignores 'use IPv4' JAVA_OPTS in tomcat.conf. How to correctly force IPv4?

2012-07-22 Thread k9157
reading here on this issue: "Re: Tomcat is only listening with ip6 and not ip4" http://linux.derkeiler.com/Mailing-Lists/Debian/2009-12/msg01262.html " ... Thus you should report a bug against Tomcat. Also you can replace "net.ipv6.bindv6only=1" wit

Re: Tomcat 7.0.27 listens only @IPv6 localhost, ignores 'use IPv4' JAVA_OPTS in tomcat.conf. How to correctly force IPv4?

2012-07-22 Thread k9157
Hi, On Sun, Jul 22, 2012, at 09:29 AM, Tony Anecito wrote: > I do it at the OS level via the adaptor properties for windows. If your > network does not support IPv6 I would disable it else you will get errors > in your logs about IPv6 for like say DHCP assignment. My network supports IPv6 just fi

Tomcat 7.0.27 listens only @IPv6 localhost, ignores 'use IPv4' JAVA_OPTS in tomcat.conf. How to correctly force IPv4?

2012-07-22 Thread k9157
I've installed rpm -qa | grep -i ^tomcat tomcat-lib-7.0.27-7.1.noarch tomcat-docs-webapp-7.0.27-7.1.noarch tomcat-javadoc-7.0.27-7.1.noarch tomcat-webapps-7.0.27-7.1.noarch tomcat-admin-webapps-7.0.27-7.1.noar