Skip to Content
author's profile photo Former Member
Former Member

Error during .Ear deployment..

Hi all,

I m creating an EJB project. for which i have created a java dictionary project,which contains 2 tables.

For those 2 tables i have made 2 corresponding entity beans.i have establishd a relation b/w them via a common field.

later on i have created a java project which contains wrapper class.

After doin this I have Created a session bean in Ejb project ,which contains business method via this method m storing all the values of first table into database.

When I deploy .Ear file it gives an exception

. Reason: Incorrect application sap.com/PPm_KEar:Error in the remote interface com.sap.PPm_Kejb.Session_Kejb of bean Session_KejbBean: No corresponding business method in the bean class com.sap.PPm_Kejb.Session_KejbBean was found for method SaveM.; 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/PPm_KEar:Error in the remote interface com.sap.PPm_Kejb.Session_Kejb of bean Session_KejbBean: No corresponding business method in the bean class com.sap.PPm_Kejb.Session_KejbBean was found for method SaveM.

Regards,

Khushboo

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Aug 12, 2008 at 08:14 AM

    Hi,

    Please make sure that in EJB Remote interface you have declared the methods and methods are throwing RemoteException.

    Regards,

    Siddharth Jain

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 12, 2008 at 05:28 AM

    Hi,

    Do you have this method

    "No corresponding business method in the bean class com.sap.PPm_Kejb.Session_KejbBean was found for method SaveM"

    Regards

    Ayyapparaj

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 12, 2008 at 05:48 AM

    hi ,

    Go thru this thread

    Web Dynpro Java

    the thread name:Ejb

    the person there had a similar problm the solution given to it was.

    Hi,

    after creation of business method are you try to change the return type for the same method...??

    Coz it's not like that you can't change but some time this type of activity may land you in such situation.

    Do one thing copy the code of you respective method. then delete the method from the EJB and try to recreate the method again.

    May be this solve your problem, coz in past i had face same issue and did the same.

    Hope this may help you.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 12, 2008 at 08:20 AM

    Hi ,

    In addition to the Earlier reply if in your Bean class your method is throwing some exception then in remote and Local interface throwing the same exception along with RemoteException(only for Remote Interface) might solve the Problem.

    Regards,

    Siddharth

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.