Undeployed
Programmer
Hi,
I've deployed an Entity ejb in jar file EmployeeJAR.jar in weblogic 7.
EJB Name : EmployeeEJB
JNDI Name : EmployeeEJB
LocalJNDI name : LocalEmployeeEJB
There is DefaultWebApp web application deployed(in exploded form).
I've jsp in defaultwebApp, which accesses this EJB.
When i access it through it's remote interface, its fine.
But when i tried through local interface, it threw exception.
I tried to put ejb-ref element in web.xml of defaultWebApp, but it makes the web application to fail to deploy.
weblogic.deployment.EnvironmentException: Could not resolve ejbLink: EmployeeEJB
I'm pasting ejb-ref element below.
<ejb-ref>
<ejb-ref-name>LocalEmployeeEJB</ejb-ref-name>
<ejb-ref-type>Entity</ejb-ref-type>
<home>beans.entity.cmp.LocalEmployeeHome</home>
<remote>beans.entity.cmp.LocalEmployee</remote>
<ejb-link>EmployeeEJB</ejb-link>
</ejb-ref>
Plz help.
plz ask if you need more info.
I've deployed an Entity ejb in jar file EmployeeJAR.jar in weblogic 7.
EJB Name : EmployeeEJB
JNDI Name : EmployeeEJB
LocalJNDI name : LocalEmployeeEJB
There is DefaultWebApp web application deployed(in exploded form).
I've jsp in defaultwebApp, which accesses this EJB.
When i access it through it's remote interface, its fine.
But when i tried through local interface, it threw exception.
I tried to put ejb-ref element in web.xml of defaultWebApp, but it makes the web application to fail to deploy.
weblogic.deployment.EnvironmentException: Could not resolve ejbLink: EmployeeEJB
I'm pasting ejb-ref element below.
<ejb-ref>
<ejb-ref-name>LocalEmployeeEJB</ejb-ref-name>
<ejb-ref-type>Entity</ejb-ref-type>
<home>beans.entity.cmp.LocalEmployeeHome</home>
<remote>beans.entity.cmp.LocalEmployee</remote>
<ejb-link>EmployeeEJB</ejb-link>
</ejb-ref>
Plz help.
plz ask if you need more info.