How to use Karaf Runtime ?

One Star

How to use Karaf Runtime ?

There are 5 files in the folder \ Runtime_ESBSE directory \ container \ bin
customer.exe
setenv.exe
start.exe
stop.exe
trun.exe
At the moment I use trun.exe to start karaf. But it automatically execute my job at the opening of karaf. I do not understand why ?
I'd like to know what command used :
to start a job ?
to stop a job ?
to install a job ?
to uninstall a job ?
Because when I use "list" command, my jobs start again ??
Thank you.
One Star

Re: How to use Karaf Runtime ?

nobody to help me?
please.
One Star

Re: How to use Karaf Runtime ?

If anyone is still having difficulties, you need to do the following
go into your ESB CONTAINER FOLDER 
]$ ps -ef | grep karaf
if any services are running else move on
]$ kill -9 {SERVICE NUMBER} (The service # can be found when one executes the first command)
then again do
]$ ps -ef |grep karaf 
you should not see any services, now go into (container/bin) folder and then exucute
]$ ./trun
this should start up Talend Services
once here you should execute these.
karaf(): list
FIND YOUR PROJECT JOB # which is critical in starting the job
karaf(): start {JOB NUMBER}
If you want to stop it just do,
karaf(): stop {JOB NUMBER}
if you want to exit,
karaf(): shutdown
if you dont shutdown any active jobs will be running in the backround indifinetly so the latter piece of code is important. 
karaf(): exit
LOL hope this helps anyone having troubles.