1 Reply Latest reply on Sep 15, 2006 3:24 AM by Vicky Kak

    Getting Kernel as null ......

    Vicky Kak Master


      StandaloneBootstrap iocHook = new StandaloneBootstrap(ar);
       Kernel kernel = iocHook.getKernel();
       System.out.println("Kernel is "+kernel);

      Why do I get the kernel as null ?
      I have jboss-beans.xml in the classpath it loads the bean which is defined in that , actaully I was wonderitng if I can get the bean back from the KernelRegistry .
      But before exploring more API's I got kenel as null ....

      What am I missing ?