Hi friends,
I have successfully deployed an example bean (Stateless session bean \weblogic\examples\ejb\basic\statelessSession)with the WebLogic Server 5.10. My client program gives the following errors and exceptions :
java.lang.NoSuchMethodError: java.lang.NoSuchMethod Exception: getNameinNamespace at
weblogic.jndi.toolkit.BasicWLContext_WLStub.ensureInitialized(BasicWLContext_WLStub.java):127)
There are only these three lines in my main() method-
Properties p = new Properties();
p.put(Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.TengahInitialContextFactory");
p.put(Context.PROVIDER_URL, "t3://gtsnywltest:7001");
new javax.naming.InitialContext(p);
Is it some configuration problem? I have Visual Cafe 4.0 on my client machine.
-Akhil.
-
Unable to get the InitialContext() (4 messages)
- Posted by: Akhilanand Singh
- Posted on: August 28 2000 15:23 EDT
Threaded Messages (4)
- Unable to get the InitialContext() by venkatesh hegee on August 28 2000 15:49 EDT
- Unable to get the InitialContext() by venkatesh hegee on August 28 2000 15:50 EDT
- Unable to get the InitialContext() by Nazilin Vaheed on August 29 2000 11:54 EDT
- Unable to get the InitialContext() by Akhilanand Singh on August 29 2000 17:29 EDT
-
Unable to get the InitialContext()[ Go to top ]
- Posted by: venkatesh hegee
- Posted on: August 28 2000 15:49 EDT
- in response to Akhilanand Singh
See Job Grunti's question and the response to that. I think that is what you are trying to do.( on Page 2). You may get the answer. -
Unable to get the InitialContext()[ Go to top ]
- Posted by: venkatesh hegee
- Posted on: August 28 2000 15:50 EDT
- in response to Akhilanand Singh
See Job Gunti's question and the response to that. I think that is what you are trying to do.( on Page 2). You may get the answer. -
Unable to get the InitialContext()[ Go to top ]
- Posted by: Nazilin Vaheed
- Posted on: August 29 2000 11:54 EDT
- in response to Akhilanand Singh
Add <weblogic-directory>/classes into Ur class path. -
Unable to get the InitialContext()[ Go to top ]
- Posted by: Akhilanand Singh
- Posted on: August 29 2000 17:29 EDT
- in response to Nazilin Vaheed
Dear Nazilin,
Thanks for your suggestion. But I am having <weblogic-directory>/classes into my class path. Problem still persists.
-Akhil.