Hi, What do you have in etc/org.apache.karaf.shell.cfg or etc/users.properties ?
Regards JB > Le 4 mai 2021 à 12:18, Steven Huypens <[email protected]> a écrit : > > Hi, > > When executing the command "instance:list" on our custom Karaf 4.2.11 distro > (based on 'standard'), we see the following warning in the logfile. > > 2021-05-04 12:07:12,138 - > [o.a.s.s.s.ServerSessionImpl][sshd-SshServer[44db67ef](port=8101)-nio2-thread-2] > WARN - > exceptionCaught(ServerSessionImpl[null@/127.0.0.1:54060])[state=Opened] > IOException: De software op uw hostcomputer heeft een verbinding verbroken > > It looks like an shh-connection is being made with username 'null', which > obviously fails. > > This WARN is also logged when accessing the InstancesMBean, for instance by > the decanter-collector-jmx.This means we see the WARN regularly in our logs. > > I would like to prevent this WARN-logline from being logged, but didn't find > a way to configure the default username, nor to disable the Mbean. > > Any suggestions ? > > Kind regards, > Steven
