Re: Running JOnAS 4.7.4 that uses 1.5 features

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

 



Robert Lougher wrote:
> On 8/9/06, Gary Benson <gbenson@xxxxxxxxxx> wrote:
> > Audrius Meskauskas wrote:
> > > JOnAS also failed to load the JacORB CORBA implementation via
> > > our org.omg classes. Despite our ObjectCreator.forName searches
> > > the thread context class loader and then walks through the
> > > stack, trying the class loader of every class there, the
> > > jacorb.jar is still missing in the path of all tried loaders (I
> > > have checked with the .toString() method of our class loader -
> > > is lists all files in the path). I have no idea from where the
> > > JacORB classes should be loaded (the jacorb.jar itself is
> > > present in JOnAS distribution).
> > 
> > I think I hit something similar in the never-released Fedora
> > JOnAS: I had to write a little a hack to ram jacorb.jar onto the
> > classpath.  I suspect we're missing something in the way we deal
> > with endorsed classes.
> 
> Can you check JOnAS's startup scripts to see whether it is setting
> java.endorsed.dirs on the command line passed to the VM?

It does.

> If it is, the contents of the directory (or directories) should be
> added to the bootclasspath, and loaded via the boot loader.

I wonder if this is what was not happening in gcj.  The patch I wrote
basically added the contents of java.endorsed.dirs to one of JOnAS's
many classloaders.

Cheers,
Gary


[Index of Archives]     [Linux Kernel]     [Linux Cryptography]     [Fedora]     [Fedora Directory]     [Red Hat Development]

  Powered by Linux