If you are not sure what methods are supported, try this:

public class debugISA
{
   public static void main(String[] args) throws Exception
   {
       try
       {
           // Enter the ip and port of your proxy here
           java.net.Socket socket = new java.net.Socket( "10.5.0.99", 8080 );
           java.io.DataOutputStream os = new
java.io.DataOutputStream( socket.getOutputStream() );
           java.io.DataInputStream is = new java.io.DataInputStream(
socket.getInputStream() );
           java.util.regex.Pattern p =
java.util.regex.Pattern.compile( "Proxy-Authenticate.*" );

           if( socket != null && os != null && is != null)
           {
               os.writeBytes("GET http://www.google.com/ HTTP/1.1");
               os.writeBytes("\015\012\015\012\015\012\015\012");

               String responseLine;
               while ((responseLine = is.readLine()) != null) {
                   java.util.regex.Matcher m = p.matcher( responseLine );
                   if( m.matches() )
                   {
                       System.out.println("Server: " + responseLine);
                   }
               }
               os.close();
               is.close();
               socket.close();
           }
       }
       catch( Exception e )
       {
           System.err.println("Exception:  " + e);
       }
   }
}


-Steve

On 12/28/06, Stephen More <[EMAIL PROTECTED]> wrote:
Do you know what method your proxy supports ?

  Proxy-Authenticate: Basic
  Proxy-Authenticate: NTLM
  Proxy-Authenticate: Kerberos
  Proxy-Authenticate: Negotiate


Our staff removed Basic support and I ran into all sorts of problems.

-Steve More

On 12/7/06, Mykel Alvis <[EMAIL PROTECTED]> wrote:
> By copying my repository from the windows box, I was able to determine that
> the settings are correctly being acquired.
>
> The problem appears to be with some interaction with the wagon client.  I'll
> take this issue on over to that list.
>
> On 12/7/06, Mykel Alvis <[EMAIL PROTECTED]> wrote:
> >
> > Heh.  That's a chicken and egg problem. The help plugin doesn't come with
> > the base install, so getting it to debug the method I'm using to get plugins
> > is a little problematic.  :)
> >
> > Hmm... I guess I could look at using a windows machine as a proxy for my
> > connection just to get the plugins, though.
> >
> > Thanks!
> >
> > On 12/7/06, Aaron Digulla <[EMAIL PROTECTED]> wrote:
> > >
> > >
> > >
> > > Mykel Alvis-2 wrote:
> > > >
> > > > The Linux build boxes, with the exact same file for settings, will
> > > not.
> > > >
> > >
> > > Does mvn help:effective-settings show your proxy settings?
> > >
> > > Also, you may try to install a dummy/forwarding proxy which logs all
> > > traffic
> > > to see what the two talk with each other.
> > >
> > > Regards,
> > >
> > > --
> > > Aaron Digulla
> > > --
> > > View this message in context: 
http://www.nabble.com/Firewall-proxy-issues-tf2771836s177.html#a7738866
> > >
> > > Sent from the Maven - Users mailing list archive at Nabble.com.
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
> >
> > --
> > I'm just an unfrozen caveman software developer.  I don't understand your
> > strange, "modern" ways.
> >
>
>
>
> --
> I'm just an unfrozen caveman software developer.  I don't understand your
> strange, "modern" ways.
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to