Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

java.io.FileNotFoundException: /home/jboss/.aesh_aliases (No such file or directory): /home/jboss/.aesh_aliases (No such file or directory) #327

Open
zem opened this issue Feb 17, 2021 · 1 comment
Assignees

Comments

@zem
Copy link

zem commented Feb 17, 2021

We have a problem here when starting jboss-cli.sh from a recent jboss-7.3.3 here and I think it is related to aesh.

Sometimes the CLI does not start and the Error message is:

java.io.FileNotFoundException: /home/jboss/.aesh_aliases (No such file or directory): /home/jboss/.aesh_aliases (No such file or directory)

This looks much like a parallelization problem. We are using ansible to set up 4 different jboss servers simultaniously during our deployment so I gues when you start all 4 cli's at the same time like so:

/opt2/jboss1/bin/jboss_cli.sh && /opt2/jboss2/bin/jboss_cli.sh && /opt2/jboss3/bin/jboss_cli.sh && /opt2/jboss4/bin/jboss_cli.sh

it sometimes happens that the first cli somehow has deleted .aesh_aliases when another cli is trying to open it.

As I think a shell should be startable at any given time this exception should be handled that more appropriate than just not letting the shell fail.

@stalep
Copy link
Member

stalep commented Mar 8, 2021

Hi @zem sorry for the late reply!
I agree that not finding the alias file should not prevent it from starting. I'll look at it!

@stalep stalep self-assigned this Mar 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants