Might it simply be because the class loader has problems with the UNC path ? I'll take a look at the source and see if I can figure something out.
Thanks again, Karl.. -----Original Message----- From: Fa. Holl GmbH - Alexander Reifinger [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 19, 2002 8:49 AM To: Tomcat Users List Subject: RE: When context docBase is a Windows UNC path it fails to load c lasses 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]>