Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 48587 invoked from network); 3 Jul 2008 10:42:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Jul 2008 10:42:30 -0000 Received: (qmail 16007 invoked by uid 500); 3 Jul 2008 10:42:18 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 15977 invoked by uid 500); 3 Jul 2008 10:42:18 -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 15966 invoked by uid 99); 3 Jul 2008 10:42:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Jul 2008 03:42:18 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of sundeep91@gmail.com designates 64.233.166.181 as permitted sender) Received: from [64.233.166.181] (HELO py-out-1112.google.com) (64.233.166.181) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Jul 2008 10:41:28 +0000 Received: by py-out-1112.google.com with SMTP id d32so402557pye.34 for ; Thu, 03 Jul 2008 03:41:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type:references; bh=WGYECmQ1zEWL6gHnFfAIBhYp+LbZq0sgMa3zXL8C4i8=; b=b670Qje6qSfMf31WktFAu7DDgbm5eeaFnC/1mkVaBypvVDa5UsyPrpKDp8WNHiz6Kg Es4wAZ01f8O4gYy6164PGjJf8rDqPeYSQBLcJ+elO17y8L13L4OqwR5om408Im0NtjtF hIWtNFk80nC2MKQzRzsJDKBtnC825DvqzMwis= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:references; b=tTGMHdOAqpvH8QQJYjkJChfSL73zR43Z5Kc7h37dLA7b00HnM+kRGbWc9AqIutbWGf p+nOOTizS7qg6X6d6GDaxGc5p/SaT30c2xCEmONLL8KQg3UuanQ7mfeNa8an5dQ9Nl+L 9EQMnCO1snN9GSNoAyc8HWuYLKHS89DIr1x5A= Received: by 10.142.242.11 with SMTP id p11mr3526885wfh.135.1215081707580; Thu, 03 Jul 2008 03:41:47 -0700 (PDT) Received: by 10.142.172.7 with HTTP; Thu, 3 Jul 2008 03:41:47 -0700 (PDT) Message-ID: Date: Thu, 3 Jul 2008 18:41:47 +0800 From: "sandeep gelli" To: "Tomcat Users List" Subject: Re: nsapi_redirector.so file In-Reply-To: <486CA2BD.2070200@kippdata.de> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_8161_19990231.1215081707577" References: <486C87C9.9070303@kippdata.de> <486CA2BD.2070200@kippdata.de> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_8161_19990231.1215081707577 Content-Type: multipart/alternative; boundary="----=_Part_8162_1853510.1215081707577" ------=_Part_8162_1853510.1215081707577 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi Rainer, Below is the URL from which i have downloaded the 64-bit nsapi_redirector.so file. When i use this file http://apache.oss.eznetsols.org/tomcat/tomcat-connectors/jk/binaries/solaris/jk-1.2.26/sparc/ I receive the following error message when i use this file. Sun ONE Web Server 6.1 B08/22/2003 12:37 [https-online-forms]: failure: CORE3170: Configuration initialization failed: Error running init function load-modules: dlopen of /usr/src/nsapi/lib/nsapi_redirector.so failed (ld.so.1: webservd: fatal: /usr/src/nsapi/lib/nsapi_redirector.so: wrong ELF class: ELFCLASS64) [https-online-forms]: failure: server initialization failed So for compiling the src, i used gcc 3.3 version, which gave me a 250kb file(which doesnt seems to be correct).My sun one webserver is running on 32-bit mode. When i use the 32-bit so file, the server successfully starts up, and i can see the title page. When i submit the page, i can see the logs in the tomcat and tomcat successfully responding to the request. But, the webserver is unable to get the response from the tomcat. The 404 status is from the webserver. Attached are my config files. Thanks Sandeep On 7/3/08, Rainer Jung wrote: > > As a first step, answering the questions in my previous mail would be > helpful. As a secodn step, showing your configuration. Third: what do you > mean by "page not found"? Is it a browser generated error, e.g. because the > web server crashes and the browqser doesn't get an answer, or do your get a > reply from the web server with status code 404, or maybe from Tomcat? > > Regards, > > Rainer > > sandeep gelli wrote: > >> Hi Rainer, >> >> Thanks for the prompt response. Let me explain my scenario. I am trying to >> redirect the requests from sun webserver to tomcat. All worked fine with >> my >> windows pc(32-bit) and when trying to deploy the same in my solaris >> system, >> i am able to get the first page. After submitting the first page, i am >> getting the page not found error. >> >> When checked in the nsapi.log, i dont see any errors.So, i thought it >> could >> be because of the nsapi_redirector.so, which is the only change made >> transferring the application from windows to unix. >> >> Any advise on this would be of great help to me, as i am struggling with >> this issue from the last two weeks. >> >> Thanks & Rgds >> Sandeep Gelli >> >> >> On 7/3/08, Rainer Jung wrote: >> >>> Hi Sandeep, >>> >>> sandeep gelli schrieb: >>> >>> Hi, >>>> >>>> Can anyone help me providing nsapi_redirector.so file(64-bit version). >>>> My >>>> application is running on solaris sparc os 9, and sunone webserver 6.1 >>>> sp9. >>>> >>>> When i used the one available in the apache website, i am getting >>>> ELFCLASS64 >>>> error. I tried building it, but getting the following error during the >>>> make >>>> >>>> Whats the version you are using and what's the exact download URL of the >>> .so file? >>> What is the exact error message? >>> What is the result of the command "file .../nsapi_redirector.so"? >>> >>> I would say: you are using the 32 Bit version of the Sun Web Server (as >>> usual on a 64 Bit system and kernel, no problem with that). If it is the >>> 32Bit web server, you need to download the 32 Bit nsapi_redirector.so. On >>> the download page for the most recent version, it is named >>> nsapi_redirector-1.2.26-sjsws6.1sp11.so. >>> >>> file. >>> >>>> gcc: unrecognised option pthread. >>>> >>>> Which version of gcc? >>> Mine says "gcc: unrecognized option '-bar'" if I use an unknown option. >>> Notice the "-" in front of the option. Did you remove the minus in front >>> of >>> pthread in the Makefile? >>> >>> However, i am still getting the build file which is just 250 kb. and also >>> That seems to be too small. >>> >>> the class version error. >>> Remove the added "-m64" from your compiler flags. Then you'll build a >>> 32Bit >>> version. >>> >>> Thanks >>> >>>> Sandeep >>>> >>>> Regards, >>> >>> Rainer >>> >> > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > For additional commands, e-mail: users-help@tomcat.apache.org > > ------=_Part_8162_1853510.1215081707577 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
Hi Rainer,
 
Below is the URL from which i have downloaded the 64-bit nsapi_redirector.so file. When i use this file
I receive the following error message when i use this file.
 
Sun ONE Web Server 6.1 B08/22/2003 12:37
[https-online-forms]: failure: CORE3170: Configuration initialization failed: Error running init function load-modules: dlopen of /usr/src/nsapi/lib/nsapi_redirector.so failed (ld.so.1: webservd: fatal: /usr/src/nsapi/lib/nsapi_redirector.so: wrong ELF class: ELFCLASS64)
[https-online-forms]: failure: server initialization failed
 
So for compiling the src, i used gcc 3.3 version, which gave me a 250kb file(which doesnt seems to be correct).My sun one webserver is running on 32-bit mode.
 
When i use the 32-bit so file, the server successfully starts up, and i can see the title page. When i submit the page, i can see the logs in the tomcat and tomcat successfully responding to the request. But, the webserver is unable to get the response from the tomcat. The 404 status is from the webserver.
 
 
Attached are my config files.
 
 
Thanks
Sandeep 
 
On 7/3/08, Rainer Jung <rainer.jung@kippdata.de> wrote:
As a first step, answering the questions in my previous mail would be helpful. As a secodn step, showing your configuration. Third: what do you mean by "page not found"? Is it a browser generated error, e.g. because the web server crashes and the browqser doesn't get an answer, or do your get a reply from the web server with status code 404, or maybe from Tomcat?

Regards,

Rainer


sandeep gelli wrote:
Hi Rainer,

Thanks for the prompt response. Let me explain my scenario. I am trying to
redirect the requests from sun webserver to tomcat. All worked fine with my
windows pc(32-bit) and when trying to deploy the same in my solaris system,
i am able to get the first page. After submitting the first page, i am
getting the page not found error.

When checked in the nsapi.log, i dont see any errors.So, i thought it could
be because of the nsapi_redirector.so, which is the only change made
transferring the application from windows to unix.

Any advise on this would be of great help to me, as i am struggling with
this issue from the last two weeks.

Thanks & Rgds
Sandeep Gelli


On 7/3/08, Rainer Jung <rainer.jung@kippdata.de> wrote:
Hi Sandeep,

sandeep gelli schrieb:

Hi,

Can anyone help me providing nsapi_redirector.so file(64-bit version). My
application is running on solaris sparc os 9, and sunone webserver 6.1
sp9.

When i used the one available in the apache website, i am getting
ELFCLASS64
error. I tried building it, but getting the following error during the
make

Whats the version you are using and what's the exact download URL of the
.so file?
What is the exact error message?
What is the result of the command "file .../nsapi_redirector.so"?

I would say: you are using the 32 Bit version of the Sun Web Server (as
usual on a 64 Bit system and kernel, no problem with that). If it is the
32Bit web server, you need to download the 32 Bit nsapi_redirector.so. On
the download page for the most recent version, it is named
nsapi_redirector-1.2.26-sjsws6.1sp11.so.

file.
gcc: unrecognised option pthread.

Which version of gcc?
Mine says "gcc: unrecognized option '-bar'" if I use an unknown option.
Notice the "-" in front of the option. Did you remove the minus in front of
pthread in the Makefile?

However, i am still getting the build file which is just 250 kb. and also
That seems to be too small.

the class version error.
Remove the added "-m64" from your compiler flags. Then you'll build a 32Bit
version.

Thanks
Sandeep

Regards,

Rainer

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


------=_Part_8162_1853510.1215081707577-- ------=_Part_8161_19990231.1215081707577 Content-Type: application/zip; name=nsapi.zip Content-Transfer-Encoding: base64 X-Attachment-Id: f_fi788ryd Content-Disposition: attachment; filename=nsapi.zip UEsDBBQAAAAIAPOU4zgiC4mm0QAAAKwBAAARAAAAd29ya2VyLnByb3BlcnRpZXN1j89OwzAMh+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AEAABEAAAAAAAAAAQAgALaBAAAAAHdvcmtl ci5wcm9wZXJ0aWVzUEsBAhQAFAAAAAgAAZXjONZE2acTAgAAywMAAAsAAAAAAAAAAQAgALaBAAEA AG1hZ251cy5jb25mUEsBAhQAFAAAAAgAApXjOAait2gZAwAAVwgAAAgAAAAAAAAAAQAgALaBPAMA AG9iai5jb25mUEsFBgAAAAADAAMArgAAAHsGAAAAAA== ------=_Part_8161_19990231.1215081707577 Content-Type: text/plain; charset=us-ascii --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org ------=_Part_8161_19990231.1215081707577--