To resolve above error i placed ibm-ejb-jar-bnd.xml in jar/META-INF and it is having code like as follows
But still i am getting below error.
"com.ibm.ws.exception.RuntimeWarning: com.ibm.ejs.container.EJBConfigurationException: The EmagiaFacader bean in the ee.jar module has specified the emagia.ejb.FacaderBI business interface, which does not exist for a business interface Java Naming and Directory Interface (JNDI) binding."
FacaderBI is a business interface which is in emagia.ejb package.
Sorry for this long post.
Please help me to resolve this. It is very urgent.
Please give solution.
Regards
Jagan.
Regards,
Brian
ASProperties as = new ASProperties();
InitialContext ctx = new InitialContext(as.getProperties());
FacaderBI facaderRemote = (FacaderBI)ctx.lookup("ee/EmagiaFacader/remote");
Note: ASProperties.java is having IntialContext code, i am sending this file as attachment.
And i am calling EJB's from web modules also.
Please Check this and give me solution.
Regards
Jagan.
Regards,
Brian
Here i have taken specific-binding-name only for ejb lookup (not remote interface jndi name).
And this same application is working fine in jboss server.
I tried by placing ibm-ejb-bnd-jar.xml also but getting same error (here tried with specific-binding-name and also).
I need to make it work with specific-binding-name because this same code need to work with jboss also.
Please help me.
Regards
Jagan.
Regards,
Brian
Can you re-post the contents of your ejb-jar.xml and ibm-ejb-jar-bnd.xml files? It looks like the forum did not display the xml correctly. Alternatively, you could attach the files
This error indicates that the binding file shows a business interface that cannot be found (either ejb-jar.xml does not list it as a biz interface, the annotation is missing in the code, there is a typo in one of the xml files, etc).
Hope this helps,
Andy