Hello all,

I have been trying for some time to get integration tests running properly in 
Karaf 2.2.5.
The test rig is copied from what little integration tests could be found on the 
net.

My problem is that I always receive an exception claiming that the executed 
command does not exist.
Is this a known problem?
Can anyone point me to a full Karaf integration test for Karaf 2.2.5 that 
actually works without relying on Karaf 3.0.0 snapshot dependencies?

2012-02-24 12:46:16,133 | WARN  | rint Extender: 2 | KarArtifactInstaller       
      | eployer.kar.KarArtifactInstaller   71 | 15 - 
org.apache.karaf.deployer.kar - 2.2.5 | Unable to create directory for Karaf 
Archive timestamps. Results may vary...
        __ __                  ____
       / //_/____ __________ _/ __/
      / ,<  / __ `/ ___/ __ `/ /_
     / /| |/ /_/ / /  / /_/ / __/
    /_/ |_|\__,_/_/   \__,_/_/

  Apache Karaf (2.2.5)

Hit '<tab>' for a list of available commands
and '[cmd] --help' for help on a specific command.
Hit '<ctrl-d>' or 'osgi:shutdown' to shutdown Karaf.

karaf@root> 2012-02-24 12:46:16,461 | WARN  | rint Extender: 2 | 
FeaturesServiceImpl              | res.internal.FeaturesServiceImpl  214 | 16 - 
org.apache.karaf.features.core - 2.2.5 | Feature repository doesn't have a 
name. The name will be mandatory in the next Karaf version.
2012-02-24 12:46:16,486 | WARN  | rint Extender: 2 | FeaturesServiceImpl        
      | res.internal.FeaturesServiceImpl  214 | 16 - 
org.apache.karaf.features.core - 2.2.5 | Feature repository doesn't have a 
name. The name will be mandatory in the next Karaf version.
2012-02-24 12:46:16,559 | WARN  | rint Extender: 2 | FeaturesServiceImpl        
      | res.internal.FeaturesServiceImpl  214 | 16 - 
org.apache.karaf.features.core - 2.2.5 | Feature repository doesn't have a 
name. The name will be mandatory in the next Karaf version.

Running command: bundle:list --help

org.apache.felix.gogo.runtime.CommandNotFoundException: Command not found: 
bundle:list
at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:471)
at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:400)
at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)
at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)
at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)
at 
org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:89)


--
// Bästa hälsningar,
// [sw. "Best regards,"]
//
// Lennart Jörelid, Systems Architect
// email: 
lennart.jore...@teliasonera.com<mailto:lennart.jore...@teliasonera.com>
// cell: +46 708 507 603
// skype: jgurueurope

Reply via email to