This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Couldn't perform JNdI Lookup for home interface  RSS feed

 
sathish Srinivasan
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am bit new to EJB.Tried running the "Hello World" program using WSAD.I was able to deploy the code without error.While running I found the error

IWAD0402E Could not perform lookup with the JNDI name: ejbmodule/testPack/FirstCalcHome

Looks so strange .I couldn't read the problem much from the console as it wasn't clear to me.....

7/18/03 21:45:29:346 CDT] ca1ad1b WebGroup I SRVE0180I: [IBM Universal Test Client] [/UTC] [Servlet.LOG]: initializeServlet: init
JspEngine --> /index.jsp
ServletPath: /index.jsp
PathInfo: null
RealPath: D:\IBM\WebSphere Studio\workspace\.metadata\.plugins\com.ibm.etools.server.core\tmp0\IBMUTC\IBMUTC.ear\UTC.war\index.jsp
RequestURI: /UTC/index.jsp?nextPage=/UTC/html/homePage/homeFrame.jsp
QueryString: nextPage=/UTC/html/homePage/homeFrame.jsp&port=2809
Request Params:
nextPage = /UTC/html/homePage/homeFrame.jsp
port = 2809
JspEngine --> /html/toolbar/global_nav.jsp
ServletPath: /html/toolbar/global_nav.jsp
PathInfo: null
RealPath: D:\IBM\WebSphere Studio\workspace\.metadata\.plugins\com.ibm.etools.server.core\tmp0\IBMUTC\IBMUTC.ear\UTC.war\html\toolbar\global_nav.jsp
RequestURI: /UTC/html/toolbar/global_nav.jsp
QueryString: null
Request Params:
JspEngine --> /html/homePage/homeFrame.jsp
ServletPath: /html/homePage/homeFrame.jsp
PathInfo: null
RealPath: D:\IBM\WebSphere Studio\workspace\.metadata\.plugins\com.ibm.etools.server.core\tmp0\IBMUTC\IBMUTC.ear\UTC.war\html\homePage\homeFrame.jsp
RequestURI: /UTC/html/homePage/homeFrame.jsp
QueryString: null
Request Params:
Class name is: _homeFrame
[7/18/03 21:45:33:963 CDT] 4336d05 WebGroup I SRVE0180I: [IBM Universal Test Client] [/UTC] [Servlet.LOG]: /html/homePage/homeFrame.jsp: init
JspEngine --> /html/homePage/homePage.jsp
ServletPath: /html/homePage/homePage.jsp
PathInfo: null
RealPath: D:\IBM\WebSphere Studio\workspace\.metadata\.plugins\com.ibm.etools.server.core\tmp0\IBMUTC\IBMUTC.ear\UTC.war\html\homePage\homePage.jsp
RequestURI: /UTC/html/homePage/homePage.jsp
QueryString: null
Request Params:
Class name is: _homePage
[7/18/03 21:45:34:554 CDT] ca1ad1b WebGroup I SRVE0180I: [IBM Universal Test Client] [/UTC] [Servlet.LOG]: /html/homePage/homePage.jsp: init
JspEngine --> /html/toolbar/toolbar.jsp
ServletPath: /html/toolbar/toolbar.jsp
PathInfo: null
RealPath: D:\IBM\WebSphere Studio\workspace\.metadata\.plugins\com.ibm.etools.server.core\tmp0\IBMUTC\IBMUTC.ear\UTC.war\html\toolbar\toolbar.jsp
RequestURI: /UTC/html/toolbar/toolbar.jsp
QueryString: page=0
Request Params:
page = 0
JspEngine --> /html/homePage/home.jsp
ServletPath: /html/homePage/home.jsp
PathInfo: null
RealPath: D:\IBM\WebSphere Studio\workspace\.metadata\.plugins\com.ibm.etools.server.core\tmp0\IBMUTC\IBMUTC.ear\UTC.war\html\homePage\home.jsp
RequestURI: /UTC/html/homePage/home.jsp
QueryString: null
Request Params:
Class name is: _home
[7/18/03 21:45:36:567 CDT] ca1ad1b WebGroup I SRVE0180I: [IBM Universal Test Client] [/UTC] [Servlet.LOG]: /html/homePage/home.jsp: init

Any thoughts and guidelines would greatly be appreciated......

Thanks in advance for the help.

Sathish.........
 
seshu Palamanti
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am not sure of your console message but when ever you try to use a EJB resource from a web module you should be have created a resource reference and use the ref name for looking up. May be you are doing some thing wrong here. Here is a good tutorial that might help in this regards

http://www.webagesolutions.com/knowledgebase/waskb/waskb002/

Let me know how it goes..
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!