Re: issue with iis 7.5 ajpconnector

2012-07-24 Thread André Warnier
Alex Samad - Yieldbroker wrote: Hi I have II 7.5 setup and currently 2 vhosts each vhost has its own applicati= on pool and it's on copy of the ajp connector We did this so that we can say run prod and uat at different version and al= so make sure that bringing one down doesn't affect

Problem with tomcat and jk module

2012-07-24 Thread Piotr Wąchała
Hi, Maybe someone can help me with my tomcat problem. Hope that wont be a big problem for you. Im observing that our client are disconnected from server, that is very bad situation. In jklogfile.log [Tue Jul 24 08:43:22 2012] [17466:47245693265248] [info] jk_handler::mod_jk.c (2620): Aborting

Re: Problem with tomcat and jk module

2012-07-24 Thread André Warnier
Hi. Thanks for the very complete information about your environment. Piotr Wąchała wrote: Hi, Maybe someone can help me with my tomcat problem. Hope that wont be a big problem for you. Im observing that our client are disconnected from server, that is very bad situation. In my experience,

Tomcat and JDK Compatibility

2012-07-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, The Tomcat documentation says somewhat tangentially that Tomcat requires a JDK (instead of a JRE). I believe this has not been true for quite some time. Check the very first requirement for installation on these pages:

Re: Run TomEE as a daemon

2012-07-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, On 7/23/12 8:29 PM, David Blevins wrote: The page can be edited by anyone by clicking the blue pencil icon in the upper right, so contributions are highly encouraged. All changes are reviewed before going live, so don't worry about

[OT] MySQL Replication Problems: can't establish connection to the master

2012-07-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, Apologies for the completely off-topic post, but I know there are some experienced MySQL folks lurking around here. Please post followups off-list so we don't pollute too much. I'm having a bit of difficulty with my MySQL replication setup. If

Intermittent mod_proxy_ajp error - APR does not understand this error code: proxy: dialog

2012-07-24 Thread Carlucci, Tony
Cross-posting this to the tomcat users list (also posted to users@httpd)... Hello, I've been trying to track down an intermittent problem with a Java web application that is running on tcServer fronted by Apache HTTP Server.We get intermittent Server Unavailable / HTTP 500 errors, and when

Re: log4j to write Tomcat logs to Windows Event Log

2012-07-24 Thread sandy
Hello, Did you install Tomcat as a Windows service using the installer for windows? If that's the case, review your configuration. The same occurred to me and I solved it by configuring the service. Right-click on tomcat icon at the systray and then click on Configure In the Java tab, in the

Re: server.xml for ldap connection

2012-07-24 Thread Mark Eggers
- Original Message - From: Rahul R rahul.ra...@gmail.com To: Tomcat Users List users@tomcat.apache.org Cc: Sent: Monday, July 23, 2012 10:28 PM Subject: server.xml for ldap connection Hi All, This is the snippet from my server.xml of my tomcat which takes care of ldap

Re: Tomcat and JDK Compatibility

2012-07-24 Thread Mark Thomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 24/07/2012 16:11, Christopher Schultz wrote: All, The Tomcat documentation says somewhat tangentially that Tomcat requires a JDK (instead of a JRE). I believe this has not been true for quite some time. Check the very first requirement

Re: Tomcat 7.0.25 on an AS/400, V5R4, Another try. Help?

2012-07-24 Thread James Lampert
To recap, I've got a situation where Tomcat is crashing on takeoff, on a V5R4 AS/400, with what appears to be the same setup that works fine on a V6 box, and showing correct environment variables in the STDOUT spool file, and leaving this in Catalina.out. java.lang.ClassNotFoundException:

Re: Problem with tomcat and jk module

2012-07-24 Thread Piotr Wąchała
ok, thanks for advice, but I checked my front end enviroment. Before connection goes to front end apache, must go to firewall and next to load balancer. I remove from this chain load balancer, and it was still the same. In firewall I dont observe teardown connecion or sth. like that. (I can`t

Re: Tomcat 7.0.25 on an AS/400, V5R4, Another try. Help?

2012-07-24 Thread Tim Watts
On Tue, 2012-07-24 at 09:17 -0700, James Lampert wrote: To recap, I've got a situation where Tomcat is crashing on takeoff, on a V5R4 AS/400, with what appears to be the same setup that works fine on a V6 box, and showing correct environment variables in the STDOUT spool file, and leaving

Re: java.sql.SQLException: No more data to read from socket

2012-07-24 Thread vijay mathew
Felix/Daniel, I have a question on your solution. To mitigate the problem of handing out broken connections the pool often has functionality to check a connection, before it hands it to the client. When using the tomcat database connection pool, that feature can be configured by setting

Re: java.sql.SQLException: No more data to read from socket

2012-07-24 Thread Daniel Mikusa
- Original Message - Felix/Daniel, I have a question on your solution. To mitigate the problem of handing out broken connections the pool often has functionality to check a connection, before it hands it to the client. When using the tomcat database connection pool, that

Re: Tomcat and JDK Compatibility

2012-07-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 7/24/12 12:14 PM, Mark Thomas wrote: On 24/07/2012 16:11, Christopher Schultz wrote: All, The Tomcat documentation says somewhat tangentially that Tomcat requires a JDK (instead of a JRE). I believe this has not been true for quite

Re: Problem with tomcat and jk module

2012-07-24 Thread André Warnier
Piotr Wąchała wrote: ok, thanks for advice, but I checked my front end enviroment. Before connection goes to front end apache, must go to firewall and next to load balancer. I remove from this chain load balancer, and it was still the same. In firewall I dont observe teardown connecion or sth.

Project will not build

2012-07-24 Thread Cotton, Joseph B
This question concerns a Project that used to work nicely. Now it will not build. I am using NetBeans IDE 7.1.1 with Apache Tomcat 7.0.22 I left this project alone for a few months. Now when I come back and try to build or run, it errors with this message: Copying 1 file to D:\Documents and

Re: Project will not build

2012-07-24 Thread Tim Watts
hint Are you asking here because you got no answers on the NetBeans list? Nor the Ant list? /hint On Tue, 2012-07-24 at 15:11 -0400, Cotton, Joseph B wrote: This question concerns a Project that used to work nicely. Now it will not build. I am using NetBeans IDE 7.1.1 with Apache Tomcat

RE: Project will not build

2012-07-24 Thread Martin Gainty
http://grepcode.com/snapshot/repo1.maven.org/maven2/javax.servlet.jsp.jstl/javax.servlet.jsp.jstl-api/1.2.1 This is what youre looking for ..if the ant guy is looking the other way you can easily integrate this depdency with maven3 and insert this dependency into your depdendency list:

RE: Project will not build

2012-07-24 Thread Cotton, Joseph B
Actually, no. But a little more poking around fixed it. By the way, is there any really good reference for Tomcat? I have three O'reiley books and they don’t seem to help much. I can read the How-To pages all day and nothing seems to stick. I am looking for somehting that decribes what

RE: Project will not build

2012-07-24 Thread Tim Watts
On Tue, 2012-07-24 at 15:46 -0400, Martin Gainty wrote: http://grepcode.com/snapshot/repo1.maven.org/maven2/javax.servlet.jsp.jstl/javax.servlet.jsp.jstl-api/1.2.1 This is what youre looking for ..if the ant guy is looking the other way you can easily integrate this depdency with maven3 and

RE: Project will not build

2012-07-24 Thread Cotton, Joseph B
Thanks all - it is building now. Here is what I did: Right click on the project Select Properties Select Libraries Select compile tab Removed the libraries that could not be found Added the library to be found OK Question for the Tomcat list: Isnt /WEB-INF/lib a Tomcat folder? It is refered

Re: Tomcat and JDK Compatibility

2012-07-24 Thread Mark Thomas
Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 7/24/12 12:14 PM, Mark Thomas wrote: On 24/07/2012 16:11, Christopher Schultz wrote: All, The Tomcat documentation says somewhat tangentially that Tomcat requires a JDK (instead

RE: Project will not build

2012-07-24 Thread Tim Watts
On Tue, 2012-07-24 at 16:00 -0400, Cotton, Joseph B wrote: Actually, no. But a little more poking around fixed it. Glad you worked it out. By the way, is there any really good reference for Tomcat? I have three O'reiley books and they don’t seem to help much. I can read the How-To pages

Default configuration; Connection reset by peer

2012-07-24 Thread Phineas Dole
I am currently benchmarking tomcat to see what sort of performance I can expect. I setup tomcat with the default configuration and then run ab -c 1000 -n 100 http://localhost:8080/examples/servlets/servlet/HelloWorldExample; Occasionally, ab will terminate prematurely with error such as

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

Re: Default configuration; Connection reset by peer

2012-07-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Phineas, On 7/24/12 4:59 PM, Phineas Dole wrote: I am currently benchmarking tomcat to see what sort of performance I can expect. I setup tomcat with the default configuration and then run ab -c 1000 -n 100

Re: Default configuration; Connection reset by peer

2012-07-24 Thread Phineas Dole
Test configuration: Connector port=8080 protocol=org.apache.coyote.http11.Http11NioProtocol                acceptCount=10240                numThreads=1024                connectionTimeout=2                redirectPort=8443 / I have increased somaxconn. The error has become very consistent.

Re: Problem with tomcat and jk module

2012-07-24 Thread Brett Delle Grazie
On 24 Jul 2012 19:59, André Warnier a...@ice-sa.com wrote: Piotr Wąchała wrote: ok, thanks for advice, but I checked my front end enviroment. Before connection goes to front end apache, must go to firewall and next to load balancer. I remove from this chain load balancer, and it was still

RE: Project will not build

2012-07-24 Thread Caldarale, Charles R
From: Cotton, Joseph B [mailto:bcot...@dpscs.state.md.us] Subject: RE: Project will not build Isnt /WEB-INF/lib a Tomcat folder? Not really. It's usage is defined in the servlet spec; the Tomcat doc avoids duplicating information from the spec, since that's required reading before

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

2012-07-24 Thread Caldarale, Charles R
From: k9...@operamail.com [mailto:k9...@operamail.com] Subject: tomcat 7.0.29 build fails with dbcp target enabled; ok if disabled. building Tomcat7 from src Why? java version 1.7.0_b147-icedtea Tomcat 7 must be built with JDK 6 due to incompatibilities introduced by Sun/Oracle in JRE 7.

Re: Project will not build

2012-07-24 Thread Mark Eggers
- Original Message - From: Caldarale, Charles R chuck.caldar...@unisys.com To: Tomcat Users List users@tomcat.apache.org Cc: Sent: Tuesday, July 24, 2012 6:05 PM Subject: RE: Project will not build From: Cotton, Joseph B [mailto:bcot...@dpscs.state.md.us] Subject: RE: Project

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