Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 48879 invoked from network); 7 Apr 2009 19:23:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 7 Apr 2009 19:23:40 -0000 Received: (qmail 3329 invoked by uid 500); 7 Apr 2009 19:23:36 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 3285 invoked by uid 500); 7 Apr 2009 19:23:36 -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 3274 invoked by uid 99); 7 Apr 2009 19:23:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Apr 2009 19:23:36 +0000 X-ASF-Spam-Status: No, hits=-3.9 required=10.0 tests=DRUG_DOSAGE,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [195.227.30.149] (HELO mailserver.kippdata.de) (195.227.30.149) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Apr 2009 19:23:27 +0000 Received: from [192.168.2.133] ([192.168.2.133]) by mailserver.kippdata.de (8.13.5/8.13.5) with ESMTP id n37JN5pQ024697 for ; Tue, 7 Apr 2009 21:23:05 +0200 (CEST) Message-ID: <49DBA7BB.1010206@kippdata.de> Date: Tue, 07 Apr 2009 21:21:31 +0200 From: Rainer Jung User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.1b3pre) Gecko/20090223 Lightning/1.0pre Thunderbird/3.0b2 MIME-Version: 1.0 To: Tomcat Users List Subject: Re: Sun Webserver connector problem - nsapi_redirector References: <22854897.post@talk.nabble.com> <22855669.post@talk.nabble.com> <49DA8BB6.4040006@kippdata.de> <22919546.post@talk.nabble.com> In-Reply-To: <22919546.post@talk.nabble.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org On 07.04.2009 01:34, dmitriz wrote: > No, it did not help. NameTrans does not seem to work here. WebServer still > looks for subfolder examples under its docroot. I could reproduce the problem and th reason was a sillyness in the config file parsing of the web server (not the plugin). Remove the leading space in front of the content lines of the element in obj.conf. That should do the trick. Now that I found it, I remember that happened to some other user one or two years ago. Will add to the docs. Have fun! Rainer > Rainer Jung-3 wrote: >> On 02.04.2009 21:47, dmitriz wrote: >>> I'm attaching log and config files here. Thanks. >> I compared with my test setup. I'm not sure whether the following >> changes are relevant, but you can try: >> >> - magnus.conf: >> I have the two Init lines related to jk as the first Init lines, >> directly after the TempDir >> - obj.conf: >> Use /examples/* as a pattern. >> Remove the j2ee object (I vaguely remember some conflict with jk) >> >> Do those changes help? >> >> The nsapi log shows, that the plugin gets loaded successfully, so the >> only thing which needs fixing is the NameTrans and Co. >> >>> dmitriz wrote: >>>> I would like to front Tomcat 6.0.14 with Sun WebServer 6.1 SP8. I have >>>> followed to a tee the instructions from >>>> http://tomcat.apache.org/connectors-doc/webserver_howto/nes.html >>>> Unfortunately, it seems like the directive: >>>> NameTrans fn="assign-name" from="/examples(|/*)" name="jknsapi" >>>> is being completely ignored. >>>> I get the following error: “trying to GET /examples, send-file reports: >>>> HTTP4142: can't find /cfo/SUNWwbsvr-6.1SP8/docs/examples (File not >>>> found)”. >>>> It looks like Sun Webserver is looking for /examples folder in its >>>> docroot >>>> and not redirecting it to Tomcat. >>>> Any help will be appreciated. >>>> TIA. >>>> Dmitri >>>> >>> http://www.nabble.com/file/p22855669/websvr.zip websvr.zip >> Regards, >> >> Rainer --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org