<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Question Re: Initial Context Factory in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/initial-context-factory/qaa-p/900057#M317504</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;port no is generally 50004&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Apr 2005 11:12:07 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-04-11T11:12:07Z</dc:date>
    <item>
      <title>Initial Context Factory</title>
      <link>https://community.sap.com/t5/technology-q-a/initial-context-factory/qaq-p/900051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Initial Context Factory &lt;/P&gt;&lt;P&gt;Posted: Apr 11, 2005 6:49 AM        Reply      E-mail this post  &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to develop a EJB Project and trying to call the EAR depployed on the server using JNDI.&lt;/P&gt;&lt;P&gt;I am writing the code using Java Client&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can i have the name of Initial Context Factory for WAS 6.40.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Its Urgent&lt;/P&gt;&lt;P&gt; With Wishes&lt;/P&gt;&lt;P&gt;Krishna kanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Feb 2024 05:14:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/initial-context-factory/qaq-p/900051</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2024-02-04T05:14:51Z</dc:date>
    </item>
    <item>
      <title>Re: Initial Context Factory</title>
      <link>https://community.sap.com/t5/technology-q-a/initial-context-factory/qaa-p/900052#M317499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;com.sap.engine.services.jndi.InitialContextFactoryImpl&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Apr 2005 10:57:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/initial-context-factory/qaa-p/900052#M317499</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-04-11T10:57:04Z</dc:date>
    </item>
    <item>
      <title>Re: Initial Context Factory</title>
      <link>https://community.sap.com/t5/technology-q-a/initial-context-factory/qaa-p/900053#M317500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Noufal &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank u very much for ur quick response&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it is saying Class not Found Exception&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do i need to add any thing to my project&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With Wishes&lt;/P&gt;&lt;P&gt;Krishna Kanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Apr 2005 11:02:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/initial-context-factory/qaa-p/900053#M317500</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-04-11T11:02:08Z</dc:date>
    </item>
    <item>
      <title>Re: Initial Context Factory</title>
      <link>https://community.sap.com/t5/technology-q-a/initial-context-factory/qaa-p/900054#M317501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would need more information regarding your EJB. As you are accessing the EJB remotely, you need the remote interfaces in the client side.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Apr 2005 11:05:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/initial-context-factory/qaa-p/900054#M317501</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-04-11T11:05:30Z</dc:date>
    </item>
    <item>
      <title>Re: Initial Context Factory</title>
      <link>https://community.sap.com/t5/technology-q-a/initial-context-factory/qaa-p/900055#M317502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am writing the following Code&lt;/P&gt;&lt;P&gt;My EAR is already deployed on the J2ee&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is my client code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Properties prop = new Properties();&lt;/P&gt;&lt;P&gt;prop.put(Context.INITIAL_CONTEXT_FACTORY,"com.sap.engine.services.jndi.InitialContextFactoryImpl");&lt;/P&gt;&lt;P&gt;try{&lt;/P&gt;&lt;P&gt;Context ctx = new InitialContext(prop);&lt;/P&gt;&lt;P&gt;Object obj = ctx.lookup("MyStatelessprojectHome");&lt;/P&gt;&lt;P&gt;MyStatelessprojectHome home = (MyStatelessprojectHome)PortableRemoteObject.narrow(obj,com.satyam.first.MyStatelessprojectHome.class);&lt;/P&gt;&lt;P&gt;MyStatelessproject  test = home.create();&lt;/P&gt;&lt;P&gt;System.out.println(test.helloworld());&lt;/P&gt;&lt;P&gt;}catch(Exception e)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am getting the following Error&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;javax.naming.NoInitialContextException: Cannot instantiate class: com.sap.engine.services.jndi.InitialContextFactoryImpl [Root exception is java.lang.ClassNotFoundException: com.sap.engine.services.jndi.InitialContextFactoryImpl]&lt;/P&gt;&lt;P&gt;	at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:652)&lt;/P&gt;&lt;P&gt;	at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)&lt;/P&gt;&lt;P&gt;	at javax.naming.InitialContext.init(InitialContext.java:219)&lt;/P&gt;&lt;P&gt;	at javax.naming.InitialContext.&amp;lt;init&amp;gt;(InitialContext.java:195)&lt;/P&gt;&lt;P&gt;	at satyam.sap.ClientTest.main(ClientTest.java:32)&lt;/P&gt;&lt;P&gt;Caused by: java.lang.ClassNotFoundException: com.sap.engine.services.jndi.InitialContextFactoryImpl&lt;/P&gt;&lt;P&gt;	at java.net.URLClassLoader$1.run(URLClassLoader.java:199)&lt;/P&gt;&lt;P&gt;	at java.security.AccessController.doPrivileged(Native Method)&lt;/P&gt;&lt;P&gt;	at java.net.URLClassLoader.findClass(URLClassLoader.java:187)&lt;/P&gt;&lt;P&gt;	at java.lang.ClassLoader.loadClass(ClassLoader.java:289)&lt;/P&gt;&lt;P&gt;	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)&lt;/P&gt;&lt;P&gt;	at java.lang.ClassLoader.loadClass(ClassLoader.java:235)&lt;/P&gt;&lt;P&gt;	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)&lt;/P&gt;&lt;P&gt;	at java.lang.Class.forName0(Native Method)&lt;/P&gt;&lt;P&gt;	at java.lang.Class.forName(Class.java:219)&lt;/P&gt;&lt;P&gt;	at com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.java:42)&lt;/P&gt;&lt;P&gt;	at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:649)&lt;/P&gt;&lt;P&gt;	... 4 more&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Apr 2005 11:09:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/initial-context-factory/qaa-p/900055#M317502</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-04-11T11:09:03Z</dc:date>
    </item>
    <item>
      <title>Re: Initial Context Factory</title>
      <link>https://community.sap.com/t5/technology-q-a/initial-context-factory/qaa-p/900056#M317503</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;add the following code after the prop.put in your code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;prop.put(Context.PROVIDER_URL,"&amp;lt;servername&amp;gt;:&amp;lt;portno&amp;gt;");&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Apr 2005 11:11:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/initial-context-factory/qaa-p/900056#M317503</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-04-11T11:11:29Z</dc:date>
    </item>
    <item>
      <title>Re: Initial Context Factory</title>
      <link>https://community.sap.com/t5/technology-q-a/initial-context-factory/qaa-p/900057#M317504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;port no is generally 50004&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Apr 2005 11:12:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/initial-context-factory/qaa-p/900057#M317504</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-04-11T11:12:07Z</dc:date>
    </item>
    <item>
      <title>Re: Initial Context Factory</title>
      <link>https://community.sap.com/t5/technology-q-a/initial-context-factory/qaa-p/900058#M317505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have tried this &lt;/P&gt;&lt;P&gt;it dosent work&lt;/P&gt;&lt;P&gt;With Wishes&lt;/P&gt;&lt;P&gt;Krishna Kanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Apr 2005 11:17:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/initial-context-factory/qaa-p/900058#M317505</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-04-11T11:17:02Z</dc:date>
    </item>
    <item>
      <title>Re: Initial Context Factory</title>
      <link>https://community.sap.com/t5/technology-q-a/initial-context-factory/qaa-p/900059#M317506</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hashtable ht=new Hashtable();&lt;/P&gt;&lt;P&gt;		ht.put(Context.INITIAL_CONTEXT_FACTORY,"com.sap.engine.services.jndi.InitialContextFactoryImpl");&lt;/P&gt;&lt;P&gt;		ht.put(Context.PROVIDER_URL,"myserver:50004");&lt;/P&gt;&lt;P&gt;Context ctx=new InitialContext(ht);&lt;/P&gt;&lt;P&gt;TestEjbHome myHome = (TestEjbHome)ctx.lookup("SimpleEjb/testJndi");&lt;/P&gt;&lt;P&gt;	TestEjb local=myHome.create();&lt;/P&gt;&lt;P&gt;			int d=local.add(10,20);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is how i did and it works&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check if ctx is null or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TestEjb is the name of my ejb&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Apr 2005 11:26:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/initial-context-factory/qaa-p/900059#M317506</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-04-11T11:26:42Z</dc:date>
    </item>
    <item>
      <title>Re: Initial Context Factory</title>
      <link>https://community.sap.com/t5/technology-q-a/initial-context-factory/qaa-p/900060#M317507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check out this link also&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/people/helmut.tammen2/blog/2005/04/06/jndi-lookup-of-ejbs-that-reside-at-web-as&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Apr 2005 11:29:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/initial-context-factory/qaa-p/900060#M317507</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-04-11T11:29:55Z</dc:date>
    </item>
    <item>
      <title>Re: Initial Context Factory</title>
      <link>https://community.sap.com/t5/technology-q-a/initial-context-factory/qaa-p/900061#M317508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;\SAP\JDT\eclipse\plugins\com.sap.tc.ap\comp\SAP-JEE\DCs\sap.com\com.sap.engine.client.lib\_comp\gen\default\public\default\lib\java&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here you can find the sapj2eeclient.jar file ad to your build path&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Apr 2005 12:27:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/initial-context-factory/qaa-p/900061#M317508</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-04-11T12:27:18Z</dc:date>
    </item>
    <item>
      <title>Re: Initial Context Factory</title>
      <link>https://community.sap.com/t5/technology-q-a/initial-context-factory/qaa-p/900062#M317509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This might help:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For NW04 and NW04s:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sapj2eeclient.jar &lt;/P&gt;&lt;P&gt;exception.jar &lt;/P&gt;&lt;P&gt;logging.jar &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For SAP NetWeaver Application Server, Java EE 5 Edition:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sap.com&lt;SUB&gt;tc&lt;/SUB&gt;je&lt;SUB&gt;clientlib&lt;/SUB&gt;impl.jar &lt;/P&gt;&lt;P&gt;sap.com&lt;SUB&gt;tc&lt;/SUB&gt;exception~impl.jar &lt;/P&gt;&lt;P&gt;sap.com&lt;SUB&gt;tc&lt;/SUB&gt;logging&lt;SUB&gt;java&lt;/SUB&gt;impl.jar &lt;/P&gt;&lt;P&gt;You may find these jars from your NetWeaver installation at:&lt;/P&gt;&lt;P&gt;\usr\sap\&amp;lt;sid&amp;gt;\&amp;lt;instanceid&amp;gt;\j2ee\j2eeclient&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 31 Oct 2009 08:27:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/initial-context-factory/qaa-p/900062#M317509</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-31T08:27:07Z</dc:date>
    </item>
    <item>
      <title>Re: Initial Context Factory</title>
      <link>https://community.sap.com/t5/technology-q-a/initial-context-factory/qaa-p/900063#M317510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This might help:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For NW04 and NW04s:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sapj2eeclient.jar &lt;/P&gt;&lt;P&gt;exception.jar &lt;/P&gt;&lt;P&gt;logging.jar &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For SAP NetWeaver Application Server, Java EE 5 Edition:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sap.com&lt;SUB&gt;tc&lt;/SUB&gt;je&lt;SUB&gt;clientlib&lt;/SUB&gt;impl.jar &lt;/P&gt;&lt;P&gt;sap.com&lt;SUB&gt;tc&lt;/SUB&gt;exception~impl.jar &lt;/P&gt;&lt;P&gt;sap.com&lt;SUB&gt;tc&lt;/SUB&gt;logging&lt;SUB&gt;java&lt;/SUB&gt;impl.jar &lt;/P&gt;&lt;P&gt;You may find these jars from your NetWeaver installation at:&lt;/P&gt;&lt;P&gt;\usr\sap\&amp;lt;sid&amp;gt;\&amp;lt;instanceid&amp;gt;\j2ee\j2eeclient&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 31 Oct 2009 08:27:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/initial-context-factory/qaa-p/900063#M317510</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-31T08:27:11Z</dc:date>
    </item>
  </channel>
</rss>

