1. Ir al directorio:
pentaho-solutions/system/2. Editar el archivo pentaho.xml y ubicar la etiqueta login-show-sample-users-hint. Cambiar el valor a false
<login-show-sample-users-hint>false</login-show-sample-users-hint>3. Reiniciar BI Server
¡Bienvenidos! En el presente blog comparto mis experiencias y conocimientos adquiridos sobre Data Warehousing, Open Source Business Intelligence, Data Engineering y tecnologías relacionadas con datos. Accede a la sección de "Sugerencias y Preguntas" si tienes comentarios o inquietudes, estaré gustoso en responderte.
pentaho-solutions/system/2. Editar el archivo pentaho.xml y ubicar la etiqueta login-show-sample-users-hint. Cambiar el valor a false
<login-show-sample-users-hint>false</login-show-sample-users-hint>3. Reiniciar BI Server
cd biserver-ce/pentaho-solutions/system/mondrian
mondrian.trace.level=1 mondrian.rolap.generate.formatted.sql=true
cd biserver-ce/tomcat/webapps/pentaho/WEB-INF/classes
<appender name="MDXLOG" class="org.apache.log4j.RollingFileAppender"> <param name="File" value="../logs/mondrian_mdx.log"/> <param name="Append" value="false"/> <param name="MaxFileSize" value="500KB"/> <param name="MaxBackupIndex" value="1"/> <layout class="org.apache.log4j.PatternLayout"> <param name="ConversionPattern" value="%d %-5p [%c] %m%n"/> </layout> </appender> <category name="mondrian.mdx"> <priority value="DEBUG"/> <appender-ref ref="MDXLOG"/> </category> <appender name="SQLLOG" class="org.apache.log4j.RollingFileAppender"> <param name="File" value="../logs/mondrian_sql.log"/> <param name="Append" value="false"/> <param name="MaxFileSize" value="500KB"/> <param name="MaxBackupIndex" value="1"/> <layout class="org.apache.log4j.PatternLayout"> <param name="ConversionPattern" value="%d %-5p [%c] %m%n"/> </layout> </appender> <category name="mondrian.sql"> <priority value="DEBUG"/> <appender-ref ref="SQLLOG"/> </category>6. Finalmente, reiniciar Pentaho BI Server
<?xml version="1.0" encoding="UTF-8"?> <Context path="/pentaho" docbase="webapps/pentaho/"> <Resource name="jdbc/Hibernate" auth="Container" type="javax.sql.DataSource" factory="org.apache.commons.dbcp.BasicDataSourceFactory" maxActive="20" maxIdle="5" maxWait="10000" username="hibuser" password="password" driverClassName="org.postgresql.Driver" url="jdbc:postgresql://127.0.0.1:5432/hibernate" validationQuery="select version();" /> <Resource name="jdbc/Quartz" auth="Container" type="javax.sql.DataSource" factory="org.apache.commons.dbcp.BasicDataSourceFactory" maxActive="20" maxIdle="5" maxWait="10000" username="pentaho_user" password="password" driverClassName="org.postgresql.Driver" url="jdbc:postgresql://127.0.0.1:5432/quartz" validationQuery="select version();"/> </Context>
<!-- [BEGIN HSQLDB DATABASES] --> <context-param> <param-name>hsqldb-databases</param-name> <param-value>sampledata@../../data/hsqldb/sampledata</param-value> </context-param> <!-- [END HSQLDB DATABASES] -->
... <config-file>system/hibernate/postgresql.hibernate.cfg.xml</config-file> ...
jdbc.driver=org.postgresql.Driver jdbc.url=jdbc:postgresql://127.0.0.1:5432/hibernate jdbc.username=hibuser jdbc.password=password hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect
CREATE TABLE "QRTZ" ( NAME VARCHAR(200) NOT NULL, PRIMARY KEY (NAME) ); ALTER TABLE "QRTZ" OWNER TO pentaho_user;
cd biserver-ce-4.8.0/biserver-ce/tomcat/conf
sslProtocols="TLSv1, TLSv1.1, TLSv1.2"
<Connector port="443" protocol="HTTP/1.1" SSLEnabled="true" maxThreads="150" scheme="https" secure="true" sslProtocols="TLSv1, TLSv1.1, TLSv1.2"/>
<?xml version="1.0" encoding="UTF-8"?> <Context path="/pentaho" docbase="webapps/pentaho/"> <Resource name="jdbc/Hibernate" auth="Container" type="javax.sql.DataSource" factory="org.apache.commons.dbcp.BasicDataSourceFactory" maxActive="20" maxIdle="5" maxWait="10000" username="hibuser" password="password" driverClassName="oracle.jdbc.OracleDriver" url="jdbc:oracle:thin:@127.0.0.1:1521/XE" validationQuery="select 1 from dual" /> <Resource name="jdbc/Quartz" auth="Container" type="javax.sql.DataSource" factory="org.apache.commons.dbcp.BasicDataSourceFactory" maxActive="20" maxIdle="5" maxWait="10000" username="quartz" password="password" driverClassName="oracle.jdbc.OracleDriver" url="jdbc:oracle:thin:@127.0.0.1:1521/XE" validationQuery="select 1 from dual"/> </Context>
<!-- [BEGIN HSQLDB DATABASES] --> <context-param> <param-name>hsqldb-databases</param-name> <param-value>sampledata@../../data/hsqldb/sampledata</param-value> </context-param> <!-- [END HSQLDB DATABASES] -->
<?xml version='1.0' encoding='utf-8'?> <settings> <!--config-file>system/hibernate/hsql.hibernate.cfg.xml</config-file--> <config-file>system/hibernate/oracle10g.hibernate.cfg.xml</config-file> </settings>
jdbc.driver=oracle.jdbc.OracleDriver jdbc.url=jdbc:oracle:thin:@127.0.0.1:1521/XE jdbc.username=hibuser jdbc.password=password hibernate.dialect=org.hibernate.dialect.Oracle10gDialect
org.quartz.jobStore.driverDelegateClass = org.quartz.impl.jdbcjobstore.oracle.OracleDelegate
... <param name="tablespace" value="PENTAHO_TABLESPACE"/> ...
java -Xms1024m -Xmx2048m -jar DataCleaner.jarNOTA: en versiones más actuales se tiene que editar el archivo datacleaner.cmd y ubicar la variable DATACLEANER_JAVA_OPTS
set DATACLEANER_JAVA_OPTS=%JAVA_OPTS% -Xmx4096m
<key>VMOptions</key> <array> <string>-Dcom.apple.macos.useScreenMenuBar=true</string> <string>-Xms1024m</string> <string>-Xmx2048m</string> </array> </key>
<?xml version="1.0" encoding="UTF-8"?> <Context path="/pentaho" docbase="webapps/pentaho/"> <Resource name="jdbc/Hibernate" auth="Container" type="javax.sql.DataSource" factory="org.apache.commons.dbcp.BasicDataSourceFactory" maxActive="20" maxIdle="5" maxWait="10000" username="hibuser" password="password" driverClassName="com.mysql.jdbc.Driver" url="jdbc:mysql://localhost:3306/hibernate" validationQuery="select 1;" /> <Resource name="jdbc/Quartz" auth="Container" type="javax.sql.DataSource" factory="org.apache.commons.dbcp.BasicDataSourceFactory" maxActive="20" maxIdle="5" maxWait="10000" username="pentaho_user" password="password" driverClassName="com.mysql.jdbc.Driver" url="jdbc:mysql://localhost:3306/quartz" validationQuery="select 1;"/> </Context>
<!-- [BEGIN HSQLDB DATABASES] --> <context-param> <param-name>hsqldb-databases</param-name> <param-value>sampledata@../../data/hsqldb/sampledata</param-value> </context-param> <!-- [END HSQLDB DATABASES] -->
<?xml version='1.0' encoding='utf-8'?> <settings> <!--config-file>system/hibernate/hsql.hibernate.cfg.xml</config-file--> <config-file>system/hibernate/mysql5.hibernate.cfg.xml</config-file> </settings>
jdbc.driver=com.mysql.jdbc.Driver jdbc.url=jdbc:mysql://localhost:3306/hibernate jdbc.username=hibuser jdbc.password=password hibernate.dialect=org.hibernate.dialect.MySQLDialect
org.quartz.jobStore.driverDelegateClass = org.quartz.impl.jdbcjobstore.StdJDBCDelegate
<property name="hibernate.c3p0.acquire_increment">3</property> <property name="hibernate.c3p0.idle_test_period">14400</property> <property name="hibernate.c3p0.max_size">75</property> <property name="hibernate.c3p0.max_statements">0</property> <property name="hibernate.c3p0.timeout">25200</property> <property name="hibernate.c3p0.preferredTestQuery">select 1</property> <property name="hibernate.c3p0.testConnectionOnCheckout">true</property>