Hi All,
I have a Stateful Session Bean called DataAccessBean which is declared as
listed below..
|
| package test;
|
| @Stateless
| public class DataAccessBeanBean implements DataAccessBean,
| DataAccessBeanLocal {
| @PersistenceContext
| //@Resource
| private EntityManager em;
|
| .....
|
And from when i try to look up for this i am getting
javax.naming.NameNotFoundException Exception..
The options i have tried out are
1) test.DataAccessBeanBean/remote
2) test.DataAcessBean/remote
3) DataAccessBeanBean
4) DataAccessBean
5) ReusableWeb/test.DataAccessBeanBean/remote
I have deployed this as an EAR File (ReusableWeb.ear). The exploded path is
listed beow..
|
| - ReusableWeb.ear
| -META-INF
| -application.xml
| -ReusableWeb.war
| -WEB-INF
| -classes
| -test
| - DataAccessBean.class ( Remote Interface)
| - DataAccessBeanBean.class (Bean Class)
| - DataAccessBeanLocal.class (Local Interface)
|
|
Listed below is the ouuput from jmx-console
|
|
| jboss.ejb
| persistencePolicy=database,service=EJBTimerService
| retryPolicy=fixedDelay,service=EJBTimerService
| service=EJBDeployer
| service=EJBTimerService
| jboss.ejb3
| service=EJB3Deployer
| service=JarsIgnoredForScanning
| jboss.j2ee
| service=ClientDeployer
| service=EARDeployer
| service=EARDeployment,url='ReusableWeb.ear'
|
| .....
|
Pls let me know how to resolve this..
Sateesh
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3952486#3952486
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3952486
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