You are viewing a plain text version of this content. The canonical link for it is here.
Posted to phoenix-dev@avalon.apache.org by Jim Alateras <ji...@intalio.com> on 2002/10/25 03:49:14 UTC
classloader limitations
Are there any classloader limitations that prevent the SAR classloader from
referencing jars in the dist/lib directory. Under some circumstances one of
my blocks throws a class not found exception even though the relevant JAR is
in the dist/lib directory. Currently, to resolve the problem I need to
package the JAR within the SAR.
cheers
</jima>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: classloader limitations
Posted by Peter Donald <pe...@apache.org>.
On Fri, 25 Oct 2002 11:49, Jim Alateras wrote:
> Are there any classloader limitations that prevent the SAR classloader from
> referencing jars in the dist/lib directory.
should not be.
> Under some circumstances one of
> my blocks throws a class not found exception even though the relevant JAR
> is in the dist/lib directory. Currently, to resolve the problem I need to
> package the JAR within the SAR.
In this case make sure that all the jar placed in dist/lib (lets say foo.jar)
is completely resolvable from dist/lib. However if foo.jar also depends upon
baz.jar which is either an extension (and stored in dist/ext) or stored as
library in SAR-INF/lib then foo.jar will not be able to be resolved as it can
not see all the classes that it uses.
If this is not the case then can you describe the situation in more detail and
hopefully we will be able to figure out whats going on.
--
Cheers,
Peter Donald
------------------------------------------------------------
militant agnostic: i don't know, and you don't know either.
------------------------------------------------------------
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>