Hi All,
I have a single pentaho server that will serve reports for various applications. Applications are exactly the same, just their user data are different. Each application has its own JNDI.
I am wondering it the JNDI parameter of the SQLLookupRule can be parametrized ? I tried several syntaxes including hte following
but it ends up giving me
Is this possible ? If so what would be the correct syntax to declare jndi as a parameter ?
Thank you,
--
YGuenane
I have a single pentaho server that will serve reports for various applications. Applications are exactly the same, just their user data are different. Each application has its own JNDI.
I am wondering it the JNDI parameter of the SQLLookupRule can be parametrized ? I tried several syntaxes including hte following
Code:
<inputs>
<jndi type="string">
<default-value></default-value>
<sources>
<request>jndi</request>
</sources>
</jndi>
</inputs>
<actions>
<action-definition>
<component-name>SQLLookupRule</component-name>
<action-type>GetData</action-type>
<action-inputs/>
<action-outputs>
<query-result type="result-set" mapping="output_list"/>
</action-outputs>
<component-definition>
<jndi><![CDATA[{jndi}]]></jndi>
<live><![CDATA[true]]>true</live>
<query><![CDATA[SELECT field1, field2 FROM mytable ORDER BY 1]]></query>
</component-definition>
</action-definition>
Code:
org.pentaho.platform.api.data.DatasourceServiceException: javax.naming.NameNotFoundException: Name {dnj} is not bound
in this Context
Thank you,
--
YGuenane