Skip to Content
0
Former Member
Oct 26, 2004 at 02:41 AM

BI SDK / JNDI name for XMLA datasource

16 Views

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