Return-Path: X-Original-To: apmail-tomcat-users-archive@www.apache.org Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E0D5710F37 for ; Mon, 3 Mar 2014 14:33:55 +0000 (UTC) Received: (qmail 30930 invoked by uid 500); 3 Mar 2014 14:33:51 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 30656 invoked by uid 500); 3 Mar 2014 14:33:50 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 30642 invoked by uid 99); 3 Mar 2014 14:33:49 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Mar 2014 14:33:49 +0000 X-ASF-Spam-Status: No, hits=1.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of smithh032772@gmail.com designates 74.125.82.50 as permitted sender) Received: from [74.125.82.50] (HELO mail-wg0-f50.google.com) (74.125.82.50) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Mar 2014 14:33:43 +0000 Received: by mail-wg0-f50.google.com with SMTP id l18so3276709wgh.33 for ; Mon, 03 Mar 2014 06:33:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=m+oXL4tHir55QsOTJ4/ONzwQAOImembITUizo0U6Jfs=; b=OgUqi+8wuAnXxk11e8iOQ5dg/PXVNAittCvZAcBJbS9DwwFfKmFoVIOkh9jU0m6WMN SLtnS+T59da7elIHmvbrsmCYFIFLUnCmj2yNfbtCalqsekeIVQGeILWJUh1pK8orse+L zDE3T35lc1Nvie1hZrvQScIfKfMV0e5XOpCrhrtROLEtIlFDlasLlgYsG8bOU6KnUpj/ cxxnBEUttNaMtIpqJRgjbuSPEdjdCAVraKaxHOucwGC6HZkfNSECjPn6VHieaImz5fW9 HZSgFmrdrWrYXeBvxTGVdLXMwG/dKbfjoN7guddH5IyfhlwqtXR9CMgFTfoQJLgCIHK8 681g== MIME-Version: 1.0 X-Received: by 10.194.82.69 with SMTP id g5mr6417148wjy.85.1393857202687; Mon, 03 Mar 2014 06:33:22 -0800 (PST) Received: by 10.227.222.69 with HTTP; Mon, 3 Mar 2014 06:33:22 -0800 (PST) In-Reply-To: References: Date: Mon, 3 Mar 2014 09:33:22 -0500 Message-ID: Subject: Re: java: src/network.c:441: Java_org_apache_tomcat_jni_Socket_send: Assertion failed From: "Howard W. Smith, Jr." To: Tomcat Users List Content-Type: multipart/alternative; boundary=047d7bb047946f182804f3b4abcc X-Virus-Checked: Checked by ClamAV on apache.org --047d7bb047946f182804f3b4abcc Content-Type: text/plain; charset=ISO-8859-1 On Mon, Mar 3, 2014 at 6:41 AM, Dmitry Batiyevskiy < dmitry.batiyevskiy@ardas.dp.ua> wrote: > Atmosphere dependencies from pom.xml: > > > org.atmosphere.extensions > atmosphere-gwt20-server > 2.0.2 > > > > org.atmosphere > atmosphere-runtime > 2.0.5 > > Looks good, but have you tried latest version (Atmosphere 2.1.0 runtime) ? I don't know the appropriate 'gwt' version to use with Atmosphere 2.1.0 runtime. I think you can search the atmosphere wiki or mail list, or post a mail there. I know that Atmosphere 2.0.3 had specific changes/fixes that were in-line with Tomcat 7.0.42, which supports your report that 7.0.42 is working (as expected). > > Dependencies are in war file > okay. > > Atmosphere config from web.xml: > > > AtmosphereServlet > AtmosphereServlet > org.atmosphere.cpr.AtmosphereServlet > 1 > true > > okay, good, i was looking for the async-supported to be set, since you're using servlet 3.0. > org.atmosphere.cpr.AtmosphereInterceptor > > com.mycompany.communicationengine.interceptor.SecurityContextInterceptor > > > > org.atmosphere.cpr.packages > com.mycompany.atm > > > org.atmosphere.useNative > true > > > > > org.atmosphere.cpr.broadcaster.maxProcessingThreads > 30 > > > > org.atmosphere.cpr.broadcaster.maxAsyncWriteThreads > 30 > > > Jeanfrancois advised me to accept the default config/settings (for maxProcessingThreads and maxAsyncWriteThreads) instead of specifying low values like you have (30). what happens when you comment out these (atmosphere config) lines from your web.xml when using tomcat 7.0.50? maybe someone here on tomcat list can advise why your max threads settings is working with tomcat 7.0.42, but not with tomcat 7.0.50. > > This is top of web.xml: > > xmlns:xsi="http://www.w3.org/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. : > > > On Mon, Mar 3, 2014 at 6:26 AM, Howard W. Smith, Jr. < > > smithh032772@gmail.com > > > wrote: > > > > > > > > On Thu, Feb 20, 2014 at 11:00 AM, Dmitry Batiyevskiy < > > > dmitry.batiyevskiy@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 deploy (the whole java process dies) > > >> > > > > > > How did you configure atmosphere? > > > > > > which version of atmosphere are you using? > > > > > > can you share your web.xml (atmosphere config)? > > > > > > which atmosphere-related dependencies? > > > > > > is atmosphere-related dependencies in tomcat/lib or in your WAR file? > > > > > > > > also, are you specifying servlet 3.0 (or 2.5) in your web.xml? can you > > copy/paste that config as well? > > > --047d7bb047946f182804f3b4abcc--