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.

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

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

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: 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

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

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:

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: 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

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

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).

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]

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. Classes

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

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

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

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 21 [javac]

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?

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 anantaneni.har...@vertexsoft.com 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