File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes BEA/Weblogic and the fly likes JNDI name not found Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Reply locked New topic

JNDI name not found

Samuel Pio

Joined: Jun 30, 2010
Posts: 2
Iam running the client program using the IBM jre and using all the websphere client jars set in classpath. This program conatins intial context factory as "" and provider url as "iiop://hostname:portnumber" it contacts the EJB bean method which is hosted on the weblogic server on the "hostname" machine. When it tries to contact i get the errror as

"javax.naming.NameNotFoundException: Context: , name: java.iecc.env.ejb.elf.client_new(My JNDI name): First component in name java.iecc.env.ejb.elf.client_new not found. [Root exception is org.omg.CosNaming.NamingContextPackage.NotFound:]"

gudience is apppreciated...

Please let me know what i need to do??
Devaka Cooray
ExamLab Creator

Joined: Jul 29, 2008
Posts: 3927

Samuel, welcome to JavaRanch
Please do not post duplicate topics - let's continue the discussion in your other topic.
I'm closing this one.

Author of ExamLab ExamLab - a free SCJP / OCPJP exam simulator
What would SCJP exam questions look like? -- Home -- Twitter -- How to Ask a Question
I agree. Here's the link:
subject: JNDI name not found
It's not a secret anymore!