Re: Undeploy fails with Tomcat 7 manager application

2011-10-25 Thread Mike
Christopher Schultz christopherschultz.net> writes: > Mike, > > Sounds like you aren't properly shutting-down your logging system when > your webapp undeploys. That would result in the file staying open and > thus being unavailable for delete. > > I agree with Pid that putting application log fi

RE: cannot read complete HTTP request body. It reads only 8192 characters

2011-10-25 Thread Anantaneni Harish
Thanks for your response. The issue is on the following environment. OS: Red Hat Enterprise Linux Server release 5. Java: 1.6 Tomcat 5.5.28 Thanks and Regards, Harish -Original Message- From: Pid * [mailto:p...@pidster.com] Sent: Wednesday, October 26, 2011 2:56 PM To: Tomcat Users Lis

Re: cannot read complete HTTP request body. It reads only 8192 characters

2011-10-25 Thread Pid *
On 26 Oct 2011, at 06:31, Anantaneni Harish wrote: > We have an environment using HTTP connector, > customer environment using AJP connector. In HTTP environment this issue is > not occured. > but in the AJP environment cannot read complete HTTP request body. It reads > only 8192 characters > >

cannot read complete HTTP request body. It reads only 8192 characters

2011-10-25 Thread Anantaneni Harish
We have an environment using HTTP connector, customer environment using AJP connector. In HTTP environment this issue is not occured. but in the AJP environment cannot read complete HTTP request body. It reads only 8192 characters Can some help me, if there are any settings to be changed? Thank

Re: BUILD FAILED apache-tomcat-7.0.22-src build.xml (lines 2211, 2313) ...

2011-10-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Albrecht, On 10/25/2011 5:44 PM, Albretch Mueller wrote: > # ant -v -f build.xml > REF_20111025172851_servlets_build.txt > 2>&1 > > [javac] > /media/sda7/inst/java/jars/j2ee/servlets/apache-tomcat-7.0.22/tomcat7-deps/dbcp/src/java/org/apache/tomcat/d

RE: BUILD FAILED apache-tomcat-7.0.22-src build.xml (lines 2211, 2313) ...

2011-10-25 Thread Caldarale, Charles R
> From: Albretch Mueller [mailto:lbrt...@gmail.com] > Subject: BUILD FAILED apache-tomcat-7.0.22-src build.xml (lines 2211, 2313) > ... > I am getting build errors I don't quite understand. As I recall, due to Sun/Oracle-created incompatibilities in various interface classes, you can't build T

BUILD FAILED apache-tomcat-7.0.22-src build.xml (lines 2211, 2313) ...

2011-10-25 Thread Albretch Mueller
I have both JAVA_HOME and ANT_HOME set (I have tried the same thing as regular user with no root permissions and as root) # echo $JAVA_HOME /media/sda7/inst/java/jdk/jdk1.7.0_01 # echo $ANT_HOME /media/sda7/inst/java/ant/apache-ant-1.8.2 # java -version java version "1.7.0_01" Java(TM) SE Runti

RE: ODBC jar files

2011-10-25 Thread Propes, Barry L
Yikes! I'll fix that right away. Thanks, Chris! -Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Tuesday, October 25, 2011 9:49 AM To: Tomcat Users List Subject: Re: ODBC jar files -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Barry, On 10/25/20

Re: ODBC jar files

2011-10-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Barry, On 10/25/2011 10:04 AM, Propes, Barry L wrote: > I did not take it out, but simply added the new ojdbc6.jar, to the > lib, which from the sounds of things sounds like a bad idea (to > add and have both in there). Yes, it is a bad idea. Classe

Re: Application Re-Deployment leads to OutOfMemoryException - Tomcat 7.22

2011-10-25 Thread Mark Thomas
On 25/10/2011 14:59, Roland Schmitt wrote: > Why is redeployment not possible? Your web application has one or more memory leaks. > Is this issue known and can i do anything about that? Fix the memory leaks. [1] may help Mark [1] http://people.apache.org/~markt/presentations/2010-11-04-Memory-

RE: ODBC jar files

2011-10-25 Thread Propes, Barry L
Thanks a bunch, Jeff! This helps. I just downloaded ojdbc6.jar, but have been running ojdbc14.jar, and it's still in the lib folder. I did not take it out, but simply added the new ojdbc6.jar, to the lib, which from the sounds of things sounds like a bad idea (to add and have both in there).

Application Re-Deployment leads to OutOfMemoryException - Tomcat 7.22

2011-10-25 Thread Roland Schmitt
Hello, we have an problem by re-deploying our jsf application war in tomcat 7. Each time we re-deploy our application with tomcat7-maven-plugin we get an permgen error. Also undeploying and deploying with the Tomcat Web Application Manager doesn't work and leads into the same error. To get unde

RE: ODBC jar files

2011-10-25 Thread Jeffrey Janner
Barry - I run an Oracle mixed environment and I can assure you that you will run into problems running ojdbc14.jar and connecting to your 11g database. In particular, you will see some "odd" errors related to bind peek on the server side - but that is supposedly fixed in 11.2.0.2. I can't say

Re: tomcat error 404

2011-10-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dave, On 10/23/2011 12:20 PM, Dave Filchak wrote: > Ok, perhaps this will be more helpful. To follow is the way the db > connection is set up now, and I am not sure it is correct because, > as I understand it, you are supposed to add a context to the

RE: HOW TO detect what app server you're running in

2011-10-25 Thread Bob DeRemer
Yeah, that should do it - should have remembered that - I'm already using this - purely for diagnostic info. Thanks, guys! -Original Message- From: Ronald Klop (Mailing List) [mailto:ronald-mailingl...@base.nl] Sent: Tuesday, October 25, 2011 7:39 AM To: Tomcat Users List Subject: Re: H

Re: HOW TO detect what app server you're running in

2011-10-25 Thread Ronald Klop (Mailing List)
Does this help? public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { System.out.println("serverinfo: " + getServletContext().getServerInfo()); } Ronald. Op dinsdag, 25 oktober 2011 13:33 schreef Bob DeRem

Re: HOW TO detect what app server you're running in

2011-10-25 Thread Edoardo Panfili
Il 25/10/11 13:33, Bob DeRemer ha scritto: I may need to use some Tomcat-specific code in my web app. As a result, I would like to detect [if possible] when I'm running in Tomcat, so I can invoke the logic. If anyone knows how best to do this, ideally with some sample java code, that'd be g

HOW TO detect what app server you're running in

2011-10-25 Thread Bob DeRemer
I may need to use some Tomcat-specific code in my web app. As a result, I would like to detect [if possible] when I'm running in Tomcat, so I can invoke the logic. If anyone knows how best to do this, ideally with some sample java code, that'd be great. Thanks, Bob

RE: Tomcat clustering session attribute is changed without request

2011-10-25 Thread Ronald Klop (Mailing List)
Hi, Replication of the attributes is done by the cluster valve. http://tomcat.apache.org/tomcat-6.0-doc/config/cluster-valve.html If you manage to call that code from your own application, than you can do what you want. But that is not default functionality of Tomcat. You have to make it yours

Handling of CometEvents regarding order (Tomcat 6 and 7)

2011-10-25 Thread Willem Fibbe
Hi, We've been building (separate) comet servlets for Tomcat 6 and 7 (following the corresponding AIO documentation on http://tomcat.apache.org/tomcat-6.0-doc/aio.html and http://tomcat.apache.org/tomcat-7.0-doc/aio.html). After inspecting the order of CometEvents that are fired, I've found di

RE: Tomcat clustering session attribute is changed without request

2011-10-25 Thread Hodchenkov, Paul
Hi All, I have used http://code.google.com/p/psi-probe/ to debug session replication. So HttpSession attribute is NOT replicated when it is changed without http request. It's value is changed only on the local tomcat. However, when attribute is changed with http request - everything works fine. S