Hitachi Vantara Pentaho Community Forums
Results 1 to 9 of 9

Thread: Installation Issues with BI suite over Linux

  1. #1

    Default Installation Issues with BI suite over Linux

    Hi,

    can any one help on this. I am trying to install the BI suite over linux and i am getting the following error.

    I think its realted to Jboss. Please help

    [root@bi01 pentaho-demo]# ./start-pentaho.sh
    =========================================================================

    JBoss Bootstrap Environment
    JBOSS_HOME: /PENTAHO_ROOT/pentaho-demo/jboss
    JAVA: java
    JAVA_OPTS: -Dprogram.name=run.sh -Xms128m -Xmx512m -XX:MaxPermSize=256m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.awt.headless=true -Djava.io.tmpdir=/tmp/ -Djava.net.preferIPv4Stack=true
    CLASSPATH: /PENTAHO_ROOT/pentaho-demo/jboss/bin/run.jar
    =========================================================================
    22:37:31,823 INFO [Server] Starting JBoss (MX MicroKernel)...
    22:37:31,827 INFO [Server] Release ID: JBoss [Trinity] 4.2.1.GA (build: SVNTag=JBoss_4_2_1_GA date=200707131605)
    22:37:31,830 INFO [Server] Home Dir: /PENTAHO_ROOT/pentaho-demo/jboss
    22:37:31,830 INFO [Server] Home URL: file:/PENTAHO_ROOT/pentaho-demo/jboss/
    22:37:31,832 INFO [Server] Patch URL: null
    22:37:31,833 INFO [Server] Server Name: default
    22:37:31,833 INFO [Server] Server Home Dir: /PENTAHO_ROOT/pentaho-demo/jboss/server/default
    22:37:31,833 INFO [Server] Server Home URL: file:/PENTAHO_ROOT/pentaho-demo/jboss/server/default/
    22:37:31,834 INFO [Server] Server Log Dir: /PENTAHO_ROOT/pentaho-demo/jboss/server/default/log
    22:37:31,835 INFO [Server] Server Temp Dir: /PENTAHO_ROOT/pentaho-demo/jboss/server/default/tmp
    22:37:31,836 INFO [Server] Root Deployment Filename: jboss-service.xml
    22:37:33,074 INFO [ServerInfo] Java version: 1.4.2,Free Software Foundation, Inc.
    22:37:33,075 INFO [ServerInfo] Java VM: GNU libgcj 4.1.1 20070105 (Red Hat 4.1.1-52),Free Software Foundation, Inc.
    22:37:33,075 INFO [ServerInfo] OS-System: Linux 2.6.18-8.1.15.el5,i386
    22:37:33,290 INFO [Server] Core system initialized
    22:37:37,524 ERROR [MainDeployer] Could not create deployment: file:/PENTAHO_ROOT/pentaho-demo/jboss/server/default/conf/jboss-service.xml
    org.jboss.deployment.DeploymentException: - nested throwable: (java.lang.reflect.UndeclaredThrowableException)
    at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:196)
    at org.jboss.system.ServiceController.install(ServiceController.java:226)
    at java.lang.reflect.Method.invoke(libgcj.so.7rh)
    at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
    at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
    at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
    at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
    at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
    at $Proxy4.install(Unknown Source)
    at org.jboss.deployment.SARDeployer.create(SARDeployer.java:249)
    at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969)
    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818)
    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
    at java.lang.reflect.Method.invoke(libgcj.so.7rh)
    at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
    at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
    at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
    at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
    at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
    at $Proxy5.deploy(Unknown Source)
    at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
    at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
    at org.jboss.Main.boot(Main.java:200)
    at org.jboss.Main$1.run(Main.java:508)
    at java.lang.Thread.run(libgcj.so.7rh)
    Caused by: java.lang.reflect.UndeclaredThrowableException
    at org.jboss.system.ServiceCreator.install(ServiceCreator.java:236)
    at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:449)
    at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:171)
    ...27 more
    Caused by: java.lang.NoClassDefFoundError: org.jboss.dom4j.DocumentFactory
    at java.lang.Class.initializeClass(libgcj.so.7rh)
    at org.jboss.dom4j.io.SAXReader.getDocumentFactory(SAXReader.java:645)
    at org.jboss.dom4j.io.SAXReader.createContentHandler(SAXReader.java:969)
    at org.jboss.dom4j.io.SAXReader.read(SAXReader.java:449)
    at org.jboss.dom4j.io.SAXReader.read(SAXReader.java:291)
    at org.jboss.mx.metadata.XMLMetaData.build(XMLMetaData.java:255)
    at org.jboss.mx.modelmbean.XMBean.<init>(XMBean.java:253)
    at org.jboss.mx.modelmbean.XMBean.<init>(XMBean.java:282)
    at java.lang.reflect.Constructor.newInstance(libgcj.so.7rh)
    at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:1233)
    at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:286)
    at org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:344)
    at org.jboss.system.ServiceCreator.install(ServiceCreator.java:212)
    ...29 more

    Failed to boot JBoss:
    org.jboss.deployment.DeploymentException: - nested throwable: (java.lang.reflect.UndeclaredThrowableException)
    at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:196)
    at org.jboss.system.ServiceController.install(ServiceController.java:226)
    at java.lang.reflect.Method.invoke(libgcj.so.7rh)
    at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
    at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
    at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
    at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
    at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
    at $Proxy4.install(Unknown Source)
    at org.jboss.deployment.SARDeployer.create(SARDeployer.java:249)
    at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969)
    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818)
    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
    at java.lang.reflect.Method.invoke(libgcj.so.7rh)
    at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
    at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
    at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
    at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
    at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
    at $Proxy5.deploy(Unknown Source)
    at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
    at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
    at org.jboss.Main.boot(Main.java:200)
    at org.jboss.Main$1.run(Main.java:508)
    at java.lang.Thread.run(libgcj.so.7rh)
    Caused by: java.lang.reflect.UndeclaredThrowableException
    at org.jboss.system.ServiceCreator.install(ServiceCreator.java:236)
    at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:449)
    at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:171)
    ...27 more
    Caused by: java.lang.NoClassDefFoundError: org.jboss.dom4j.DocumentFactory
    at java.lang.Class.initializeClass(libgcj.so.7rh)
    at org.jboss.dom4j.io.SAXReader.getDocumentFactory(SAXReader.java:645)
    at org.jboss.dom4j.io.SAXReader.createContentHandler(SAXReader.java:969)
    at org.jboss.dom4j.io.SAXReader.read(SAXReader.java:449)
    at org.jboss.dom4j.io.SAXReader.read(SAXReader.java:291)
    at org.jboss.mx.metadata.XMLMetaData.build(XMLMetaData.java:255)
    at org.jboss.mx.modelmbean.XMBean.<init>(XMBean.java:253)
    at org.jboss.mx.modelmbean.XMBean.<init>(XMBean.java:282)
    at java.lang.reflect.Constructor.newInstance(libgcj.so.7rh)
    at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:1233)
    at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:286)
    at org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:344)
    at org.jboss.system.ServiceCreator.install(ServiceCreator.java:212)
    ...29 more
    22:37:37,540 INFO [Server] Runtime shutdown hook called, forceHalt: true
    22:37:37,541 INFO [Server] JBoss SHUTDOWN: Undeploying all packages
    22:37:37,564 INFO [Server] Shutdown complete
    Shutdown complete
    Halting VM
    [root@bi01 pentaho-demo]#


    Ashwani Masand

  2. #2
    Join Date
    Oct 2006
    Posts
    817

    Default

    The first problem that needs solving is this one:

    Java version: 1.4.2
    The Pentaho Pre-Configured Install requires Java 1.5 or later.

  3. #3

    Default Installation issues with BI Suite over Linux

    Thanks. That got resolved. Now we have a different set of problem.

    I am attaching the server.log file for your reference. BI platform server got started up but showed lot of other errors and warnings while starting up.

    Ashwani Masand

  4. #4

    Default Installation Issues with BI suite over Linux

    Sorry forgot to attach the file.

    Ashwani Masand
    Attached Files Attached Files

  5. #5
    Join Date
    Oct 2006
    Posts
    817

    Default

    • Has the hibuser user been created?
    • Has that user been granted access to the hibernate database?
    • Is the database and application server on the same machine?

  6. #6

    Default Installation Issues with BI suite over Linu

    Has the hibuser user been created?
    yes
    Has that user been granted access to the hibernate database?
    yes
    Is the database and application server on the same machine?
    yes, its on the same machine.

    Plz find the updated server log.

    thanks for help

    Ashwani Masand
    Attached Files Attached Files

  7. #7
    Join Date
    Oct 2006
    Posts
    817

    Default

    Is there a file in /PENTAHO_ROOT/pentaho-demo/jboss/server/default/deploy called quartz-ds.xml? Does it look similar to this?

    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <datasources>
      <local-tx-datasource>
        <jndi-name>Quartz</jndi-name>
        <connection-url>jdbc:mysql://localhost:3306/quartz</connection-url>
        <driver-class>com.mysql.jdbc.Driver</driver-class>
        <user-name>pentaho_user</user-name>
        <password>password</password>
      </local-tx-datasource>
    </datasources>

  8. #8

    Default Installation Issues with BI suite over Linux

    yes it looks similar

    <?xml version="1.0" encoding="UTF-8"?>
    <datasources>
    <local-tx-datasource>
    <jndi-name>Quartz</jndi-name>
    <connection-url>jdbc:mysql://localhost:3306/quartz</connection-url>
    <driver-class>com.mysql.jdbc.Driver</driver-class>
    <user-name>pentaho_user</user-name>
    <password>password</password>
    </local-tx-datasource>
    </datasources>


    Ashwani

  9. #9
    Join Date
    Nov 2007
    Posts
    7

    Default

    The log is showing the following error:

    "org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (java.sql.SQLException: Access denied for user 'pentaho_user'@'localhost' (using password: YES)))"

    does the "pentaho_user" using password "password" have access to the Quartz database?

    try to log into MySQL using these credentials...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.