Building EJB archive

How do I build EJB archive from class files in my EJB project (no source codes available) ?
Thanks in advance,
Sudarshan Chakravarty

Hi Bhavik,
thanks.   The solution you gave is working fine when I have the source codes in the project.   My issue is like this.    I have downloaded a EAR file.    I extracted the class files from the EAR file and put it in my EJB project.    Now, when I try to build my EJB archive, it is disabled on the context menu.    It works when we have the source codes with us, but "Build EJB archive" is  disabled when we have  .class files only.    Please suggest a solution for this.
Thanks in advance,
sudarshan Chakravarty.

Similar Messages

  • Build EJB Archive unsuccessfull

    I was just trying my hand at Module programming and thought i wud start off with "Step by step guide to develop a module for reading file name in a sender file
    adapter" by Krishnakumar Ramamoorthy.
    Seems alls done but the problem is when i try to create bean archive (Page 10 of the pdf) it doesnt give me the option. Build EJB Archive link seems to be disabled in my case.
    Any pointers Experts ??
    ShaBZ

    If you see only these 3 then it means you have already added the ejb candidate to the ejb-jar.xml. In that case i would suggest you to :
    1. expand ejb-jar.xml in the same view i.e. J2EE Explorer.
    2. delete the ejb entry from there.
    3. this will automatically refresh the view and will now show ejb candidates. now add the same as again to ejb-jar.xml
    4. Now double click on ejb-jar.xml and go to source tab.Make sure the configuration values for following tags confirm to
    <home>com.sap.aii.af.mp.module.ModuleHome</home>
    <remote>com.sap.aii.af.mp.module.ModuleRemote</remote>
    <local-home>com.sap.aii.af.mp.module.ModuleLocalHome</local-home>
    <local>com.sap.aii.af.mp.module.ModuleLocal</local>
    value for <ejb-class>
    should be same as the fully qualified name of your module processor class.
    Hope this helps.
    ~Amol

  • 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

  • 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.

  • 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

  • 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.

  • 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

  • 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 !

  • Cannot build EJB jar file in NWDS

    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~!

    You might check the weblogic.developer.interest.ejb.tools new group.
    Make sure that the tool doesn't leave this ejbcgen directory around. It
    should delete
    that temp dir. When it doesn't it keeps all the old generated stuff around
    and your changes won't be
    reflected in the new jar.
    Rodrigo Ruiz Aguayo <[email protected]> wrote in message
    news:[email protected]..
    Hi,
    I have a problem with the EJBDeployerTool. When I want to update
    a class file (for example, because I corrected any problem), the
    deployer tool doesn't update the file correctly. It keeps the
    old version of the class file.
    In order to update a jar I have to copy the newer version in the
    .ejbdeployer/provider-projects directory by hand. Is it a bug?
    Is there any other way to do this? We are wasting too much time
    in this task, instead of programming :_(
    Thanks in advance,
    José Rodrigo Ruiz Aguayo e-mail : [email protected]
    I.T. en Informática de Sistemas webpage : ---------------------
    "Simulation is perfect, whenever we're not talking about reality"

  • SQLJ: unable to find input file null   (Error while building EJB.jar file)

    Hi,
    I am working on open SQL/SQLJ with the following details
    Name:Employee application(adding an employee to MAXDB through SQLJ connection)
    FRONT-END:JSP/SERVLET
    Middle:Stateless bean with DAO(DB connection) coming from SQLJ
    Back-end:MAXDB
    I have following in abc.sqlj file
    #sql public context Connx with (dataSource = "java:comp/env/jdbc/SAPTSTDB")
    and creating instance and adding to DB in another say xyz.sqlj file
              Connx con = null;
              try{
                   con = new Connx();
                        #sql [con] {insert into TMP_DB1(EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL)
                        values(:(employeeDTO.getEmployeeId()),
                                 :(employeeDTO.getFirstName()),
                                 :(employeeDTO.getLastName()),
                                 :(employeeDTO.getEmail()))};
    My build has no errors..but while building EJB archive with above sqlj files, am getting following error
    "SQLJ: unable to find input file null" for both sqlj files.
    Anybody faced this kind of issue, pls reply back.
    Thanks
    parveen

    Hi,
    I am working on open SQL/SQLJ with the following details
    Name:Employee application(adding an employee to MAXDB through SQLJ connection)
    FRONT-END:JSP/SERVLET
    Middle:Stateless bean with DAO(DB connection) coming from SQLJ
    Back-end:MAXDB
    I have following in abc.sqlj file
    #sql public context Connx with (dataSource = "java:comp/env/jdbc/SAPTSTDB")
    and creating instance and adding to DB in another say xyz.sqlj file
              Connx con = null;
              try{
                   con = new Connx();
                        #sql [con] {insert into TMP_DB1(EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL)
                        values(:(employeeDTO.getEmployeeId()),
                                 :(employeeDTO.getFirstName()),
                                 :(employeeDTO.getLastName()),
                                 :(employeeDTO.getEmail()))};
    My build has no errors..but while building EJB archive with above sqlj files, am getting following error
    "SQLJ: unable to find input file null" for both sqlj files.
    Anybody faced this kind of issue, pls reply back.
    Thanks
    parveen

  • Build and Archive not available?

    I'm trying to build an application to test on a friends (windows based) computer, so I want to do the Build and Archive function and send them the file since they are remote.
    My app builds fine, loads in the simulator and everything, but this option is grayed out.
    I'm using the latest sdk/xcode. Thanks

    You must install the Application Tools package after installing Xcode 3.2.5. There is a link to the Application Tools package below the link to download Xcode 3.2.5 and iOS SDK 4.2.
    http://developer.apple.com/devcenter/download.action?path=/ios/ios_sdk_4.2__fina l/application_tools_1.1.dmg
    If you have access to Apple's forums for paid developers, read FAQ #5 at the following URL for more information:
    https://devforums.apple.com/thread/75228?tstart=0

  • No longer able to build ejb using appc (WLS 8.1)

    I'm in the process of re-writing some build files to make use of the new
    appc compiler, but I started to get a rather confusing error. Although
    the EJB builds (using ejbc) and deploys fine on WLS 7, when I try to
    build using appc I get a slew of messages such as "In EJB MyEJB, the
    bean class must implement directly or indirectly the
    javax.ejb.SessionBean interface" (which it does), or "In EJB MyEJB,
    method remove() defined in the local interface either does not exist in
    the bean class, or it is not a public method in the bean class". A
    portion of the error message is listed below. I'm sure it must be some
    kind of problem with my configuration...has anyone seen this before?
    Any suggestions?
    Thanks in advance,
    Tim
    weblogic.utils.compiler.ToolFailureException: [J2EE:160121]Errors
    encountered wh
    ile compiling module 'D:\workspace\TRIPS\deployment\build':
    In EJB VASKeyGeneratorEJB, the bean class must implement directly or
    indirectly
    the javax.ejb.SessionBean interface.
    In EJB VASKeyGeneratorEJB, method remove() defined in the local
    interface either
    does not exist in the bean class, or it is not a public method. Each
    method in
    the local interface must have a corresponding public method in the bean
    class.
    In EJB VASKeyGeneratorEJB, method getEJBHome() defined in the local
    interface ei
    ther does not exist in the bean class, or it is not a public method.
    Each method
    in the local interface must have a corresponding public method in the
    bean clas
    s.
    In EJB VASKeyGeneratorEJB, method getPrimaryKey() defined in the local
    interface
    either does not exist in the bean class, or it is not a public method.
    Each met
    hod in the local interface must have a corresponding public method in
    the bean c
    lass.
    In EJB VASKeyGeneratorEJB, method getHandle() defined in the local
    interface eit
    her does not exist in the bean class, or it is not a public method. Each
    method
    in the local interface must have a corresponding public method in the
    bean class
    In EJB VASKeyGeneratorEJB, method isIdentical(javax.ejb.EJBObject)
    defined in th
    e local interface either does not exist in the bean class, or it is not
    a public
    method. Each method in the local interface must have a corresponding
    public met
    hod in the bean class.
    In EJB VASKeyGeneratorEJB, method remove() defined in the local
    interface either
    does not exist in the bean class, or it is not a public method. Each
    method in
    the local interface must have a corresponding public method in the bean
    class.
    In EJB VASKeyGeneratorEJB, method getPrimaryKey() defined in the local
    interface
    either does not exist in the bean class, or it is not a public method.
    Each met
    hod in the local interface must have a corresponding public method in
    the bean c
    lass.
    In EJB VASKeyGeneratorEJB, method isIdentical(javax.ejb.EJBLocalObject)
    defined
    in the local interface either does not exist in the bean class, or it is
    not a p
    ublic method. Each method in the local interface must have a
    corresponding publi
    c method in the bean class.
    In EJB VASKeyGeneratorEJB, method getEJBLocalHome() defined in the local
    interfa
    ce either does not exist in the bean class, or it is not a public
    method. Each m
    ethod in the local interface must have a corresponding public method in
    the bean
    class.
    - with nested exception:
    In EJB VASKeyGeneratorEJB, the bean class must implement directly or
    indirectly
    the javax.ejb.SessionBean interface.
    In EJB VASKeyGeneratorEJB, method remove() defined in the local
    interface either
    does not exist in the bean class, or it is not a public method. Each
    method in
    the local interface must have a corresponding public method in the bean
    class.
    In EJB VASKeyGeneratorEJB, method getEJBHome() defined in the local
    interface ei
    ther does not exist in the bean class, or it is not a public method.
    Each method
    in the local interface must have a corresponding public method in the
    bean clas
    s.
    In EJB VASKeyGeneratorEJB, method getPrimaryKey() defined in the local
    interface
    either does not exist in the bean class, or it is not a public method.
    Each met
    hod in the local interface must have a corresponding public method in
    the bean c
    lass.
    In EJB VASKeyGeneratorEJB, method getHandle() defined in the local
    interface eit
    her does not exist in the bean class, or it is not a public method. Each
    method
    in the local interface must have a corresponding public method in the
    bean class
    In EJB VASKeyGeneratorEJB, method isIdentical(javax.ejb.EJBObject)
    defined in th
    e local interface either does not exist in the bean class, or it is not
    a public
    method. Each method in the local interface must have a corresponding
    public met
    hod in the bean class.
    In EJB VASKeyGeneratorEJB, method remove() defined in the local
    interface either
    does not exist in the bean class, or it is not a public method. Each
    method in
    the local interface must have a corresponding public method in the bean
    class.
    In EJB VASKeyGeneratorEJB, method getPrimaryKey() defined in the local
    interface
    either does not exist in the bean class, or it is not a public method.
    Each met
    hod in the local interface must have a corresponding public method in
    the bean c
    lass.
    In EJB VASKeyGeneratorEJB, method isIdentical(javax.ejb.EJBLocalObject)
    defined
    in the local interface either does not exist in the bean class, or it is
    not a p
    ublic method. Each method in the local interface must have a
    corresponding publi
    c method in the bean class.
    In EJB VASKeyGeneratorEJB, method getEJBLocalHome() defined in the local
    interfa
    ce either does not exist in the bean class, or it is not a public
    method. Each m
    ethod in the local interface must have a corresponding public method in
    the bean
    class.
    at weblogic.appc.compileEJB(appc.java:714)
    at weblogic.appc.compileInput(appc.java:446)
    at weblogic.appc.runBody(appc.java:167)
    at weblogic.utils.compiler.Tool.run(Tool.java:146)
    at weblogic.utils.compiler.Tool.run(Tool.java:103)
    at weblogic.appc.main(appc.java:961)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke
    (NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke
    (DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at weblogic.ant.taskdefs.j2ee.CompilerTask.invokeMain
    (CompilerTask.java:
    275)
    at weblogic.ant.taskdefs.j2ee.Appc.execute(Appc.java:179)
    at org.apache.tools.ant.Task.perform(Task.java:341)
    at org.apache.tools.ant.Target.execute(Target.java:309)
    at org.apache.tools.ant.Target.performTasks(Target.java:336)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:397)
    at org.apache.tools.ant.taskdefs.CallTarget.execute
    (CallTarget.java:143)
    at org.apache.tools.ant.Task.perform(Task.java:341)
    at org.apache.tools.ant.Target.execute(Target.java:309)
    at org.apache.tools.ant.Target.performTasks(Target.java:336)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:397)
    at org.apache.tools.ant.Task.perform(Task.java:341)
    at org.apache.tools.ant.Target.execute(Target.java:309)
    at org.apache.tools.ant.Target.performTasks(Target.java:336)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:397)
    at org.apache.tools.ant.taskdefs.CallTarget.execute
    (CallTarget.java:143)
    at org.apache.tools.ant.Task.perform(Task.java:341)
    at org.apache.tools.ant.Target.execute(Target.java:309)
    at org.apache.tools.ant.Target.performTasks(Target.java:336)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:397)
    at org.apache.tools.ant.taskdefs.CallTarget.execute
    (CallTarget.java:143)
    at org.apache.tools.ant.Task.perform(Task.java:341)
    at org.apache.tools.ant.Target.execute(Target.java:309)
    at org.apache.tools.ant.Target.performTasks(Target.java:336)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
    at org.apache.tools.ant.Project.executeTargets
    (Project.java:1255)
    at org.apache.tools.ant.Main.runBuild(Main.java:609)
    at org.apache.tools.ant.Main.start(Main.java:196)
    at org.apache.tools.ant.Main.main(Main.java:235)
    Total time: 11 seconds

    Hello Tim,
    Which version of WLS 8.1 are you using (beta or GA) ?
    Also, make sure that you don't have any jar files from WLS 7 still on your classpath,
    so that appc doesn't get confused. Also, how are you invoking appc?
    Best regards,
    Ryan LeCompte
    [email protected]
    http://www.louisiana.edu/~rml7669
    Tim Perrigo <[email protected]> wrote:
    I'm in the process of re-writing some build files to make use of the
    new
    appc compiler, but I started to get a rather confusing error. Although
    the EJB builds (using ejbc) and deploys fine on WLS 7, when I try to
    build using appc I get a slew of messages such as "In EJB MyEJB, the
    bean class must implement directly or indirectly the
    javax.ejb.SessionBean interface" (which it does), or "In EJB MyEJB,
    method remove() defined in the local interface either does not exist
    in
    the bean class, or it is not a public method in the bean class". A
    portion of the error message is listed below. I'm sure it must be some
    kind of problem with my configuration...has anyone seen this before?
    Any suggestions?
    Thanks in advance,
    Tim
    weblogic.utils.compiler.ToolFailureException: [J2EE:160121]Errors
    encountered wh
    ile compiling module 'D:\workspace\TRIPS\deployment\build':
    In EJB VASKeyGeneratorEJB, the bean class must implement directly or
    indirectly
    the javax.ejb.SessionBean interface.
    In EJB VASKeyGeneratorEJB, method remove() defined in the local
    interface either
    does not exist in the bean class, or it is not a public method. Each
    method in
    the local interface must have a corresponding public method in the bean
    class.
    In EJB VASKeyGeneratorEJB, method getEJBHome() defined in the local
    interface ei
    ther does not exist in the bean class, or it is not a public method.
    Each method
    in the local interface must have a corresponding public method in the
    bean clas
    s.
    In EJB VASKeyGeneratorEJB, method getPrimaryKey() defined in the local
    interface
    either does not exist in the bean class, or it is not a public method.
    Each met
    hod in the local interface must have a corresponding public method in
    the bean c
    lass.
    In EJB VASKeyGeneratorEJB, method getHandle() defined in the local
    interface eit
    her does not exist in the bean class, or it is not a public method. Each
    method
    in the local interface must have a corresponding public method in the
    bean class
    In EJB VASKeyGeneratorEJB, method isIdentical(javax.ejb.EJBObject)
    defined in th
    e local interface either does not exist in the bean class, or it is not
    a public
    method. Each method in the local interface must have a corresponding
    public met
    hod in the bean class.
    In EJB VASKeyGeneratorEJB, method remove() defined in the local
    interface either
    does not exist in the bean class, or it is not a public method. Each
    method in
    the local interface must have a corresponding public method in the bean
    class.
    In EJB VASKeyGeneratorEJB, method getPrimaryKey() defined in the local
    interface
    either does not exist in the bean class, or it is not a public method.
    Each met
    hod in the local interface must have a corresponding public method in
    the bean c
    lass.
    In EJB VASKeyGeneratorEJB, method isIdentical(javax.ejb.EJBLocalObject)
    defined
    in the local interface either does not exist in the bean class, or it
    is
    not a p
    ublic method. Each method in the local interface must have a
    corresponding publi
    c method in the bean class.
    In EJB VASKeyGeneratorEJB, method getEJBLocalHome() defined in the local
    interfa
    ce either does not exist in the bean class, or it is not a public
    method. Each m
    ethod in the local interface must have a corresponding public method
    in
    the bean
    class.
    - with nested exception:
    In EJB VASKeyGeneratorEJB, the bean class must implement directly or
    indirectly
    the javax.ejb.SessionBean interface.
    In EJB VASKeyGeneratorEJB, method remove() defined in the local
    interface either
    does not exist in the bean class, or it is not a public method. Each
    method in
    the local interface must have a corresponding public method in the bean
    class.
    In EJB VASKeyGeneratorEJB, method getEJBHome() defined in the local
    interface ei
    ther does not exist in the bean class, or it is not a public method.
    Each method
    in the local interface must have a corresponding public method in the
    bean clas
    s.
    In EJB VASKeyGeneratorEJB, method getPrimaryKey() defined in the local
    interface
    either does not exist in the bean class, or it is not a public method.
    Each met
    hod in the local interface must have a corresponding public method in
    the bean c
    lass.
    In EJB VASKeyGeneratorEJB, method getHandle() defined in the local
    interface eit
    her does not exist in the bean class, or it is not a public method. Each
    method
    in the local interface must have a corresponding public method in the
    bean class
    In EJB VASKeyGeneratorEJB, method isIdentical(javax.ejb.EJBObject)
    defined in th
    e local interface either does not exist in the bean class, or it is not
    a public
    method. Each method in the local interface must have a corresponding
    public met
    hod in the bean class.
    In EJB VASKeyGeneratorEJB, method remove() defined in the local
    interface either
    does not exist in the bean class, or it is not a public method. Each
    method in
    the local interface must have a corresponding public method in the bean
    class.
    In EJB VASKeyGeneratorEJB, method getPrimaryKey() defined in the local
    interface
    either does not exist in the bean class, or it is not a public method.
    Each met
    hod in the local interface must have a corresponding public method in
    the bean c
    lass.
    In EJB VASKeyGeneratorEJB, method isIdentical(javax.ejb.EJBLocalObject)
    defined
    in the local interface either does not exist in the bean class, or it
    is
    not a p
    ublic method. Each method in the local interface must have a
    corresponding publi
    c method in the bean class.
    In EJB VASKeyGeneratorEJB, method getEJBLocalHome() defined in the local
    interfa
    ce either does not exist in the bean class, or it is not a public
    method. Each m
    ethod in the local interface must have a corresponding public method
    in
    the bean
    class.
    at weblogic.appc.compileEJB(appc.java:714)
    at weblogic.appc.compileInput(appc.java:446)
    at weblogic.appc.runBody(appc.java:167)
    at weblogic.utils.compiler.Tool.run(Tool.java:146)
    at weblogic.utils.compiler.Tool.run(Tool.java:103)
    at weblogic.appc.main(appc.java:961)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke
    (NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke
    (DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at weblogic.ant.taskdefs.j2ee.CompilerTask.invokeMain
    (CompilerTask.java:
    275)
    at weblogic.ant.taskdefs.j2ee.Appc.execute(Appc.java:179)
    at org.apache.tools.ant.Task.perform(Task.java:341)
    at org.apache.tools.ant.Target.execute(Target.java:309)
    at org.apache.tools.ant.Target.performTasks(Target.java:336)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:397)
    at org.apache.tools.ant.taskdefs.CallTarget.execute
    (CallTarget.java:143)
    at org.apache.tools.ant.Task.perform(Task.java:341)
    at org.apache.tools.ant.Target.execute(Target.java:309)
    at org.apache.tools.ant.Target.performTasks(Target.java:336)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:397)
    at org.apache.tools.ant.Task.perform(Task.java:341)
    at org.apache.tools.ant.Target.execute(Target.java:309)
    at org.apache.tools.ant.Target.performTasks(Target.java:336)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:397)
    at org.apache.tools.ant.taskdefs.CallTarget.execute
    (CallTarget.java:143)
    at org.apache.tools.ant.Task.perform(Task.java:341)
    at org.apache.tools.ant.Target.execute(Target.java:309)
    at org.apache.tools.ant.Target.performTasks(Target.java:336)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:397)
    at org.apache.tools.ant.taskdefs.CallTarget.execute
    (CallTarget.java:143)
    at org.apache.tools.ant.Task.perform(Task.java:341)
    at org.apache.tools.ant.Target.execute(Target.java:309)
    at org.apache.tools.ant.Target.performTasks(Target.java:336)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
    at org.apache.tools.ant.Project.executeTargets
    (Project.java:1255)
    at org.apache.tools.ant.Main.runBuild(Main.java:609)
    at org.apache.tools.ant.Main.start(Main.java:196)
    at org.apache.tools.ant.Main.main(Main.java:235)
    Total time: 11 seconds

  • How to configure maven to build EJB Jar?

    Hi!
    I would like to know how you setup Maven2 or alternatively Ant to build an EJB Jar.
    I have managed to do this in Maven by adding required jars to my local repository and added dependencies in the pom.xml file. This, however, do not seem like a good solution. I would like set some kind of classpath for maven to look for all libraries included in my application server.
    Could you please help me to solve this and I will be most grateful?!
    /Leo

    Hi,
    this is not an Eclipse forum but JDeveloper and ADF. Please try StackOverflow
    http://stackoverflow.com/questions/tagged/eclipse
    (Before I would search on StackOverflow if this question has been ansered before)
    Frank

Maybe you are looking for

  • Reg : data is not getting in the output

    hi team,              data is not getting in the  output, but it is getting in the debug mode REPORT ZSAPP10 . *tables : pernr. TABLES : PA0001. type-pools : slis. types : begin of itab,         pernr type pernr,         orgeh type orgeh,         abk

  • Unable to export swf movie in adobe flash cs4

    First I edited my flash project in flash 8 after that  I insatlled trial version of adobe flash cs4 now in my project there are 650 layers till then it was ok but now now it is giving me trouble with this error "The Export Frame for Classes specified

  • Windows Media Player in iTunes

    I am wondering if there's a way for me to access in/through iTunes radio stations which offer their online streams in WMP only. Can I add stations to my current iTunes list of radios? Thanks so much.

  • Chase Ink Cash

    Ok so, bear with me! I don't plan on making any major credit decisions any time soon until I get my balances down and let some accounts age. But I've been eyeing this card and would like some advice. 1) What are the qualifications? I know Chase is st

  • How to blur the background in potraits ?

    I am using lightroom 5 in Windows 8.Please tell me how to blur the backgrounds in portraits .