Hi all,
I'm using JB 4.04RC1.
Trying to deploy an ear called xxx.ear that contains war and ejb3 modules.
Session EJB seams to deploy without pb:
14:52:10,509 INFO [Ejb3AnnotationHandler] found EJB3: ejbName=MyManagerBean,
class=test.MyManagerBean, type=STATELESS
|
But when I try to bind to it :
String name = "xxx/MyManagerBean/remote";
| try {
| InitialContext ctx = new InitialContext();
| System.out.println("Connecting to:" + name);
| Object result = ctx.lookup(name);
| ctx.close();
| return result;
| } catch (Exception e) {
|
| e.printStackTrace();
| throw new RuntimeException("Could not lookup remote
object: "
| + name, e);
| }
The jndi name was deduced from:
http://wiki.jboss.org/wiki/Wiki.jsp?page=FromJBossEJB3.0RC3ToRC4PFD
But the binding fails...
I read the last version of spec, Packiaging an ejb3 ejb-ajr does'nt need any
ejb-jar.xml if ejb3 classes are annotated...
Where Am I wrong ??
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3927998#3927998
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3927998
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user