IcedTeaWeb Started application apparently tries to download classpath resources from server

Christian Svedin christian.svedin at
Thu Feb 21 07:51:14 UTC 2019

On Wed, 2019-02-20 at 16:24 +0100, Jiri Vanek wrote:
> Yes. Codebase is where your code is laying, and thus where ITW is
> searching for it.
> On 2/20/19 2:12 PM, Christian Svedin wrote:
> > 
> > I have an application that is started using webstart. After the
> > application has started I get
> > logging on my server that says that something is trying to load
> > resources that doesn't exist.
> > 
> > To me it looks like my webstarted application is trying to load
> > classes/resources from the url that
> > is codebase in my jnlp.
> > 
> > For example, it seems like
> > getClass().getClassLoader().getResource("/missing/resource") tries
> > to
> > load from http://my.application/webstart/missing/resource if my
> > codebase is
> > http://my.application/webstart
> Where else would you like it to look?
I would prefer that it looks inside the resources listed in my jnlp-
file. Not trying to dynamically load classes from the codebase. That's
how oracles webstart does it right?

If you expect it to load from jars, then you are right, and that is first place it should look.

Does the classloader i get from icedtea-web behave the way I think? Is this how it's supposed to
work? ��

If this is how it's supposed to work, doesn't this have quite big performance implications?

/ Christian


More information about the distro-pkg-dev mailing list