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 <Object name="jknsapi"> 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