Discussion:
cmp deployment problem
(too old to reply)
ashok vishnu
2005-01-12 08:27:27 UTC
Permalink
Hi All,

I am trying to deploy a cmp bean in weblogic8.0. The problem is that my local home object is not getting bound to the local jndi name i specify. There is no problem with binding the remote home object however. Has anyone faced this issue, can anybody suggest a solution.
pradeep tiwari
2005-01-12 19:54:51 UTC
Permalink
Hi,
When you deploay ejb the local homw does not bound to jndi because local interface are used for call by reference means only in the same application you can use this local interface.If you are facing any problem to access the methods please specify..
Pradeep
Rob Woollen
2005-01-13 00:28:18 UTC
Permalink
It is possible to specify a local-jndi-name in the weblogic-ejb-jar.xml
and have your local EJB bound into the JNDI tree. Be sure you're
specifying local-jndi-name and not jndi-name.

That being said, we generally don't recommend including local EJBs in
the server-wide JNDI tree. Instead, we'd rather see you use ejb-links
to reference the local EJB.

-- Rob
Post by ashok vishnu
Hi All,
I am trying to deploy a cmp bean in weblogic8.0. The problem is that my local home object is not getting bound to the local jndi name i specify. There is no problem with binding the remote home object however. Has anyone faced this issue, can anybody suggest a solution.
ashok vishnu
2005-01-14 05:54:06 UTC
Permalink
Hi Thanks,

I did give the local-jndi-name, however by viewing the jndi tree i saw that the local name is not getting bound to the home object. I wonder y? However when i created a servlet client and performing the local home lookup it was working!!!
Loading...