Take a look at your java network settings too - maybe that has a proxy
configured ?
Tom
On Dec 29, 2007 7:06 PM, Stuart McCulloch <[EMAIL PROTECTED]>
wrote:
> On 30/12/2007, Pete Carapetyan <[EMAIL PROTECTED]> wrote:
> >
> > As you can imagine I have double, triple and quadruple checked
> > everything I could think of xp and norton firewall wise, don't know
> > anything else to check. Which is why I only half jokingly titled this
> > thread as mvn "setup:diagnose" would be nice at times like this. This
> > is such a huge plague on the maven community, it isems really
> > questionable for it to be so challenging to run diagnostics.
> >
> > Stack traces are great for errors that are not expected, but this
> > happens to a lot of people a lot of times from a lot of different
> > causes, one of which is apparently eluding me now.
>
>
> have you tried running a simple Java app, such as:
>
> //==================================
> import java.net.InetAddress;
>
> public class getByName {
> public static void main(String[] args) throws Exception {
> if (args.length > 0) {
> System.out.println(InetAddress.getByName(args[0]));
> } else {
> System.out.println("java getByName <host>");
> }
> }
> }
> //==================================
>
> to make sure that this isn't an application permissions/access issue?
>
> example: java getByName repo1.maven.org
> result: repo1.maven.org/63.246.20.112
>
> ( did Camtasia change the JAVA_HOME setting, or install a new JVM? )
>
> On Dec 29, 2007 8:47 AM, Jerome Lacoste <[EMAIL PROTECTED]> wrote:
> > > On Dec 29, 2007 1:39 PM, Pete Carapetyan <[EMAIL PROTECTED]>
> > wrote:
> > > > answer is inline below question:
> > > >
> > > > On Dec 29, 2007 6:30 AM, Tom Huybrechts <[EMAIL PROTECTED]>
> > wrote:
> > > > > The UnknownHostException make this look like a network issue. Can
> > you do a
> > > > > ping repo1.maven.org ?
> > > >
> > > > $ ping repo1.maven.org
> > > > Pinging repo1.maven.org [63.246.20.112] with 32 bytes of data:
> > > >
> > > > Reply from 63.246.20.112: bytes=32 time=46ms TTL=52
> > > > Reply from 63.246.20.112: bytes=32 time=46ms TTL=52
> > > > Reply from 63.246.20.112: bytes=32 time=44ms TTL=52
> > > > Reply from 63.246.20.112: bytes=32 time=45ms TTL=52
> > > >
> > > > Ping statistics for 63.246.20.112:
> > > > Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
> > > > Approximate round trip times in milli-seconds:
> > > > Minimum = 44ms, Maximum = 46ms, Average = 45ms
> > >
> > > Things that comes to mind:
> > > * firewall or anti-virus
> > > * something bad under %HOME%\.m2
> > >
> > > You said you tried those, but I would tripple check (maybe you have 2
> > > firewalls on the machine ? XP + separate one ? :)
> > >
> > > If you have multiple users on that machine, try with them.
> > >
> > > Jerome
> > >
> > > PS: do you really log as Administrator on your machine ?
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
> --
> Cheers, Stuart
>