|
From: Tomas G. <to...@pr...> - 2003-08-31 08:44:11
|
This one sounds like you are using the wron JVM to run either 'ca init' or JBoss with. The errors seem to come from the gnu java compiler/runtime. You must use the real JDK to run both 'ca init' and JBoss. Regards, Tomas surd wrote: > thanks all! > I have done "ant;ant deploy;ant keystore" successfully > and started jboss3.2.2 successfully. > > But when I run "./ca.sh init", the following info is > shown: > > ------- > [root@ca ejbca]# ant > Buildfile: build.xml > > init: > > compile: > [javac] Compiling 303 source files to > /usr/j2ee/ejbca/tmp/classes > [javac] error: error reading source file: > sun.io.MalformedInputException > [javac] 1 error > > BUILD FAILED > file:/usr/j2ee/ejbca/build.xml:125: Compile failed; > see the compiler error output for details. > > Total time: 4 seconds > [root@ca ejbca]# > > > [root@ca ejbca]# ./ca.sh init > Exception in thread "main" java.lang.InternalError: > unexpected exception during > linking: java.lang.ClassNotFoundException: > javax.rmi.PortableRemoteObject > at 0x4028115f: > java.lang.Throwable.Throwable(java.lang.String) > (/usr/lib/libg > cj.so.3) > at 0x4027408e: > java.lang.Error.Error(java.lang.String) > (/usr/lib/libgcj.so.3) > at 0x40281542: > java.lang.VirtualMachineError.VirtualMachineError(java.lang.St > ring) (/usr/lib/libgcj.so.3) > at 0x40275a92: > java.lang.InternalError.InternalError(java.lang.String) > (/usr/ > lib/libgcj.so.3) > at 0x40273146: > java.lang.ClassLoader.resolveClass0(java.lang.Class) > (/usr/lib > /libgcj.so.3) > at 0x4024190b: _Jv_PrepareClass(java.lang.Class) > (/usr/lib/libgcj.so.3) > at 0x40260568: > java.lang.ClassLoader.linkClass0(java.lang.Class) > (/usr/lib/li > bgcj.so.3) > at 0x40273073: > java.lang.ClassLoader.resolveClass0(java.lang.Class) > (/usr/lib > /libgcj.so.3) > at 0x4025e99c: java.lang.Class.initializeClass() > (/usr/lib/libgcj.so.3) > at 0x4024874b: > _Jv_InterpMethod.continue1(_Jv_InterpMethodInvocation) > (/usr/l > ib/libgcj.so.3) > at 0x40248e34: _Jv_InterpMethod.run(ffi_cif, void, > ffi_raw, _Jv_InterpMethodI > nvocation) (/usr/lib/libgcj.so.3) > at 0x40246424: _Jv_InterpMethod.run_normal(ffi_cif, > void, ffi_raw, void) (/us > r/lib/libgcj.so.3) > at 0x4039d1bc: ?? (??:0) > at 0x4039d347: ffi_call_SYSV (/usr/lib/libgcj.so.3) > at 0x4039d307: ffi_raw_call (/usr/lib/libgcj.so.3) > at 0x40248528: > _Jv_InterpMethod.continue1(_Jv_InterpMethodInvocation) > (/usr/l > ib/libgcj.so.3) > at 0x40248e34: _Jv_InterpMethod.run(ffi_cif, void, > ffi_raw, _Jv_InterpMethodI > nvocation) (/usr/lib/libgcj.so.3) > at 0x40246424: _Jv_InterpMethod.run_normal(ffi_cif, > void, ffi_raw, void) (/us > r/lib/libgcj.so.3) > at 0x4039d1bc: ?? (??:0) > at 0x4025b308: > gnu.gcj.runtime.FirstThread.call_main() > (/usr/lib/libgcj.so.3) > at 0x402c60b1: gnu.gcj.runtime.FirstThread.run() > (/usr/lib/libgcj.so.3) > at 0x40267fdc: _Jv_ThreadRun(java.lang.Thread) > (/usr/lib/libgcj.so.3) > at 0x4023478c: _Jv_RunMain(java.lang.Class, byte > const, int, byte const, bool > ean) (/usr/lib/libgcj.so.3) > at 0x08048900: ?? (??:0) > at 0x420158d4: ?? (??:0) > at 0x080486c1: ?? (??:0) > [root@ca ejbca]# > > > _________________________________________________________ > Do You Yahoo!? > 启用电邮帐号,领会雅虎通[身临其境聊电影]的动感魅力,还有网络摄像头+雅虎通收音机等你来拿 > http://cn.rd.yahoo.com/mail_cn/tag/?http://cn.messenger.yahoo.com > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Ejbca-develop mailing list > Ejb...@li... > https://lists.sourceforge.net/lists/listinfo/ejbca-develop |