Alex:
The TypeUnknownException is thrown as a result of a request for the establishment of a deployment model referencing a component type that is unknown to Merlin (in this case the unknown component is SystemBackend). If you execute merlin using the -debug command line switch you will see information that details which components are located in which jar files during the scanning phase. Merlin will ignore components (and issue log to this effect) if it cannot validate the component (e.g. inconsitent class structure).
A more probable cause for the problem is that the <classname>.xinfo resource is not in your jar file in which case Merlin does not recognize the class as a component type - hense the TypeUnknownException.
Steve.
Alex Karasulu wrote:
I'm probably doing something very stupid perhaps someone can help point it
out. Merlin is complaining about not seeing a class called SystemBackend
which is the primary class within the component project. I looked to see if
it is in the target/classes directory and it is there in the correct package
structure. Is there a dependency I'm missing that is not being reported by
Merlin because as far as I can see SystemBackend is on the classpath?
Any recommendations?
Here's what Merlin is saying:
Internal error during kernel instantiation.
---- report -------------------------------------------------------
Exception: org.apache.avalon.merlin.kernel.KernelException
Message: Block install failure: file:/C:/cygwin/home/Administrator/projects/ldap
d/HEAD/sandbox1/system-backend-impl/target/classes/
Cause: org.apache.avalon.composition.model.ModelException
Message: Unable to create a nested deployment model: modsystem in the containmen
t model /.
Cause: org.apache.avalon.composition.model.TypeUnknownException
Message: ldapd.server.backend.SystemBackend
---- stack trace ---------------------------------------------------
org.apache.avalon.composition.model.TypeUnknownException: ldapd.server.backend.S
ystemBackend
Thanks guys in advance,
Alex
--
Stephen J. McConnell mailto:[EMAIL PROTECTED]
Sent via James running under Merlin as an NT service. http://avalon.apache.org/sandbox/merlin
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
