如何在 SAP NWDS 中设置 JNDI 上下文
我正在使用 NetWeaver Developer Studio。我尝试为 JNDI 创建上下文,但初始上下文设置不正确。我尝试使用 com.sap.engine.services.jndi.InitialReplicatingContextFactoryImpl ,但我不断收到此错误:
javax.naming.NoInitialContextException:无法实例化类
在这种情况下需要做什么?
I am using NetWeaver Developer Studio. I tried to create the context for JNDI but the initial context is not setting up properly. I tried using the com.sap.engine.services.jndi.InitialReplicatingContextFactoryImpl
but I keep getting this error:
javax.naming.NoInitialContextException: Cannot instantiate class
What needs to be done in this case?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我们在 netweaver 外部运行测试时使用这两个属性:
java.naming.factory.initial=com.sap.engine.services.jndi.InitialContextFactoryImpl java.naming.provider.url={our nw host}:50004
-tim
We use these two properties when running tests outside netweaver:
java.naming.factory.initial=com.sap.engine.services.jndi.InitialContextFactoryImpl java.naming.provider.url={our nw host}:50004
-tim