Hi,

I followed the tutorial instruction to create stateless session bean sample. I 
think I could deploy it successfully, the ejb3 jar fileset looks like:

C:\j2ee\ejb\build>jar tf StatelessSample.ejb3
META-INF/
META-INF/MANIFEST.MF
beans/
beans/SimpleSession.class
beans/SimpleSessionBean.class

My Client looks like:

SimpleSession simpleSession = (SimpleSession) 
ctx.lookup(SimpleSession.class.getName());

JMX console looks like:

MBean Name: Domain Name: jboss.j2ee 
 service:  EJB3 
 name:  SimpleSessionBean 
 jar:  StatelessSample.ejb3 
MBean Java Class: org.jboss.ejb3.ServiceDelegateWrapper 


I assume that my ejb is deployed OK.

However, when I ran client, I got exception:

 [java] Exception in thread "main" javax.naming.NameNotFoundException: beans
.SimpleSession not bound

Can anyone give me some hints what is going on?

Thanks



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

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


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to