Quantcast
Channel: Pentaho Community Forums
Viewing all articles
Browse latest Browse all 16689

biserver-ce-5.0.1-stable install issue

$
0
0
I am installing biserver-ce-5.0.1-stable on a Windows 7 machine and running into issues with the install.

I changed the web.xml and tomcat-users.xml files with the following scripts:

web.xml
<security-role>
<description>security role</description>
<role-name>PENTAHO_ADMIN</role-name>
</security-role>

</web-app>

tomat-users.xml
<role rolename="manager-gui"/>
<role rolename="admin-gui"/>


<!-- Needed for Pentaho Installation -->
<role rolename="PENTAHO_ADMIN"/>


<user username="admin" password="password" roles="manager-gui,admin-gui"/>
</tomcat-users>
When I run the start-pentaho.bat file, it appears that it starts the pentaho server but when I go to localhost:8080, the browser runs for a while then errors out with a HTTP Status 404 on the Apache Tomcat 6.0.36 web server.

The catalina.YYYY-MM-DD log file in the biserver-ce/tomcat/logs directory shows the following initial error:

Dec 11, 2013 11:05:06 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.36
Dec 11, 2013 11:05:06 AM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor pentaho.xml
Dec 11, 2013 11:09:26 AM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Dec 11, 2013 11:09:26 AM org.apache.catalina.core.StandardContext start
SEVERE: Context [/pentaho] startup failed due to previous errors
Dec 11, 2013 11:09:26 AM org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
SEVERE: The web application [/pentaho] registered the JDBC driver [org.h2.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
Dec 11, 2013 11:09:26 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/pentaho] appears to have started a thread named [HSQLDB Timer @1a5ec6c] but has failed to stop it. This is very likely to create a memory leak.

The localhost.YYYY-MM-DD log file contains the following error:

Dec 11, 2013 11:05:09 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring root WebApplicationContext
Dec 11, 2013 11:09:26 AM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.h2.tools.Server' defined in file [C:\Users\Username\Documents\Pentaho-Applications\BI-Server\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://169.254.31.197:9092)" (port may be in use), cause: "timeout" [90061-131]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1338)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
at java.security.AccessController.doPrivileged(Native Method)
....<MORE org.springframework errors>....
Caused by: org.h2.jdbc.JdbcSQLException: Exception opening port "H2 TCP Server (tcp://169.254.31.197:9092)" (port may be in use), cause: "timeout" [90061-131]
at org.h2.message.DbException.getJdbcSQLException(DbException.java:316)
at org.h2.message.DbException.get(DbException.java:167)
....<MORE org.springframework errors>....
SEVERE: Exception sending context initialized event to listener instance of class org.pentaho.platform.web.http.context.SolutionContextListener
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.h2.tools.Server' defined in file [C:\Users\Username\Documents\Pentaho-Applications\BI-Server\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://169.254.31.197:9092)" (port may be in use), cause: "timeout" [90061-131]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1338)
....<MORE org.springframework errors>....
caused by: org.h2.jdbc.JdbcSQLException: Exception opening port "H2 TCP Server (tcp://169.254.31.197:9092)" (port may be in use), cause: "timeout" [90061-131]
at org.h2.message.DbException.getJdbcSQLException(DbException.java:316)
at org.h2.message.DbException.get(DbException.java:167)


The pentaho log file contains the following:

2013-12-11 11:09:26,384 ERROR [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 [C:\Users\Username\Documents\Pentaho-Applications\BI-Server\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://169.254.31.197:9092)" (port may be in use), cause: "timeout" [90061-131]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1338)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
at java.security.AccessController.doPrivileged(Native Method)
....<MORE org.springframework errors>....

Caused by: org.h2.jdbc.JdbcSQLException: Exception opening port "H2 TCP Server (tcp://169.254.31.197:9092)" (port may be in use), cause: "timeout" [90061-131]
at org.h2.message.DbException.getJdbcSQLException(DbException.java:316)
at org.h2.message.DbException.get(DbException.java:167)
at org.h2.tools.Server.start(Server.java:344)
....<MORE org.springframework errors>....
... 44 more
2013-12-11 11:09:26,546 ERROR [org.pentaho.platform.util.logging.Logger] Error end:

After some time of analysis, I think the error is either in the web.xml file or I am missing a .jar file or other plugin. I have a previous version of Pentaho on my machine as well and wondered if that may be an issue.

Please respond and let me know if you see the error.

Thanks, Andrew

(this is a followup to an earlier post I accidentally posted under a different account)

Viewing all articles
Browse latest Browse all 16689

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>