Re: Tomcat & SOAP/Rest +/- jax-ws or Axis2 or cxf ????

2015-11-01 Thread Howard W. Smith, Jr.
On Sun, Nov 1, 2015 at 2:31 AM, N.s.Karthik wrote: > Hi > spec : jdk 1.7 > Container Tomcat 7.x > O/s : Oracle Linux > > Question : Need a *Simple & Single Framework to support both "SOAP & Rest"* > based services. > > Which one is the best to make use of ?? > > Jax-ws

Re: Tomcat 8 reliability/performance on Windows 2008 R2 Server vs. RHEL/CentOS

2015-10-01 Thread Howard W. Smith, Jr.
On Thu, Oct 1, 2015 at 11:46 AM, Aurélien Terrestris wrote: > I recommend Linux for 2 reasons : > - easier to install and maintain a secured Tomcat (especially when > using different TOMCAT_HOME & TOMCAT_BASE, on Windows it's pretty > difficult to know how to secure all

Re: Is Container Managed Transactions possible in case of Tomcat ?

2015-08-19 Thread Howard W. Smith, Jr.
On Aug 19, 2015 3:56 PM, Sreyan Chakravarty sreyan.mail...@gmail.com wrote: TomEE supports Apache OpenJPA. What if I wanted to use Hibernate as my JPA provider ? I searched Google for tomee hibernate tutorial And found http://tomee.apache.org/examples-trunk/jpa-hibernate/README.html

Re: RES: Configuring limits of requests/sessions/threads in Tomcat

2014-04-01 Thread Howard W. Smith, Jr.
On Tue, Apr 1, 2014 at 9:30 PM, Frederik Nosi frederik.n...@postecom.itwrote: If so, just put an nginx or such in front of you'r Tomcat, you dont need an application server for that, it's just like using a tank to shoot a mosquito :P Wow, LOL!

Re: [OT] timeout

2014-03-31 Thread Howard W. Smith, Jr.
On Mar 31, 2014 3:48 AM, André Warnier a...@ice-sa.com wrote: Howard W. Smith, Jr. wrote: On Sun, Mar 30, 2014 at 9:54 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Howard W. Smith, Jr. [mailto:smithh032...@gmail.com] Subject: Re: timeout

Re: Request for better deployment usability: should be able to specify context root inside war

2014-03-31 Thread Howard W. Smith, Jr.
On Mon, Mar 31, 2014 at 1:27 PM, Mark Eggers its_toas...@yahoo.com wrote: As far as Glassfish versus Apache Tomcat goes, they address different use cases. Glassfish is a J2EE application server. Apache Tomcat is a servlet container. While you can convince Apache Tomcat to do a lot of things,

Re: timeout

2014-03-30 Thread Howard W. Smith, Jr.
On Sun, Mar 30, 2014 at 6:30 PM, André Warnier a...@ice-sa.com wrote: - and if that is not the reason, then find the person responsible for the in-between equipment and ask them why their junk closes the connection before your application has a chance to respond 'junk'? please clarify the

Re: timeout

2014-03-30 Thread Howard W. Smith, Jr.
On Sun, Mar 30, 2014 at 9:54 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Howard W. Smith, Jr. [mailto:smithh032...@gmail.com] Subject: Re: timeout - and if that is not the reason, then find the person responsible for the in-between equipment and ask them why

Re: Detecting out-of-memory condition

2014-03-24 Thread Howard W. Smith, Jr.
On Mon, Mar 24, 2014 at 1:57 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: James H. H. Lampert [mailto:jam...@touchtonecorp.com] Subject: Detecting out-of-memory condition We have noticed that after a certain amount of continuous uptime, Tomcat eventually runs out of

Re: Possible Tomcat 8.0.3 issue

2014-03-17 Thread Howard W. Smith, Jr.
On Mon, Mar 17, 2014 at 4:14 PM, Felipe Jaekel fkjae...@gmail.com wrote: My Tomcat 7 was running fine with this script, but last friday morning I started Tomcat 8 setting only this: *-Xms2048m -Xmx2048m -XX:MaxPermSize=1024m -Dorg.apache.el.parser.COERCE_TO_ZERO=false* and the applications

Re: Possible Tomcat 8.0.3 issue

2014-03-13 Thread Howard W. Smith, Jr.
On Thu, Mar 13, 2014 at 9:33 AM, burghard.britzke b...@charmides.in-berlin.de wrote: may be restarting the context would even be sufficient? May be the FacesServlet has an issue which implementation are you using? which version? which version of PrimeFaces? earlier, in the thread, he

Re: Possible Tomcat 8.0.3 issue

2014-03-13 Thread Howard W. Smith, Jr.
On Thu, Mar 13, 2014 at 11:47 AM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Felipe, On 3/13/14, 10:57 AM, Felipe Jaekel wrote: There are lots of this in catalina log: *12-Mar-2014 08:41:43.828 WARNING [http-nio-80-exec-28]

Re: Tomcat7w.exe

2014-03-10 Thread Howard W. Smith, Jr.
On Sun, Mar 9, 2014 at 3:53 PM, Leo Donahue donahu...@gmail.com wrote: On Fri, Mar 7, 2014 at 12:43 PM, Howard W. Smith, Jr. smithh032...@gmail.com wrote: Actually, i hate clicking on things... I use Windows keyboard shortcuts as much as possible. Even when you run the following

Re: Tomcat7w.exe

2014-03-10 Thread Howard W. Smith, Jr.
On Mon, Mar 10, 2014 at 10:37 AM, Jeffrey Janner jeffrey.jan...@polydyne.com wrote: -Original Message- From: Leo Donahue [mailto:donahu...@gmail.com] Sent: Friday, March 07, 2014 11:10 AM To: users@tomcat.apache.org Subject: Tomcat7w.exe Did I miss something in the

Re: Tomcat7w.exe

2014-03-07 Thread Howard W. Smith, Jr.
On Fri, Mar 7, 2014 at 1:11 PM, Leo Donahue donahu...@gmail.com wrote: I blame my lack of command line upbringing for not catching that. I love my MS-DOS command-line days/upbringing (dating back to my first computer, 1986 Tandy 1000 SX, MS-DOS 5.0, maybe, and I don't remember using Windows

Re: java: src/network.c:441: Java_org_apache_tomcat_jni_Socket_send: Assertion failed

2014-03-05 Thread Howard W. Smith, Jr.
Chris, On Tue, Mar 4, 2014 at 4:18 PM, Christopher Schultz ch...@christopherschultz.net wrote: Dmitry, On 3/4/14, 2:48 AM, Dmitry Batiyevskiy wrote: Howard, My connector config is the following (i've already posted that): Connector port=8443 maxHttpHeaderSize=8192 maxThreads=15000

Re: Tomcat 7.0.52 NIO + Atmospere 1.0.18 damaged responses

2014-03-05 Thread Howard W. Smith, Jr.
On Wed, Mar 5, 2014 at 8:35 AM, Jan Dosoudil jan.dosou...@aura.cz wrote: Hi, we have application running on Tomcat 7.0.52 with Nio connector (a lot older versions too), it uses MyFaces (2.1.12), RichFaces (4.3.5), Atmosphere framework (1.0.18). Atmosphere framework is configured to use

Re: java: src/network.c:441: Java_org_apache_tomcat_jni_Socket_send: Assertion failed

2014-03-05 Thread Howard W. Smith, Jr.
On Mar 5, 2014 11:09 AM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Howard, On 3/5/14, 9:45 AM, Howard W. Smith, Jr. wrote: Chris, On Tue, Mar 4, 2014 at 4:18 PM, Christopher Schultz ch...@christopherschultz.net wrote

Re: Optimization on simple requests

2014-03-05 Thread Howard W. Smith, Jr.
On Tue, Mar 4, 2014 at 1:54 PM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 John, On 3/4/14, 1:17 PM, John Smith wrote: Tomcat 7.0.42 on RHEL6. Assume that Tomcat is serving only one jsp page. Say it just rewrites a

Re: java: src/network.c:441: Java_org_apache_tomcat_jni_Socket_send: Assertion failed

2014-03-04 Thread Howard W. Smith, Jr.
GMT+02:00 Howard W. Smith, Jr. smithh032...@gmail.com: On Mon, Mar 3, 2014 at 11:22 AM, Christopher Schultz ch...@christopherschultz.net wrote: Dmitry, On 3/3/14, 6:06 AM, Dmitry Batiyevskiy wrote: Can you advice how we can find the problem in app/environment like this? What

Re: java: src/network.c:441: Java_org_apache_tomcat_jni_Socket_send: Assertion failed

2014-03-03 Thread Howard W. Smith, Jr.
On Thu, Feb 20, 2014 at 11:00 AM, Dmitry Batiyevskiy dmitry.batiyevs...@ardas.dp.ua wrote: We have upgraded tomcat 7.0.42 to 7.0.50 We have an app which is built around atmosphere framework and uses websockets After upgrade tomcat instance which has only this app dies in few hours after

Re: java: src/network.c:441: Java_org_apache_tomcat_jni_Socket_send: Assertion failed

2014-03-03 Thread Howard W. Smith, Jr.
On Mon, Mar 3, 2014 at 6:26 AM, Howard W. Smith, Jr. smithh032...@gmail.com wrote: On Thu, Feb 20, 2014 at 11:00 AM, Dmitry Batiyevskiy dmitry.batiyevs...@ardas.dp.ua wrote: We have upgraded tomcat 7.0.42 to 7.0.50 We have an app which is built around atmosphere framework and uses

Re: java: src/network.c:441: Java_org_apache_tomcat_jni_Socket_send: Assertion failed

2014-03-03 Thread Howard W. Smith, Jr.
/2001/XMLSchema-instance; xsi:schemaLocation=http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd; version=3.0 okay, good. Regards, Dmitry Batiyevskiy Ardas Group Inc. www.ardas.dp.ua 2014-03-03 13:28 GMT+02:00 Howard W. Smith, Jr. smithh032...@gmail.com

Re: java: src/network.c:441: Java_org_apache_tomcat_jni_Socket_send: Assertion failed

2014-03-03 Thread Howard W. Smith, Jr.
. www.ardas.dp.ua 2014-03-03 16:33 GMT+02:00 Howard W. Smith, Jr. smithh032...@gmail.com: On Mon, Mar 3, 2014 at 6:41 AM, Dmitry Batiyevskiy dmitry.batiyevs...@ardas.dp.ua wrote: Atmosphere dependencies from pom.xml: dependency groupIdorg.atmosphere.extensions/groupId

Re: java: src/network.c:441: Java_org_apache_tomcat_jni_Socket_send: Assertion failed

2014-03-03 Thread Howard W. Smith, Jr.
On Mon, Mar 3, 2014 at 6:41 AM, Dmitry Batiyevskiy dmitry.batiyevs...@ardas.dp.ua wrote: init-param param-nameorg.atmosphere.useNative/param-name param-valuetrue/param-value /init-param also, i wonder what your test results will be if you comment out the lines above from your web.xml.

Re: java: src/network.c:441: Java_org_apache_tomcat_jni_Socket_send: Assertion failed

2014-03-03 Thread Howard W. Smith, Jr.
On Mon, Mar 3, 2014 at 11:22 AM, Christopher Schultz ch...@christopherschultz.net wrote: Dmitry, On 3/3/14, 6:06 AM, Dmitry Batiyevskiy wrote: Can you advice how we can find the problem in app/environment like this? What are possible ways to debug this? Honestly, I'd try switching to

Re: Newbie Help - Up and Running with Tomcat on Windows

2014-02-25 Thread Howard W. Smith, Jr.
On Tue, Feb 25, 2014 at 7:55 AM, Daniel Mikusa dmik...@gopivotal.comwrote: It might be something as obvious as not having Java EE installed separately. Perhaps Tomee+ will provide all that is needed. What specifically do you need? Tomcat is not a full JEE container. It

Re: Newbie Help - Up and Running with Tomcat on Windows

2014-02-25 Thread Howard W. Smith, Jr.
On Tue, Feb 25, 2014 at 10:30 AM, Daniel Mikusa dmik...@gopivotal.comwrote: On Feb 25, 2014, at 10:13 AM, Howard W. Smith, Jr. smithh032...@gmail.com wrote: On Tue, Feb 25, 2014 at 7:55 AM, Daniel Mikusa dmik...@gopivotal.com wrote: It might be something as obvious

Re: Tomcat 8 appears slow to process jsp pages

2014-02-12 Thread Howard W. Smith, Jr.
On Wed, Feb 12, 2014 at 9:57 AM, john.kief...@engilitycorp.com wrote: Testing Tomcat 8 I watch the console and see the Java and sql processing complete, then wait a full minute for the webpage to appear. With Tomcat 7 there is no wait. Just to verify, while composing this I opened a web page

Re: Clustering without Apache in the front

2014-02-07 Thread Howard W. Smith, Jr.
On Wed, Jan 29, 2014 at 10:24 AM, Christopher Schultz ch...@christopherschultz.net wrote: Now, as Chris pointed out - it would be great to design your app that it saves the intermediate work to a database or some secondary store that can be retrieved upon login again. Think shopping

Re: unable to start Tomcat through the Windows Services panel

2014-02-06 Thread Howard W. Smith, Jr.
On Wed, Feb 5, 2014 at 2:09 PM, javier_esp...@hna.honda.com wrote: OK, this is what I see in the Event Viewer under General tab The tomcat7 service terminated with service-specific error Incorrect function.. Under Details tab, I see the following in XML view - Event

Re: unable to start Tomcat through the Windows Services panel

2014-02-06 Thread Howard W. Smith, Jr.
On Thu, Feb 6, 2014 at 11:42 AM, Jeffrey Janner jeffrey.jan...@polydyne.com wrote: -Original Message- From: André Warnier [mailto:a...@ice-sa.com] Sent: Thursday, February 06, 2014 10:33 AM To: Tomcat Users List Subject: Re: unable to start Tomcat through the Windows Services

Re: Clustering without Apache in the front

2014-01-28 Thread Howard W. Smith, Jr.
On Tue, Jan 28, 2014 at 3:42 PM, Christopher Schultz ch...@christopherschultz.net wrote: Thus I will probably never have to use clustering. Loving your responses on this topic, Chris. I do not want to hijack this thread, but i find this topic interesting, and your responses make it more

Re: Clustering without Apache in the front

2014-01-28 Thread Howard W. Smith, Jr.
On Tue, Jan 28, 2014 at 8:59 PM, Neven Cvetkovic neven.cvetko...@gmail.comwrote: On Tue, Jan 28, 2014 at 3:54 PM, Howard W. Smith, Jr. smithh032...@gmail.com wrote: Thus I will probably never have to use clustering. Loving your responses on this topic, Chris. I do not want to hijack

Re: [OT] RE: Cannot connect from outside using Tomcat 7/APR/SSL on AWS Windows system

2014-01-24 Thread Howard W. Smith, Jr.
On Fri, Jan 24, 2014 at 11:41 AM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Howard, On 1/23/14, 11:31 PM, Howard W. Smith, Jr. wrote: Instead of downloading Linux and trying it out, on my own, I just decided to stay

Re: Notification strategy for OutOfMemoryError

2014-01-23 Thread Howard W. Smith, Jr.
On Thu, Jan 23, 2014 at 8:21 PM, Christopher Schultz ch...@christopherschultz.net wrote: Glad to see my thoughts were useful. If you'd care to post your code to either the list or onto the wiki, I'm sure it would be useful to someone. +1 I love it when others share code, and thanks for

Re: [OT] RE: Cannot connect from outside using Tomcat 7/APR/SSL on AWS Windows system

2014-01-23 Thread Howard W. Smith, Jr.
On Wed, Jan 22, 2014 at 10:14 AM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Konstantin, On 1/22/14, 9:03 AM, Konstantin Preißer wrote: Hi Jeffrey, -Original Message- From: Jeffrey Janner

Re: [OT] Out of memory exception - top posting

2014-01-23 Thread Howard W. Smith, Jr.
On Thu, Jan 23, 2014 at 2:08 PM, André Warnier a...@ice-sa.com wrote: Either people don't read the rules, or they do not understand the rule, or they just ignore it. I agree. As a tomcat/tomee user, I joined the list, primarily, to listen in on topics (that interest me), so I learned, very

Re: [OT] RE: Cannot connect from outside using Tomcat 7/APR/SSL on AWS Windows system

2014-01-23 Thread Howard W. Smith, Jr.
On Thu, Jan 23, 2014 at 10:07 PM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Howard, On 1/23/14, 9:05 PM, Howard W. Smith, Jr. wrote: On Wed, Jan 22, 2014 at 10:14 AM, Christopher Schultz ch...@christopherschultz.net wrote

Re: Getting 404 before the container starts all servlets

2014-01-11 Thread Howard W. Smith, Jr.
On Sat, Jan 11, 2014 at 4:40 AM, Mark Thomas ma...@apache.org wrote: On 10/01/2014 23:08, Adrian Tarau wrote: I tried with 7.0.47 and I still get 404 regardless of the the state of bindOnInit. Tomcat doesn't serve *any* requests until everything (including applications) has started up.

Re: exception-message header reveals path to document root in 404 response.

2014-01-11 Thread Howard W. Smith, Jr.
On Fri, Jan 10, 2014 at 7:02 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: Here's Tomcat's standard 404 response: HTTP/1.1 404 Not Found Server: Apache-Coyote/1.1 Content-Type: text/html;charset=utf-8 Content-Length: 1027 Date: Fri, 10 Jan 2014 23:59:34 GMT Wow, when I saw

Re: exception-message header reveals path to document root in 404 response.

2014-01-11 Thread Howard W. Smith, Jr.
On Sat, Jan 11, 2014 at 9:01 AM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Howard W. Smith, Jr. [mailto:smithh032...@gmail.com] Subject: Re: exception-message header reveals path to document root in 404 response. Wow, when I saw this last night, I shook my head

Re: Error when performing a reset of the server

2014-01-08 Thread Howard W. Smith, Jr.
Chuck, On Wed, Jan 8, 2014 at 6:58 PM, Chuck Johnson chuck.john...@simpson.eduwrote: I haven't had the error occur when I have had to restart the Tomcat server, my co-worker is the person who has experienced it and my understanding is that it happens when she attempts to perform a reset and

Re: [OT] Garbage Collectors

2013-12-18 Thread Howard W. Smith, Jr.
On Wed, Dec 18, 2013 at 6:11 PM, Christopher Schultz ch...@christopherschultz.net wrote: 1. What JVM are you using? Answer: [X] Sun/Oracle/OpenJDK Java 1.7 2. What kind of web application are you running? Answer: [X] A moderately busy web site (1M requests/mo/server) 3. What is

Re: [OT] Garbage Collectors

2013-12-18 Thread Howard W. Smith, Jr.
On Wed, Dec 18, 2013 at 6:57 PM, Leon Rosenberg rosenberg.l...@gmail.comwrote: On Thu, Dec 19, 2013 at 12:51 AM, Howard W. Smith, Jr. smithh032...@gmail.com wrote: On Wed, Dec 18, 2013 at 6:11 PM, Christopher Schultz ch...@christopherschultz.net wrote: 3. What is your total heap

Re: What if my database is unavailable at startup?

2013-12-13 Thread Howard W. Smith, Jr.
OP, On Fri, Dec 13, 2013 at 2:24 PM, Dames, Kristopher J kristopher.da...@mercy.net wrote: I use tomcat 6 and have noticed if a database is not available when tomcat starts, tomcat will not try to connect once the database becomes available. Tomcat must be restarted to establish the database

Re: Pooled Connections Lost After 10 Minutes (600 seconds)

2013-12-09 Thread Howard W. Smith, Jr.
Alec, Dan, and Chris, On Wed, Dec 4, 2013 at 1:01 PM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Dan, On 12/3/13, 12:32 PM, Daniel Mikusa wrote: On Dec 3, 2013, at 12:14 PM, Tomcat Random tomcat.ran...@gmail.com wrote: I

Re: [OT] Symantic has a first tomcat worm ;-)

2013-11-26 Thread Howard W. Smith, Jr.
On Tue, Nov 26, 2013 at 5:53 AM, André Warnier a...@ice-sa.com wrote: So yes, by any means, have the Manager disabled by default, even when subsequently enabled restrict it by default to localhost, ... +1

Re: Java +GC question

2013-11-24 Thread Howard W. Smith, Jr.
On Sun, Nov 24, 2013 at 7:15 PM, André Warnier a...@ice-sa.com wrote: Caldarale, Charles R wrote: From: André Warnier [mailto:a...@ice-sa.com] Subject: Java +GC question java version 1.6.0_26 Do we need to tell you to upgrade? Whatever happened to the Never change a running system ?

Re: Avoiding/Handling SocketTimeoutException(s) when web application serving resources to mobile clients

2013-11-11 Thread Howard W. Smith, Jr.
On Mon, Nov 11, 2013 at 5:41 AM, André Warnier a...@ice-sa.com wrote: Howard W. Smith, Jr. wrote: On Sun, Nov 10, 2013 at 9:14 AM, Howard W. Smith, Jr. smithh032...@gmail.com wrote: Caused by: java.net.SocketTimeoutException at org.apache.tomcat.util.net.NioBlockingSelector.write

Re: Avoiding/Handling SocketTimeoutException(s) when web application serving resources to mobile clients

2013-11-11 Thread Howard W. Smith, Jr.
On Mon, Nov 11, 2013 at 10:23 AM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Howard, I might recommend using a Filter like this: filter() { try { chain.doFilter(); } catch (SocketTimeoutException ste) {

Avoiding/Handling SocketTimeoutException(s) when web application serving resources to mobile clients

2013-11-10 Thread Howard W. Smith, Jr.
Using Tomcat 7.0.47 via TomEE 1.6.0 along with MyFaces 2.1.13 Recently, I have been experiencing the SocketTimeoutException when web application is serving resources to 'mobile clients'. Yesterday, user was attempting to login from mobile iPad via an internal wireless phone connection. Since my

Re: Avoiding/Handling SocketTimeoutException(s) when web application serving resources to mobile clients

2013-11-10 Thread Howard W. Smith, Jr.
On Sun, Nov 10, 2013 at 9:14 AM, Howard W. Smith, Jr. smithh032...@gmail.com wrote: Caused by: java.net.SocketTimeoutException at org.apache.tomcat.util.net.NioBlockingSelector.write(NioBlockingSelector.java:127) at org.apache.tomcat.util.net.NioSelectorPool.write(NioSelectorPool.java:174

Re: Avoiding/Handling SocketTimeoutException(s) when web application serving resources to mobile clients

2013-11-10 Thread Howard W. Smith, Jr.
On Sun, Nov 10, 2013 at 5:08 PM, Igor Cicimov icici...@gmail.com wrote: In my experience SocketTimeoutException comes up in case of misbehaving browser (read IE 8 and older), i.e. the client fails to send the complete request and the socket timeout strikes. interesting, thanks. This error

Re: Avoiding/Handling SocketTimeoutException(s) when web application serving resources to mobile clients

2013-11-10 Thread Howard W. Smith, Jr.
On Sun, Nov 10, 2013 at 5:08 PM, Igor Cicimov icici...@gmail.com wrote: For Sun Java for example you can try the following: -Dsun.net.client.defaultReadTimeout=180 which will increase the socket timeout to 30 minutes lets say if the default one is not enough in case or slow client.

Re: Avoiding/Handling SocketTimeoutException(s) when web application serving resources to mobile clients

2013-11-10 Thread Howard W. Smith, Jr.
On Sun, Nov 10, 2013 at 8:54 PM, Igor Cicimov icici...@gmail.com wrote: Also you didn't say anything about any load balancer or proxy fronting your application. It is worth checking the timeouts there as well and align them with the connection timeout on your server (in case you do use one

Re: Avoiding/Handling SocketTimeoutException(s) when web application serving resources to mobile clients

2013-11-10 Thread Howard W. Smith, Jr.
On Sun, Nov 10, 2013 at 8:54 PM, Igor Cicimov icici...@gmail.com wrote: There is heaps of articles and questions in various forums you're right... i searched google for ClientAbortException in tomcat nabble archive, and saw many posts.

Re: Web Service Client Response when Old Gen is 100%

2013-11-06 Thread Howard W. Smith, Jr.
On Wed, Nov 6, 2013 at 1:43 AM, Muhammad Ali Orakzai m.orak...@gmail.comwrote: I am using the following environment Windows Server 2003 32 bit How much RAM? Also, did you configure your virtual memory (or paging file) settings? Apache Tomcat 7.0.27 Others on the list will/may recommend

Re: how to reply

2013-11-06 Thread Howard W. Smith, Jr.
On Wed, Nov 6, 2013 at 9:42 PM, Konstantin Kolinko knst.koli...@gmail.comwrote: There are too many goodies with mailing lists. The forums are lacking much. +1 I am quite active in forum.primefaces.org, and I get email alerts to my @ hotmail.com account and have to go to the primefaces forum

Re: [ANN] New committer: Konstantin Preißer

2013-09-24 Thread Howard W. Smith, Jr.
On Tue, Sep 24, 2013 at 6:20 PM, Mark Thomas ma...@apache.org wrote: On behalf of the Tomcat committers I am pleased to announce that Konstantin Preißer has been voted in as a new Tomcat committer. In addition to a number of high quality bug reports and patches, Konstantin is also

Re: New website skin looks great

2013-09-13 Thread Howard W. Smith, Jr.
On Thu, Sep 12, 2013 at 4:28 PM, Campbell, Lance la...@illinois.edu wrote: WOW! I love the new design of the tomcat web site. It looks much more professional and refined. It is also much easier to read. The prior background colors caused the text to run together. This is so much

Re: Local VisualVM connection to Tomcat

2013-07-22 Thread Howard W. Smith, Jr.
On Mon, Jul 22, 2013 at 3:10 PM, honyk j.tosov...@email.cz wrote: On 2013-06-28 Christopher Schultz wrote: On 6/27/13 5:17 PM, honyk wrote: I realized that my tomcat runs as a service but I am logged as an user and in this case the tomcat is not visible to me. I'll test it differently

Re: Moving Tomcat to work externally.

2013-07-12 Thread Howard W. Smith, Jr.
On Fri, Jul 12, 2013 at 11:52 AM, Terence M. Bandoian tere...@tmbsw.comwrote: Really generous responses. That's very normal on this list. I have found Apache user lists to be very (user) friendly. :)

Re: How to handle CONNECT ... HTTP 1.1 400 in localhost_access_log

2013-07-09 Thread Howard W. Smith, Jr.
On Tue, Jul 9, 2013 at 2:18 AM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Howard W. Smith, Jr. [mailto:smithh032...@gmail.com] Subject: Re: How to handle CONNECT ... HTTP 1.1 400 in localhost_access_log why would the same IP address be hitting my server when 400

Re: How to handle CONNECT ... HTTP 1.1 400 in localhost_access_log

2013-07-09 Thread Howard W. Smith, Jr.
On Tue, Jul 9, 2013 at 8:16 AM, Mark Thomas ma...@apache.org wrote: On 09/07/2013 12:54, Howard W. Smith, Jr. wrote: On Tue, Jul 9, 2013 at 2:18 AM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Howard W. Smith, Jr. [mailto:smithh032...@gmail.com] Subject: Re: How

How to handle CONNECT ... HTTP 1.1 400 in localhost_access_log

2013-07-08 Thread Howard W. Smith, Jr.
A few minutes ago, I just recognized the following in the localhost_access_log: 183.60.48.25 - - [08/Jul/2013:15:15:26 -0400] CONNECT tcpconn2.tencent.com:443 HTTP/1.1 400 - and then searched all localhost_access_log files and found more occurrences[1]. This is my first time seeing this type of

Re: How to handle CONNECT ... HTTP 1.1 400 in localhost_access_log

2013-07-08 Thread Howard W. Smith, Jr.
On Mon, Jul 8, 2013 at 3:40 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Howard W. Smith, Jr. [mailto:smithh032...@gmail.com] Subject: How to handle CONNECT ... HTTP 1.1 400 in localhost_access_log 183.60.48.25 - - [08/Jul/2013:15:15:26 -0400] CONNECT tcpconn2

Re: How to handle CONNECT ... HTTP 1.1 400 in localhost_access_log

2013-07-08 Thread Howard W. Smith, Jr.
Chris, On Mon, Jul 8, 2013 at 11:50 PM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Howard, On 7/8/13 3:45 PM, Howard W. Smith, Jr. wrote: On Mon, Jul 8, 2013 at 3:40 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote

Re: websockets questions

2013-07-05 Thread Howard W. Smith, Jr.
On Fri, Jul 5, 2013 at 3:40 AM, André Warnier a...@ice-sa.com wrote: We're still one level remote of thinking of any implementation, and trying to understand 1) how exactly websockets works Most websocket implementations (RI/glassfish, atmosphere, tomcat, etc...) are open source, so diving

Re: websockets questions

2013-07-04 Thread Howard W. Smith, Jr.
On Thu, Jul 4, 2013 at 1:43 PM, Pierre Goupil goupilpie...@gmail.comwrote: Regarding browser support, a framework like Atmosphere handles pretty well having WebSockets when they are available and falling-back to another Comet implementation (such as long-polling or http-streaming) when they

Re: Tomcat 7.0.4 - Ignoring certain URLs from session timeout

2013-06-25 Thread Howard W. Smith, Jr.
On Tue, Jun 25, 2013 at 12:49 AM, Nagaraj Mandya nman...@gmail.com wrote: All requests from my client pass in the session cookie. However, I do not want the session timeout counter to get reset for certain URLs. Is your app a (JSF) web application? AJAX and Partial Page update/rendering

Re: New behavior of Oracle Java 1.7.0_25: AWT thread and console icon

2013-06-21 Thread Howard W. Smith, Jr.
Chris, On Fri, Jun 21, 2013 at 12:28 PM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 All, I just upgraded to 1.7.0_25 on my Mac and I noticed that when I launch Tomcat, I get a dock icon indicating that it is running. This does

Re: Tomcat hangs every day

2013-05-17 Thread Howard W. Smith, Jr.
I don't use HttpClient, directly, but if I'm not mistaking, javax.mail.jar (JavaMail) and Google Calendar API uses HttpClient, and I use JavaMail and Google Calendar API, directly, in my app. Google Calendar API seemed to always close their connections and I have even experienced downtime (host

Re: Multiple tomcat containers or instance on same servers

2013-05-01 Thread Howard W. Smith, Jr.
On Wed, May 1, 2013 at 8:51 PM, chris derham ch...@derham.me.uk wrote: If anyone else wants to chip in with any relevant additions, let me know. I might be able to have a look at updating the documentation page later, but being as I'm a developer my linguistic skills have never really

Re: getting the request that created the session

2013-04-29 Thread Howard W. Smith, Jr.
On Mon, Apr 29, 2013 at 9:54 AM, André Warnier a...@ice-sa.com wrote: - under Unix/Linux, there is a command tail -f filename, which continuously watches for any lines added to a file and displays them. It doesn't seem to be very intensive in terms of resources used. - and on the other

Re: getting the request that created the session

2013-04-29 Thread Howard W. Smith, Jr.
On Mon, Apr 29, 2013 at 10:54 AM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Even, the requests are keepalived they look to me as if they were executed parallel. At least from the chrome timeline. But its hard to tell

Re: getting the request that created the session

2013-04-29 Thread Howard W. Smith, Jr.
, okay, moving forward, ignore the fact that the (only) filter(s i have in my app) showed up in the stacktrace. regards Leon On Mon, Apr 29, 2013 at 4:59 PM, Howard W. Smith, Jr. smithh032...@gmail.com wrote: On Mon, Apr 29, 2013 at 10:54 AM, Christopher Schultz ch

Re: getting the request that created the session

2013-04-29 Thread Howard W. Smith, Jr.
On Mon, Apr 29, 2013 at 12:55 PM, Leon Rosenberg rosenberg.l...@gmail.comwrote: Whether you want to have multiple filters or not is a decision based on your coding guidelines, architectural principles and what not. Since you are the only user of your filters, it's free to you to use as many

Re: Tomcat access log reveals hack attempt: HEAD /manager/html HTTP/1.0 404

2013-04-20 Thread Howard W. Smith, Jr.
On Sat, Apr 20, 2013 at 7:22 AM, André Warnier a...@ice-sa.com wrote: 5) if the scheme works, and it does the effect of making this type of server-scanning uneconomical, bot developers will look for other ways to find vulnerable targets. IMHO, I don't see why bots will get 'turned off' by

Re: Tomcat access log reveals hack attempt: HEAD /manager/html HTTP/1.0 404

2013-04-19 Thread Howard W. Smith, Jr.
On Thu, Apr 18, 2013 at 12:26 PM, André Warnier a...@ice-sa.com wrote: My contention is that this would be self-defeating for the bots. 91.121.172.164 - - [03/Apr/2013:08:19:50 +0200] GET /robots.txt HTTP/1.1 404 360 - Mozilla/5.0 (Windows; U; MSIE 7.0; Windows NT 6.0; en-US) I

Re: Tomcat access log reveals hack attempt: HEAD /manager/html HTTP/1.0 404

2013-04-17 Thread Howard W. Smith, Jr.
On Wed, Apr 17, 2013 at 10:45 AM, chris derham ch...@derham.me.uk wrote: The OWASP recommendations for securing tomcat suggest removing all items under catalina_home/webapps as a first step. Just a thought. The first step an attacker performs when conducting a focused attack, is to map out

Re: Tomcat access log reveals hack attempt: HEAD /manager/html HTTP/1.0 404

2013-04-17 Thread Howard W. Smith, Jr.
On Wed, Apr 17, 2013 at 1:59 PM, Leo Donahue - RDSA IT leodona...@mail.maricopa.gov wrote: -Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: Tomcat access log reveals hack attempt: HEAD /manager/html HTTP/1.0 404 People *do* do this

Re: Tomcat access log reveals hack attempt: HEAD /manager/html HTTP/1.0 404

2013-04-17 Thread Howard W. Smith, Jr.
On Wed, Apr 17, 2013 at 2:39 PM, André Warnier a...@ice-sa.com wrote: Some other calculations : According to the same Netcraft site, of the 600 million websites, 60% are Apache (I guess that this includes httpd and Tomcat (or else Tomcat is in others). This is good to know, and honestly,

Re: Tomcat access log reveals hack attempt: HEAD /manager/html HTTP/1.0 404

2013-04-17 Thread Howard W. Smith, Jr.
On Wed, Apr 17, 2013 at 3:45 PM, Leo Donahue - RDSA IT leodona...@mail.maricopa.gov wrote: Not knowing anything about the history of the HTTP 404 method, if a server does not find a matching request URI, why was it decided that the protocol would even respond at all? Seems like the request

Re: explanation of resource-ref in web.xml

2013-04-17 Thread Howard W. Smith, Jr.
On Wed, Apr 17, 2013 at 10:38 PM, Leo Donahue - RDSA IT leodona...@mail.maricopa.gov wrote: From: Jakub 1983 [jjaku...@gmail.com] Sent: Wednesday, April 17, 2013 7:26 PM To: Tomcat Users List Subject: explanation of resource-ref in web.xml What

Re: ParNew promotion failed in verbose GC logs

2013-04-16 Thread Howard W. Smith, Jr.
On Tue, Apr 16, 2013 at 7:11 AM, David kerber dcker...@verizon.net wrote: On 4/16/2013 5:30 AM, André Warnier wrote: Premature optimization is the root of all evil http://en.wikiquote.org/wiki/**Donald_Knuthhttp://en.wikiquote.org/wiki/Donald_Knuth No doubt; I learned that one long ago.

Re: Re : Memory leak in Tomcat 6.0.35 ( 64 bit)

2013-04-16 Thread Howard W. Smith, Jr.
On Tue, Apr 16, 2013 at 10:31 AM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Howard, On 4/15/13 4:02 PM, Howard W. Smith, Jr. wrote: On Mon, Apr 15, 2013 at 1:08 PM, Christopher Schultz ch...@christopherschultz.net wrote

Re: Tomcat access log reveals hack attempt: HEAD /manager/html HTTP/1.0 404

2013-04-15 Thread Howard W. Smith, Jr.
On Mon, Apr 15, 2013 at 7:49 AM, Pid p...@pidster.com wrote: I'm persisting in this point because I don't want other users to continue believing the fallacy that 'hiding' Tomcat behind Apache HTTPD alone improves their security. And your persistence is appreciated, and I definitely

Re: Re : Memory leak in Tomcat 6.0.35 ( 64 bit)

2013-04-15 Thread Howard W. Smith, Jr.
On Mon, Apr 15, 2013 at 7:40 AM, David kerber dcker...@verizon.net wrote: On 4/14/2013 11:10 PM, Howard W. Smith, Jr. wrote: On Sun, Apr 14, 2013 at 10:52 PM, Mark Thomasma...@apache.org wrote: On 14/04/2013 21:53, Howard W. Smith, Jr. wrote: On Sun, Apr 14, 2013 at 6:51 PM, Christopher

Re: Re : Memory leak in Tomcat 6.0.35 ( 64 bit)

2013-04-15 Thread Howard W. Smith, Jr.
On Mon, Apr 15, 2013 at 11:18 AM, Mark Eggers its_toas...@yahoo.com wrote: On 4/15/2013 7:25 AM, David kerber wrote: On 4/15/2013 10:10 AM, Howard W. Smith, Jr. wrote: On Mon, Apr 15, 2013 at 7:40 AM, David kerberdcker...@verizon.net wrote: On 4/14/2013 11:10 PM, Howard W. Smith, Jr

Re: Re : Memory leak in Tomcat 6.0.35 ( 64 bit)

2013-04-15 Thread Howard W. Smith, Jr.
On Mon, Apr 15, 2013 at 1:08 PM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Howard, On 4/14/13 9:53 PM, Howard W. Smith, Jr. wrote: I am definitely relying on user HttpSessions, and I do JPA-level caching (statement cache

Re: Re : Memory leak in Tomcat 6.0.35 ( 64 bit)

2013-04-14 Thread Howard W. Smith, Jr.
On Sun, Apr 14, 2013 at 6:51 PM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Howard, On 4/11/13 10:38 PM, Howard W. Smith, Jr. wrote: On Thu, Apr 4, 2013 at 2:32 PM, Christopher Schultz ch...@christopherschultz.net wrote

Re: Re : Memory leak in Tomcat 6.0.35 ( 64 bit)

2013-04-14 Thread Howard W. Smith, Jr.
On Sun, Apr 14, 2013 at 10:52 PM, Mark Thomas ma...@apache.org wrote: On 14/04/2013 21:53, Howard W. Smith, Jr. wrote: On Sun, Apr 14, 2013 at 6:51 PM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Howard, On 4/11/13 10:38 PM

Re: Tomcat access log reveals hack attempt: HEAD /manager/html HTTP/1.0 404

2013-04-13 Thread Howard W. Smith, Jr.
On Apr 13, 2013 3:55 PM, Mark Eggers its_toas...@yahoo.com wrote: On 4/10/2013 5:47 PM, Howard W. Smith, Jr. wrote: Some legit 404s definitely show up for every enduser that access the webapp via mobile device, because PrimeFaces has 2 files that no longer exist in the JAR file, and I just

Re: Tomcat 7.0.39 randoms start and crash

2013-04-12 Thread Howard W. Smith, Jr.
Antoine Philippe, On Fri, Apr 12, 2013 at 6:17 PM, antoine philippe chaker philippe.cha...@gmail.com wrote: Hi all, Caused by: java.lang.IllegalStateException: Unable to complete the scan for annotations for web application [/autodis] due to a StackOverflowError. Possible root causes

java.net.SocketTimeoutException: Read timed out

2013-04-12 Thread Howard W. Smith, Jr.
After reading antoine philippe chaker's last email/post, that motivated me to pose a question as well. I am using Tomcat 7.0.39 (via TomEE 1.6.0 snapshot), Atmosphere 1.0.13 (snapshot...recently downloaded within the last week), and OmniFaces Gzip filter, and Google Calendar API (v3). A bit of

Re: java.net.SocketTimeoutException: Read timed out

2013-04-12 Thread Howard W. Smith, Jr.
On Fri, Apr 12, 2013 at 7:45 PM, antoine philippe chaker philippe.cha...@gmail.com wrote: I think that Chuck is right : it has nothing to do with Tomcat, it's more a problem of communication between your webapp and the Google API. Agreed. :)

Re: java.net.SocketTimeoutException: Read timed out

2013-04-12 Thread Howard W. Smith, Jr.
On Fri, Apr 12, 2013 at 7:25 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Howard W. Smith, Jr. [mailto:smithh032...@gmail.com] Subject: java.net.SocketTimeoutException: Read timed out The stack trace below is the exception that occurred today. Does this look like

Re: java.net.SocketTimeoutException: Read timed out

2013-04-12 Thread Howard W. Smith, Jr.
On Fri, Apr 12, 2013 at 8:02 PM, Howard W. Smith, Jr. smithh032...@gmail.com wrote: On Fri, Apr 12, 2013 at 7:25 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Howard W. Smith, Jr. [mailto:smithh032...@gmail.com] Subject: java.net.SocketTimeoutException: Read timed out

Re: RE : Tomcat 6.0.35 Crashed again

2013-04-11 Thread Howard W. Smith, Jr.
On Thu, Apr 11, 2013 at 10:41 AM, Mark H. Wood mw...@iupui.edu wrote: Really, no one else can tell you what settings to use. The best we can hope for is some accepted rules of thumb *as starting points* for further tuning. +1 to Dan, Neven, and Mark's responses. Please consider-or-do

  1   2   3   >