We had a similar problem with pdf's (and occasionally doc's) running on IIS4
with JRun3.1
The ISAPI filter didn't seem to like handling the request for these types of
files.
To circumvent the problem we put the documents in question into a directory off
the webservers root, therefore bypassing the ISAPI filter altogether.

Hope it helps

Jonathan




Anne-Li Mell <[EMAIL PROTECTED]> on 16/10/2001 15:23:57
1126
Ext:

Please respond to [EMAIL PROTECTED]

To:   JRun-Talk <[EMAIL PROTECTED]>
cc:    (bcc: Jonathan Churchman/UI/Unipart)
Fax to:
Subject:  Download documents through JRun?



I have a webapplication. My boss wants there to be a 'help-button', which
downloads a helpfile, a word-document. The document is called HandbokST.doc
and is in a dictionary called silber in my htdocs. I run it on a computer
that we internally call silber5 with Jrun 2.3.3, using JRun's webserver. So
I call for
http://silber5/silber/HandbokST.doc
and I know that the address is right, for I browsed there and when I asked
for a jpg I got that one without problem, but when I try for the doc all I
get is a nullpointerexception. Is this a wrong way of trying to download a
document? I'm not all that good on things like this... Do I have to do
something in JRun webserver?

Tue Oct 16 17:07:32 GMT+02:00 2001: Running servlet
{ (Running servlet) java.lang.NullPointerException:
     at java.io.OutputStream.write(Unknown Source)
     at
com.livesoftware.servlets.file.FileServlet.serveFileContents(FileServlet.jav
a:291)
     at
com.livesoftware.servlets.file.FileServlet.serveFile(FileServlet.java,
Compiled Code)
     at
com.livesoftware.servlets.file.FileServlet.service(FileServlet.java:167)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:840)
     at com.livesoftware.jrun.JRun.runServlet(JRun.java, Compiled Code)
     at
com.livesoftware.jrun.JRunGeneric.handleConnection(JRunGeneric.java:116)
     at
com.livesoftware.jrun.service.web.JRunWebServiceHandler.handleOutput(JRunWeb
ServiceHandler.java:266)
     at
com.livesoftware.jrun.service.web.JRunWebServiceHandler.handleRequest(JRunWe
bServiceHandler.java, Compiled Code)
     at
com.livesoftware.jrun.service.ThreadConfigHandler.run(ThreadConfigHandler.ja
va, Compiled Code)
 }

All the best,

Anne-Li Mell

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the mailserver that powers this list at http://www.coolfusion.com
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to