Ao executar o biserver-ce em
um servidor Linux CentOS não subia o Portal e no pentaho.log apresentava o
erro:
“[org.springframework.web.context.ContextLoader]
Context initialization failed
org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'org.h2.tools.Server' defined in file
[/opt/pentaho/biserver-ce/pentaho-solutions/system/GettingStartedDB-spring.xml]:
Invocation of init method failed; nested exception is
org.h2.jdbc.JdbcSQLException: Exception opening port "H2 TCP Server
(tcp://localhost:9092)" (port may be in use), cause: "timeout"
[90061-131]”
Para
corrigir:
·
Precisamos editar o arquivo: /opt/pentaho/biserver-ce/pentaho-solutions/system/GettingStartedDB.properties,
neste arquivo alteramos a porta de “tcp.port=9092” para “tcp.port=9093”;
·
Precisamos também alterar o arquivo: /etc/hosts , adicionando a linha “127.0.0.1 nomedamaquina”;
No meu
caso funcionou corretamente.
Nenhum comentário:
Postar um comentário