What are the dependencies that you have declared?  Specifically - what
is in the classpath before merlin is kicking in?

Basically this looks like a case of conflicting jar files in your
initial classloader.  Merlin is attempting to load the logging system
but it looks like a different version of the logging classes already
exist in a higher classloader.

Steve.


> -----Original Message-----
> From: Yura Ivanov [mailto:[EMAIL PROTECTED]
> Sent: 06 September 2004 17:09
> To: Avalon framework users
> Subject: Re: could not start merlin from main method
> 
> Thank You Stephen for so fast response to my problem!
> 
> May be it's heppening because I was trying to run it from eclipse ...
> but then I tried  to do this with jettry which was started from maven
and
> I've got the same result.
> 
> here is my merlin start method (actually I copied it from tutorial)
> 
> public void initComponentManager()throws Exception{
>             InitialContextFactory initial =
>                 new DefaultInitialContextFactory( "merlin" );
>               File home = initial.getHomeDirectory();
>               initial.setCacheDirectory( new File( home, "system" ) );
>               InitialContext context = initial.createInitialContext();
> 
>               String spec = "artifact:merlin/merlin-impl#3.3.0";
>               Artifact artifact = Artifact.createArtifact( spec );
>               Builder builder = context.newBuilder( artifact );
> 
>               Factory factory = builder.getFactory();
>               KernelCriteria criteria = (KernelCriteria)
> factory.createDefaultCriteria();
>               m_kernel = (Kernel) factory.create( criteria );
> }
> 
> Regards, Yuriy Ivanov.
> 
> ----- Original Message -----
> From: "Stephen McConnell" <[EMAIL PROTECTED]>
> To: "'Avalon framework users'" <[EMAIL PROTECTED]>
> Sent: Monday, September 06, 2004 6:00 PM
> Subject: RE: could not start merlin from main method
> 
> 
> >
> > A couple of questions:
> >
> >  1. What's present in the bootstrap classloader?
> >  2. What does your main method look like?
> >
> > Cheers, Steve.
> >
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to