留言板

RE: Problemas para migrar el algoritmo de seguridad

thumbnail
Alberto Chaparro,修改在7 年前。

RE: Problemas para migrar el algoritmo de seguridad

Liferay Master 帖子: 549 加入日期: 11-4-25 最近的帖子
Hola,

Antes de probar el funcionamiento del portal tras el cambio de algoritmo de permisos debes verificar que éste ha ido bien. ¿Puedes comprobar los logs del proceso por si hubiese algún error o warning?

Debes tener en cuenta dos cosas:
- Antes de lanzar el cambio de algoritmo, las tablas resourcepermission y resourceaction (tablas del algoritmo 6) deben estar vacías.
- Al acabar el proceso las tablas resourceCode, permission_, resource_ y roles_permissions (tablas de algoritmos previos) deben estar vacías.

Más info aquí:
https://web.liferay.com/es/community/forums/-/message_boards/message/38224632/maximized

Un saludo.
David Aragones,修改在7 年前。

RE: Problemas para migrar el algoritmo de seguridad

New Member 帖子: 10 加入日期: 16-11-23 最近的帖子
En primer lugar gracias por contestar.

He restaurado el directorio completo de liferay y la BBDD.

La versión de liferay es:
6.1.1 y el algoritmo de seguridad es el 4.
La versión de java es:
Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
Java HotSpot(TM) 64-Bit Server VM (build 19.1-b02, mixed mode)
El sistema operativo es:
CentOS release 5.5 (Final)
La versión de mysql es:
5.0.95
Al arrancar la aplicación no aparece nada raro ni errores en los log(catalina.out). Cuando accedo desde el navegado en principio y a simple vista se carga la página de manera correcta y puedo trabajar y acceder al panel de control, pero en el log aparece esto:

12:26:43,731 WARN [http-bio-8080-exec-1][ThemeLocalServiceImpl:149] No theme found for specified theme id 12valde_WAR_12valdetheme. Returning the default theme.
12:29:07,703 WARN [http-bio-8080-exec-1][ThemeLocalServiceImpl:149] No theme found for specified theme id 12valde_WAR_12valdetheme. Returning the default theme.
12:29:07,701 WARN [http-bio-8080-exec-9][ThemeLocalServiceImpl:149] No theme found for specified theme id 12valde_WAR_12valdetheme. Returning the default theme.
12:29:07,714 WARN [http-bio-8080-exec-7][ThemeLocalServiceImpl:149] No theme found for specified theme id 12valde_WAR_12valdetheme. Returning the default theme.
12:29:07,718 WARN [http-bio-8080-exec-5][ThemeLocalServiceImpl:149] No theme found for specified theme id 12valde_WAR_12valdetheme. Returning the default theme.
12:29:07,722 WARN [http-bio-8080-exec-6][ThemeLocalServiceImpl:149] No theme found for specified theme id 12valde_WAR_12valdetheme. Returning the default theme.
12:29:07,757 WARN [http-bio-8080-exec-10][ThemeLocalServiceImpl:149] No theme found for specified theme id 12valde_WAR_12valdetheme. Returning the default theme.
12:29:08,086 WARN [http-bio-8080-exec-5][ThemeLocalServiceImpl:149] No theme found for specified theme id 12valde_WAR_12valdetheme. Returning the default theme.
12:29:08,249 WARN [http-bio-8080-exec-3][ThemeLocalServiceImpl:149] No theme found for specified theme id 12valde_WAR_12valdetheme. Returning the default theme.
12:29:09,043 WARN [http-bio-8080-exec-5][ThemeLocalServiceImpl:149] No theme found for specified theme id 12valde_WAR_12valdetheme. Returning the default theme.
12:29:09,050 WARN [http-bio-8080-exec-2][ThemeLocalServiceImpl:149] No theme found for specified theme id 12valde_WAR_12valdetheme. Returning the default theme.
12:29:16,233 WARN [http-bio-8080-exec-1][ThemeLocalServiceImpl:149] No theme found for specified theme id 12valde_WAR_12valdetheme. Returning the default theme.
12:29:17,501 WARN [http-bio-8080-exec-4][ThemeLocalServiceImpl:149] No theme found for specified theme id 12valde_WAR_12valdetheme. Returning the default theme.
12:29:17,506 WARN [http-bio-8080-exec-7][ThemeLocalServiceImpl:149] No theme found for specified theme id 12valde_WAR_12valdetheme. Returning the default theme.
12:29:17,530 WARN [http-bio-8080-exec-1][ThemeLocalServiceImpl:149] No theme found for specified theme id 12valde_WAR_12valdetheme. Returning the default theme.


Para hacer las cosas bien. ¿Qué está ocurriendo ahora y cómo lo soluciono?.

Muchas gracias.
thumbnail
Alberto Chaparro,修改在7 年前。

RE: Problemas para migrar el algoritmo de seguridad

Liferay Master 帖子: 549 加入日期: 11-4-25 最近的帖子
Hola David,

La misma traza está dando una idea de lo que sucede:
12:29:17,530 WARN [http-bio-8080-exec-1][ThemeLocalServiceImpl:149] No theme found for specified theme id 12valde_WAR_12valdetheme. Returning the default theme.


Significa que tienes páginas o sitios web en los que asociaste el tema valdetheme pero ahora no está desplegado en el servidor (el war del tema). Deberás desplegarlo para que dejen de salir los errores.

Ya nos dices.

Un saludo!