aspose file tools*
The moose likes Tomcat and the fly likes authenticating to proxy server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "authenticating to proxy server" Watch "authenticating to proxy server" New topic
Author

authenticating to proxy server

J. Kevin Robbins
Bartender

Joined: Dec 16, 2010
Posts: 998
    
  13

I've created an app that uses a web service. It works fine from my local install of Tomcat on my desktop (Windoze). But when I move it to the Linux box, I get "unknown host exception" on the proxy server. I'm using Apache HttpClient for authentication like so:


..with the creds coming from a properties file. I've tried using the IP address and the fully qualified server name, all to no avail. I can ping and nslookup the proxy server from the Linux box, so I'm puzzled as to why I'm getting this error. Is this some configuration in Tomcat that needs to be setup?

fyi, my Linux/Tomcat server and the proxy server are NOT the same box. The proxy server is at our headquarters several hundred miles away.


"The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do." -- Ted Nelson
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: authenticating to proxy server