操作系统X 10.8上的pentaho CE服务器4.8,jdk 1.7,tomcat启动,pentaho没有

时间:2013-07-15 00:27:35

标签: tomcat osx-mountain-lion pentaho

我已经下载了嵌入式pentaho服务器...这应该从没有任何数据库开始,我想(它在Windows上这样做)。

因此我没有在tomcat中安装任何jdbc库...这是致命错误吗?

我在OS X 10.8.3上有最新的JDK javac 1.7.0_25和JRE是这个版本的(即/ usr / bin / java正确符号链接)

tomcat主页(localhost:8080)说“资源不可用”

之前我没有使用过tomcat,我发现日志文件没有用。

pentaho日志说:

2013-07-15 10:15:08,088 ERROR [org.hibernate.util.JDBCExceptionReporter] java.net.ConnectException:连接被拒绝 2013-07-15 10:15:08,194 ERROR [org.springframework.web.context.ContextLoader]上下文初始化失败

catalina.out有一些特定的错误:

10:15:08,088 ERROR [JDBCExceptionReporter] java.net.ConnectException: Connection refused
10:15:08,194 ERROR [ContextLoader] Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'filterChainProxy' defined in file [/Users/tim/pentaho/biserver-ce-4.8.0-stable/biserver-ce/pentaho-solutions/system/applicationContext-spring-security.xml]: Invocation of init method failed; nested exception is org.springframework.beans.factory.BeanCreationException: 

在文件[/Users/tim/pentaho/biserver-ce-4.8.0-stable/biserver-ce/pentaho-solutions/system/applicationContext-spring-security.xml]中定义名称为'authenticationProcessingFilter'的bean时出错:设置bean属性'authenticationManager'时无法解析对bean'authenticationManager'的引用;嵌套异常是org.springframework.beans.factory.BeanCreationException:在文件中定义名称为'authenticationManager'的bean时出错[/Users/tim/pentaho/biserver-ce-4.8.0-stable/biserver-ce/pentaho-solutions/ system / applicationContext-spring-security.xml]:使用key [0]设置bean属性'providers'时,无法解析对bean'daoAuthenticationProvider'的引用;嵌套异常是org.springframework.beans.factory.BeanCreationException:创建文件中定义名为'daoAuthenticationProvider'的bean时出错[/Users/tim/pentaho/biserver-ce-4.8.0-stable/biserver-ce/pentaho-solutions/ system / applicationContext-spring-security-hibernate.xml]:设置bean属性'userDetailsS​​ervice'时无法解析bean'userDetailsS​​ervice'的引用;嵌套异常是org.springframework.beans.factory.BeanCreationException:创建文件中定义名为'userDetailsS​​ervice'的bean时出错[/Users/tim/pentaho/biserver-ce-4.8.0-stable/biserver-ce/pentaho-solutions/ system / applicationContext-spring-security-hibernate.xml]:设置bean属性'userRoleDao'时无法解析bean'userRoleDao'的引用;嵌套异常是org.springframework.beans.factory.BeanCreationException:创建文件中定义名为'userRoleDao'的bean时出错[/Users/tim/pentaho/biserver-ce-4.8.0-stable/biserver-ce/pentaho-solutions/ system / applicationContext-spring-security-hibernate.xml]:设置bean属性'sessionFactory'时无法解析对bean'sessionFactory'的引用;嵌套异常是org.springframework.beans.factory.BeanCreationException:创建文件中定义名为'sessionFactory'的bean时出错[/Users/tim/pentaho/biserver-ce-4.8.0-stable/biserver-ce/pentaho-solutions/ system / applicationContext-spring-security-hibernate.xml]:调用init方法失败;嵌套异常是java.lang.NoClassDefFoundError:org / apache / log4j / Level

1 个答案:

答案 0 :(得分:0)

我在使用Pentaho CE 5.1的OSX Mavericks上遇到了这个问题。

原来我需要专门将我的Mac名称添加到/ etc / hosts。我通过在终端中运行'hostname'找到了我的主机名。

我在/ etc / hosts中添加了这个条目。

127.0.0.1 MacbookName

确保java进程停止后,运行sh start-pentaho.sh工作,加载成功,而不是404'页面'找不到资源'。