This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Websphere and the fly likes websphere jndi Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "websphere jndi" Watch "websphere jndi" New topic

websphere jndi

Vikram Kamate

Joined: Sep 28, 2002
Posts: 16
hi all,
when i run the following code in jsp on ibm websphere it gives the exception i.e =
" Object is not of any type which can be bound."
code is =
try {
MyClass md = new MyClass();
Properties prpWebSphere = System.getProperties();
prpWebSphere.setProperty(Context.INITIAL_CONTEXT_FACTORY, "");
prpWebSphere.setProperty(Context.PROVIDER_URL, "iiop://localhost:900");
InitialContext ctxWebSphere = new InitialContext(prpWebSphere);
ctxWebSphere.rebind("obj", md);
}catch (Exception ex) {
out.println("EX : " + ex);
so, their is any solution for that.
wood burning stoves
subject: websphere jndi
Similar Threads
Connection not working (Oracle and Sun one web server)
jdbc objects in different JVM's
search EJB JNDI Name
COMM_FAILURE with minor code 1
How to Resolve this exception in tomcat 5.0.28