Re: dted-layer

From: Don Dietrick <dietrick@bbn.com>
Date: Mon Mar 04 2002 - 09:18:49 EST

Hi David,

There is a problem with the way that the ClassLoader is used in 4.4.2,
that is updated for 4.5 when it comes out. In
com.bbn.openmap.io.BinaryFile, you want to change:

                   url = ClassLoader.getSystemResource(name);
to
                url =
Thread.currentThread().getContextClassLoader().getResource(name);

in both places it occurs.

Otherwise, you have to deal with the AppletDataNugget class, and there
is documentation on using it in the Javadocs and FAQ.

Hope this helps,

Don

On Monday, March 4, 2002, at 02:41 AM, Marklund David wrote:

> Hi all,
> I finally have a dted layer running in my application, with a fairly
> amount
> of data.
> Now my problem is:
>
> I deploy my app. by using java webstart
> (java.sun.com/products/javawebstart), using jws all resources must be
> packed
> in
> a jar file, and when I do so the dted layer hangs, no error messages.
> (It hangs without java web start also, if the dted files is in a jar)
>
> Last line in log is "DTEDLayer: Creating cache! (This is a one-time
> operation!)" Then it hangs with 99 % CPU.
>
> Any ideas ? I have none.
>
> Cheers
>
> David
>
> --
> [To unsubscribe to this list send an email to "majdart@bbn.com"
> with the following text in the BODY of the message "unsubscribe
> openmap-users"]
>
>

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Don Dietrick, dietrick@bbn.com
BBN Technologies, Cambridge, MA
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Mon Mar 4 09:32:24 2002

This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:32 EDT