Ir al contenido principal

JBOSS EAP 6 - Stand Alone - HOW TO

How to install and configure  JBOSS EAP 6 in your house. ;-)
(I will assume that you have downloaded the JBOSS)

1.-Unzip the File with the JBOSS 6.2
2.-Copy the folder jboss-eap-6.2 to your folder (i.e. home folder)
3.-Config your Java home editing the file standalone.conf (in /jboss-eap-X.X/bin folder)

JAVA_HOME=/your/path/to/java

4.-IF you need to change the port of JBOSS  (8080 by default)

a) You have to edit the file standalone.xml in /jboss-eap-X.X/standalone/configuration folder.

b) FIND this section!!

c) Change this entry: 

  

by the port number do you need...

  


5.-You have to change permission for standalone shell.
a) cd jboss-eap-X.X/bin/
b) chmod +x standalone.sh


6.-Create a Admin user for management.
a) cd jboss-eap-X.X/bin/
b) chmod +x add-user.sh (or if your are lazy : chmod +x *.sh for further shell ;-)
c) ./add-user.sh (enter)



-------------------------
from RedHat Docs
-------------------------
d) Choose to add a Management user.
Select option a to add a Management user. This user is added to the ManagementRealm and is authorized to perform management operations using the web-based Management Console or command-line based Management CLI. The other choice, b, adds a user to the ApplicationRealm, and provides no particular permissions. That realm is provided for use with applications.

e) Choose the realm for the user.
The next prompt refers to the realm where the user will be added. For a user with permissions to manage JBoss Enterprise Application Platform 6, choose the default, which is ManagementRealm.

f) Enter the desired username and password.
When prompted, enter the security realm, username and password. Pressing ENTER selects the default realm of ManagementRealm, which allows the user to administer JBoss Enterprise Application Platform 6 using the management interfaces. You must add at least one user to this realm. You are prompted to confirm the information. If you are satisfied, type yes .

Source: redhat.com

7.- IF you deploy on your local machine GOTO Step 8

If you have a linux home server , and you copy there the JBOS EAP 6.2 you have to edit AGAIN the
/jboss-eap-X.X/standalone/configuration/standalone.xml and change the INTERFACE to connect to your server machine.

------------------------------------
from JBOSS.org Community
-------------------------------------
Add a new interface under the interfaces section of standalone.xml with element:

and use this new interface in the socket-binding-group:

Source: community.jboss.org

8.-Enjoy it!
Execute the shell script
./jboss-eap-X.X/bin/standalone.sh

Open a WebBrowser :

http://localhost:XXXX/   In XXXX is the port number you config in Step 4! 

or (default)

http://localhost:8080/


I hope this little-guide can help you.....


Entradas más populares de este blog

Free as in Freedom

Free as in Freedom interweaves biographical snapshots of GNU project founder Richard Stallman with the political, social and economic history of the free software movement. It examines Stallman's unique personality and how that personality has been at turns a driving force and a drawback in terms of the movement's overall success. Free as in Freedom examines one man's 20-year attempt to codify and communicate the ethics of 1970s era "hacking" culture in such a way that later generations might easily share and build upon the knowledge of their computing forebears. The book documents Stallman's personal evolution from teenage misfit to prescient adult hacker to political leader and examines how that evolution has shaped the free software movement. Like Alan Greenspan in the financial sector, Richard Stallman has assumed the role of tribal elder within the hacking community, a community that bills itself as anarchic and averse to central leadership or authority...

Warp 11

Cuando pense que todo sobre Star Trek, podria estar cubierto, me encontre con esta banda de lunaticos llamados Warp 11, y su Capitan Karl. Miren la opiniones en EEUU: "Warp 11 is one of the best bands in America, not since KISS has a band had this level of shtick, and an amazing sound backing it up." - Mark S. Allen Premiere Radio Networks "Warp 11 is a Trek band that has crossed over from fandom to mainstream music." - Tammy Oler Geek Monthly "This isn't a bunch of Trekkies who decided to rock, but rather it's a buncha rockers who dediced the world of Star Trek was ripe with rockin' potential.. Warp 11 doesn't let any joke get by.. they're so gloriously vulgar!" - Jerry Perry Alive & Kicking "Sactown's own Warp 11 are the bad boys at the Trekkie convention." - Justin Allen Sacramento News & Review "It's Dead, Jim - a typically ass-kicking release from the Warped ones." - A.L. Sirois Sci Fi Channe...

High Availability Day

Nuevamente he concurrido a "un día" organizado por el Grupo de Usuarios Oracle de Argentina. Mas precisamente al Día de Alta Disponibilidad ; en la empresa que trabajo estamos usando este tipo de arquitectura y queria tener mas informacion, y distintos puntos de vista y ademas, ver las novedades. Como nos acostumbran estas personas del Grupo de Usuarios, son muy dedicadas en la realización de eventos , sin dejar nada librado al azar; eso hace que participe, aunque sea como oyente, también la calidad de los Speakers.