Re: Java 7 + Tomcat 6.0.35 + Win2k3 Problem

2012-03-14 Thread pricyber
I did nothing in the xml files, but in the embedded tomcat I did this instead. connector = embedded.createConnector((String)null, port, Http11NioProtocol.class.getName()); -- View this message in context: http://tomcat.10.n6.nabble.com/Java-7-Tomcat-6-0-35-Win2k3-Problem-tp4566739p4619650.html S

Re: Java 7 + Tomcat 6.0.35 + Win2k3 Problem

2012-03-14 Thread pricyber
I did nothing in the xml files, but in the embedded tomcat I did this instead. connector = embedded.createConnector((String)null, port, Http11NioProtocol.class.getName()); -- View this message in context: http://tomcat.10.n6.nabble.com/Java-7-Tomcat-6-0-35-Win2k3-Problem-tp4566739p4619649.html S

RE: Issues with the tomcat connector (On W2k8 + IIS7.5)

2012-03-14 Thread Alex Samad - Yieldbroker
> -Original Message- > From: Mladen Turk [mailto:mt...@apache.org] > Sent: Tuesday, 13 March 2012 5:01 PM > To: users@tomcat.apache.org > Subject: Re: Issues with the tomcat connector (On W2k8 + IIS7.5) > > On 03/13/2012 12:09 AM, Alex Samad - Yieldbroker wrote: > > [snip] > >> > >> Try

Re: Help with ROOT.xml and vhosting please? (fwd)

2012-03-14 Thread Pid
On 14/03/2012 22:25, Dave Shevett wrote: >> From: Pid >> Exactly which OS, Java & Tomcat versions are you using? > > This is an AWS micro instance running some variant of CentOS > Tomcat 6.0.33 > [ec2-user@app01 tomcat6]$ java -version > java version "1.6.0_22" > OpenJDK Runtime Environment (Iced

Re: JVM won't shut down: DestroyJavaVM thread stuck on ??

2012-03-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 3/14/12 2:04 PM, Caldarale, Charles R wrote: >> From: Christopher Schultz [mailto:ch...@christopherschultz.net] >> Subject: JVM won't shut down: DestroyJavaVM thread stuck on ?? > >> All threads are deamons except for this one: > >> "Dest

Re: crash with mod_jk 1.2.33

2012-03-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thad, On 3/14/12 3:13 PM, Thad Humphries wrote: > This version causes my Apache server to crash when serving most any > page I've tried--HTML, cgi-bin/test-cgi, GIF, etc. The only > exceptions I've found are Apache's htdocs/index.html page, > server-i

Re: Help with ROOT.xml and vhosting please?

2012-03-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dave, On 3/14/12 5:00 PM, Dave Shevett wrote: > Hi folks, I'm setting up a tomcat server that will be running a > few dozen vhosts all being served from the same war file. I've set > up AJP connectors for wildcard hosts on apache, and I'm able to see

Re: Help with ROOT.xml and vhosting please?

2012-03-14 Thread Pid
On 14/03/2012 21:00, Dave Shevett wrote: > Hi folks, I'm setting up a tomcat server that will be running a few > dozen vhosts all being served from the same war file. I've set up AJP > connectors for wildcard hosts on apache, and I'm able to see the tomcat > server from the outside world. Exactly

Re: Tomcat+SOLR, acceptCount not working

2012-03-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Андрей, On 3/14/12 2:17 PM, Андрей Беликов wrote: > Hi... I am running Apache Tomcat Version 7.0.26 with SOLR 3.5 on > jdk1.7.0_03 > > The problem is that i cannot limit count of connections. I never > get connection refused (only timeouts). For exa

Help with ROOT.xml and vhosting please?

2012-03-14 Thread Dave Shevett
Hi folks, I'm setting up a tomcat server that will be running a few dozen vhosts all being served from the same war file. I've set up AJP connectors for wildcard hosts on apache, and I'm able to see the tomcat server from the outside world. However, secondary vhosts I create don't seem to be

RE: Tomcat+SOLR, acceptCount not working

2012-03-14 Thread Caldarale, Charles R
> From: Андрей Беликов [mailto:pion...@mail.ru] > Subject: Tomcat+SOLR, acceptCount not working > protocol="org.apache.coyote.http11.Http11AprProtocol" What happens if you try a different protocol handler, such as org.apache.coyote.http11.Http11NioProtocol? > cachingAllowed="true">

Re: Java 7 + Tomcat 6.0.35 + Win2k3 Problem

2012-03-14 Thread Pid
On 14/03/2012 18:04, pricyber wrote: > It look like a similar issue with Tomcat 7 > http://tomcat.10.n6.nabble.com/Tomcat-7-Cluster-Issue-td4562937.html I couldn't replicate the issue on OSX with Oracle Java 7u4 or OpenJDK. The other thread referred to NIO configuration in the Cluster, which imp

Re: Java 7 + Tomcat 6.0.35 + Win2k3 Problem

2012-03-14 Thread pricyber
I downloaded the apache source code and commented out the line in org.apache.tomcat.util.net.SocketProperties.setProperties(SocketProperties.java:184) where it say socket.setTrafficClass(soTrafficClass); And it works, but not sure if there are any ill effects for doing that. This problem only o

crash with mod_jk 1.2.33

2012-03-14 Thread Thad Humphries
Since October of last year, I have run the mod_jk connector v. 1.2.32. I built the connector myself using Apache 2.2.15's apxs (I also built Apache myself). Today I downloaded, built, and installed the latest mod_jk connector, v. 1.2.33 ( http://mail-archives.apache.org/mod_mbox/tomcat-users/20120

Re: Tomcat advantages

2012-03-14 Thread André Warnier
Mark H. Wood wrote: But does it also walk dogs? In this area one should thread carefully, lest one would get into a heap of trouble. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-ma

Re: Tomcat advantages

2012-03-14 Thread Tim Watts
I've been trying to get Tomcat to chase my mouse for year with no luck. On Wed, 2012-03-14 at 10:29 -0400, Mark H. Wood wrote: > But does it also walk dogs? > signature.asc Description: This is a digitally signed message part

Tomcat+SOLR, acceptCount not working

2012-03-14 Thread Андрей Беликов
Hi... I am running Apache Tomcat Version 7.0.26 with SOLR 3.5 on jdk1.7.0_03 The problem is that i cannot limit count of connections. I never get connection refused (only timeouts). For example: maxThreads="150" and acceptCount="100", as i think i will have 150+100=250 connections in ESTABLISHED

RE: JVM won't shut down: DestroyJavaVM thread stuck on ??

2012-03-14 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Subject: JVM won't shut down: DestroyJavaVM thread stuck on ?? > All threads are deamons except for this one: > "DestroyJavaVM" prio=10 tid=0x7fa528a77800 nid=0x4b2a waiting on > condition [0x] >java.lang

Re: Java 7 + Tomcat 6.0.35 + Win2k3 Problem

2012-03-14 Thread pricyber
It look like a similar issue with Tomcat 7 http://tomcat.10.n6.nabble.com/Tomcat-7-Cluster-Issue-td4562937.html -- View this message in context: http://tomcat.10.n6.nabble.com/Java-7-Tomcat-6-0-35-Win2k3-Problem-tp4566739p4579220.html Sent from the Tomcat - User mailing list archive at Nabble.co

Re: Precompile JSPs, avoid thousands of servlets?

2012-03-14 Thread Rob Koberg
>> If you pass an empty web.xml to be updated by precompile tasks, it >> should not be hard to convert it into web-fragment.xml, using an >> XSLT transform or just regexp replacements. > > I had considered using 'cat' :) You could also use XML entities and/or XInclude (don't know if you would need

JVM won't shut down: DestroyJavaVM thread stuck on ??

2012-03-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, I'm sure this has nothing to do with Tomcat, but I figured I'd ask if anyone has seen anything like this before. We use a couple of ant scripts to start and stop Tomcat on our Linux machines. Ultimately, they always call bin/catalina.sh to do th

Re: Precompile JSPs, avoid thousands of servlets?

2012-03-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Konstantin, On 3/14/12 8:49 AM, Konstantin Kolinko wrote: > 2012/3/13 Nick Williams : >> >> Our second challenge is the 11,500-line web.xml file that >> results from this process. I understand that Ant does a lot of >> the hard work for me, but a we

Re: parallel deployment: multiple applications responding

2012-03-14 Thread Pid
On 27/02/2012 22:23, Aristedes Maniatis wrote: > On 28/02/12 12:14 AM, Christopher Schultz wrote: > Chuck, > > On 2/26/12 11:29 PM, Caldarale, Charles R wrote: > From: Aristedes Maniatis [mailto:amania...@apache.org] Subject: > Re: parallel deployment: multiple applications responding

Re: Initializing webapps in a certain order

2012-03-14 Thread Mark H. Wood
On Wed, Mar 14, 2012 at 12:50:45PM +, Paul Singleton wrote: > On 14/03/2012 01:37, Caldarale, Charles R wrote: > > >> From: Warren Bell [mailto:warrenbe...@gmail.com] > >> Subject: Initializing webapps in a certain order > > >> Can you initialize webapps in a certain order ? > > > Read the F

Re: Info on PermSize and MaxPermSize

2012-03-14 Thread Geet Chandra
Version of Tomcat is 6.0.035 As Tomcat is being shipped with product developed, we are providing command line utility,using the same utility users are of product allow to change the configurable parameters as per application type deployed in tomcat.We are using .vbs as mentioned

Re: Tomcat advantages

2012-03-14 Thread Mark H. Wood
But does it also walk dogs? -- Mark H. Wood, Lead System Programmer mw...@iupui.edu Asking whether markets are efficient is like asking whether people are smart. pgpavqdMWRTQY.pgp Description: PGP signature

Re: Tomcat Logging Jarhell

2012-03-14 Thread Christopher Gross
Correct -- a typo. WEB-INF/classes -- Chris On Wed, Mar 14, 2012 at 10:20 AM, Mark Thomas wrote: > On 14/03/2012 14:04, Christopher Gross wrote: >> After reverting -- all but one of my logs are working correctly.  Each >> web app has a log4j jar and the commons logging jars in its >> WEB-INF/

Re: Tomcat Logging Jarhell

2012-03-14 Thread Mark Thomas
On 14/03/2012 14:04, Christopher Gross wrote: > After reverting -- all but one of my logs are working correctly. Each > web app has a log4j jar and the commons logging jars in its > WEB-INF/lib, and a log4j.properties in the WEB-INF/class. I didn't > change that file at all. > > Any ideas as to

Re: Tomcat Logging Jarhell

2012-03-14 Thread Christopher Gross
After reverting -- all but one of my logs are working correctly. Each web app has a log4j jar and the commons logging jars in its WEB-INF/lib, and a log4j.properties in the WEB-INF/class. I didn't change that file at all. Any ideas as to why the one set of log files aren't being written to? --

Re: Tomcat advantages

2012-03-14 Thread André Warnier
Pid wrote: On 14/03/2012 09:13, André Warnier wrote: Pid * wrote: On 13 Mar 2012, at 16:03, Allen Reese wrote: -Original Message- From: Pid [mailto:p...@pidster.com] Sent: Tuesday, March 13, 2012 7:46 AM To: Tomcat Users List Subject: Re: Tomcat advantages On 13/03/2012 14:42, Leo D

Re: Initializing webapps in a certain order

2012-03-14 Thread Pid
On 14/03/2012 13:29, Caldarale, Charles R wrote: >> From: Paul Singleton [mailto:p...@jbgb.com] >> Subject: Re: Initializing webapps in a certain order > >> Does the servlet spec require that no web app may use the >> services of another web app? > > No that's perfectly alright. The key point

RE: Initializing webapps in a certain order

2012-03-14 Thread Caldarale, Charles R
> From: Caldarale, Charles R > Subject: RE: Initializing webapps in a certain order > I have two apps, app1 and app2. app2 needs to access app1 during app2's> > initialization. I need app1 to be initialized first and be done before > app2 starts to initialize. Just had a thought: Tomcat 7 has th

Re: Tomcat advantages

2012-03-14 Thread Pid
On 14/03/2012 09:13, André Warnier wrote: > Pid * wrote: >> On 13 Mar 2012, at 16:03, Allen Reese wrote: >> -Original Message- From: Pid [mailto:p...@pidster.com] Sent: Tuesday, March 13, 2012 7:46 AM To: Tomcat Users List Subject: Re: Tomcat advantages O

RE: Initializing webapps in a certain order

2012-03-14 Thread Caldarale, Charles R
> From: Paul Singleton [mailto:p...@jbgb.com] > Subject: Re: Initializing webapps in a certain order > Does the servlet spec require that no web app may use the > services of another web app? No that's perfectly alright. The key point of the OP's query was that he has a webapp that required t

Re: Info on PermSize and MaxPermSize

2012-03-14 Thread Pid
On 14/03/2012 09:22, André Warnier wrote: > Geet Chandra wrote: >> how to set -XX:PermSize and -XX:MaxPermSize at startup of Tomcat?. >> Please let me know > > Considering that you don't really seem to know what they are, you > probably shouldn't. > By default, the JVM on your platform will

Re: Where to place custom classloader in Tomcat5?

2012-03-14 Thread Pid
On 14/03/2012 10:58, Volodymyr Bezuglyy wrote: > Hi! > > Where to place custom WebappClassLoader in Tomcat? > Should I place it in Tomcat5\server\classes directory only? > Is it possible to place it in WEB-INF\clases directory of my web application? If it's in the classes directory of your applic

Re: Initializing webapps in a certain order

2012-03-14 Thread Paul Singleton
On 14/03/2012 01:37, Caldarale, Charles R wrote: From: Warren Bell [mailto:warrenbe...@gmail.com] Subject: Initializing webapps in a certain order Can you initialize webapps in a certain order ? Read the FAQ: http://wiki.apache.org/tomcat/FAQ/Miscellaneous#Q27 The primary reason is that t

Re: Precompile JSPs, avoid thousands of servlets?

2012-03-14 Thread Konstantin Kolinko
2012/3/13 Nick Williams : > > Our second  challenge is the 11,500-line web.xml file that results from > this process. I understand that Ant does a lot of the hard work for me, but > a web.xml file this large bothers me, even if I don’t have to look at it > during every day development. What’s more,

Re: Tomcat Logging Jarhell

2012-03-14 Thread Christopher Gross
That section just gives some basic info, but nothing that tries to help with what I'm doing. I'm well aware what the directories are for. There are a lot of libraries that my apps have in common, and because of the nature of the project, I need to try to conserve space. By moving jars to a share

[ANN] Apache Tomcat Connectors 1.2.33 released

2012-03-14 Thread Mladen Turk
The Apache Tomcat Project is proud to announce the release of version 1.2.33 of Apache Tomcat Connectors. This release includes both bug fixes and new features compared to version 1.2.32. Full details of these changes and new features, are available in the Apache Tomcat Connectors changelog: http

Where to place custom classloader in Tomcat5?

2012-03-14 Thread Volodymyr Bezuglyy
Hi! Where to place custom WebappClassLoader in Tomcat? Should I place it in Tomcat5\server\classes directory only? Is it possible to place it in WEB-INF\clases directory of my web application? Vladimir Bezugliy.

Re: Info on PermSize and MaxPermSize

2012-03-14 Thread André Warnier
Geet Chandra wrote: how to set -XX:PermSize and -XX:MaxPermSize at startup of Tomcat?. Please let me know Considering that you don't really seem to know what they are, you probably shouldn't. By default, the JVM on your platform will use reasonable values. So why exactly do you want t

Re: Tomcat advantages

2012-03-14 Thread André Warnier
Pid * wrote: On 13 Mar 2012, at 16:03, Allen Reese wrote: -Original Message- From: Pid [mailto:p...@pidster.com] Sent: Tuesday, March 13, 2012 7:46 AM To: Tomcat Users List Subject: Re: Tomcat advantages On 13/03/2012 14:42, Leo Donahue - PLANDEVX wrote: -Original Message- Fr