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

Scrapy - Python - Slides

Despues de ver este capitulo de mejorando.la  , senti curiosidad por Scrapy , un framework para scraping y crawling , algo asi como "raspar y arrastrarse" en sitios web y obtener informacion incluidas en las paginas que componen el sitio.



Hace poco tiempo, necesite este framework, porque me encontraba buscando presentaciones sobre Oracle Weblogic 11g y  el sitio, que tenia una presentacion bueno, no me permitia bajarla.  Asi que se me prendio la lamparita y comence a buscar , en el codigo HTML informacion que me sirviera para obtener las SLIDES.

Requerimientos:

-Scrapy
-Python
-Distrubucion de linux que te guste. (Use Linux Mint)


Codigo Fuente: spiders/slideshareWeb/slideshareWeb/spiders/slideshareWeb_spider.py

Para Arrancar el codigo se usa:
scrapy crawl slideshareWeb (Enter)
Estando en el directorio de la applicacion que contruyeron; pero mas claro este en el Tutorial que adjunte como link externo.
import urllib2 import tarfile import os from os.path impo…

DuinoBot v1.2 + Servos

Hoy me llego el envio de Sparkfun con mi Pan/Tilt Bracket y unos Servos. Con ellos me decidi a realizar algunas pruebas que mostrare a continuacion.

Elementos a utilizar:

DuinoBot v1.2  (RobotGroup ARG)
Pan/Tilt Bracket (Paneos)
Servos
Protoboards
Jumpers
Potenciometro


Tambien codifique con la IDE de Arduino para que estos elementos "se fusionaran" en mi TEST.  ;-)


Codigo Parcial

void setup(){
  servoTilt.attach(2);  //The Tilt servo is attached to pin 2.
  //servoPan.attach(3);   //The Pan servo is attached to pin 3.
  servoTilt.write(10);  //Initially put the servos both
  //servoPan.write(40);      //at 90 degress.

  Serial.begin(57600);  //Set up a serial connection for 57600 bps.
}

void loop(){
  val = analogRead(potpin);            // reads the value of the potentiometer (value between 0 and 1023)
  val = map(val, 0, 1023, 0, 179);     // scale it to use it with the servo (value between 0 and 180)
  servoTilt.write(val);                  // sets the servo position ac…

Como recupero un Pen Drive que use para instalar OS X?

How do I format a usb drive on a PC that was formatted on a Mac? (source)

Assuming Windows 7 and that the disk is not showing up under My Computer at all:
Connect your disk.Run cmd as an Administrator.Run diskpart.exe. Use ? if you need help in this program.list diskFind the disk that corresponds to your USB disk. select disk n where n is the number of the disk. Confirm that you're using the right disk with detail disk.clean(Warning: This command erases the disk's partition information. Any data on the disk will no longer be accessible.)create partition primary. No size is needed if you want to use the whole diskactive. Optional. Marks the partition as potentially bootable.format fs=fat32 quick. You can choose NTFS or exFAT instead of FAT32 if you want.assign. Assigns the disk a drive letter.exit to quit.LEER BIEN los pasos y comprender que lo hace BAJO su Responsabilidad. Sino esta seguro, NO LO HAGA!  ;-)

Si usastes un PEN-Drive para contener la instalacion de OS X, y…