0

組み込み pentaho サーバーをダウンロードしました...これはデータベースなしで起動するはずです (Windows ではそうでした)。

したがって、私は tomcat に jdbc ライブラリをインストールしていません...これは致命的なエラーですか?

OS X 10.8.3 javac 1.7.0_25 に最新の JDK があり、JRE はこのバージョンです (つまり、/usr/bin/java は正しくシンボリック リンクされています)。

Tomcat のホームページ (localhost:8080) に「リソースが利用できません」と表示される

以前に tomcat を使用したことがなく、ログファイルがあまり役に立ちませんでした。

ペンタホのログには次のように書かれています。

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: Error creating bean with name 'authenticationManager' defined in file [/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: Error creating bean with name ' です ファイル [/Users/tim/pentaho/biserver-ce-4.8.0-stable/biserver-ce/pentaho-solutions/system/applicationContext-spring-security-hibernate.xml] で定義された daoAuthenticationProvider': Bean への参照を解決できません ' Bean プロパティ「userDetailsS​​ervice」の設定中の「userDetailsS​​ervice」。ネストされた例外は org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userDetailsS​​ervice' defined in file [/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: Error creating bean with name 'sessionFactory' defined in file [/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 です sessionFactory'; ネストされた例外は org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in file [/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 です sessionFactory'; ネストされた例外は org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in file [/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 です

4

1 に答える 1

0

Pentaho CE 5.1 を搭載した OSX Mavericks でこの問題が発生しました。

Mac の名前を具体的に /etc/hosts に追加する必要があることがわかりました。ターミナルで「ホスト名」を実行して、ホスト名を見つけました。

このエントリを /etc/hosts に追加しました。

127.0.0.1 マックブック名

Java プロセスが停止したことを確認した後、sh start-pentaho.sh を実行すると、「リソースが見つかりません」という 404 ページではなく、正常にロードされました。

于 2014-07-30T00:11:19.350 に答える