osgi bundle - BundleContext is no longer valid -
i having java web application runs in osgi container. have deployed application on tomcat server. when restart server randomly getting mutiple instaces of error "bundlecontext no longer valid" , hence unable deploy application. doesn't happen time when restart our application server happens only. solution found restart server. following stack trace:
org.springframework.osgi.extender.internal.dependencies.startup.dependencyservicemanager] : adding osgi service dependency importer [&simplyticosgisaeadapter] matching osgi filter [(objectclass=c om.moodysanalytics.sae.simplytic.adapter.simplyticsaeadapter)] [org.springframework.osgi.service.importer.support.osgiserviceproxyfactorybean] : creating single service proxy ... caused by: org.springframework.beans.propertybatchupdateexception; nested propertyaccessexceptions ( 1) are: propertyaccessexception 1: org.springframework.beans.methodinvocationexception: property 'datasource ' threw exception; nested exception java.lang.illegalstateexception: **bundlecontext no longer valid** org.ops4j.pax.logging.pax-logging-api[org.springframework.beans.factory.xml.beandefinitionparserdele gate] : no xml 'id' specified - using 'templateelement' bean name , [] aliases @ org.springframework.beans.abstractpropertyaccessor.setpropertyvalues(abstractpropertyacce ssor.java:102) [org.springframework.beans.factory.support.defaultlistablebeanfactory] : factorybean threw exception getobjecttype, despite contract saying should return null if type of objec
Comments
Post a Comment