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 A56F6DA2D for ; Mon, 18 Feb 2013 21:48:25 +0000 (UTC) Received: (qmail 37227 invoked by uid 500); 18 Feb 2013 21:48:22 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 37094 invoked by uid 500); 18 Feb 2013 21:48:22 -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 37085 invoked by uid 99); 18 Feb 2013 21:48:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Feb 2013 21:48:22 +0000 X-ASF-Spam-Status: No, hits=1.7 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS,SUBJ_BROKEN_WORD X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of awang@ptc.com designates 12.11.148.84 as permitted sender) Received: from [12.11.148.84] (HELO irp2.ptc.com) (12.11.148.84) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Feb 2013 21:48:11 +0000 X-IronPort-AV: E=Sophos;i="4.84,690,1355115600"; d="scan'208";a="141102313" Received: from hq-x10prdhub2.ptcnet.ptc.com ([132.253.198.28]) by irp2.ptc.com with ESMTP; 18 Feb 2013 16:47:49 -0500 Received: from awang.ptcnet.ptc.com (132.253.198.6) by int-mail.ptc.com (132.253.198.28) with Microsoft SMTP Server id 14.2.309.2; Mon, 18 Feb 2013 16:47:49 -0500 Message-ID: <5122A185.6080408@ptc.com> Date: Mon, 18 Feb 2013 15:47:49 -0600 From: Andy Wang User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2 MIME-Version: 1.0 To: Tomcat Users List Subject: Problem with nsapi_redirect.so (1.2.37) on iPlanet 7.0.15 and Solaris 11 Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [132.253.198.6] X-Virus-Checked: Checked by ClamAV on apache.org I'm having some problems getting the nsapi_redirect.dll working with iPlanet 7.0.15 on solaris 11. The problem seems specifically related to Solaris 11 and only if I try to install/run the server as root (using webservd as the non-privileged user). When I do so (and after enabling debug jk loglevel) during jk_init I see the following messages in the jk log: [Mon Feb 18 22:36:25.588 2013] [20669:1] [debug] jk_init::jk_nsapi_plugin.c (337): jk_init, a second passed repeated a bunch of times and in the iPlanet error log the following: [18/Feb/2013:22:37:24] failure (20669): CORE2254: Error running Init function jk_init Looking at the code: s = systhread_start(SYSTHREAD_DEFAULT_PRIORITY, 0, init_workers_on_other_threads, init_map); for (sleep_cnt = 0; sleep_cnt < 60; sleep_cnt++) { systhread_sleep(1000); jk_log(logger, JK_LOG_DEBUG, "jk_init, a second passed"); if (init_on_other_thread_is_done) { break; } } I can find no evidence in the jklog that the init_workers_on_other_threads thread actually started properly. Here's the cute thing. It only happens on Solaris 11 with the server run as root, and configured to run as a non-privileged user (any non-privileged user has this issue) If I execute startserv as the non-privileged user rather than root or do this on Solaris 10, no problems. Any ideas why systhread_start (this is an iPlanet NSAPI function) would fail here as root? Thanks, Andy --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org