Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9324421
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 19, 20262026-06-19T04:35:38+00:00 2026-06-19T04:35:38+00:00

we have several clients(companies) each of them have separate database i.e companyA has databaseA,CompanyB

  • 0

we have several clients(companies) each of them have separate database i.e companyA has databaseA,CompanyB has databaseB …etc , so what i want to achieve is, in pentaho user console all of these companies use the same report but with a different datasoruce , for example
CompanyA,CompanyB..etc would have access to a solution-folder called “Reports” this folder has
a list of reports e.g weeklySales_report so i want weeklySales_report to use CompanyA’s database when the loged-in user is from companyA and use CompanyB’s database when the logged-in user is from companyB,

i tried this but i am getting this error

XmlBeanDefinitionStoreException: Line 67 in XML document from file [C:\pentaho2 
biserver-ce\pentaho-solutions\system\pentahoObjects.spring.xml] is invalid; nes 
ed exception is org.xml.sax.SAXParseException; lineNumber: 67; columnNumber: 50 
 The value of attribute "value" associated with an element type "property" must 
not contain the '<' character. 

it is complaining about <property name="datasourceNameFormat" value="<![CDATA[{0}-{1}]]>

any ideas on what cause this error, or is there any other way to do this
Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-19T04:35:39+00:00Added an answer on June 19, 2026 at 4:35 am

    I am not sure about your way, but there is simply possibility to have dynamic jndi. You can have jndi in variable in xaction and can use it in xaction for distinguishing target database.

    <inputs> 
    <JNDDDI type="string"> 
      <sources> 
        <request>JNDDDI</request> 
      </sources>  
      <default-value><![CDATA[jndi_database1]]></default-value> 
    </JNDDDI>
    

    ….

    <action-definition> 
    <component-name>SQLLookupRule</component-name>
    <action-type>hourly</action-type>
    <action-inputs> 
      <JNDDDI type="string"/>
    </action-inputs>
    <action-outputs> 
      <prepared_component type="sql-query"/> 
    </action-outputs>
    <component-definition> 
      <jndi>{JNDDDI}</jndi>  
      <query><![CDATA[select ...from ...]]></query>  
      <live><![CDATA[true]]></live> 
    </component-definition> 
    

    And same thing if you use JasperReport Component.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a database used by several clients. I don't really want surrogate incremental
Scenario: I have several services that I want to be discovered by different clients.
I have several Google Apps For Your Domain clients each with an SPF record
we have several internal p2 repositories. Each repository has many versions of different features.
I have a SQL Server database and several clients that use it (via a
I have developed a website that now has to be cloned for several clients.
I have several clients that want me to create an app and after it
I have a c# .net application that has been distibuted separately to several clients,
we are developing iOS apps for several clients. Not all of them have registered
Let's say we have several clients connected to App Engine using Channel API. Each

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.