【问题标题】:pentaho CE server 4.8 on OS X 10.8, jdk 1.7, tomcat starts, pentaho doesn'tOS X 10.8 上的 pentaho CE 服务器 4.8,jdk 1.7,tomcat 启动,pentaho 没有
【发布时间】:2013-07-12 18:45:39
【问题描述】:

我已经下载了嵌入式 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 错误 [org.hibernate.util.JDBCExceptionReporter] java.net.ConnectException:连接被拒绝 2013-07-15 10:15:08,194 错误 [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:在文件 [/Users/tim/pentaho/biserver-ce-4.8.0-stable/biserver-ce/pentaho-solutions/ system/applicationContext-spring-security.xml]:使用键 [0] 设置 bean 属性“providers”时无法解析对 bean 'daoAuthenticationProvider' 的引用;嵌套异常是 org.springframework.beans.factory.BeanCreationException:在文件 [/Users/tim/pentaho/biserver-ce-4.8.0-stable/biserver-ce/pentaho-solutions/ 中定义名称为“daoAuthenticationProvider”的 bean 创建时出错system/applicationContext-spring-security-hibernate.xml]:在设置 bean 属性“userDetailsS​​ervice”时无法解析对 bean“userDetailsS​​ervice”的引用;嵌套异常是 org.springframework.beans.factory.BeanCreationException:在文件 [/Users/tim/pentaho/biserver-ce-4.8.0-stable/biserver-ce/pentaho-solutions/ 中定义名称为“userDetailsS​​ervice”的 bean 创建时出错system/applicationContext-spring-security-hibernate.xml]:在设置 bean 属性 'userRoleDao' 时无法解析对 bean 'userRoleDao' 的引用;嵌套异常是 org.springframework.beans.factory.BeanCreationException:在文件 [/Users/tim/pentaho/biserver-ce-4.8.0-stable/biserver-ce/pentaho-solutions/ 中定义的名称为“userRoleDao”的 bean 创建时出错system/applicationContext-spring-security-hibernate.xml]:在设置 bean 属性“sessionFactory”时无法解析对 bean“sessionFactory”的引用;嵌套异常是 org.springframework.beans.factory.BeanCreationException:在文件 [/Users/tim/pentaho/biserver-ce-4.8.0-stable/biserver-ce/pentaho-solutions/ 中定义名称为“sessionFactory”的 bean 创建时出错system/applicationContext-spring-security-hibernate.xml]:init 方法调用失败;嵌套异常是 java.lang.NoClassDefFoundError: org/apache/log4j/Level

【问题讨论】:

  • 它确实使用了一个嵌入式数据库(datasource=hibernate/quartz),所以至少应该有一个 hsql 驱动程序,但应该已经在 pentaho webapp 中了。但是,鉴于您收到拒绝连接消息,我会检查休眠配置。
  • 我认为你在做某事。
  • 我认为你在做某事。当我运行 biserver-ce/data/start_hypersonic.sh 时,我可以看到很多错误消息,与我在 Windows 安装上运行 start_hypersonic.bat 时的输出完全不同。第一个错误是无法从文件加载属性。然后我得到一个异常无效的模式名称:SYSTEM_SCHEMA。然后出现很多错误,以 [Server@4769baee] 结尾:[Thread[HSQLDB Server @4769baee,5,main]]:因为没有打开的数据库而关闭 [Server@4769baee]:正在启动关闭序列..pastebin.com/aUhvrr71

标签: tomcat osx-mountain-lion pentaho


【解决方案1】:

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

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

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

127.0.0.1 MacbookName

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

【讨论】:

    猜你喜欢
    • 2016-09-13
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2014-02-06
    • 2023-03-16
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多