cancel
Showing results for 
Search instead for 
Did you mean: 

BI SDK / JNDI name for XMLA datasource

andrewsong
Explorer
0 Kudos

Hi,

I am trying to use the BI SDK inside a WebDynPro component which I've deployed on SAP J2EE 6.4 SP8 to access data from a BW 3.0B system using the XMLA connector. From the documentation the code used to lookup the connector is:

Context ctx = null;

IConnectionFactory connectionFactory = null;

ctx = new InitialContext();

connectionFactory = ((IConnectionFactory)ctx.lookup("java:comp/SDK_XMLA"));

However, SDK_XMLA doesn't appear to the be right name. I've checked the full path to the reference via the J2EE visual administrator and this appears to be located at "deployedAdapters/SDK_XMLA/nonGlobalTx/SDK_XMLA"

However, when I try to rerun the code with the name JNDI name; I get the following error when running the the ctx.lookup code.

java.lang.NoClassDefFoundError: com/sapportals/connector/connection/IConnectionFactory

at com.sap.tc.graphics.SimpleGraphicsView.wdDoInit(SimpleGraphicsView.java:152)

Anyone have any ideas?

Thanks

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi HWA Min Tan:

The path should be <b>deployedAdapters/SDK_XMLA/shareable/SDK_XMLA </b> that's where the configuration at Visual Administrator should be perform.

Check this <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e49be590-0201-0010-0c83-fc20e5da124f">document</a>

good luck.

RLS