reproduced exact same 4 bundles are in installed state after restart and
error states "Bundle x is invalid" when I try to stop the bundle.  This
occurred after I killed the JVM as the "halt" cmd in karaf was hanging.

stack trace before JVM stopped:

20141203 14:49:35.376 [ERROR] Thread-116 | : |
org.activiti.engine.impl.jobexecutor.AcquireJobsRunnable | exception during
job acquisition: Could not open JDBC Connection for transaction; nested
exception is java.lang.IllegalStateException: Invalid BundleContext.
org.springframework.transaction.CannotCreateTransactionException: Could not
open JDBC Connection for transaction; nested exception is
java.lang.IllegalStateException: Invalid BundleContext.
        at
org.springframework.jdbc.datasource.DataSourceTransactionManager.doBegin(DataSourceTransactionManager.java:240)[284:workflow-ws-server:1.0.0.SNAPSHOT]
        at
org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:371)[284:workflow-ws-server:1.0.0.SNAPSHOT]
        at
org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:127)[284:workflow-ws-server:1.0.0.SNAPSHOT]
        at
org.activiti.spring.SpringTransactionInterceptor.execute(SpringTransactionInterceptor.java:40)[284:workflow-ws-server:1.0.0.SNAPSHOT]
        at
org.activiti.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:33)[284:workflow-ws-server:1.0.0.SNAPSHOT]
        at
org.activiti.engine.impl.jobexecutor.AcquireJobsRunnable.run(AcquireJobsRunnable.java:57)[284:workflow-ws-server:1.0.0.SNAPSHOT]
        at java.lang.Thread.run(Thread.java:745)[:1.7.0_71]
Caused by: java.lang.IllegalStateException: Invalid BundleContext.
        at
org.apache.felix.framework.BundleContextImpl.checkValidity(BundleContextImpl.java:514)[org.apache.felix.framework-4.2.1.jar:]
        at
org.apache.felix.framework.BundleContextImpl.getServiceReferences(BundleContextImpl.java:425)[org.apache.felix.framework-4.2.1.jar:]
        at
org.apache.aries.jndi.services.ServiceHelper.findService(ServiceHelper.java:375)[98:org.apache.aries.jndi.url:1.0.0]
        at
org.apache.aries.jndi.services.ServiceHelper.access$500(ServiceHelper.java:66)[98:org.apache.aries.jndi.url:1.0.0]
        at
org.apache.aries.jndi.services.ServiceHelper$JNDIServiceDamper.call(ServiceHelper.java:180)[98:org.apache.aries.jndi.url:1.0.0]
        at Proxy386d92f9_189d_4945_b1ed_57c9fecb6138.getConnection(Unknown
Source)[:]
        at
org.springframework.jdbc.datasource.DataSourceTransactionManager.doBegin(DataSourceTransactionManager.java:202)[284:workflow-ws-server:1.0.0.SNAPSHOT]
        ... 6 more



jbonofre wrote
> No it's not. Without details about your bundles, what they do and how they
> work, it's not easy.
> 
> We have a bunch of users on Karaf and that use the features without
> problem. So I suspect something related to your distribution or
> application.
> 
> Regards
> JB
> 
> 
> Sent from my Samsung Galaxy smartphone.
> 
> 
> -------- Original message --------
> From: asookazian2 <

> asookazian@

> > 
> Date:03/12/2014  22:41  (GMT+01:00) 
> To: 

> [email protected]

>  
> Cc:  
> Subject: Re: Unable to uninstall multiple bundles 
> 
> how and why does the cache get corrupted?
> 
> we are under the impression that we need to halt/start karaf after doing
> our
> feature installs in order to avoid any corruption issues but not sure if
> this is really required or not.
> 
> 
> 
> --
> View this message in context:
> http://karaf.922171.n3.nabble.com/Unable-to-uninstall-multiple-bundles-tp4036928p4036934.html
> Sent from the Karaf - User mailing list archive at Nabble.com.





--
View this message in context: 
http://karaf.922171.n3.nabble.com/Unable-to-uninstall-multiple-bundles-tp4036928p4036941.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Reply via email to