j2ee - DukesBankApp won't deploy

From: j2ee (jopesteffen_at_compuserve.de)
Date: 03/06/05

  • Next message: Dominik Off: "Re: Right newgroup?"
    Date: Sun, 6 Mar 2005 20:24:00 +0100
    
    

    Hi-
    I cannot get the DukesBankApp to work, even allthough I use the provided-jar
    (ear) file.

    I work with the tutorial "For Sun Java System Application Server Platform
    Edition 8.1 2005Q1" of December, 16th, 2004 and the Application Server
    Edition 8.1 2005Q1.
    Other examples deployed and worked just fine.

    The error message is (any help welcome):

    ==========================================================================

    ; requested operation cannot be completed

    Fatal Error from EJB Compiler -- Compilation failed: Native compiler
    returned an error: 1
    Error messages are:
    C:\Sun\AppServer\domains\domain1\generated\ejb\j2ee-apps\DukesBankApp\com\sun\ebank\ejb\util\NextIdBean_1892492754_ConcreteImpl.java:176:
    ejbCreate() in com.sun.ebank.ejb.util.NextIdBean_1892492754_ConcreteImpl
    cannot override ejbCreate() in com.sun.ebank.ejb.util.NextIdBean; attempting
    to use incompatible return type

    found : java.lang.String

    required: java.lang.Object

        public java.lang.String ejbCreate ()

                                ^

    1 error

    ==========================================================================
    Thank you in advance, JS


  • Next message: Dominik Off: "Re: Right newgroup?"

    Relevant Pages

    • Re: Error a: _mayn.c:12 illegal return type, found int expected void
      ... > a given compiler writer allows or forbids is ... The error message I recieved was in plain english ... >Do you, Jacob, perhaps have a belief that all C programers ... the purpose of lint is to provide error messages. ...
      (comp.compilers.lcc)
    • Re: operator function
      ... >> of them have anything to do with what the error message seems ... Setting (int h, int m, int s, int TT) ... Now the compiler knows, that it is safe to use that function on a const ... >> operator returns a Setting object. ...
      (alt.comp.lang.learn.c-cpp)
    • Re: ILC2005: McCarthy denounces Common Lisp, "Lisp", XML, and Rahul
      ... SU-AI and run Lisp 1.6 or UCI-Lisp. ... kernel of an operating system or a compiler etc. ... have the power of Lisp instead of only C to manipulate those lists. ... apply so the error message doesn't occur. ...
      (comp.lang.lisp)
    • c89 problem w/ irrhfsu
      ... i've got a lot of experience setting up and configuring OMVS but not ... by means of the c89 compiler, inside the OMVS environment, (this is ... and i received the following error message: ...
      (bit.listserv.ibm-main)
    • Re: Why C/C++ errors are SO obscure/devious??
      ... you could use something like the Zeus IDE. ... Since code folding is done on braces, if a brace is missing the code ... go back and revisit the compiler error message. ... On most occasions I think you will find the compiler error message was ...
      (comp.lang.c)