hi,

I am using jsps, servlets and ejbs, all deployed in a war, using Weblogic5.1 sp9, on Windows.

There is a CachedHomes helper class (put under WEB-INF\classes) that looks up an EJB Home reference. Code is like:-
context.lookup("java:comp/env/ejb/WeightedAverage")
but a NamingException is thrown.

WEB-INF\web.xml contains:-
<ejb-ref>
<ejb-ref-name>ejb/WeightedAverage</ejb-ref-name>
<ejb-ref-type>Entity</ejb-ref-type>
<home>com.x.y.WeightedAverageHome</home>
<remote>com.x.y.WeightedAverage</remote>
</ejb-ref>

and WEB-INF\weblogic.xml contains:-
<ejb-reference-description>
<ejb-ref-name>ejb/WeightedAverage</ejb-ref-name>
<jndiname>query.businessobject.weightedaverage
       </jndi-name>
</ejb-reference-description>

When weblogic starts, it shows that EJB reference 'ejb/WeightedAverage' has been bound to jndi name 'query.businessobject.weightedaverage', however in weblogic console, I cant find this ejb shown as deployed, neither in deployed components/beans, nor under the web application. The concerned ejb jar is put in WEB-INF\lib.

so what am i missing here??