spring - Error creating bean with name 'packageAdmin': java.lang.IllegalArgumentException: Required 'bundleContext' property was not set -
i working spring osgi bundle virgo gemini blueprint in ibm liberty. have uploaded required bundles liberty , uploaded bundle statuses in active state. in next step, have deployed eba file ibm liberty server , deployed bundle resolved server logs says "bundlecontext" property required , throws following exception.
caused by: org.springframework.beans.factory.beancreationexception: error creating bean name 'packageadmin': invocation of init method failed; nested exception java.lang.illegalargumentexception: required 'bundlecontext' property not set. @ org.springframework.beans.factory.support.abstractautowirecapablebeanfactory.initializebean(abstractautowirecapablebeanfactory.java:1578) @ org.springframework.beans.factory.support.abstractautowirecapablebeanfactory.docreatebean(abstractautowirecapablebeanfactory.java:545) @ org.springframework.beans.factory.support.abstractautowirecapablebeanfactory.createbean(abstractautowirecapablebeanfactory.java:482) @ org.springframework.beans.factory.support.abstractbeanfactory$1.getobject(abstractbeanfactory.java:306) @ org.springframework.beans.factory.support.defaultsingletonbeanregistry.getsingleton(defaultsingletonbeanregistry.java:230) @ org.springframework.beans.factory.support.abstractbeanfactory.dogetbean(abstractbeanfactory.java:302) @ org.springframework.beans.factory.support.abstractbeanfactory.getbean(abstractbeanfactory.java:197) @ org.springframework.beans.factory.support.defaultlistablebeanfactory.preinstantiatesingletons(defaultlistablebeanfactory.java:757) @ org.springframework.context.support.abstractapplicationcontext.finishbeanfactoryinitialization(abstractapplicationcontext.java:861) @ org.springframework.context.support.abstractapplicationcontext.refresh(abstractapplicationcontext.java:541) @ org.eclipse.gemini.blueprint.context.support.abstractdelegatedexecutionapplicationcontext.access$301(abstractdelegatedexecutionapplicationcontext.java:57) @ org.eclipse.gemini.blueprint.context.support.abstractdelegatedexecutionapplicationcontext$1.run(abstractdelegatedexecutionapplicationcontext.java:165) @ org.eclipse.gemini.blueprint.util.internal.privilegedutils.executewithcustomtccl(privilegedutils.java:85) @ org.eclipse.gemini.blueprint.context.support.abstractdelegatedexecutionapplicationcontext.normalrefresh(abstractdelegatedexecutionapplicationcontext.java:161) @ org.eclipse.gemini.blueprint.context.support.abstractdelegatedexecutionapplicationcontext$nodependencieswaitrefreshexecutor.refresh(abstractdelegatedexecutionapplicationcontext.java:75) @ org.eclipse.gemini.blueprint.context.support.abstractdelegatedexecutionapplicationcontext.refresh(abstractdelegatedexecutionapplicationcontext.java:154) @ org.springframework.web.context.contextloader.configureandrefreshwebapplicationcontext(contextloader.java:444) @ org.springframework.web.context.contextloader.initwebapplicationcontext(contextloader.java:326) @ org.springframework.web.context.contextloaderlistener.contextinitialized(contextloaderlistener.java:107) @ com.ibm.ws.webcontainer.webapp.webapp.notifyservletcontextcreated(webapp.java:2428) ... 1 more caused by: java.lang.illegalargumentexception: required 'bundlecontext' property not set. @ org.springframework.util.assert.notnull(assert.java:115) @ org.eclipse.gemini.blueprint.service.importer.support.abstractosgiserviceimportfactorybean.afterpropertiesset(abstractosgiserviceimportfactorybean.java:73) @ org.eclipse.gemini.blueprint.service.importer.support.abstractserviceimporterproxyfactorybean.afterpropertiesset(abstractserviceimporterproxyfactorybean.java:51) @ org.eclipse.gemini.blueprint.service.importer.support.osgiserviceproxyfactorybean.afterpropertiesset(osgiserviceproxyfactorybean.java:112) @ org.springframework.beans.factory.support.abstractautowirecapablebeanfactory.invokeinitmethods(abstractautowirecapablebeanfactory.java:1637) @ org.springframework.beans.factory.support.abstractautowirecapablebeanfactory.initializebean(abstractautowirecapablebeanfactory.java:1574) ... 20 more
can has clue on ? appreciate on help.
thanks!
Comments
Post a Comment