I've been diligently trying to get the 5.0.1 server up and running but have been receiving errors. I have tried several troubleshooting steps but still receive the same error. If I could get some guidance on steps for troubleshooting this error, I would appreciate it.
Problem:
I downloaded and unzipped all the latest versions of stable files from Pentaho Business Analytics through sourceforge.net for the following
The next step I take after unzipping and placing each folder into a parent folder called 'Pentaho' that's placed in my Program Files directory, is to click on the start-pentaho.bat file. This brings up a two different DOS windows and kicks off the Tomcat process.
After it looks like the process is running in my Terminal window, I open a browser and type in localhost:8080.
This hangs and eventually the Terminal Services window with Tomcat running spits out a number of lines showing the process failed.
The browser shows the following error:
HTTP Status 404
type: Status report
message:
Description: The requested resource is not available
Apache Tomcat/6.0.36
I open my log files in the C:\Program Files\Pentaho\biserver-ce\tomcat\logs and the following is output:
pentaho.txt
2014-03-14 10:26:43,946 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:\Program Files\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://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)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)
at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4206)
...
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)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
...
Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.pentaho.platform.plugin.services.cache.CacheManager]: Constructor threw exception; nested exception is java.lang.NullPointerException
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:115)
...
Caused by: java.lang.NullPointerException
at org.pentaho.platform.engine.core.system.SystemSettings.getAbsolutePath(SystemSettings.java:182)
localhost.2014-03-14
Mar 14, 2014 10:22:24 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring root WebApplicationContext
Mar 14, 2014 10:26:43 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:\Program Files\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://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)
...
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)
...
Mar 14, 2014 10:26:44 AM org.apache.catalina.core.StandardContext listenerStart
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:\Program Files\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://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)
...
Mar 14, 2014 10:26:44 AM org.apache.catalina.core.StandardContext listenerStop
SEVERE: Exception sending context destroyed event to listener instance of class org.pentaho.platform.web.http.context.PentahoCacheContextListener
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ICacheManager' defined in file [C:\Program Files\Pentaho\biserver-ce\pentaho-solutions\system\pentahoObjects.spring.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.pentaho.platform.plugin.services.cache.CacheManager]: Constructor threw exception; nested exception is java.lang.NullPointerException
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:883)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:839)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
at java.security.AccessController.doPrivileged(Native Method)
catalina.2014-03-14
SEVERE: Error listenerStart
Mar 14, 2014 10:26:44 AM org.apache.catalina.core.StandardContext start
SEVERE: Context [/pentaho] startup failed due to previous errors
Mar 14, 2014 10:26:44 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.
Mar 14, 2014 10:26:44 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/pentaho] appears to have started a thread named [HSQLDB Timer @57ae58] but has failed to stop it. This is very likely to create a memory leak.
Mar 14, 2014 10:26:44 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/pentaho] appears to have started a thread named [H2 TCP Server (tcp://169.254.31.197:9092)] but has failed to stop it. This is very likely to create a memory leak.
Mar 14, 2014 10:26:44 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/pentaho] appears to have started a thread named [DefaultQuartzScheduler_Worker-1] but has failed to stop it. This is very likely to create a memory leak.
(I shortened these log files)
The obvious major error is the H2 TCP Server (tcp://169.254.31.197:9092) but there's noting on the 9092 port. I run a netstat -an and there's nothing ESTABLISHED or RUNNING on 8080 or 9092.
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\>netstat -an
Active Connections
Proto Local Address Foreign Address State
TCP 0.0.0.0:80 0.0.0.0:0 LISTENING
TCP 0.0.0.0:135 0.0.0.0:0 LISTENING
TCP 0.0.0.0:445 0.0.0.0:0 LISTENING
TCP 0.0.0.0:554 0.0.0.0:0 LISTENING
TCP 0.0.0.0:902 0.0.0.0:0 LISTENING
TCP 0.0.0.0:912 0.0.0.0:0 LISTENING
TCP 0.0.0.0:2869 0.0.0.0:0 LISTENING
TCP 0.0.0.0:2968 0.0.0.0:0 LISTENING
TCP 0.0.0.0:3306 0.0.0.0:0 LISTENING
TCP 0.0.0.0:5357 0.0.0.0:0 LISTENING
TCP 0.0.0.0:6515 0.0.0.0:0 LISTENING
TCP 0.0.0.0:6783 0.0.0.0:0 LISTENING
TCP 0.0.0.0:10243 0.0.0.0:0 LISTENING
TCP 0.0.0.0:19995 0.0.0.0:0 LISTENING
TCP 0.0.0.0:19996 0.0.0.0:0 LISTENING
TCP 0.0.0.0:30172 0.0.0.0:0 LISTENING
TCP 0.0.0.0:49152 0.0.0.0:0 LISTENING
TCP 0.0.0.0:49153 0.0.0.0:0 LISTENING
TCP 0.0.0.0:49154 0.0.0.0:0 LISTENING
TCP 0.0.0.0:49161 0.0.0.0:0 LISTENING
TCP 0.0.0.0:49163 0.0.0.0:0 LISTENING
TCP 0.0.0.0:49229 0.0.0.0:0 LISTENING
TCP 0.0.0.0:49230 0.0.0.0:0 LISTENING
TCP 127.0.0.1:5354 0.0.0.0:0 LISTENING
TCP 127.0.0.1:5354 127.0.0.1:49155 ESTABLISHED
TCP 127.0.0.1:5550 0.0.0.0:0 LISTENING
TCP 127.0.0.1:27015 0.0.0.0:0 LISTENING
TCP 127.0.0.1:49155 127.0.0.1:5354 ESTABLISHED
TCP 127.0.0.1:49998 127.0.0.1:49999 ESTABLISHED
TCP 127.0.0.1:49999 127.0.0.1:49998 ESTABLISHED
TCP 169.254.31.197:139 0.0.0.0:0 LISTENING
TCP 192.168.1.71:139 0.0.0.0:0 LISTENING
TCP 192.168.1.71:49178 192.168.1.78:445 ESTABLISHED
TCP 192.168.1.71:49186 74.125.142.125:443 ESTABLISHED
TCP 192.168.1.71:49219 74.125.142.125:5222 ESTABLISHED
TCP 192.168.1.71:49237 207.46.5.158:443 ESTABLISHED
TCP 192.168.1.71:49805 74.125.142.125:5222 ESTABLISHED
TCP 192.168.1.71:49810 157.56.237.70:443 ESTABLISHED
TCP 192.168.1.71:49811 54.219.20.84:443 ESTABLISHED
TCP 192.168.1.71:51926 204.152.18.206:443 TIME_WAIT
TCP 192.168.1.71:51957 204.152.18.206:443 TIME_WAIT
TCP 192.168.1.71:51968 204.152.18.196:443 TIME_WAIT
TCP 192.168.1.71:51985 204.152.18.196:443 TIME_WAIT
TCP 192.168.1.71:51986 204.152.18.206:443 ESTABLISHED
TCP 192.168.1.71:52000 204.152.18.196:443 TIME_WAIT
TCP 192.168.1.71:52010 204.152.18.196:443 ESTABLISHED
TCP 192.168.1.71:52026 204.152.18.196:443 ESTABLISHED
TCP 192.168.58.1:139 0.0.0.0:0 LISTENING
TCP 192.168.117.1:139 0.0.0.0:0 LISTENING
TCP [::]:80 [::]:0 LISTENING
TCP [::]:135 [::]:0 LISTENING
TCP [::]:445 [::]:0 LISTENING
TCP [::]:554 [::]:0 LISTENING
TCP [::]:2869 [::]:0 LISTENING
TCP [::]:3306 [::]:0 LISTENING
TCP [::]:5357 [::]:0 LISTENING
TCP [::]:10243 [::]:0 LISTENING
TCP [::]:30172 [::]:0 LISTENING
TCP [::]:49152 [::]:0 LISTENING
TCP [::]:49153 [::]:0 LISTENING
TCP [::]:49154 [::]:0 LISTENING
TCP [::]:49161 [::]:0 LISTENING
TCP [::]:49163 [::]:0 LISTENING
TCP [::]:49229 [::]:0 LISTENING
TCP [::]:49230 [::]:0 LISTENING
TCP [fe80::cd44:44c6:22b7:f181%12]:52028 [fe80::cd44:44c6:22b7:f181%12]:80
SYN_SENT
TCP [fe80::cd44:44c6:22b7:f181%12]:52029 [fe80::cd44:44c6:22b7:f181%12]:80
SYN_SENT
UDP 0.0.0.0:500 *:*
UDP 0.0.0.0:2968 *:*
UDP 0.0.0.0:3702 *:*
UDP 0.0.0.0:3702 *:*
UDP 0.0.0.0:3702 *:*
UDP 0.0.0.0:3702 *:*
UDP 0.0.0.0:4500 *:*
UDP 0.0.0.0:5004 *:*
UDP 0.0.0.0:5005 *:*
UDP 0.0.0.0:5355 *:*
UDP 0.0.0.0:6514 *:*
UDP 0.0.0.0:6515 *:*
UDP 0.0.0.0:6516 *:*
UDP 0.0.0.0:6783 *:*
UDP 0.0.0.0:30172 *:*
UDP 0.0.0.0:50299 *:*
UDP 0.0.0.0:51270 *:*
UDP 0.0.0.0:51272 *:*
UDP 0.0.0.0:52775 *:*
UDP 0.0.0.0:61250 *:*
UDP 0.0.0.0:61704 *:*
UDP 0.0.0.0:61706 *:*
UDP 0.0.0.0:65137 *:*
UDP 0.0.0.0:65139 *:*
UDP 127.0.0.1:1900 *:*
UDP 127.0.0.1:51269 *:*
UDP 127.0.0.1:51271 *:*
UDP 127.0.0.1:61248 *:*
UDP 127.0.0.1:61249 *:*
UDP 127.0.0.1:62841 *:*
UDP 127.0.0.1:65136 *:*
UDP 127.0.0.1:65138 *:*
UDP 169.254.31.197:137 *:*
UDP 169.254.31.197:138 *:*
UDP 169.254.31.197:1900 *:*
UDP 169.254.31.197:5353 *:*
UDP 169.254.31.197:62840 *:*
UDP 169.254.31.197:64393 *:*
UDP 192.168.1.71:137 *:*
UDP 192.168.1.71:138 *:*
UDP 192.168.1.71:1900 *:*
UDP 192.168.1.71:5353 *:*
UDP 192.168.1.71:62837 *:*
UDP 192.168.1.71:64394 *:*
UDP 192.168.58.1:137 *:*
UDP 192.168.58.1:138 *:*
UDP 192.168.58.1:1900 *:*
UDP 192.168.58.1:5353 *:*
UDP 192.168.58.1:62838 *:*
UDP 192.168.58.1:64396 *:*
UDP 192.168.117.1:137 *:*
UDP 192.168.117.1:138 *:*
UDP 192.168.117.1:1900 *:*
UDP 192.168.117.1:5353 *:*
UDP 192.168.117.1:62839 *:*
UDP 192.168.117.1:64395 *:*
UDP [::]:500 *:*
UDP [::]:3702 *:*
UDP [::]:3702 *:*
UDP [::]:3702 *:*
UDP [::]:3702 *:*
UDP [::]:4500 *:*
UDP [::]:5004 *:*
UDP [::]:5005 *:*
UDP [::]:5355 *:*
UDP [::]:30172 *:*
UDP [::]:49152 *:*
UDP [::]:60882 *:*
UDP [::]:61251 *:*
UDP [::]:61705 *:*
UDP [::]:61707 *:*
UDP [::1]:1900 *:*
UDP [::1]:62836 *:*
UDP [fe80::cc4:5a10:8a52:1fc5%23]:546 *:*
UDP [fe80::cc4:5a10:8a52:1fc5%23]:1900 *:*
UDP [fe80::cc4:5a10:8a52:1fc5%23]:5353 *:*
UDP [fe80::cc4:5a10:8a52:1fc5%23]:62835 *:*
UDP [fe80::45d0:fff7:8c6c:e9d3%11]:546 *:*
UDP [fe80::45d0:fff7:8c6c:e9d3%11]:1900 *:*
UDP [fe80::45d0:fff7:8c6c:e9d3%11]:62832 *:*
UDP [fe80::a988:c9f4:2fa8:e374%13]:546 *:*
UDP [fe80::a988:c9f4:2fa8:e374%13]:1900 *:*
UDP [fe80::a988:c9f4:2fa8:e374%13]:62834 *:*
UDP [fe80::cd44:44c6:22b7:f181%12]:546 *:*
UDP [fe80::cd44:44c6:22b7:f181%12]:1900 *:*
UDP [fe80::cd44:44c6:22b7:f181%12]:62833 *:*
There's an h2-1.2.131.jar file and I don't have any other h2 services installed. I downloaded the h2-1.3.168.jar but haven't placed in the tomcat\lib directory yet. I deleted all lock files in the pentaho-solutions\system\jackrabbit directory (assuming lock files all have "lock" in the name. There are a few db2.lock files created). I also noticed my network printer is using port 139 through tcp tcp://169.254.31.197 and disabled those rules on my firewall, but that didn't work.
Some guidance here would be appreciated on how to troubleshoot this issue.
Thank you in advance.
Problem:
I downloaded and unzipped all the latest versions of stable files from Pentaho Business Analytics through sourceforge.net for the following
- biserver-ce - biserver-ce-5.0.1-stable.zip
- data-integration - pdi-ce-5.0.1.A-stable.zip
- design-studio - pds-ce-win-32-4.0.0-stable.zip
- metadata-editor - pme-ce-5.0.1-stable.zip
- PentahoReportingEngineSDK - pre-classic-sdk-5.0.1-stable.zip
- report-designer - prd-ce-5.0.1-stable.zip
The next step I take after unzipping and placing each folder into a parent folder called 'Pentaho' that's placed in my Program Files directory, is to click on the start-pentaho.bat file. This brings up a two different DOS windows and kicks off the Tomcat process.
After it looks like the process is running in my Terminal window, I open a browser and type in localhost:8080.
This hangs and eventually the Terminal Services window with Tomcat running spits out a number of lines showing the process failed.
The browser shows the following error:
HTTP Status 404
type: Status report
message:
Description: The requested resource is not available
Apache Tomcat/6.0.36
I open my log files in the C:\Program Files\Pentaho\biserver-ce\tomcat\logs and the following is output:
pentaho.txt
2014-03-14 10:26:43,946 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:\Program Files\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://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)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)
at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4206)
...
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)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
...
Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.pentaho.platform.plugin.services.cache.CacheManager]: Constructor threw exception; nested exception is java.lang.NullPointerException
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:115)
...
Caused by: java.lang.NullPointerException
at org.pentaho.platform.engine.core.system.SystemSettings.getAbsolutePath(SystemSettings.java:182)
localhost.2014-03-14
Mar 14, 2014 10:22:24 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring root WebApplicationContext
Mar 14, 2014 10:26:43 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:\Program Files\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://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)
...
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)
...
Mar 14, 2014 10:26:44 AM org.apache.catalina.core.StandardContext listenerStart
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:\Program Files\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://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)
...
Mar 14, 2014 10:26:44 AM org.apache.catalina.core.StandardContext listenerStop
SEVERE: Exception sending context destroyed event to listener instance of class org.pentaho.platform.web.http.context.PentahoCacheContextListener
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ICacheManager' defined in file [C:\Program Files\Pentaho\biserver-ce\pentaho-solutions\system\pentahoObjects.spring.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.pentaho.platform.plugin.services.cache.CacheManager]: Constructor threw exception; nested exception is java.lang.NullPointerException
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:883)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:839)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
at java.security.AccessController.doPrivileged(Native Method)
catalina.2014-03-14
SEVERE: Error listenerStart
Mar 14, 2014 10:26:44 AM org.apache.catalina.core.StandardContext start
SEVERE: Context [/pentaho] startup failed due to previous errors
Mar 14, 2014 10:26:44 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.
Mar 14, 2014 10:26:44 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/pentaho] appears to have started a thread named [HSQLDB Timer @57ae58] but has failed to stop it. This is very likely to create a memory leak.
Mar 14, 2014 10:26:44 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/pentaho] appears to have started a thread named [H2 TCP Server (tcp://169.254.31.197:9092)] but has failed to stop it. This is very likely to create a memory leak.
Mar 14, 2014 10:26:44 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/pentaho] appears to have started a thread named [DefaultQuartzScheduler_Worker-1] but has failed to stop it. This is very likely to create a memory leak.
(I shortened these log files)
The obvious major error is the H2 TCP Server (tcp://169.254.31.197:9092) but there's noting on the 9092 port. I run a netstat -an and there's nothing ESTABLISHED or RUNNING on 8080 or 9092.
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\>netstat -an
Active Connections
Proto Local Address Foreign Address State
TCP 0.0.0.0:80 0.0.0.0:0 LISTENING
TCP 0.0.0.0:135 0.0.0.0:0 LISTENING
TCP 0.0.0.0:445 0.0.0.0:0 LISTENING
TCP 0.0.0.0:554 0.0.0.0:0 LISTENING
TCP 0.0.0.0:902 0.0.0.0:0 LISTENING
TCP 0.0.0.0:912 0.0.0.0:0 LISTENING
TCP 0.0.0.0:2869 0.0.0.0:0 LISTENING
TCP 0.0.0.0:2968 0.0.0.0:0 LISTENING
TCP 0.0.0.0:3306 0.0.0.0:0 LISTENING
TCP 0.0.0.0:5357 0.0.0.0:0 LISTENING
TCP 0.0.0.0:6515 0.0.0.0:0 LISTENING
TCP 0.0.0.0:6783 0.0.0.0:0 LISTENING
TCP 0.0.0.0:10243 0.0.0.0:0 LISTENING
TCP 0.0.0.0:19995 0.0.0.0:0 LISTENING
TCP 0.0.0.0:19996 0.0.0.0:0 LISTENING
TCP 0.0.0.0:30172 0.0.0.0:0 LISTENING
TCP 0.0.0.0:49152 0.0.0.0:0 LISTENING
TCP 0.0.0.0:49153 0.0.0.0:0 LISTENING
TCP 0.0.0.0:49154 0.0.0.0:0 LISTENING
TCP 0.0.0.0:49161 0.0.0.0:0 LISTENING
TCP 0.0.0.0:49163 0.0.0.0:0 LISTENING
TCP 0.0.0.0:49229 0.0.0.0:0 LISTENING
TCP 0.0.0.0:49230 0.0.0.0:0 LISTENING
TCP 127.0.0.1:5354 0.0.0.0:0 LISTENING
TCP 127.0.0.1:5354 127.0.0.1:49155 ESTABLISHED
TCP 127.0.0.1:5550 0.0.0.0:0 LISTENING
TCP 127.0.0.1:27015 0.0.0.0:0 LISTENING
TCP 127.0.0.1:49155 127.0.0.1:5354 ESTABLISHED
TCP 127.0.0.1:49998 127.0.0.1:49999 ESTABLISHED
TCP 127.0.0.1:49999 127.0.0.1:49998 ESTABLISHED
TCP 169.254.31.197:139 0.0.0.0:0 LISTENING
TCP 192.168.1.71:139 0.0.0.0:0 LISTENING
TCP 192.168.1.71:49178 192.168.1.78:445 ESTABLISHED
TCP 192.168.1.71:49186 74.125.142.125:443 ESTABLISHED
TCP 192.168.1.71:49219 74.125.142.125:5222 ESTABLISHED
TCP 192.168.1.71:49237 207.46.5.158:443 ESTABLISHED
TCP 192.168.1.71:49805 74.125.142.125:5222 ESTABLISHED
TCP 192.168.1.71:49810 157.56.237.70:443 ESTABLISHED
TCP 192.168.1.71:49811 54.219.20.84:443 ESTABLISHED
TCP 192.168.1.71:51926 204.152.18.206:443 TIME_WAIT
TCP 192.168.1.71:51957 204.152.18.206:443 TIME_WAIT
TCP 192.168.1.71:51968 204.152.18.196:443 TIME_WAIT
TCP 192.168.1.71:51985 204.152.18.196:443 TIME_WAIT
TCP 192.168.1.71:51986 204.152.18.206:443 ESTABLISHED
TCP 192.168.1.71:52000 204.152.18.196:443 TIME_WAIT
TCP 192.168.1.71:52010 204.152.18.196:443 ESTABLISHED
TCP 192.168.1.71:52026 204.152.18.196:443 ESTABLISHED
TCP 192.168.58.1:139 0.0.0.0:0 LISTENING
TCP 192.168.117.1:139 0.0.0.0:0 LISTENING
TCP [::]:80 [::]:0 LISTENING
TCP [::]:135 [::]:0 LISTENING
TCP [::]:445 [::]:0 LISTENING
TCP [::]:554 [::]:0 LISTENING
TCP [::]:2869 [::]:0 LISTENING
TCP [::]:3306 [::]:0 LISTENING
TCP [::]:5357 [::]:0 LISTENING
TCP [::]:10243 [::]:0 LISTENING
TCP [::]:30172 [::]:0 LISTENING
TCP [::]:49152 [::]:0 LISTENING
TCP [::]:49153 [::]:0 LISTENING
TCP [::]:49154 [::]:0 LISTENING
TCP [::]:49161 [::]:0 LISTENING
TCP [::]:49163 [::]:0 LISTENING
TCP [::]:49229 [::]:0 LISTENING
TCP [::]:49230 [::]:0 LISTENING
TCP [fe80::cd44:44c6:22b7:f181%12]:52028 [fe80::cd44:44c6:22b7:f181%12]:80
SYN_SENT
TCP [fe80::cd44:44c6:22b7:f181%12]:52029 [fe80::cd44:44c6:22b7:f181%12]:80
SYN_SENT
UDP 0.0.0.0:500 *:*
UDP 0.0.0.0:2968 *:*
UDP 0.0.0.0:3702 *:*
UDP 0.0.0.0:3702 *:*
UDP 0.0.0.0:3702 *:*
UDP 0.0.0.0:3702 *:*
UDP 0.0.0.0:4500 *:*
UDP 0.0.0.0:5004 *:*
UDP 0.0.0.0:5005 *:*
UDP 0.0.0.0:5355 *:*
UDP 0.0.0.0:6514 *:*
UDP 0.0.0.0:6515 *:*
UDP 0.0.0.0:6516 *:*
UDP 0.0.0.0:6783 *:*
UDP 0.0.0.0:30172 *:*
UDP 0.0.0.0:50299 *:*
UDP 0.0.0.0:51270 *:*
UDP 0.0.0.0:51272 *:*
UDP 0.0.0.0:52775 *:*
UDP 0.0.0.0:61250 *:*
UDP 0.0.0.0:61704 *:*
UDP 0.0.0.0:61706 *:*
UDP 0.0.0.0:65137 *:*
UDP 0.0.0.0:65139 *:*
UDP 127.0.0.1:1900 *:*
UDP 127.0.0.1:51269 *:*
UDP 127.0.0.1:51271 *:*
UDP 127.0.0.1:61248 *:*
UDP 127.0.0.1:61249 *:*
UDP 127.0.0.1:62841 *:*
UDP 127.0.0.1:65136 *:*
UDP 127.0.0.1:65138 *:*
UDP 169.254.31.197:137 *:*
UDP 169.254.31.197:138 *:*
UDP 169.254.31.197:1900 *:*
UDP 169.254.31.197:5353 *:*
UDP 169.254.31.197:62840 *:*
UDP 169.254.31.197:64393 *:*
UDP 192.168.1.71:137 *:*
UDP 192.168.1.71:138 *:*
UDP 192.168.1.71:1900 *:*
UDP 192.168.1.71:5353 *:*
UDP 192.168.1.71:62837 *:*
UDP 192.168.1.71:64394 *:*
UDP 192.168.58.1:137 *:*
UDP 192.168.58.1:138 *:*
UDP 192.168.58.1:1900 *:*
UDP 192.168.58.1:5353 *:*
UDP 192.168.58.1:62838 *:*
UDP 192.168.58.1:64396 *:*
UDP 192.168.117.1:137 *:*
UDP 192.168.117.1:138 *:*
UDP 192.168.117.1:1900 *:*
UDP 192.168.117.1:5353 *:*
UDP 192.168.117.1:62839 *:*
UDP 192.168.117.1:64395 *:*
UDP [::]:500 *:*
UDP [::]:3702 *:*
UDP [::]:3702 *:*
UDP [::]:3702 *:*
UDP [::]:3702 *:*
UDP [::]:4500 *:*
UDP [::]:5004 *:*
UDP [::]:5005 *:*
UDP [::]:5355 *:*
UDP [::]:30172 *:*
UDP [::]:49152 *:*
UDP [::]:60882 *:*
UDP [::]:61251 *:*
UDP [::]:61705 *:*
UDP [::]:61707 *:*
UDP [::1]:1900 *:*
UDP [::1]:62836 *:*
UDP [fe80::cc4:5a10:8a52:1fc5%23]:546 *:*
UDP [fe80::cc4:5a10:8a52:1fc5%23]:1900 *:*
UDP [fe80::cc4:5a10:8a52:1fc5%23]:5353 *:*
UDP [fe80::cc4:5a10:8a52:1fc5%23]:62835 *:*
UDP [fe80::45d0:fff7:8c6c:e9d3%11]:546 *:*
UDP [fe80::45d0:fff7:8c6c:e9d3%11]:1900 *:*
UDP [fe80::45d0:fff7:8c6c:e9d3%11]:62832 *:*
UDP [fe80::a988:c9f4:2fa8:e374%13]:546 *:*
UDP [fe80::a988:c9f4:2fa8:e374%13]:1900 *:*
UDP [fe80::a988:c9f4:2fa8:e374%13]:62834 *:*
UDP [fe80::cd44:44c6:22b7:f181%12]:546 *:*
UDP [fe80::cd44:44c6:22b7:f181%12]:1900 *:*
UDP [fe80::cd44:44c6:22b7:f181%12]:62833 *:*
There's an h2-1.2.131.jar file and I don't have any other h2 services installed. I downloaded the h2-1.3.168.jar but haven't placed in the tomcat\lib directory yet. I deleted all lock files in the pentaho-solutions\system\jackrabbit directory (assuming lock files all have "lock" in the name. There are a few db2.lock files created). I also noticed my network printer is using port 139 through tcp tcp://169.254.31.197 and disabled those rules on my firewall, but that didn't work.
Some guidance here would be appreciated on how to troubleshoot this issue.
Thank you in advance.