Hi Dr. Zell,
Without looking at the source for OpBean.java, it seems that the error messages
say it all: you are tring to override the final methods that are defined in the
Object class. For some reason, you've tried overriding these methods. Since a
code generator is involved, could it be that you explicitly said "extends
Object" or something similar to confuse the generator?
I realize it is unlikely that this comment is that helpful to you.
But that is all I can figure out from your error message.
Good luck. Let us know how you resolved the situation, when you do.
Thanks,
Ron Perrella
newbie at Jonas
--- "Dr. Volker Zell" <[EMAIL PROTECTED]> wrote:
> Hi
>
> When trying the examples in Jonas2, I get the following errors when
> invoking
> make:
>
> + /usr/local/sun/jdk1.2.2/bin/javac -d ../../classes OpBean.java
> + /usr/local/java/jonas_jdk1.2/bin/GenIC -d ../../classes -keepgenerated
> ejb-jar.xml
> GenICHome() WARNING: Method 'equals' in the Enterprise bean's home
> interface IGNORED
> GenICHome() WARNING: Method 'getClass' in the Enterprise bean's home
> interface IGNORED
> GenICHome() WARNING: Method 'hashCode' in the Enterprise bean's home
> interface IGNORED
> GenICHome() WARNING: Method 'notify' in the Enterprise bean's home
> interface IGNORED
> GenICHome() WARNING: Method 'notifyAll' in the Enterprise bean's home
> interface IGNORED
> GenICHome() WARNING: Method 'toString' in the Enterprise bean's home
> interface IGNORED
> GenICHome() WARNING: Method 'wait' in the Enterprise bean's home
> interface IGNORED
> GenICHome() WARNING: Method 'wait' in the Enterprise bean's home
> interface IGNORED
> GenICHome() WARNING: Method 'wait' in the Enterprise bean's home
> interface IGNORED
> ...\..\classes\sb\JOnASOpBeanOp.java:51: The method java.lang.Class
> getClass() declared in class sb.JOnASOpBeanOp cannot override the final
> method of the same signature declared in class java.lang.Object. Final
> methods cannot be overridden.
> public synchronized java.lang.Class getClass() {
> ^
> ...\..\classes\sb\JOnASOpBeanOp.java:91: The method void notify()
> declared in class sb.JOnASOpBeanOp cannot override the final method of
> the same signature declared in class java.lang.Object. Final methods
> cannot be overridden.
> public synchronized void notify() {
> ^
> ...\..\classes\sb\JOnASOpBeanOp.java:109: The method void notifyAll()
> declared in class sb.JOnASOpBeanOp cannot override the final method of
> the same signature declared in class java.lang.Object. Final methods
> cannot be overridden.
> public synchronized void notifyAll() {
> ^
> ...\..\classes\sb\JOnASOpBeanOp.java:147: The method void wait() declared
> in class sb.JOnASOpBeanOp cannot override the final method of the same
> signature declared in class java.lang.Object. Final methods cannot be
> overridden.
> public synchronized void wait() throws
> java.lang.InterruptedException {
> ^
> ...\..\classes\sb\JOnASOpBeanOp.java:165: The method void wait(long)
> declared in class sb.JOnASOpBeanOp cannot override the final method of
> the same signature declared in class java.lang.Object. Final methods
> cannot be overridden.
> public synchronized void wait(long p1) throws
> java.lang.InterruptedException {
> ^
> ...\..\classes\sb\JOnASOpBeanOp.java:183: The method void wait(long, int)
> declared in class sb.JOnASOpBeanOp cannot override the final method of
> the same signature declared in class java.lang.Object. Final methods
> cannot be overridden.
> public synchronized void wait(long p1, int p2) throws
> java.lang.InterruptedException {
> ^
> 6 errors
> GenIC ERROR: Failed when compiling the implementation classes via java
> compiler
>
>
> Any hints ??
>
>
> I'm running under the following environment:
>
> System: WinNT 4.0/SP3 - 160 MB Ram
> Cygwin B20.1 with gcc-2.95.2
> - cygwin1.dll - cygwin1-20000403.dll
> - everything mounted binary,
> - CYGWIN = tty title binmode ntea nontsec
>
>
>
>
> Ciao
> Volker
> ----
> To unsubscribe, send email to [EMAIL PROTECTED] and
> include in the body of the message "unsubscribe jonas-users".
> For general help, send email to [EMAIL PROTECTED] and
> include in the body of the message "help".
__________________________________________________
Do You Yahoo!?
Yahoo! Photos -- now, 100 FREE prints!
http://photos.yahoo.com
----
To unsubscribe, send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe jonas-users".
For general help, send email to [EMAIL PROTECTED] and
include in the body of the message "help".