KB Article #182171

Jetty-0_0_0_* files are generated in /tmp folder.

Problem

Each time B2Bi starts, lot of jetty-0_0_0_* files are generated in /tmp folder.
After B2Bi restart, old jetty file are still present and new files are generated.


Resolution

1) Do a backup of file <B2Bi_installation_folder>/B2Bi/B2Bi

2) Edit file <B2Bi_installation_folder>/B2Bi/B2Bi

and add line "rm -fr /tmp/jetty*" at the end of section "stopB2Bi()"

# =======================================
# Stop the component
#
stopB2Bi()
{
echo STOP > $B2BISTOPFILE
...
...

...
echo NOTE: In a cluster, you must run \'B2Bi stop\' on all machines to stop the cluster.

rm -fr /tmp/jetty*
}


3) Next "B2Bi stop" will delete all jetty files.