How to access Jboss Manager/Admin portal - jboss

I am new to jboss, what is the url and configuration settings you need to have to access Jboss's Manager/Admin portal

It depends on which version of jboss you are using.
for example, on JBOSS 5, you have to go to
http://localhost:8080/admin-console
Add the user at -JBOSS_HOME-\server\ -Server_Name-\conf\props\jmx-console-users.properties
On JBOSS version >= 6:
http://localhost:9990
Add management user with add-user.bat located in bin folder

The url to access the JBoss Management Console is usually http://your_host:9990. Be careful that the console works only on localhost unless you edit your standalone.xml.
Before accessing the console you need to create a management user with the console script add-user.sh (or .bat) in your bin directory.
Hope this helps!
See this for more information: https://docs.jboss.org/author/display/WFLY10/Admin+Guide#AdminGuide-Accessingthewebconsole

Related

Wildfly: Management user vs Application user

I downloaded Wildfly (wildfly-13.0.0.Final) and I want to configure it. I start standalone.bat in the bin folder of JBOSS_HOME directory (I use Windows platform).
I go to management console: localhost:8080 -> Administration Console. I see this
Your WildFly Application Server is running.
However you have not yet added any users to be able to access the admin console.
To add a new user execute the add-user.bat script within the bin folder of your WildFly installation and enter the requested information.
I run add-user.bat and it asks me what kind of user I would like to add.
I need a user to have permissions to deploy, redeploy applications. For example, for Apache Tomcat I can consifure tomcat-users.xml file and add users there (https://stackoverflow.com/a/1327730/4587961), so when I log into console as that user, I can deploy applications.
You need to add a Management user with the add-user.bat, whose credentials you will be able to log in the web admin with.
You could direclty add the user to the mgmt-users.properties file in the configuration directory of your standalone or domain, but the entry must be of the form <username>:DIGEST-MD5(<username>:ManagementRealm:<password>), which the add-user.bat script will handle for you.
You don't need any particular role unless you set up RoleBasedAccessControl.
Applicative users are used by applications with frameworks such as JAAS and are interfaced through the "default" security-domain, which refers to the ApplicationRealm containing those users.
As I read
https://docs.jboss.org/author/display/WFLY10/EJB+invocations+from+a+remote+server+instance
https://developer.jboss.org/thread/240892
Management user is used to enter the web console. Here you can deploy app, make settings, add resources (JPA config for example). Application users do not have access to the web console. They can be used for example to authenticate services. For example to invoke remove EJB bean, you need application user credentials to access the remove server.

Mule deployment and config properties file

Our application deployed in mule server has credentials in properties file that are used to access Database and other cloud. We have to do some change in properties file. I would like to know whether this will require a redeployment of the running application or it would be sufficient to restart the application from mule managent console or a server restart may be required.
Any suggestion would greatly help.
Thank you in advance
I believe you can still control the applications from MMC, even when they are deployed using the $MULE_HOME/apps directory. You navigate to them through the "Servers" tab. Find the application under the server, and there is an option at the top right to "Stop" and "Start" the application. This should allow you to run with the new configuration values.
The simplest possible without restarting your Mule Server is to Redeploy the application from the Mule Management Console (Deployment tab).
Hope this helps.

Glassfish Developer Profile

I would like to enable auto-deploy on glassfish.
Thanks to Nacho for pointing out my mismatch of version in the original question
I have looked at this link:
http://docs.oracle.com/cd/E19316-01/820-4337/fvxze/index.html
and it says I need to do this as a developer profile. I do not hink I have a developer profile set up on glassfish as I cannot see the "Application Server Component" it tells me to
Is there a way I can tell which profile I have? Is there a way I can amend my existing profile to a developer one so I can enable auto-deployment?
I guess the question is now how can I change the auto-deploy settings on Glassfish 3. There is an auto-deploy directory but what if I want to change the polling time etc.
Many thanks
"To enable or disable auto-deployment from the GlassFish Server Administration Console, navigate to the Domain node and then click the Applications Configuration tab."
As specified here: http://docs.oracle.com/cd/E18930_01/html/821-2431/abedo.html

Administration console of OpenAM cannot be reached

I have trouble reaching the Administration console of the OpenAM server for a second time after a restart of the JBoss applicationserver on Windows 2008 Server R2 Datacenter.
I deploy OpenAM 9.5.2 (the opensso.war file) in the JBoss-4.2.3GA 'deploy' folder of its default profile.
I point my Internet Explorer 8 browser to: my.test.domain.com:8080/opensso
The page appears to create a Default or Custom Configuration for the OpenAM server
I successfully complete the wizard for creating a Custom Configuration
A pop-up with a 'Proceed to login' link appears after completing the configuration
I click this link and I can access the Admin console
Here is the thing:
When I restart JBoss and try to browse to the Admin console URL manually for a second time:
http://my.test.domain.com:8080/opensso/console
It will instead go to the page again to create a Default or Custom Configuration:
http://my.test.domain.com:8080/opensso/config/options.htm
And therefore I cannot access the Admin console anymore.
Note:
I verified that the URL: my.test.domain.com:8080/opensso/console is correct by opening
a second tab in IE8 before the restart of JBoss.
Been looking at doing this myself - this may provide the solution
https://wikis.forgerock.org/confluence/display/openam/Considerations+when+deploying+on+JBoss+AS+5.1
Indeed that will work. I discovered that you can alternatively add in your run.bat of JBoss:
-Dcom.sun.identity.configuration.directory= your configuration directory

Jboss 4.3 EAP in Eclipse asks credentials on server startup

I am using eclipse Galileo and I am trying to start my JBoss 4.3 EAP.
When I start JBOSS from command line it runs fine. But when I start it from eclipse I get
the following pop up and my application is not deployed
your server is repsonding to jmx queries with a security exception.
you can try entering new credentials below or you can double click on your server and verify the host, jndi port, username and password are accurate.
you can also click ignore below to begin working with your server but deploying to and stopping the server may not function properly
My jboss from command line and my Eclipse both use the same jre
In JBoss EAP by default the JMX Console has turn on security domain and you need provide proper user and password to login in. But the default user is disabled .
You can turn in on by editing the $JBOSS_HOME/server/default/conf/props/jmx-console-users.properties (for default profile).
You can just uncomment the admin user or add your own (in that case also edit jmx-console-roles.properties file).