session execute:

final Session session = sessionFactory.create(System.in, printStream, 
System.err);
session.execute(command);

with some future, callable, etc. as the done in Karaf’s own ITs
Best regards,

Alex soto




> On Apr 26, 2016, at 1:50 PM, Jean-Baptiste Onofré <j...@nanthrax.net> wrote:
> 
> I bet the ACL files are missing in the etc folder (probably custom 
> distribution).
> 
> Can you check this ?
> 
> Regards
> JB
> 
> On 04/26/2016 06:55 PM, Alex Soto wrote:
>> Hello,
>> 
>> Running Karaf 4.0.3, and pax-exam 4.7.0.
>> From my pax-exam integration test I have no problem running command
>> “bundle:list”, however, on the next line, I try to run “bundle:restart”
>> and get exception:
>> 
>> org.apache.felix.gogo.runtime.CommandNotFoundException: Command not
>> found: bundle:restart
>> 
>> I assume that all bundle commands are deployed by the same feature, so
>> why is /list/ is available and not /restart/?
>> Is there something else I need to do to get access to the /restart /command?
>> 
>> Best regards,
>> Alex soto
>> 
>> 
>> 
> 
> -- 
> Jean-Baptiste Onofré
> jbono...@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com

Reply via email to