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

Not clear Documentation or Commands #28

Open
pavrip opened this issue Mar 15, 2021 · 8 comments
Open

Not clear Documentation or Commands #28

pavrip opened this issue Mar 15, 2021 · 8 comments

Comments

@pavrip
Copy link

pavrip commented Mar 15, 2021

Hi
I am just getting started with Jakarta EE & Wildfly.

The documentation with Jakarta EE is hard enough, Wildly looks good but its not properly clear.

It is taking me over 3 hours just to add a new user.

I have followed the commands, gone to ./add-user.sh put user name and password,

Now it's asking me to do this:

To represent the user add the following to the server-identities definition

Now, where on earth am I supposed to put this? No information on google, no information on what file?

Is there a tag somewhere? I checked on one article, but no information about the file.

Any advice would be appreciated

@jamezp
Copy link
Member

jamezp commented Mar 16, 2021

What version of WildFly are you using?

@pavrip
Copy link
Author

pavrip commented Mar 16, 2021 via email

@jamezp
Copy link
Member

jamezp commented Mar 16, 2021

https://docs.wildfly.org/23/Admin_Guide.html#domain-controller-configuration talks about this being used for domain mode. What is your end goal?

@pavrip
Copy link
Author

pavrip commented Mar 26, 2021

My end goal was to learn how to administer/manage the server and learn about it from the ground up.
If there is a place where I can get all the documentation organised in one place, I would start.

@jamezp
Copy link
Member

jamezp commented Mar 26, 2021

Really that is the spot for documentation. We're working on improving it for sure. This could be useful as well https://access.redhat.com/documentation/en-us/red_hat_jboss_enterprise_application_platform/7.3/html/configuration_guide/index

@bstansberry
Copy link
Contributor

Apologies if this is already understood, but the code in this repo is published in html form at https://docs.wildfly.org. There's a subdirectory for each release, so the landing page for the latest release is https://github.com/wildfly/wildfly.github.io/23/ which describes the various documents. https://docs.wildfly.org/23/Getting_Started_Guide.html is a possible starting point

If the add-user.sh script has output the 'To represent the user add the following to the server-identities definition ' line this means you previously answered 'yes' to this question:

Is this new user going to be used for one AS process to connect to another AS process? 
e.g. for a slave host controller connecting to the master or for a Remoting connection for server to server Jakarta Enterprise Beans calls.
yes/no?

Unless you are currently setting up a multi-host WildFly managed domain and the user you are creating is how one host is going to identify itself to the Domain Controller, the answer to that should be 'no'. If it really should be 'yes' the 'secret-identities' configuration it refers to is documented at https://docs.wildfly.org/23/Admin_Guide.html#server-identities.

I filed https://issues.redhat.com/browse/WFLY-14645 to get the Getting Started Guide updated to note the answer to this question should be 'no' for the kind of user it is describing adding.

@pavrip
Copy link
Author

pavrip commented Apr 6, 2021

Thank you for this. I have managed to look into that, I apologise for the delay.
I have found setting up the environment very complicated and difficult.
I have downloaded this with Brew on my Mac again.

I cannot explain what a confusing developer experience I have had, I have spent more time trying to just do basic things instead of getting on with building software

On the access control page, I see a massive error :
Screenshot 2021-04-06 at 13 35 57

I cant even add a Data Source as the page is blank and no options:
Screenshot 2021-04-06 at 13 36 10

The problem with these kinds of dead-end errors, is that I dont know if I have done something wrong or if there is a bug in the server.
I don't even know what kind of question to ask or where to look for help.

@bstansberry
Copy link
Contributor

I'm sorry you're having difficulty.

The best way to try to get help from the WildFly community is to post questions on the WildFly forum at https://groups.google.com/g/wildfly. It's community software so there's no guarantees you'll get what you need, but the forum is the best place to ask.

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

3 participants