wood burning stoves 2.0*
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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
Ranch Hand

Joined: Dec 16, 2010
Posts: 632
    
    7

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.


"There is no reason for any individual to have a computer in his home" ~ Ken Olson, Co-founder of DEC, 1977
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: authenticating to proxy server
 
Similar Threads
where to start with parsing XML
NT Authorization through a servlet
Manipulating static web pages to get dynamic results!
creating a task to run every hour
illegal access