i'm using eclipse,lomboz and jboss 3.2 and when use myEjbUtil.getHome or getLocalHome() :
javax.naming.NameNotFoundException: comp not bound
at org.jnp.server.NamingServer.getBinding(NamingServer.java:495)
at org.jnp.server.NamingServer.getBinding(NamingServer.java:503)
at org.jnp.server.NamingServer.getObject(NamingServer.java:509)
at org.jnp.server.NamingServer.lookup(NamingServer.java:253)
at org.jnp.interfaces.NamingContext.lookup()
while when i'm using
getContext().lookup(MyEJB.JNDI_NAME); works fine
myejbUtil uses MyEJB.COMP_NAME how i could use MyEJBUtil.getHome()
but i should not modify MyEJBUtil,
thanks.