El siguiente texto contiene las instrucciones seguidas para instalar OSB 10gR3 sobre Ubuntu 9.04.
El otrora llamado BEA Aqualogic Service Bus(ALSB) después de la estratégica compra de Oracle, es ahora conocido como Oracle Service Bus, tal y como podemos constatar en la página principal de esta pieza de la suite fusion middleware.
http://www.oracle.com/technology/products/integration/service-bus/index.html

Nuestro siguiente paso es descargar el ejecutable que se encuentra en:
http://www.oracle.com/technology/software/products/osb/index.html
Descargaremos la versión para linux:
Oracle Service Bus 10gR3
for Linux x86 / Linux x86-64
Descargado debemos tener:
4294967295 4294967295 974123474 2008-11-02 05:09 osb103_wls103_linux32.bin
Iniciamos la instalación ejecutando el archivo(debemos asegurarnos que el archivo tenga los permisos debidos):
rugi@Bedxe:/tmp$ /tmp/osb103_wls103_linux32.bin
Y comienza la instalación:
Iniciamos con la ya conocida pantalla de bienvenida:

Seleccionamos nuestra carpeta HOME, para este ejemplo decidi crear una nueva.

Nos interesa tener instalación tipica:
Antes de iniciar, verificamos las carpetas que serán utilizadas.
Una revisada a los componentes que se instalarán.
Y ahora sí, comienza la instalación.
Una última pantalla de despedida.
Evitaremos que se invoque el quickstart, desmarcando la casilla de verificación, y cerramos la ventana.
Una vez terminada la instalación, requerimos crear un dominio weblogic, vamos a hacerlo con la instrucción de consola.(para ver mas detalles de la creación de un dominio puedes seguir aqui.)
rugi@Bedxe:/apps/oracle/wlserver_10.3/common/bin$ /apps/oracle/wlserver_10.3/common/bin/config.sh -mode=console
La interacción con la consola inicia así:
<-------------------- Oracle WebLogic Configuration Wizard ------------------->
Welcome:
Choose between creating and extending a domain. Based on your selection,
the Configuration Wizard guides you through the steps to generate a new or
extend an existing domain.
->1|Create a new WebLogic domain
| Create a WebLogic domain in your projects directory.
2|Extend an existing WebLogic domain
| Extend an existing WebLogic domain. Use this option to add
|applications and services, or to override existing database access (JDBC)
|and messaging (JMS) settings.
Enter index number to select OR [Exit][Next]> Seleccionamos: 1
Continuamos:
<-------------------- Oracle WebLogic Configuration Wizard ------------------->
Select Domain Source:
Select the source from which the domain will be created. You can create the
domain by selecting from the required components or by selecting from a
list of existing domain templates.
->1|Choose Weblogic Platform components
| You can choose the Weblogic component(s) that you want supported in
|your domain.
2|Choose custom template
| Choose this option if you want to use an existing template. This
|could be a custom created template using the Template Builder.
Enter index number to select OR [Exit][Previous][Next]> Seleccionamos: 1.
Continuamos:
<-------------------- Oracle WebLogic Configuration Wizard -------------------> Application Template Selection: Available Templates |_____WebLogic Server (Required)x |_____Workshop for WebLogic 10.3 [2] x |_____Oracle Service Bus [3] x Enter number exactly as it appears in brackets to toggle selection OR [Exit][Previous][Next]>
Seleccionamos: 2,3 hasta asegurarnos que aparezcan las "x" y después tecleamos "Next" para continuar.
Establecemos passwords:
Configure Administrator Username and Password:
Create a user to be assigned to the Administrator role. This user is the
default administrator used to start development mode servers.
| Name | Value |
_|_________________________|_________________________________________|
1| *User name: | weblogic |
2| *User password: | |
3| *Confirm user password: | |
4| Description: | This user is the default administrator. |
Use above value or select another option:
1 - Modify "User name"
2 - Modify "User password"
3 - Modify "Confirm user password"
4 - Modify "Description"
Enter option number to select OR [Exit][Previous][Next]>Después de establecer los password's continuamos
<-------------------- Oracle WebLogic Configuration Wizard -------------------> Domain Mode Configuration: Enable Development or Production Mode for this domain. ->1|Development Mode 2|Production Mode Enter index number to select OR [Exit][Previous][Next]>
Vamos a seleccionar el modo de desarrollo; 1.
Ahora seleccionamos el SDK:
<-------------------- Oracle WebLogic Configuration Wizard -------------------> Java SDK Selection: 1|JRockit SDK 1.6.0_05 @ /apps/oracle/jrockit_160_05 ->2|Sun SDK 1.6.0_05 @ /apps/oracle/jdk160_05 3|Other Java SDK Enter index number to select OR [Exit][Previous][Next]>
Seleccionamos 2.
Ahora se nos da la posibilidad de modificar las opciones por default.
<-------------------- Oracle WebLogic Configuration Wizard -------------------> Choose Configuration Option: *Do you want to modify any of the preconfigured settings or defaults in *your template? *To keep the default or template settings, and proceed directly to name and *create your domain, leave No selected. 1|Yes ->2|No Enter index number to select OR [Exit][Previous][Next]>
Seleccionamos 2.
El siguiente paso es seleccionar la ubicación física del dominio.
<-------------------- Oracle WebLogic Configuration Wizard -------------------> Select the target domain directory for this domain: "Target Location" = [Enter new value or use default "/apps/oracle/user_projects/domains"] Enter new Target Location OR [Exit][Previous][Next]>
Tecleamos "Next" y continuamos:
Nos toca seleccionar el nombre del dominio.
<-------------------- Oracle WebLogic Configuration Wizard -------------------> Edit Domain Information: | Name | Value | _|________|_____________| 1| *Name: | base_domain | Enter value for "Name" OR [Exit][Previous][Next]>
Establecemos el nombre del dominio y despues tecleamos Next.
Y comienza la instalación del dominio:
<-------------------- Oracle WebLogic Configuration Wizard -------------------> Creating Domain... 0% 25% 50% 75% 100% [------------|------------|------------|------------] [***************************************************] **** Domain Created Successfully! **** rugi@Bedxe:/apps/oracle/wlserver_10.3/common/bin$
Y con esto hemos creado el dominio.
Ahora, vamos a verificar que todo esté en órden.
rugi@Bedxe:/apps/oracle/user_projects/domains/<nombre_dominio>/bin$
Para este ejemplo, el nombre del dominio es: demiurgo.
rugi@Bedxe:/apps/oracle/user_projects/domains/demiurgo/bin$
El script a ejecutar es: startWebLogic.sh
rugi@Bedxe:/apps/oracle/user_projects/domains/demiurgo/bin$ startWebLogic.sh
El script debe indicar que el server esta listo:
<May 2, 2009 2:31:57 PM CDT> <Notice> <WebLogicServer> <BEA-000331> <Started WebLogic Admin Server "AdminServer" for domain "demiurgo" running in Development Mode> <May 2, 2009 2:31:57 PM CDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING> <May 2, 2009 2:31:57 PM CDT> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
Consola del Oracle Weblogic server:
http://localhost:7001/console

Consola del Oracle Service Bus:
http://localhost:7001/sbconsole

Hemos concluido la instalación. :)
Saludos a todos!!!
Isaac Ruiz Guerra es un Consultor de Software radicado en la ciudad de México. Actualmente se dedica a la integración de software. Su lenguaje principal es java... y ahora intenta, simultáneamente, iniciarse con python, groovy y ruby. ¿Más info? http://weblogs.javahispano.org/jh/entry/nos_presentamos_iv
yeradis escribió
hace 1 años
© Copyright 2008-2009 debug_mode=ON | Aviso legal | Contacto | FAQ | ¿Quiénes somos? |
#1
Interesante screencast
Saludos