Re: nsapi_redirector.so file

2008-07-07 Thread sandeep gelli
Hi Rainer, Finally got it. I have changed my page redirection from response.redirect() to requestDispatcher.forward() and it worked. This was actually a trail and error that i did, any logic behind this? Thanks Sandeep On 7/5/08, Rainer Jung [EMAIL PROTECTED] wrote: sandeep gelli schrieb:

Re: nsapi_redirector.so file

2008-07-07 Thread Rainer Jung
sandeep gelli wrote: Hi Rainer, Finally got it. I have changed my page redirection from response.redirect() to requestDispatcher.forward() and it worked. This was actually a trail and Thanks for letting us know. error that i did, any logic behind this? No, not really. Do you see the final

Re: nsapi_redirector.so file

2008-07-05 Thread Rainer Jung
sandeep gelli schrieb: Hi Rainer, Any advise on this? The log looks fine. All requests, that are processed by the plugin are forwarded to the backend and return a result to the client. Those requests are: 10.111.33.24 port=443 uri=/XXX/balance_transfer/form_bt0.jsp 10.111.33.24 port=443

Re: nsapi_redirector.so file

2008-07-04 Thread sandeep gelli
Hi Rainer, Any advise on this? Thanks Sandeep On Fri, Jul 4, 2008 at 9:50 AM, sandeep gelli [EMAIL PROTECTED] wrote: Hi Rainer, Attached is the nsapi.log, including the initialization phase. All my config files in the target system are in UNIX format. Thanks Sandeep On 7/3/08, Rainer

Re: nsapi_redirector.so file

2008-07-03 Thread Rainer Jung
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,

Re: nsapi_redirector.so file

2008-07-03 Thread sandeep gelli
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

Re: nsapi_redirector.so file

2008-07-03 Thread Rainer Jung
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

Re: nsapi_redirector.so file

2008-07-03 Thread Rainer Jung
sandeep gelli wrote: 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

Re: nsapi_redirector.so

2007-04-13 Thread Rajiv M
I have tried couple of tests with jsp and servlet redirection to Tomcat. jsp(s) work fine. Having a problem with servlets. To begin with, here is my obj.conf settings: NameTrans fn=pfx2dir from=/try dir=/usr/jakarta-tomcat-5.5.0/webapps ... NameTrans fn=assign-name from=/try/servlets-examples/*

Re: nsapi_redirector.so

2007-04-13 Thread Rainer Jung
You will definitely have to read a bit about standard configuration of Sun Web Server. The web server docs will tell you, that the order of NameTrans directives is relevant. I expect the file system rule comes first in your config, before the jk NameTrans. If you want to debug such issues:

Re: nsapi_redirector.so

2007-04-13 Thread Rajiv M
Cheers! - To start a new topic, e-mail: [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: nsapi_redirector.so

2007-04-12 Thread Rainer Jung
The plugin exits, because it can't stat the worker file. In the zip you attached, the worker file is called worker.properties, in magnus.conf it's called workers.properties. Note the difference! I hope that's the solution to your problem (point 4) in my previous email). If that fixes your

Re: nsapi_redirector.so

2007-04-12 Thread Rajiv M
Apologies for my ignorance. The server is up! I will try more tests with the tomcat connector redirection now. Thanks a trillion Rajiv - To start a new topic, e-mail: [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: nsapi_redirector.so

2007-04-12 Thread Rajiv M
Now I tried to follow the below URL: http://tomcat.apache.org/connectors-doc/webserver_howto/nes.html And modified the obj.conf to add these lines: NameTrans fn=pfx2dir from=/examples dir=/usr/jakarta-tomcat-5.5.0/webapps/jsp-examples NameTrans fn=assign-name from=/examples/jsp/*.jsp

Re: nsapi_redirector.so

2007-04-12 Thread Rajiv M
Ignore this mail. I sorted out the problem. Path configuration issues within obj.conf. Thanks a lot Rainer. BTW, Can the .so you supplied be used in production Thanks Rajiv On 4/12/07, Rajiv M [EMAIL PROTECTED] wrote: Now I tried to follow the below URL:

Re: nsapi_redirector.so

2007-04-12 Thread Rainer Jung
Rajiv M wrote: BTW, Can the .so you supplied be used in production Difficult to answer: 1) The non-debug .so is trunk code version. But trunk is *very* near to be released as 1.2.22. So I think there is no special risk, apart from the usual it's a brand new patch release. I'm confident,

Re: nsapi_redirector.so

2007-04-11 Thread Rajiv M
hi Rainer, Thank you for the libraries!! I picked nsapi_redirector.so_sjsws61_sp7_64 for tests on my Solaris 10 setup. Upgraded the Sun Web server to 6.1 SP7. Made the necessary configuration for Tomcat connector and started Tomcat. On launching Sun Web Server, now, I receive:

Re: nsapi_redirector.so

2007-04-11 Thread Rainer Jung
Please try again by adding shm_file=/usr/jakarta-tomcat-5.5.0/conf/jk-runtime-status to the block Init fn=jk_init worker_file=/usr/jakarta-tomcat-5.5.0/conf/workers.properties log_level=debug log_file=/usr/jakarta-tomcat-5.5.0/conf/nsapi.log in magnus.conf. If this doesn't work, I'll

Re: nsapi_redirector.so

2007-04-11 Thread Rajiv M
Did the changes. Server still shows error on startup: [https-sun210dev2.in.ibm.com]: failure: CORE3170: Configuration initialization failed: Error running init function jk_init: unknown error nsapi.log indicates: [Thu Apr 12 03:16:31 2007] [1639:0001] [debug] do_shm_open::jk_shm.c (374):

Re: nsapi_redirector.so

2007-04-11 Thread Rainer Jung
OK, I'll check, but give me one or two days ... Maybe someone else has an idea in the meantime. Rajiv M wrote: Did the changes. Server still shows error on startup: [https-sun210dev2.in.ibm.com]: failure: CORE3170: Configuration initialization failed: Error running init function jk_init:

Re: nsapi_redirector.so

2007-04-11 Thread Martin Gainty
by telephone or email and destroy the original message without making a copy. Thank you. - Original Message - From: Rainer Jung [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Wednesday, April 11, 2007 8:18 AM Subject: Re: nsapi_redirector.so OK, I'll check

Re: nsapi_redirector.so

2007-04-11 Thread Rajiv M
I was following the steps in the below URL: http://tomcat.apache.org/connectors-doc/webserver_howto/nes.html Now, when I see the jk binaries for Solaris: http://apache.siamwebhosting.com/tomcat/tomcat-connectors/jk/binaries/solaris/jk-1.2.21/ there are

Re: nsapi_redirector.so

2007-04-11 Thread Rainer Jung
Hi Rajiv, the other downloads you found are for the apache web server. They will not work with the sun web server. I was able to use Sun Web Server 6.1 SP7 64 Bit Sparc on Solaris 10, with the binary library nsapi_redirector.so_sjsws61_sp7_64 I provided. There is (at least) one bug in the

Re: nsapi_redirector.so

2007-04-10 Thread Rainer Jung
Hi Rajiv, I could provide Solaris SPARC builds for: - Sun Web Server 7.0 either 32 Bit or 64 Bit - Sun Web Server 6.1 SP7 32 Bit Unfortunately you seem to need 6.0 64Bit. This release does only exist for Solaris 10. I'll try, if I can install it on Solaris 8, but I assume, this will not work.