Gary Shea wrote:

This first attempt is a sort of merlin2 "hello world". I'm trying to
deploy a single component with no dependencies, and using only
DefaultContainer as in the demo.

I'm having problems with classloading, apparently. The message is:

Could not locate an extension for the stage:
org.apache.excalibur.merlin.container.Structural/1.0.0

It looks like your kernel is missing the declaration of the extensions library.

In the kernel.xml file you should see something like:

<!--
Declaration of installed extension directories and kernel level classpath.
In this demo we are referencing the Merlin classes in the embedded demo so
we need to include Merlin and its' extension depedencies in directory
referenced within the library element.
-->

<library dir=".">
<include name="extensions"/>
</library>

This tells Merlin where to look for dependent jar files.

Cheers, Steve.


in the root profile. The class should be available through the main
classloader -- it's in the same jar that everything else is! Based on
what I've been able to figure out about the code, it's a matter of
getting a profile, but I'm not sure what profile.
I currently have no
profiles... but this didn't seem like something that would require a
profile from me!


--
To unsubscribe, e-mail: <mailto:avalon-users-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-users-help@;jakarta.apache.org>




--

Stephen J. McConnell

OSM SARL
digital products for a global economy
mailto:mcconnell@;osm.net
http://www.osm.net




--
To unsubscribe, e-mail:   <mailto:avalon-users-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-users-help@;jakarta.apache.org>

Reply via email to