Hi Eric,

Thanks for the update.

Let me check about the shell warn message.

Regards
JB

> Le 13 mai 2021 à 18:05, Eric Lilja <[email protected]> a écrit :
> 
> I tried this with a vanilla Karaf 4.2.11 under Windows 10, using Cygwin as 
> shell. I've simply unpacked the zip file to the root of my main drive.
> 
> I started Karaf with the "karaf" shell script (not the .bat-file).
> 
> instance:list produced no warning in console itself or in the karaf.log file 
> under data/log
> 
> Unrelated, but FYI JB: However, I did see a weird warning when starting karaf 
> using the shell script, see below:
> 
> $ ./karaf
> : integer expression expected <---
>         __ __                  ____
>        / //_/____ __________ _/ __/
>       / ,<  / __ `/ ___/ __ `/ /_
>      / /| |/ /_/ / /  / /_/ / __/
>     /_/ |_|\__,_/_/   \__,_/_/
> 
>   Apache Karaf (4.2.11)
> 
> Hit '<tab>' for a list of available commands
> and '[cmd] --help' for help on a specific command.
> Hit '<ctrl-d>' or type 'system:shutdown' or 'logout' to shutdown Karaf.
> 
> karaf@root()>
> 
> - Eric L
> 
> 
> On Wed, May 12, 2021 at 7:05 PM JB Onofré <[email protected] 
> <mailto:[email protected]>> wrote:
> Hi
> 
> Forgot to check, sorry about that. I will keep you posted. 
> 
> Regards 
> JB
> 
>> Le 12 mai 2021 à 19:01, Steven Huypens <[email protected] 
>> <mailto:[email protected]>> a écrit :
>> 
>> 
>> Hi Jean-Baptiste,
>> 
>> Did you manage to reproduce this ?
>> 
>> Kind regards,
>> Steven
>> 
>> On Tue, May 4, 2021 at 2:10 PM Jean-Baptiste Onofre <[email protected] 
>> <mailto:[email protected]>> wrote:
>> Hi
>> 
>> Thanks for the update. Let me try to reproduce it. I keep you posted.
>> 
>> Regards
>> JB
>> 
>>> Le 4 mai 2021 à 14:07, Steven Huypens <[email protected] 
>>> <mailto:[email protected]>> a écrit :
>>> 
>>> Hi,
>>> 
>>> - etc/org.apache.karaf.shell.cfg is the default Karaf file
>>> - In etc/users.properties I had replaced the default Karaf user by my own 
>>> 'admin' with encrypted password. After reverting to the default 
>>> users.properties, and disabling encryption in org.apache.karaf.jaas.cfg, 
>>> the logline still appeared.
>>> 
>>> Best regards,
>>> Steven
>>> 
>>> On Tue, May 4, 2021 at 1:43 PM Jean-Baptiste Onofre <[email protected] 
>>> <mailto:[email protected]>> wrote:
>>> 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] 
>>>> <mailto:[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 
>>> 
>> 

Reply via email to