on 04-12-2007 11:16 AM
<b>Hi experts</b> , while i am deploying an Enterprise Application Archive (EAR),
i am getting this exception. Please anyone help me what i have to do.
- Neo
Exception detail:
<b>java.rmi.RemoteException:</b> Cannot deploy application sap.com/EmployeeEar.. Reason: Incorrect application sap.com/EmployeeEar:Error in the remote interface com.sap.demo.EmployeeServices of bean EmployeeServicesBean: No corresponding business method in the bean class com.sap.demo.EmployeeServicesBean was found for method registerEmployee.Error in the local interface com.sap.demo.EmployeeServicesLocal of bean EmployeeServicesBean: No corresponding business method in the bean class was found for method registerEmployee.; nested exception is: com.sap.engine.services.deploy.container.DeploymentException: <--Localization failed: ResourceBundle='com.sap.engine.services.deploy.DeployResourceBundle', ID='com.sap.engine.services.ejb.exceptions.deployment.EJBDeploymentException: Incorrect application sap.com/EmployeeEar:Error in the remote interface com.sap.demo.EmployeeServices of bean EmployeeServicesBean: No corresponding business method in the bean class com.sap.demo.EmployeeServicesBean was found for method registerEmployee.Error in the local interface com.sap.demo.EmployeeServicesLocal of bean EmployeeServicesBean: No corresponding business method in the bean class was found for method registerEmployee.
Hi Neo,
The error message sounds like "No corresponding business method".
In Bean class, local and remote interfaces should have same signature(same number of parameters and datatype).
Please check the three class signature are same.
Hope this should solve your problem
Regards, Suresh KB
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Neo
You has a definition error of your bean methods, all the methods that you are calling them remotly you have to put the definition in the ejb-descriptor.xml.. SAP Netweaver has a easy wizard to do it.. use it.
If the answer helps you, please regards
Josue Cruz
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.