Win a copy of Cloud Native PatternsE this week in the Cloud forum
or Natural Language Processing in the AI/ML forum!

Roopam Ranjan

Greenhorn
+ Follow
since Jun 23, 2003
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Roopam Ranjan

Hello

I am new to WSAD 4.0 . I am trying to look for Seesion Bean using JNDI name.

This is my code.

ctx = new InitialContext();
Object home = ctx.lookup("LoadClassBean");
loadhome = (LoadClassBeanHome)javax.rmi.PortableRemoteObject.narrow(home, LoadClassBeanHome.class);
LoadClassBean beanremote = loadhome.create();

I am getting exception.

javax.naming.NameNotFoundException: LoadClassBean
at com.ibm.ejs.ns.jndi.CNContextImpl.doLookup(CNContextImpl.java:1435)
at com.ibm.ejs.ns.jndi.CNContextImpl.lookup(CNContextImpl.java:1115)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at LoadServlet.doGet(LoadServlet.java:25)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.ibm.servlet.engine.webapp.StrictServletInstance.doService

Can anyone suggest why i am getting exception and how to set JNDI name in WSAD.

THankx
15 years ago
Can anyone provide link for document to connect apache and tomcat using modJK connector.
Thanks in advance
15 years ago
Hi!
I am using wsad.I am trying to run stockquate program given in help topic .I have registerd in IBM test registry and I am able to login .
When i try login using wsad going through export /uddi
I get an error that
Login to registry IBM Test Registry failed.
Could not enable Publish Interface
------------------------------------------------------------------------------
Nested exception is:
com.ibm.wstk.service.registry.ServiceRegistryProxyException: Error getting authentication token for [userid: roopam, cred: ranjan]. Verify that the UDDI userid and cred settings are correct in the wstkProperties.xml file.
------------------------------------------------------------------------------
Nested exception is:
[SOAPException: faultCode=SOAP-ENV:Client; msg=Error opening socket: null; targetException=java.lang.IllegalArgumentException: Error opening socket: null]
If anyone can help me in resolvng this problem.
thankx in advance
16 years ago