I have created an mbean by using the @Service and @Management annotations and 
has been deployed and started to run.  

In my start method, I try and lookup a bean, but am getting an error saying 
"ejb/local-HelloBean not bound".  The HelloBean was deployed correctly.  Any 
insight would be appreciated.

start throws exception
{
    InitialContextcontext = new InitialContext(); 
    Hello hello= (Hello)context.lookup("java:comp/env/ejb/local-HelloBean"); 
}

Thanks

abronson


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3946290#3946290

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3946290


-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to