on 10-26-2004 3:41 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.