Not being able to build EJB archive

hi,
I have created an EJB Module Project and copied some java files into it from another DC project.While trying to build the project my option for 'build EJB archive' is coming as disabled...
Any clues for that?

Hi Parama,
What you have done is just copying of the files to the DC.
The EJB Module actually does not have any Bean Created. Hence, it cannot buld the EJB JAR.
If you just want to use plain Java files, then why not use a Java Project ?
Regards,
Alka.

Similar Messages

  • In my NWDS "Build EJB Archive" is not actitivated?

    Hi all!
    I created an EJB project and imported some files in to my EJB project. When i try to build my EJB Archive, it is not activated. I tried even a simple EJB project, for that also Build EJB Archive is not activated. Help me
    Thanks a lot in advance!

    Hi
    I have done what you said in your first post, Build EJB Archive is enabled very well, but i got deployment error when deploying .ear file to J2EE engine.
    Actually I build an Enterprise project and addded this EJB project to that, and built .ear file and this ear file is deployed onto SAP J2EE engine:
    I got this deployment error:
    Result
    => deployment aborted : file:/C:/DOCUME1/ADMINI1/LOCALS~1/Temp/temp14071Jps_Ear.ear
    Aborted: development component 'Jps_Ear'/'sap.com'/'localhost'/'2006.06.01.11.40.12':
    Caught exception during application deployment from SAP J2EE Engine's deploy service:
    java.rmi.RemoteException: Cannot deploy application sap.com/Jps_Ear.. Reason: Incorrect application sap.com/Jps_Ear:Bean FolderMI_PortTypeBean: the return type of a create<METHOD> method in the session bean home interface must be the session bean's remote interface type. EJB specification 7.10.6.Error in the remote interface jps.FolderMI_PortType of bean FolderMI_PortTypeBean: the remote interface does not extend javax.ejb.EJBObject. The remote interfaces must extend javax.ejb.EJBObject.Error in the remote interface jps.FolderMI_PortType of bean FolderMI_PortTypeBean: the remote interface must be valid RMI-IIOP remote interface.Error in bean FolderMI_PortTypeBean: The business method folderMI does not throw java.rmi.RemoteException. Business methods of the remote interface must throw java.rmi.RemoteException.Error in the remote interface jps.FolderMI_PortType of bean FolderMI_PortTypeBean: No corresponding business method in the bean class jps.FolderMI_PortTypeBean was found for method folderMI.; 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/Jps_Ear:Bean FolderMI_PortTypeBean: the return type of a create<METHOD> method in the session bean home interface must be the session bean's remote interface type. EJB specification 7.10.6.Error in the remote interface jps.FolderMI_PortType of bean FolderMI_PortTypeBean: the remote interface does not extend javax.ejb.EJBObject. The remote interfaces must extend javax.ejb.EJBObject.Error in the remote interface jps.FolderMI_PortType of bean FolderMI_PortTypeBean: the remote interface must be valid RMI-IIOP remote interface.Error in bean FolderMI_PortTypeBean: The business method folderMI does not throw java.rmi.RemoteException. Business methods of the remote interface must throw java.rmi.RemoteException.Error in the remote interface jps.FolderMI_PortType of bean FolderMI_PortTypeBean: No corresponding business method in the bean class jps.FolderMI_PortTypeBean was found for method folderMI.
         at com.sap.engine.services.ejb.deploy.verifier.Verifier.check(Verifier.java:66)
         at com.sap.engine.services.ejb.deploy.DeployAdmin.generate(DeployAdmin.java:253)
         at com.sap.engine.services.ejb.EJBAdmin.deploy(EJBAdmin.java:2142)
         at com.sap.engine.services.deploy.server.application.DeploymentTransaction.makeComponents(DeploymentTransaction.java:606)
         at com.sap.engine.services.deploy.server.application.DeployUtilTransaction.commonBegin(DeployUtilTransaction.java:318)
         at com.sap.engine.services.deploy.server.application.DeploymentTransaction.begin(DeploymentTransaction.java:307)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:292)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:326)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.makeGlobalTransaction(DeployServiceImpl.java:3119)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.deploy(DeployServiceImpl.java:522)
         at com.sap.engine.services.deploy.server.DeployServiceImplp4_Skel.dispatch(DeployServiceImplp4_Skel.java:1555)
         at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:304)
         at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:193)
         at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:122)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    ', Arguments: []--> : Can't find resource for bundle java.util.PropertyResourceBundle, key com.sap.engine.services.ejb.exceptions.deployment.EJBDeploymentException: Incorrect application sap.com/Jps_Ear:Bean FolderMI_PortTypeBean: the return type of a create<METHOD> method in the session bean home interface must be the session bean's remote interface type. EJB specification 7.10.6.Error in the remote interface jps.FolderMI_PortType of bean FolderMI_PortTypeBean: the remote interface does not extend javax.ejb.EJBObject. The remote interfaces must extend javax.ejb.EJBObject.Error in the remote interface jps.FolderMI_PortType of bean FolderMI_PortTypeBean: the remote interface must be valid RMI-IIOP remote interface.Error in bean FolderMI_PortTypeBean: The business method folderMI does not throw java.rmi.RemoteException. Business methods of the remote interface must throw java.rmi.RemoteException.Error in the remote interface jps.FolderMI_PortType of bean FolderMI_PortTypeBean: No corresponding business method in the bean class jps.FolderMI_PortTypeBean was found for method folderMI.
         at com.sap.engine.services.ejb.deploy.verifier.Verifier.check(Verifier.java:66)
         at com.sap.engine.services.ejb.deploy.DeployAdmin.generate(DeployAdmin.java:253)
         at com.sap.engine.services.ejb.EJBAdmin.deploy(EJBAdmin.java:2142)
         at com.sap.engine.services.deploy.server.application.DeploymentTransaction.makeComponents(DeploymentTransaction.java:606)
         at com.sap.engine.services.deploy.server.application.DeployUtilTransaction.commonBegin(DeployUtilTransaction.java:318)
         at com.sap.engine.services.deploy.server.application.DeploymentTransaction.begin(DeploymentTransaction.java:307)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:292)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:326)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.makeGlobalTransaction(DeployServiceImpl.java:3119)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.deploy(DeployServiceImpl.java:522)
         at com.sap.engine.services.deploy.server.DeployServiceImplp4_Skel.dispatch(DeployServiceImplp4_Skel.java:1555)
         at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:304)
         at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:193)
         at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:122)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).REMEXC)
    Deployment exception : The deployment of at least one item aborted
    =======================
    Which says that my JPS_EJB.jar file is not properly build.
    The error meant to say it is a Bean Problem: No interfaces classes found .
    Thanks

  • NWDS - Build EJB Archive not possible

    Hi there!
    Recently I updated my NWDS from version 2.0.15 to version 2.0.16.
    My workspace mainly consists of 2 EJB Module projects, 1 Web Module Project and 1 Enterprise Application project.
    The EAR project bundles the modules to an enterprise application.
    Before updating the NWDS, everything regarding build & deployment worked fine. But now I'm facing the problem that I cannot build the EJB Archives anymore. The menu entry for building the JAR is inactive. Also, when I try to build the whole EAR application, the EJB module archives are missing in the EAR.
    I've already tried to create new module projects and copy all sources to the new project. Once the archive build worked, but after restarting NWDS, the problem came up again.
    Does anybody has an idea about this issue? Maybe this is a known bug of version 2.0.16?
    Any help is highly appreciated!
    Kind regards,
    Matthias

    Hi all!
    I'm still having this problem. It seems to handle with a problem of org.eclipse.jface-plugin.
    Because, in these corrupted projects, I cannot access ejb-j2ee-engine.xml file correctly.
    Each time I'm clicking on a bean listed in this file, I get an error message "An error has occured. See error log for more details."
    Ok, the details in the logs are pretty poor:
    !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jface".
    !STACK 0
    java.lang.NullPointerException
         at com.sap.ide.eclipse.j2ee.model.ui.sapejbjar.internal.description.UISapEjbJarDescriptionEnterpriseBean.refreshSpecificUIFromData(UISapEjbJarDescriptionEnterpriseBean.java:486)
    So finally, the menu entry "Build EJB Archive" is still inactive and I'm getting slightly mad with this tool.
    If anybody of you has expierience with similar behavior of NWDS, PLEASE HELP!
    Kind regards,
    Matthias

  • In SAPNetweaver developer Studio, I am unable Build EJB Archive

    Hi,
    In EJBModuleProject the Build EJB Archive option is diabled.Even all the ejb's have ejbCreate() method still the Build EJB Archive option is diabled.Also the ejb-jar.xml file is not showing its beans in explorer even it contains description for all the ejbs. Let me know is there any solution for this.

    Hi,
    the odds are, NWDS will only recognize EJB, which strictly adhere to (its) EJB rules, means created in the GUI, implementing directly the required interfaces, having methods, which throw RmiException, etc. If, by chance, your EJBs do not adhere to these rules, proceed as follow:
    1. Create a dummy EJB, say DummyEjb by NWDS means and "secure" the xml description of it as template
    2. Take the xml template from 1 and create ejb descriptors for your real EJBs and paste them to the ejb-jar.xml
    This way you should get correct descriptors for your EJBs and be able to create the ejb module archive.
    Regards
    Gregor

  • How can I build EJB archive after changing java files?

    hello,
    I changed java beans file, and tried to build jar file again, then the "build EJB archive" context menu is disabled so I can not make EJB jar file!
    So frustrated.. NWDS recognizes the changes in the java files , right? How come there 's no Build menu..
    Is there any pre-requisite to enable the menu?
    I have no idea how I can build jar file..
    Please give me a advice.. Thanks~!

    I think that in order to create a RPM, you'd need to
    use some C.Nope - the RPM is all about packaging and the "magic" x.spec file. You can have anything you want in the RPM, but you have to use RPM tools to build the .rpm file. One of the features is that you can also indicate (via "install" scripts) modifications to other files or the filesystem to support the installation of whatever's in the RPM.

  • Build ejb archive disabled  - NWDS

    hi ,
    I am building an adapter module as per:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/da5675d1-0301-0010-9584-f6cb18c04805
    But Build EJB Archive option is disabled to create the jar files. I tried many options but still the same.
    Can someone help me with what to do?
    Can we develop the adapter module using the WSAD(Websphere Application Developer Studio)?

    Hi Satya,
    just copy your java code at in someother place.....then delete your EJB prj...NWDS will ask for deleting contents....choose delete content also option.. delete both projects......
    Now start creating a fresh EJB Project with a new name.....follow the "how to create adapter module" document......do all the steps.......
    Then you will be able to build your ejb archive by right clicking your ejb project..
    Thanks,
    Rajeev Gupta

  • Build ejb archive disabled

    hi ,
        I am building an adapter module as per:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/da5675d1-0301-0010-9584-f6cb18c04805
    But Build EJB Archive option is disabled to create the jar files. Can someone help me with what to do ...
    thank you

    Hi Raj,
    1) Are you using NWDS for developing,
    If so open J2ee development perspective from menu option windows in NWDS. In left side, choose J2ee explorer tab. Here, it shows your EJB project. Right click on it and choose Build EJB archive.
    2) Check whether you have opened the right perspective when you are trying to build the EJB archive.
    3)Check this : The file ejb-jar.xml does not know what is the class and rest of the details for your ejb. For checking this, go to J2EE explorer and you will see ejb candidates.Right click on it and select add to ejb-jar.xml. You should now see the Build EJB Archive option enabled.
    Regards
    Agasthuri Doss

  • "build EJB archive" context menu is disabled...

    hello,
    I changed java beans file, and tried to build jar file again, then the "build EJB archive" context menu is disabled so I can not make EJB jar file!
    So frustrated.. NWDS recognizes the changes in the java files , right? How come there 's no Build menu..
    Is there any pre-requisite to enable the menu?
    I have no idea how I can build jar file..
    Please give me a advice.. Thanks~!

    Yes, I tried at the J2EE Development Perspective.
    The Thing is I already built EJB archive once correctly,
    and it worked fine. And now I changed & saved the beans java file, and the build context menu is disabled..
    Just doesn't make sense...
    Is there anybody who knows how-to ?
    Thanks !

  • TS1702 Does anyone know how to resolve the problem of apps not being able to download in the App Store? After the IOS 6 update I haven't been able to download any apps.

    Does anyone know how to resolve the problem of apps not being able to download in the App Store? After the IOS 6 update I haven't been able to download any apps.

    Maybe here:
    IOS 6 App store crash: Apple Support Communities

  • Regarding not being able to make an in-app purchase: all it says is that i can't make In-app purchases at this time.

    regarding not being able to make an in-app purchase: all it says is that i can't make In-app purchases at this time. Any suggestions? I'm new to the apple world. I just switched from an Android today.

    Contact iTunes store support for this. Go to http://www.apple.com/support/itunes/contact/ and click the blue link next to the green shopping bag. Follow the steps and send them an email explaining your issue.

  • Why wont my mail open? The mail not being able to open is making me not be able to shut down my laptop.

    Why wont my mail open? The mail not being able to open is making me not able to shut down my macbook.

    Press power button down and hold up to 30 secs to force shut down and then start up and see how u goes on ur mail....

  • How do I tell Apple to fix their software like apps that play sound even though the sound is turned off and not being able to disable features you hate like game center

    Apple is suppose to be the pinnacle of usability and, yet, I want to throw my new IPhone 4s as far as I can and watch is smash into a million pieces on concrete. Seriously, I've already got three things that irritate the **** out of me. First, there are Apple apps that insist on playing sound even though the sound is turned off. If I flick a switch to turn the sound off, I want the sound off!!!! Second, if I do not want a totally unnecessary feature like Game Center, I should be able to disable it. I completed most of the Angry Bird levels with 2 or 3 stars and now I have to start over from square one. Maybe, this happened when I upgraded to the 4s but it sure seemed to happen when I joined Game Center. Tomorrow, I am going to reset my 4s to factory defaults to try to get rid of my Game Center account. I don't want Game Center! I do need Game Center! I hate Game Center! Finally, I had an alarm go off to wake me up and there was a Snooze button but no button to turn the alarm off. I flicked the slider to access the main screen expecting to see something to turn the alarm off but there was nothing. The alarm just kept alarming. I had to warm boot my IPhone to shut the alarm off! Really, Apple!!!!

    The sound is turned off. Only, some Apple apps like YouTube and Siri make sound when the sound is turned off. It is very embarrassing when this happens at work. My question was how do I tell Apple to fix this?
    Turning off game center does not work. The games just prompt me to sign in when they are started.I have tried everything I can find online to stop this behavior. It is annoying and should not happen. My question was how do I tell Apple to fix this?
    The alarm went off. There was a green thing that looked like a button but pressing it did nothing. There was a red button that said snooze. I did not want to snooze. I wanted to turn the alarm off. I slid the bar to unlock the phone and there were no running apps with a button to press. The alarm just keep running. I have not had this problem since it first occurred. The alarm now shuts off when I just unlock the phone. It may have happened because I had another alarm app running. The two may have interfered with each other. I would like to tell Apple about it.
    It also annoys me that the button that closes apps leaves the phone app running. If I press on a number at 6:00 AM to get information about who called me, the phone automatically dials the person back and my natural reaction is to press on the button to close the phone app but the phone keeps dialing this person at 6:00 AM. It is a bad design. I would like to tell Apple about it.
    Finally, I looked all over Apple's site to try to find someplace I could send them a polite message to let them know that I was not happy with these "features" but could not find anything. It is extremely frustrating to have issues with a product and not being able to tell the manufacturer about it. So, you grow up!.
    When trying to fix the Game Center issue, I saw a link someone posted to report issues with the IPad to Apple. The answer I am looking for is where is the link to report issues with the IPhone.

  • I had to erase my iPhone 4S using find my iphone. Now all the other devices using my apple id inclusing my iPad and iPhone 4 is not being able to activate iMessage or Facetime. Help please.

    How can I get my my apple services up and running again. Why all my other devices are not being able to use iMessage and Facetime where I just erased one of the apple device associated with my apple id. it has already been 24 hours since y services are down.

    The best thing to do is to just create another Apple Id!

  • How can I retrieve my password when the retrials email was not recoverable? I also can't use or pass the othere menace of recovery? Not being able to pass or answer the security questions?

    How can I retrieve my password when the retrials email was not recoverable either? I also can't use or pass the othere means of recovery? Not being able to pass or answer the security questions?
    I created a new ID but never being able to update the iTunes that were purchased/saved using the old id?
    I can't also delete.

    Hi Kazmania89,
    Welcome to the Support Communities!
    If you require additional assistance with this, click on the link below for guidance:
    Apple ID: Contacting Apple for help with Apple ID account security
    http://support.apple.com/kb/HT5699
    Once you are able to gain access to the old Apple ID, this article may be helpful:
    Using your Apple ID for Apple services
    http://support.apple.com/kb/HT4895
    I have purchased music, apps, or books with multiple Apple IDs. How can I get all of this content onto my iOS device?

    First, you need to copy all of your purchased content so it is on the same Mac or PC with iTunes. This computer should be the one you sync your device with. For more information on how to move your content, see these articles:
    Mac:  iTunes for Mac: How to copy purchases between computers
    PC:  iTunes for Windows: How to copy purchases between computers
    Next, authorize your computer to play content with each Apple ID in iTunes. Once your computer is authorized for all your content, it can be synced to your iPhone, iPad, or iPod touch. 
    Cheers,
    - Judy

  • HT201210 In the attempt of updating the latest itune software, i am faced with the problem of not being able to be connected to itunes with my ipod touch that is blocked living the USB cable and the itune icons on my touch sceen. Can some one help me out

    In the attempt of updating my ipod touch, i am  faced with the problem of not being able to be connected to the itunes in my computer (windows xp ) because my ipod touch got blocked up, leaving the icon of USB cable and itunes on my touch screen. I am asked to restore my ipod first, but i have tried using all the examples stated and still can't help. Please please, can some one help me out ? Ones  in the process of trying, i see an error code: 1656 and most of the time nothing. Thanks

    See if placing the iPod in Recovery mode will allow a restore via iTunes
    Next try DFU mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    You can also try another computer to help determine if you have a computer or iPod problem.

Maybe you are looking for