Hitachi Vantara Pentaho Community Forums
Results 1 to 5 of 5

Thread: Reports won't show images

  1. #1

    Default Reports won't show images

    Hi,

    I am getting a strage problem in Pentaho RC3. On Windows its running absolutely fine but failing on Linux. I have attached the stack trace from server log.

    Any pointers on solving particular problem?

    Please help, this is really urgent. http://forums.pentaho.org/archived_att/files/trace.txt

  2. #2
    Join Date
    Jun 2005
    Posts
    115

    Default Re:Reports won't show images

    Hello,

    We were unable to reproduce this in our current codeline in Suse linux 10.1 using MySQL as the database. However we have made some recent changes to the MDX datasource. Those changes were incoporated last night. If you would like to try that version it might cure your problem.

    If it doesn't could you send a trace along with the following information

    db or filebased repository
    what database your using
    and any other configuration changes you've made.

    thanks,

    Bill

  3. #3

    Default Re:Reports won't show images

    Bill,

    As you said, I downloaded the latest snapshot from the ftp://community.pentaho.org. Still the problem is same.

    Here are the details you requested:

    db or filebased repository: File based Repository
    what database your using: MySQL 4.x
    and any other configuration changes you've made.: I haven't changed anything specific. I use RHEL 4 and JDK 1.4.x

    You can watch the error mesage online at:

    http://209.34.253.226:8080/pentaho/


    The server.log file is attached containing exception and other details.

    In case you need anything else, please let me know.

    Thanks,
    Sachin
    http://forums.pentaho.org/archived_a...14aaf06ea5.log

  4. #4

    Default Re:Reports won't show images

    I think I have found the root cause of the bug.

    When I am installing the demo on local machine, it is working absolutely fine, be it Fedora Core 4 or Windows XP. But as soon as I am installing it on my remote server (RHEL 4) it fails.

    The reason is, to access from remote machine, I use

    run.sh -b MY_IP_ADDRESS &

    Now the Jboss binds the HTTP connector to that IP address. But all servlets / pages and urls in the pentaho are having URLs of absolute form:

    http://localhost:8080/pentaho/getImage?....

    To check this please right click on the image and view properties.

    Now since I am accessing it from remote machine, this always fails and no image is displayed on my browsers!

    Can you please tell me how I can modify all occurances of localhost to my address or relative path like "/pentaho/getImage?..."?

    Any pointers will be appriciated!

    Regards,
    Sachin

  5. #5
    Join Date
    Nov 1999
    Posts
    579

    Default Re:Reports won't show images

    Have you set the base-url property in the web.xml? Our advanced installation guide covers this I believe.

    The base-url property in the web.xml is crucial to deploying in a server (i.e. non-demo) environment.

    If you open xxxx/jboss/server/default/deploy/pentaho.war/WEB-INF/web.xml, you'll find the following:

    Code:
    <context-param> 
      <param-name>base-url</param-name>
      <param-value>http://localhost:8080/pentaho/</param-value> </context-param>
    Note that after RC2, we've had to modify a couple of samples that had hard-coded localhost references. But by-and-large, the above is the source of your problems.

    The reason we need a base-url? Well, we generate content that shows up in e-mail deliveries. We need to know the base URL to use to generate that content.

    Take care,

    Marc

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.