Hi All,
I have a webapplication(A single servlet) installed in weblogic6.0(mydomain/applications/mywebapp).I also have a entitybean's jar file on the applications directory.
When I try to lookup the entitybean from the servlet I get the following error.
The context got is javax.naming.InitialContext@245435
The exception is Unable to resolve pom.AddressHome Resolved: '' Unresolved:'pom'
javax.naming.NameNotFoundException: Unable to resolve pom.AddressHome Resolved: '' Unresolved:'pom'
remaining name 'AddressHome'
<
The serlvet class resides in mywebapp/web-inf/classes directory and my ejb classes reside in mydomain\serverclasses\com directory.The JNDI name I used in the ejb-jar file is pom.AddressHome
Can any one tell me what is wrong
Thanks in Advance
-
Looking entitybean in weblogic6.0 (1 messages)
- Posted by: Chandrasekaran V
- Posted on: September 05 2001 03:25 EDT
Threaded Messages (1)
- Looking entitybean in weblogic6.0 by srinivas varaha on September 05 2001 05:11 EDT
-
Looking entitybean in weblogic6.0[ Go to top ]
- Posted by: srinivas varaha
- Posted on: September 05 2001 05:11 EDT
- in response to Chandrasekaran V
create the ejb package hirarchy in web-inf/classes
com/ejb any thing in your case as you have said com is the root copy the home and remote interface class files into this directory it.,if your home and remote has a package name defined as package com.ejb; please create com and subfolder ejb in web-inf/classes and place you home and remote class files in this directory it works fine