miércoles, 24 de enero de 2018

Weblogic iniciado accidentalmente como root (solución)

Si en alguna ocasión accidentalmente iniciáramos nuestro Weblogic como root, notaremos que luego al tratar de iniciarlo con el usuario dueño de la instalación (comúnmente oracle) éste no inicia y al revisar la instalación notaremos que ciertos archivos de configuración ahora tienen como dueño a root.

¿Qué podemos hacer?

Bueno lo que podemos hacer es realizar una búsqueda de los archivos que ahora están como dueño root para luego cambiar al dueño original de la instalación.

Para ver que archivos han sido afectados se puede hacer lo siguiente:

1. Estar conectado como root
2. Ejecutar el siguiente comando para ver que archivos están afectados:

find <directorio> -user root
Nota: Reemplazar el directorio donde realizaremos la búsqueda.

Luego de haber ejecutado el comando anterior ya tenemos una idea de todo lo que está afectado.

Ahora podemos ejecutar el siguiente comando para regresar los archivos afectado a su dueño original:


chown -R oracle:oinstall *
Debemos reemplazar el usuario y grupo correspondiente a la instalación afectada.

Con el comando anterior se cambia el usuario y grupo de todos los archivos de manera recursiva desde la carpeta donde  lo ejecutemos.

Ahora ya podemos subir nuevamente nuestro servidor!





lunes, 15 de enero de 2018

FRM-91500 en Linux/Unix

Si estamos tratando de compilar una librería o forma en Linux/Unix y obtenemos como resultado el siguiente error:

FRM-91500: Unable to start/complete the build.

Debemos validar que tengamos bien configurados el entorno gráfico si lo estamos haciendo desde una terminal.

Podemos validar haciendo un simple xclock u otro comando que sepamos que nos abrirá algo gráfico.

Si no hemos configurado la variable DISPLAY pues un ejemplo es:

export DISPLAY=192.168.30.190:0.0

Donde se deberá reemplazar con la IP y escritorio correspondiente.


viernes, 27 de octubre de 2017

JBoss EAP 6: Request header is too large

Si al probar una aplicación Java en un Servidor JBoss EAP 6 nos aparece un mensaje como el siguiente:

12:12:27,174 DEBUG [org.apache.coyote.http11] (http-127.0.0.1:8080-3) JBWEB003070: Error parsing HTTP request header: java.lang.IllegalArgumentException: JBWEB002015: Request header is too large 
   at org.apache.coyote.http11.InternalInputBuffer.fill(InternalInputBuffer.java:741) [jbossweb-7.5.24.Final-redhat-1.jar:7.5.24.Final-redhat-1] 
   at org.apache.coyote.http11.InternalInputBuffer.parseHeader(InternalInputBuffer.java:610) [jbossweb-7.5.24.Final-redhat-1.jar:7.5.24.Final-redhat-1] 
   at org.apache.coyote.http11.InternalInputBuffer.parseHeaders(InternalInputBuffer.java:507) [jbossweb-7.5.24.Final-redhat-1.jar:7.5.24.Final-redhat-1] 
   at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:825) [jbossweb-7.5.24.Final-redhat-1.jar:7.5.24.Final-redhat-1] 
   at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:656) [jbossweb-7.5.24.Final-redhat-1.jar:7.5.24.Final-redhat-1] 
   at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:926) [jbossweb-7.5.24.Final-redhat-1.jar:7.5.24.Final-redhat-1] 
   at java.lang.Thread.run(Unknown Source) [rt.jar:1.8.0_144]

Es porque el tamaño de la solicitud que enviamos es mucho mayor que el tamaño permitido, que por defecto de 8 KB.

Continuar leyendo aquí.

miércoles, 18 de octubre de 2017

Auto Purgado en Oracle SOA 12c



A diferencia de las versiones anteriores de SOA donde teníamos que hacer uso de scripts, particionamiento etc. para eliminar la metadata que ya no se necesita y que puede impactar en el rendimiento de nuestras aplicaciones, en SOA 12c existe una nueva característica, la cual es el auto purgado que nos facilita la labor de eliminar dicha metadata.

En el EM de SOA podemos acceder a esta nueva característica desde la siguiente ruta:



Al ingresar a la opción de Depuración automática veremos la siguiente pantalla:

Continuar leyendo aquí.

jueves, 29 de junio de 2017

Oracle Forms 12c FRM-91135 fmcus.msb not found

Luego de una nueva instalación de Forms y Reports 12c y luego de intentar iniciar el Forms Builder por primera vez, el siguiente mensaje de error nos puede aparecer:

Oracle Fusion Middleware 12c Forms Services
FRM-91135: Fatal error: message file
ORACLE_HOME\forms\mesg\fmcus.msb not found.

El error se parece al de la siguiente imagen:


Igual comportamiento se puede ver al iniciar por primera vez el Reports Builder 12c.

Al revisar el Registro de Windows se aprecian solamente las siguientes variables:

Continuar leyendo aquí.





martes, 23 de mayo de 2017

How to integrate BPM 12c with Webcenter Content 12c

A few days ago, I wrote the following article about how to integrate Oracle BPM 12c with Oracle Webcenter 12c.

You will find it here.

martes, 25 de abril de 2017

Reports Builder 11gR2 stops working when trying to open query object

When trying to open a SQL query object inside Reports Builder 11gR2 11.1.2.2 this stops responding causing the application to exit. This is due a bug in this version.


The solution at this moment for this bug is to select the SQL Query object and then go to Tools Menu -> Report Editor.

Other option would be to use Reports Builder 12c.

jueves, 20 de abril de 2017

Unable to start JDeveloper 12c 12.2.1.2 Integrated Weblogic Server on Windows 10

I was trying to install JDeveloper 12c for BPM newest release (12.2.1.2) on Windows 10, I though it would be easy taking in count Im not the first person trying to install it on Windows 10 and because there are many articles explaining the procedure.

I found an article saying that i should add the word "Windows 10" inside javashell.py in order to be able to start Integrated Sever. You may find the article here

When I was looking for the variable _osTypeMap I noticed it does not exist (I think because of a change in this release), there is a variable _dosTypeMap but even when i added the string "Windows 10", it didn't work, I got the following similar error from the above article:

java.io.IOException: Cannot run program "Command": CreateProcess error=2, The system cannot find the file specified'
Error:  ADRS_DOMAIN_PASSWORD environment variable not set.

After trying different ways to start the Integrated Weblogic Server I found out a way, maybe is not the best way but i did work for me: if you delete the Default Domain and then you create a new Default Domain it will work, the Integrated Server will start.




Hope this helps!


miércoles, 19 de abril de 2017

BPM 12c: Error when trying to start JDeveloper - Could not install some modules

When trying to start JDeveloper for SOA 12c or BPM 12c you may encounter the following error:

Warning - could not install some modules:
oracle.external.timing - org.netbeans.InvalidException: Netigso:
C:\Oracle\MiddlewareBPM\Oracle_Home\jdeveloper\external\oracle.external.timing.jar: Not found bundle:oracle.external.timing oracle.jdeveloper.webservice.share - org.netbeans.InvalidException: Netigso


To fix this error and start JDeveloper do the following:

- Delete all folders and files under:
  C:\Users\{user}\AppData\Roaming\JDeveloper

After that JDeveloper should start without error.