tomcat - OS X 10.8 上的 pentaho CE 服务器 4.8,jdk 1.7,tomcat 启动,pentaho 没有

标签 tomcat osx-mountain-lion pentaho

我已经下载了嵌入式 pentaho 服务器...我认为这应该在没有任何数据库的情况下启动(它在 Windows 上这样做)。

因此,我没有在 tomcat 中安装任何 jdbc 库……这是 fatal error 吗?

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

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:创建名为“authenticationManager”的 bean 在文件 [/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:创建名称为“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

最佳答案

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

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

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

127.0.0.1 MacbookName

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

关于tomcat - OS X 10.8 上的 pentaho CE 服务器 4.8,jdk 1.7,tomcat 启动,pentaho 没有,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17645163/

相关文章:

java - web.xml中debug是什么意思

java - 在服务器内存中存储 java 对象

sequence - 水壶:用无冲突的顺序填充字段

java - 配置上下文查找以查找 Tomcat 8 上的 JNDI 资源环境

MySQL 错误 2006 MySQL 服务器在 Max OS X 10.8.3 上使用 Homebrew 软件升级到 5.6.10 后消失了

mac-app-store - Mac OS 山狮 : Is it possible to code sign applications for Gatekeeper without paying Apple for a developer membership?

node.js - 如何释放卡住的服务器端口?

mysql - Pentaho如何连接外部服务器的mysql生成报表

javascript - Pentaho 勺子 : JavaScript split is only putting one element in array

spring-mvc - 在 Apache tiles 3 中禁用多语言选项