Forums Register Login

Problem with JNDI lookup

+Pie Number of slices to send: Send
 

Hi,
I'm getting this problem while running my simple client.
javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial
Can any body came across this problem, if yes , please help me in this.

 
+Pie Number of slices to send: Send
Hi,
Before I can help you, can you please tell me couple of things
1). How are you initializing InitialContext class?
2). Are you using stand alone client?
3). Which application server you are using and have to prepared a vendor specific xml file also long with ejb-jar.xml.

-Lave
Why am I so drawn to cherry pie? I can't seem to stop. Save me tiny ad!
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 465 times.
Similar Threads
Execute a string
To call javabeans from JSP using Weblogic
why i can't get the whole string when rs.getString() called ?
calling a servlet from a jsp
problem with jsp for reset() method
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 11:34:57.