libgcj failure: Duplicate class registration

hannes wallnoefer hannes@helma.at
Wed Mar 17 09:37:00 GMT 2004


I'm getting the following error message when adding a java class to a 
dynamically linked Apache module:

libgcj failure: Duplicate class registration: GcjTest

The stack trace I get from gdb looks something like this:

#0  0x40256b71 in kill () from /lib/i686/libc.so.6
#1  0x401e4cf1 in pthread_kill () from /lib/i686/libpthread.so.0
#2  0x401e500b in raise () from /lib/i686/libpthread.so.0
#3  0x40256904 in raise () from /lib/i686/libc.so.6
#4  0x40257e8c in abort () from /lib/i686/libc.so.6
#5  0x406a7c28 in _Jv_Abort(char const*, char const*, int, char const*) ()
   from /usr/lib/libgcj.so.4
#6  0x406e535b in _Jv_RegisterClassHookDefault () from /usr/lib/libgcj.so.4
#7  0x406e523b in _Jv_RegisterClasses () from /usr/lib/libgcj.so.4
#8  0x4037737f in frame_dummy () from /usr/lib/apache2-prefork/mod_gcj.so
#9  0x403770c0 in _init () from /usr/lib/apache2-prefork/mod_gcj.so
#10 0x4000d75c in call_init () from /lib/ld-linux.so.2
#11 0x4000d84e in _dl_init_internal () from /lib/ld-linux.so.2
#12 0x40339558 in dl_open_worker () from /lib/i686/libc.so.6
#13 0x4000d5b6 in _dl_catch_error_internal () from /lib/ld-linux.so.2
#14 0x403398ff in _dl_open () from /lib/i686/libc.so.6
#15 0x401d9d4b in dlopen_doit () from /lib/libdl.so.2
#16 0x4000d5b6 in _dl_catch_error_internal () from /lib/ld-linux.so.2
#17 0x401d948a in _dlerror_run () from /lib/libdl.so.2
#18 0x401d9d9d in dlopen@GLIBC_2.0 () from /lib/libdl.so.2
#19 0x401576ed in apr_dso_load () from /usr/lib/libapr-0.so.0
#20 0x08066c5d in load_module ()

Any idea what might be wrong?



More information about the Java mailing list