13 Replies Latest reply on May 23, 2012 7:28 PM by Bill Robinson

    blcli not working

    STEFANO BRUTTO

      Hi,

      everytime I run a blicli I get the following error:

       

      Info 27-apr-2012 16.06.08 Action launched: BladeLogic recommend cleanup steps

      Info 27-apr-2012 16.06.13 Clean JobRunEvent data (max 57 minutes)

      Error 27-apr-2012 16.06.25 java.lang.NoClassDefFoundError: com/bmc/sa/patchfeed/aix/AixFeed

      Error 27-apr-2012 16.06.25 at java.lang.Class.getDeclaredMethods0(Native Method)

      Error 27-apr-2012 16.06.25 at java.lang.Class.privateGetDeclaredMethods(Unknown Source)

      Error 27-apr-2012 16.06.25 at java.lang.Class.getDeclaredMethods(Unknown Source)

      Error 27-apr-2012 16.06.25 at org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:460)

      Error 27-apr-2012 16.06.25 at org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:443)

      Error 27-apr-2012 16.06.25 at org.springframework.util.ReflectionUtils.getAllDeclaredMethods(ReflectionUtils.java:484)

      Error 27-apr-2012 16.06.25 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.getTypeForFactoryMethod(AbstractAutowireCapableBeanFactory.java:583)

      Error 27-apr-2012 16.06.25 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.predictBeanType(AbstractAutowireCapableBeanFactory.java:521)

      Error 27-apr-2012 16.06.25 at org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:1177)

      Error 27-apr-2012 16.06.25 at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(DefaultListableBeanFactory.java:222)

      Error 27-apr-2012 16.06.25 at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:505)

      Error 27-apr-2012 16.06.25 at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:362)

      Error 27-apr-2012 16.06.25 at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)

      Error 27-apr-2012 16.06.25 at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:83)

      Error 27-apr-2012 16.06.25 at com.bladelogic.om.infra.common.BeanUtil.initContext(BeanUtil.java:50)

      Error 27-apr-2012 16.06.25 at com.bladelogic.om.infra.common.BeanUtil.<init>(BeanUtil.java:41)

      Error 27-apr-2012 16.06.25 at com.bladelogic.om.infra.common.BeanUtil.<clinit>(BeanUtil.java:30)

      Error 27-apr-2012 16.06.25 at com.bladelogic.om.infra.cli.commands.UtilityCommandsFactory.initializeUtilityCommands(UtilityCommandsFactory.java:98)

      Error 27-apr-2012 16.06.25 at com.bladelogic.om.infra.cli.commands.UtilityCommandsFactory.<init>(UtilityCommandsFactory.java:71)

      Error 27-apr-2012 16.06.25 at com.bladelogic.om.infra.cli.commands.UtilityCommandsFactory.getInstance(UtilityCommandsFactory.java:67)

      Error 27-apr-2012 16.06.25 at com.bladelogic.om.infra.cli.factory.CommandTemplateInventory.addUtilityCommands(CommandTemplateInventory.java:496)

      Error 27-apr-2012 16.06.25 at com.bladelogic.om.infra.cli.factory.CommandTemplateInventory.<init>(CommandTemplateInventory.java:75)

      Error 27-apr-2012 16.06.25 at com.bladelogic.om.infra.cli.CLIMain.initCommandFactory(CLIMain.java:431)

      Error 27-apr-2012 16.06.25 at com.bladelogic.om.infra.cli.CLIMain.initialize(CLIMain.java:321)

      Error 27-apr-2012 16.06.25 at com.bladelogic.om.infra.cli.CLIMain.<init>(CLIMain.java:236)

      Error 27-apr-2012 16.06.25 at com.bladelogic.om.infra.cli.CLIMain.main(CLIMain.java:163)

      Error 27-apr-2012 16.06.25 Caused by: java.lang.ClassNotFoundException: com.bmc.sa.patchfeed.aix.AixFeed

      Error 27-apr-2012 16.06.25 at java.net.URLClassLoader$1.run(Unknown Source)

      Error 27-apr-2012 16.06.25 at java.security.AccessController.doPrivileged(Native Method)

      Error 27-apr-2012 16.06.25 at java.net.URLClassLoader.findClass(Unknown Source)

      Error 27-apr-2012 16.06.25 at java.lang.ClassLoader.loadClass(Unknown Source)

      Error 27-apr-2012 16.06.25 at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)

      Error 27-apr-2012 16.06.25 at java.lang.ClassLoader.loadClass(Unknown Source)

      Error 27-apr-2012 16.06.25 ... 26 more

      Info 27-apr-2012 16.06.31 Clean AuditTrail data (max 57 minutes)

      Error 27-apr-2012 16.06.42 at java.lang.ClassLoader.loadClass(Unknown Source)

      Error 27-apr-2012 16.06.42 Exception in thread "main" java.lang.NoClassDefFoundError: com/bmc/sa/patchfeed/aix/AixFeed

      Error 27-apr-2012 16.06.42 at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)

      Error 27-apr-2012 16.06.42 at java.lang.Class.getDeclaredMethods0(Native Method)

      Error 27-apr-2012 16.06.42 at java.lang.Class.privateGetDeclaredMethods(Unknown Source)

      Error 27-apr-2012 16.06.42 at java.lang.Class.getDeclaredMethods(Unknown Source)

      Error 27-apr-2012 16.06.42 at org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:460)

      Error 27-apr-2012 16.06.42 at org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:443)

      Error 27-apr-2012 16.06.42 at org.springframework.util.ReflectionUtils.getAllDeclaredMethods(ReflectionUtils.java:484)

      Error 27-apr-2012 16.06.42 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.getTypeForFactoryMethod(AbstractAutowireCapableBeanFactory.java:583)

      Error 27-apr-2012 16.06.42 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.predictBeanType(AbstractAutowireCapableBeanFactory.java:521)

      Error 27-apr-2012 16.06.42 at org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:1177)

      Error 27-apr-2012 16.06.42 at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(DefaultListableBeanFactory.java:222)

      Error 27-apr-2012 16.06.42 at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:505)

      Error 27-apr-2012 16.06.42 at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:362)

      Error 27-apr-2012 16.06.42 at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)

      Error 27-apr-2012 16.06.42 at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:83)

      Error 27-apr-2012 16.06.42 at com.bladelogic.om.infra.common.BeanUtil.initContext(BeanUtil.java:50)

      Error 27-apr-2012 16.06.42 at com.bladelogic.om.infra.common.BeanUtil.<init>(BeanUtil.java:41)

      Error 27-apr-2012 16.06.42 at com.bladelogic.om.infra.common.BeanUtil.<clinit>(BeanUtil.java:30)

      Error 27-apr-2012 16.06.42 at com.bladelogic.om.infra.cli.commands.UtilityCommandsFactory.initializeUtilityCommands(UtilityCommandsFactory.java:98)

      Error 27-apr-2012 16.06.42 at com.bladelogic.om.infra.cli.commands.UtilityCommandsFactory.<init>(UtilityCommandsFactory.java:71)

      Error 27-apr-2012 16.06.42 at com.bladelogic.om.infra.cli.commands.UtilityCommandsFactory.getInstance(UtilityCommandsFactory.java:67)

      Error 27-apr-2012 16.06.42 at com.bladelogic.om.infra.cli.factory.CommandTemplateInventory.addUtilityCommands(CommandTemplateInventory.java:496)

      Error 27-apr-2012 16.06.42 at com.bladelogic.om.infra.cli.factory.CommandTemplateInventory.<init>(CommandTemplateInventory.java:75)

      Error 27-apr-2012 16.06.42 at com.bladelogic.om.infra.cli.CLIMain.initCommandFactory(CLIMain.java:431)

      Error 27-apr-2012 16.06.42 at com.bladelogic.om.infra.cli.CLIMain.initialize(CLIMain.java:321)

      Error 27-apr-2012 16.06.42 at com.bladelogic.om.infra.cli.CLIMain.<init>(CLIMain.java:236)

      Error 27-apr-2012 16.06.42 at com.bladelogic.om.infra.cli.CLIMain.main(CLIMain.java:163)

      Error 27-apr-2012 16.06.42 Caused by: java.lang.ClassNotFoundException: com.bmc.sa.patchfeed.aix.AixFeed

      Error 27-apr-2012 16.06.42 at java.net.URLClassLoader$1.run(Unknown Source)

      Error 27-apr-2012 16.06.42 at java.security.AccessController.doPrivileged(Native Method)

      Error 27-apr-2012 16.06.42 at java.net.URLClassLoader.findClass(Unknown Source)

      Error 27-apr-2012 16.06.42 at java.lang.ClassLoader.loadClass(Unknown Source)

      Error 27-apr-2012 16.06.42 ... 26 more

      Error 27-apr-2012 16.06.55 Exception in thread "main" java.lang.NoClassDefFoundError: com/bmc/sa/patchfeed/aix/AixFeed

      Error 27-apr-2012 16.06.55 at java.lang.Class.getDeclaredMethods0(Native Method)

      Error 27-apr-2012 16.06.55 at java.lang.Class.privateGetDeclaredMethods(Unknown Source)

      Error 27-apr-2012 16.06.55 at java.lang.Class.getDeclaredMethods(Unknown Source)

      Error 27-apr-2012 16.06.55 at org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:460)

      Error 27-apr-2012 16.06.55 at org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:443)

      Error 27-apr-2012 16.06.55 at org.springframework.util.ReflectionUtils.getAllDeclaredMethods(ReflectionUtils.java:484)

      Error 27-apr-2012 16.06.55 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.getTypeForFactoryMethod(AbstractAutowireCapableBeanFactory.java:583)

      Error 27-apr-2012 16.06.55 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.predictBeanType(AbstractAutowireCapableBeanFactory.java:521)

      Error 27-apr-2012 16.06.55 at org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:1177)

      Error 27-apr-2012 16.06.55 at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(DefaultListableBeanFactory.java:222)

      Error 27-apr-2012 16.06.55 at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:505)

      Error 27-apr-2012 16.06.55 at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:362)

      Error 27-apr-2012 16.06.55 at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)

      Error 27-apr-2012 16.06.55 at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:83)

      Error 27-apr-2012 16.06.55 at com.bladelogic.om.infra.common.BeanUtil.initContext(BeanUtil.java:50)

      Error 27-apr-2012 16.06.55 at com.bladelogic.om.infra.common.BeanUtil.<init>(BeanUtil.java:41)

      Error 27-apr-2012 16.06.55 at com.bladelogic.om.infra.common.BeanUtil.<clinit>(BeanUtil.java:30)

      Error 27-apr-2012 16.06.55 at com.bladelogic.om.infra.cli.commands.UtilityCommandsFactory.initializeUtilityCommands(UtilityCommandsFactory.java:98)

      Error 27-apr-2012 16.06.55 at com.bladelogic.om.infra.cli.commands.UtilityCommandsFactory.<init>(UtilityCommandsFactory.java:71)

      Error 27-apr-2012 16.06.55 at com.bladelogic.om.infra.cli.commands.UtilityCommandsFactory.getInstance(UtilityCommandsFactory.java:67)

      Error 27-apr-2012 16.06.55 at com.bladelogic.om.infra.cli.factory.CommandTemplateInventory.addUtilityCommands(CommandTemplateInventory.java:496)

      Error 27-apr-2012 16.06.55 at com.bladelogic.om.infra.cli.factory.CommandTemplateInventory.<init>(CommandTemplateInventory.java:75)

      Error 27-apr-2012 16.06.55 at com.bladelogic.om.infra.cli.CLIMain.initCommandFactory(CLIMain.java:431)

      Error 27-apr-2012 16.06.55 at com.bladelogic.om.infra.cli.CLIMain.initialize(CLIMain.java:321)

      Error 27-apr-2012 16.06.55 at com.bladelogic.om.infra.cli.CLIMain.<init>(CLIMain.java:236)

      Error 27-apr-2012 16.06.55 at com.bladelogic.om.infra.cli.CLIMain.main(CLIMain.java:163)

      Error 27-apr-2012 16.06.55 at com.bladelogic.om.infra.cli.CLIMain.main(CLIMain.java:163)

      Error 27-apr-2012 16.06.55 Caused by: java.lang.ClassNotFoundException: com.bmc.sa.patchfeed.aix.AixFeed

      Error 27-apr-2012 16.06.55 at java.net.URLClassLoader$1.run(Unknown Source)

      Error 27-apr-2012 16.06.55 at java.security.AccessController.doPrivileged(Native Method)

      Error 27-apr-2012 16.06.55 at java.net.URLClassLoader.findClass(Unknown Source)

      Error 27-apr-2012 16.06.55 at java.lang.ClassLoader.loadClass(Unknown Source)

      Error 27-apr-2012 16.06.55 at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)

      Error 27-apr-2012 16.06.55 at java.lang.ClassLoader.loadClass(Unknown Source)

      Error 27-apr-2012 16.06.55 ... 26 more

       

      This does not happen if I use blcli_execute.

       

      I have a BL 8.2 (migrated from 8.1) on Win/SQL Server.

       

      Thanks,

      Stefano