Forums Register Login

FileNotFound exception using authentication in ISA Proxy Server

+Pie Number of slices to send: Send
Hi,
I've got a java client application talking to an application server via IIS. This operates without any hitches. I now require it to operate via a ISA Proxy Server. The client operates as expected when "Ask for user Authentication" is switched OFF in ISA but as I require this switch to be ON this is not an option.
When user authentication is ON and I get a "java.io.FileNotFound" exception on a getInputStream instruction.
I have tried inserting the following code but I still receive the error:

The code fails on the getInputStream, and the file it is trying to access is a .bat file.
I have attempted to configure ISA by setting up a Client Set and a Destination Set and subsequently setting up rules to allow specified IP addresses full access to the destination IP address. But this had no effect.
I have also tried putting in the -Dhttp.proxyHost=proxy_server_host -Dhttp.proxyPort=port switches in the javaw command on the batch file; but still no change.
Is there anything else I can try. Please note that I am quite new to Java, ISA Proxy Server, and ISS.
Regards
Gavin
+Pie Number of slices to send: Send
Incase anyone else has the same problem...It was solved by enabling "Basic" authentication on the ISA Server.
I think she's lovely. It's this tiny ad that called her crazy:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 949 times.
Similar Threads
Socket connection from behind the Proxy Server
how to use make HTTP request behind a proxy server
Swing Browser Extension
Java and proxies
how to read content of a site?
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 13:12:43.