Why do you have the / and the \ ? Equal opportunity OSs? I would suggest sticking with one or the other. ///;-)
Micael At 08:48 AM 3/19/02 +0100, you wrote: >I don't think it's going to work... >Alexander > > > -----Original Message----- > > From: Morteo, Karl (AFIS) [mailto:[EMAIL PROTECTED]] > > Sent: Tuesday, March 19, 2002 8:31 AM > > To: 'Tomcat Users List' > > Subject: RE: When context docBase is a Windows UNC path it fails to load > > c lasses > > > > > > > > Thanks for the suggestion Alexander unfortunately no joy. > > This is driving me crazy anyone else have any ideas ? > > Karl. > > > > > > Environment: Tomcat 4.02 , JDK 1.4 on Windows 2000 > > > > > > > > In server.xml, I have mounted an application context from a > > windows UNC > > > > share like this > > > > > > > > <Context path="/myapp" > > > > docBase=" \\server1\share2\mydir" > > > > reloadable="true" > > > > debug="0"/> > > > > > > > > The context appears to be loaded ok, indeed static pages are served > > fine. > > > > > > > > However the application fails to load classes from > > \\server1\share2\mydir\WEB-INF\classes > > > > > > > > If I map the windows UNC share to a drive letter everything functions > > ok. > > > > This is not a fix as the drive is not mapped when the tomcat service > > starts. > > > > > > > > Any ideas ? > > > > > > > > Karl. > > > > > > > > > Hi Karl, > > > > > > I do not think Java does know how to handle UNC pathes as this > > is not done > > > transparently in the Windows OS, UNC pathes are handled in a > > different way > > > "normal" pathes are handled. > > > (Not sure about this, I just don't think it could work) > > > > > > Try altering a context based on your local machine to >\\127.0.0.1\path to > > see whether it works at all. In case it does really work - which, as I >said, > > I do not think - maybe it helps to use a IP adress instead of a machine > > name, maybe host resolving is not yet started/ready at the moment tomcat >is > > started. > > > > Bye, > > Alexander > > > >-- >To unsubscribe: <mailto:[EMAIL PROTECTED]> >For additional commands: <mailto:[EMAIL PROTECTED]> >Troubles with the list: <mailto:[EMAIL PROTECTED]> > > >-- >To unsubscribe: <mailto:[EMAIL PROTECTED]> >For additional commands: <mailto:[EMAIL PROTECTED]> >Troubles with the list: <mailto:[EMAIL PROTECTED]> -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>