Kraken Console Command Index

Shell Commands

  • quit
    • Disconnect and close the telnet session
  • clear
    • Clear telnet screen

Package Commands

  • will be documented

Bundle Commands

  • bundle.list
    • List all installed bundles.
  • bundle.start [bundle 1] [bundle 2] [...]
    • Start all specified bundles.
  • bundle.stop [bundle 1] [bundle 2] [...]
    • Stop all specified bundles.
  • bundle.update [bundle 1] [bundle 2] [...]
    • Update all specified bundles.
    • Update from each bundle's location.
      • Use bundle.location command if you want to know bundle install location.
  • bundle.location [bundle id]
    • Show bundle install location.
    • If you installed from maven repository, this will point to kraken download directory.
  • bundle.refresh
  • bundle.repositories
    • List all registered maven repositories.
  • bundle.addRepository [alias] [url]
    • Add a new maven bundle repository.
  • bundle.removeRepository [alias]
    • Remove the bundle repository.
  • bundle.install [local filesystem path]
    • Install the bundle manually.
    • Useful when you are in development mode.
    • bundle.update and bundle.refresh commands will remove old version clearly.
  • bundle.install [group id] [artifact id] [version]
    • Find and install the specified bundle from registered maven repositories.
    • This command will resolve dependencies, download, and install automatically.
  • bundle.uninstall [bundle id]
    • Uninstall the bundle.

Logging Commands

  • logger.list [name pattern (optional)]
    • List all kraken loggers.
    • "name pattern" argument can be used if you want to view only loggers that starts with the specified name pattern.
      • e.g. "logger.list org.krakenapps" will show you all loggers that starts with "org.krakenapps".
  • logger.tail
    • Works just like "tail -f" on linux.
    • You can monitor all system logs on telnet console.
    • Use Ctrl-C key for breaking.
  • logger.set [logger name] [log level] [on/off]
    • Only INFO, WARN and ERROR log levels are turned on by default.
    • When you are in debug mode, you should turn each logger on by hands.
      • e.g. If you want to log all jetty's debug logs, type logger.set org.mortbay.log debug on
    • log levels are case-insensitive.

OSGi Commands

  • osgi.services
    • Print all OSGi service instances.
  • osgi.properties [id]
    • Print all OSGi service properties of instance.

Batch Commands

  • batch.list
    • Print all registered batch script files.
  • batch.register [alias] [path]
    • Register new batch script.
  • batch.unregister [alias]
    • Unregister specified batch script.
  • batch.view [alias]
    • Print all content of script file.
  • batch.execute [alias]
    • Run batch script.