[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Jar file (fwd)




===============================================================================
Robb Kambic                                Unidata Program Center
Software Engineer III                      Univ. Corp for Atmospheric Research
address@hidden             WWW: http://www.unidata.ucar.edu/
===============================================================================

---------- Forwarded message ----------
Date: Mon, 13 Feb 2006 16:43:33 -0700
From: John Caron <address@hidden>
To: Robb Kambic <address@hidden>
Subject: Re: Jar file (fwd)

he's probably hitting a restricted URL, which requires special handling. He 
should try it in a browser or ToolsUI and see if he gets a password window.

BTW, all needed jars are in

  ftp://ftp.unidata.ucar.edu/pub/netcdf-java/v2.2.12/netcdfAll-2.2.12.zip

as it says in the nj22 home page.

Robb Kambic wrote:
> i forgot to ask you about opening a raf as a url, what the problem here?
>
>
>
> ===============================================================================
> Robb Kambic                              Unidata Program Center
> Software Engineer III                    Univ. Corp for Atmospheric Research
> address@hidden                   WWW: http://www.unidata.ucar.edu/
> ===============================================================================
>
> ---------- Forwarded message ----------
> Date: Fri, 10 Feb 2006 09:15:06 -0600
> From: Nelson Brandon K A1C AFWA/SCSA <address@hidden>
> To: Robb Kambic <address@hidden>
> Subject: RE: Jar file
>
> Robb,
>
> Disregard my last email I found the jar file.  However after putting it all
> together I get this error.  I am new to using http in java so maybe you can
> help me.
>
> Feb 10, 2006 9:13:43 AM
> org.apache.commons.httpclient.auth.AuthChallengeProcessor selectAuthScheme
> INFO: ntlm authentication scheme selected
> Feb 10, 2006 9:13:43 AM org.apache.commons.httpclient.HttpMethodDirector
> processWWWAuthChallenge
> INFO: No credentials available for NTLM <any realm>@nwd0206.afwa.af.mil:8008
> java.io.IOException:
> http://nwd0206.afwa.af.mil:8008/Smith/GIS_GRIB_TEST/us057g1010t04a180000000.
> txt HTTP/1.1 401 Unauthorized
>       at
> mil.af.afwa.scs.GribJava.HTTPRandomAccessFile3.doConnect(HTTPRandomAccessFil
> e3.java:128)
>       at
> mil.af.afwa.scs.GribJava.HTTPRandomAccessFile3.<init>(HTTPRandomAccessFile3.
> java:79)
>       at
> mil.af.afwa.scs.GribJava.HTTPRandomAccessFile3.<init>(HTTPRandomAccessFile3.
> java:61)
>       at mil.af.afwa.scs.GribJava.test.main(test.java:33)
>
> V/r
>
> A1C Nelson, Brandon K
>
> Communications-Computer Systems Programmer
>
> HQ AFWA/SCSA (402) 294-1404
>
>
> -----Original Message-----
> From: Robb Kambic [mailto:address@hidden]
> Sent: Friday, February 10, 2006 8:53 AM
> To: Nelson Brandon K A1C AFWA/SCSA
> Cc: decoders
> Subject: RE: Jar file
>
> On Thu, 9 Feb 2006, Nelson Brandon K A1C AFWA/SCSA wrote:
>
>
>>Robb,
>>
>>That was the jar file I originally found and used when I told you I was
>>getting this error.
>>
>>java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
>>
>>Is there another logging jar file I should have?
>
>
> these jar files can cause havoc, you also need jar file:
>
> commons-logging-1.0.4.jar
>
> i don't know where it came from, maybe you can search the web for it. if
> you can't find it, i'll try to put it on the web somewhere.
>
> robb...
>
>
>>V/r
>>
>>A1C Nelson, Brandon K
>>
>>Communications-Computer Systems Programmer
>>
>>HQ AFWA/SCSA (402) 294-1404
>>
>>
>>-----Original Message-----
>>From: Robb Kambic [mailto:address@hidden]
>>Sent: Thursday, February 09, 2006 11:13 AM
>>To: Nelson Brandon K A1C AFWA/SCSA
>>Subject: Re: Jar file
>>
>>
>>
>>On Thu, 9 Feb 2006, Nelson Brandon K A1C AFWA/SCSA wrote:
>>
>>
>>>Robb,
>>>
>>>
>>>
>>>            I do not believe that is the correct jar file you sent me.
>>
>>Many
>>
>>>of the variable in HTTPRandomAccessFile3 are undefined and do not exist
>
> in
>
>>>the HTTPClient.jar file.  Was there something else?  Thanks again Robb!
>>
>>Nelson,
>>
>>i did make a mistake, the jar file is:
>>
>>commons-httpclient-3.0.jar  from the tomcat distribution. if you can't
>>find in on the web, download tomcat to get it.
>>
>>robb...
>>
>>
>>
>>>
>>>
>>>V/r
>>>
>>>A1C Nelson, Brandon K
>>>
>>>Communications-Computer Systems Programmer
>>>
>>>HQ AFWA/SCSA (402) 294-1404
>>>
>>>
>>>
>>>
>>
>>
> ============================================================================
>
>>===
>>Robb Kambic                              Unidata Program Center
>>Software Engineer III                    Univ. Corp for Atmospheric
>>Research
>>address@hidden                   WWW: http://www.unidata.ucar.edu/
>>
>
> ============================================================================
>
>>===
>>
>
>
> ============================================================================
> ===
> Robb Kambic                              Unidata Program Center
> Software Engineer III                    Univ. Corp for Atmospheric
> Research
> address@hidden                   WWW: http://www.unidata.ucar.edu/
> ============================================================================
> ===