This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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: 826
    
  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
 
Similar Threads
where to start with parsing XML
illegal access
NT Authorization through a servlet
Manipulating static web pages to get dynamic results!
creating a task to run every hour