Sun Webserver connector problem - nsapi_redirector
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 -- View this message in context: http://www.nabble.com/Sun-Webserver-connector-problem---nsapi_redirector-tp22854897p22854897.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: Sun Webserver connector problem - nsapi_redirector
I'm required to run the application over secured socket. Tomcat's SSL implementation is not optimal. The application performs well over http, but when certificate is installed in Tomcat it runs extremely slow over https. I would like to install certificate on Sun Webserver and see if performance over SSL improves. But first, I need to have redirection working. Caldarale, Charles R wrote: > >> From: dmitriz [mailto:dmit...@mycfo.com] >> Subject: Sun Webserver connector problem - nsapi_redirector >> >> I would like to front Tomcat 6.0.14 with Sun WebServer 6.1 SP8. > > I can't answer your question, but why would you want to do that? > > - Chuck > > > THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY > MATERIAL and is thus for use only by the intended recipient. If you > received this in error, please contact the sender and delete the e-mail > and its attachments from all computers. > > > > -- View this message in context: http://www.nabble.com/Sun-Webserver-connector-problem---nsapi_redirector-tp22854897p22855418.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Sun Webserver connector problem - nsapi_redirector
I'm attaching log and config files here. Thanks. 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 -- View this message in context: http://www.nabble.com/Sun-Webserver-connector-problem---nsapi_redirector-tp22854897p22855669.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Sun Webserver connector problem - nsapi_redirector
No, it did not help. NameTrans does not seem to work here. WebServer still looks for subfolder examples under its docroot. 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-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > > -- View this message in context: http://www.nabble.com/Sun-Webserver-connector-problem---nsapi_redirector-tp22854897p22919546.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Sun Webserver connector problem - nsapi_redirector
Rainer, That did the trick. Thanks a lot. Dmitri Rainer Jung-3 wrote: > > 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-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > > -- View this message in context: http://www.nabble.com/Sun-Webserver-connector-problem---nsapi_redirector-tp22854897p22937374.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org