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]