I have Apache JServe 1.1.2, there could be behavioral differences from JServe 1.0. I'll try to get the old version & use that, but it'll take time. Is it possible for you to upgrade your JServe?
If you are interested, the problem is probably in org.apache.xang.util.ServletUtil.getRealPath() It uses an API which is not implemented the same in all servlet engines. I haven't been able to test on every configuration. Perhaps we could work together to see what is going on. I can give you an updated file which prints out some status information and we can determine where to go from there. Mike > -----Original Message----- > From: Wild, Volker (LFL) [mailto:[EMAIL PROTECTED] > Sent: Tuesday, September 12, 2000 1:41 AM > To: '[EMAIL PROTECTED]' > Subject: AW: Problems to run > > > My servlet-engine is Apache JServ 1.0. I'm working on Windows NT. > I've set an alias 'xang' for webpath which maps on the directory with the > Xang-sources. > I think that all is configured well, because there is a HTML-Page returned > to the browser but with no content. My URL is: > 'http://10.32.53.20/xang/apps/hello/hello.xap'. > The output as document-source in the browser is: > '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> > <HTML><HEAD> > <META http-equiv=Content-Type content="text/html; > charset=windows-1252"></HEAD> > <BODY><XMP></XMP></BODY></HTML>'. > The directory (not a file!) named in the error-message > 'd:/programme/apache > group/apache1.3.6' is the one where 'apache.exe' is in. I dont't > know, which > file is expected to load there by 'DynamicDocument.load():'! > There is a BLANK in path name 'apache group' but this couldn't > the reason I > think. In this directory, there is nothing related with the > servlets but the > 'htdocs' web-root. Could this be the reason? Is there something > to load from > a webpath (the translation to directory name), which is not fully > specified > and the Xang-Engine don't know about the alias set? > > Volker > > > ---------- > > Von: S. Mike Dierken[SMTP:[EMAIL PROTECTED] > > Antwort an: xang-dev@ > > Gesendet: Montag, 11. September 2000 20:32 > > An: [EMAIL PROTECTED] > > Cc: [EMAIL PROTECTED] > > Betreff: RE: Problems to run > > > > > > > > > -----Original Message----- > > > From: Wild, Volker (LFL) [mailto:[EMAIL PROTECTED] > > > Sent: Monday, September 11, 2000 1:11 AM > > > To: '[EMAIL PROTECTED]' > > > Subject: AW: Problems to run > > > > > > > > > I've downloaded the new jar-file but have now another error. > There must > > be > > a > > > default path set to the root of Apache (where it was started from). I > > can't > > > find an entry. The error-message in Apache-log is: > > > > > > DynamicDocument.load(): EXCEPTION: Unable to load d:/programme/apache > > group/apache1.3.6 > > > > Which servlet engine are you using? > > I found that different servlet engines have different behavior of > > getRealPath() and getServletPath(). > > > > What is the URL you are using? > > The Xang system isn't called like a standard servlet, you use > > http://localhost/xang/samples/hello/hello.xap/ or something. > The filename > > of > > the .xap is specified in the URL rather than the name of the servlet. > > > > > > Mike > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED]
