Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 86592 invoked from network); 5 Jul 2010 23:15:26 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 5 Jul 2010 23:15:26 -0000 Received: (qmail 81030 invoked by uid 500); 5 Jul 2010 23:15:22 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 80958 invoked by uid 500); 5 Jul 2010 23:15:21 -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 80949 invoked by uid 99); 5 Jul 2010 23:15:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Jul 2010 23:15:21 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [66.163.178.155] (HELO web34406.mail.mud.yahoo.com) (66.163.178.155) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 05 Jul 2010 23:15:13 +0000 Received: (qmail 93189 invoked by uid 60001); 5 Jul 2010 23:14:52 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1278371691; bh=vK6kshjXYXVUOa8AhdZ8wh+ugQW5MUu/S1BrZ/8zk0c=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=d7QypRf3xGIjmFGYt9faFqrKaQNK6WnPD0E4wareZwKPB/FsMCjWfWVBs98jFeMApR/xq0+OqlpBIC+xPd8B5b/vKjIEgYTwez67GmkrtwnEg64qrVkgIvtQkPYpVDeJ7iCFSDU8YHIXP/4fDvLW3wGPsCAxclxpgxL+BOzSuvI= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=JuVkUQBUD0AxybVF//nMN5MxjAQTnbDsTgLhakUmIHIa0FPr+3xkVKsnEDKHYUmYIajAJ+G91cRS/Bv9cu2sDyx9OT6ic//GjcRCAVuzZMJ5qhkWVv+3M/32a7x/w/RDhu7h7+wQKWIghWxIhsthEEg4Y5xTUckk2ydamEL46qA=; Message-ID: <902528.91443.qm@web34406.mail.mud.yahoo.com> X-YMail-OSG: uYrSRskVM1k_3K_rYJuVLzFK4qNF9PVcIWAyjxTe18VmcBZ WqMdPMWAaBs585Kw.TG3BRwmwGy3SDzb30Qa_l3HVV3A08WuCLzBOBR3xO.p 2K8HiRYdciBkiu85PKdiHeRvSvSEjeyw2VHH.Ypnz3WqZwGzp2kTT.SgwG0Q UV1QgKgi49XNAsPBRO_TFQ3otAw8ExGQ1h0oZAjjXcmjGxffZfLahsbrrfGM 7lnu3GoziE7xuI3kKDZl3PbygV6OYFtBYAZfQZPf640nmCS9zHoABA5B2QjW _vbrq_O0xLfIodZVgiombpHd98QP3qlxl68uDetzPM1XX8noIpATp3ZetCPL D.LSatmVWalnxkm.MUUi6tgOPd0ng Received: from [203.14.70.52] by web34406.mail.mud.yahoo.com via HTTP; Mon, 05 Jul 2010 16:14:51 PDT X-Mailer: YahooMailClassic/11.1.4 YahooMailWebService/0.8.104.274457 Date: Mon, 5 Jul 2010 16:14:51 -0700 (PDT) From: rahul Subject: Re: Tomcat 6.0.26 with Java 6 update 20 on Sun Solaris 5.8 Sparc - Web application unable to execute properly To: Tomcat Users List In-Reply-To: <4C3193B2.4030301@ice-sa.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Thanks to all of your comments and help!! The problem is resolved. I was ve= ry fortunate that I was testing with FireFox otherwise I would never have c= ome to know about the actual problem (That is Redirecting to port 8080). Th= e Internet Explorer was not at all showing that the request is going to the= incorrect port, wonder why??.=20 Now, on clicking search button, data gets posted to the correct place and d= ata gets fetched from the database correctlty. As this webapp uses the Salm= on SOFIA framework, in order to display the data, it internally uses its ow= n URLGenerator class: "URLGenerator" and gets the PORT from System.propert= ies file! And this is where the port was specified as 8080. I changed that = to the one in Server.xml and VOILA!!=20 --- On Mon, 7/5/10, Andr=E9 Warnier wrote: > From: Andr=E9 Warnier > Subject: Re: Tomcat 6.0.26 with Java 6 update 20 on Sun Solaris 5.8 Sparc= - Web application unable to execute properly > To: "Tomcat Users List" > Date: Monday, July 5, 2010, 1:41 PM > rahul wrote: > > Hello Friends > >=20 > > A very strange findings for today! Found it only > because I skipped the first "Launch" page that used to > launch a new window through Java Script. Now, the finding is > - 1. After the Launch, this would open a Home Page with the > request URL - http://:5080/ > > 2. Clicking on Search Work Order menu, it will request > the URL: > > http://:5080/ > > 3. Now, interesting bit - On providing search crietria > and clicking search, the request is sent to - > http://:8080/ > >=20 > > Now, why the third step is posting this to default > 8080 port when clearly the server.xml is configured to > listen to HTTP requests on 5080 port. > >=20 > > I tested this in Windows with 5080 listener port and > it failed there too. > >=20 > > Any hints? > >=20 > Rahul, > I don't know about the rest of your problem, but if you > click on a link /in the browser/, and the browser sends a > request to localhost:8080 as a result, then it means that > /the html page which the browser has/ contains a link that > points to port 8080. > So in your example above, it is the page returned by > http://:5080/ > which contains a link to port 8080. > It has nothing to do with what server.xml says about the > ports the server is listening on. >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > For additional commands, e-mail: users-help@tomcat.apache.org >=20 > =0A=0A=0A --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org