« Return to Thread: generate a server cetificate with cli

Re: generate a server cetificate with cli

by Anais :: Rate this Message:

Reply to Author | View in Thread

Hi,

i have downloaded and installed the rpm of jdk5 and my PATH is  :
/usr/java/jdk1.5.0_11/:/usr/java/jdk1.5.0_11/:/usr/java/jdk1.5.0_11/:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/j2ee/apache-ant-1.6.5/bin:/usr/j2ee/apache-ant-1.6.5/bin:/root/bin:/usr/j2ee/apache-ant-1.6.5/bin
that is correct but that does'nt work so i don't understand.

Thanks
Tomas Gustavsson wrote:
Anais,
you have wrongly configured you path and java. As you can see from below
the java you try to use is GNU java. GNU java does not work. Use a real
java.

Cheers,
Tomas


Anais wrote:
> Hi,
>
> I would like te generate a server certificate by using cli. I use :
> ./ejbcawsracli.sh pkcs12req testuser foo123 2048 NONE tmp
> and i have the error :
> Warning: -jar not understood. Ignoring.
> Exception in thread "main" java.lang.NoClassDefFoundError: ejbcawscli.jar
>    at gnu.gcj.runtime.FirstThread.run() (/usr/lib/libgcj.so.5.0.0)
>    at _Jv_ThreadRun(java.lang.Thread) (/usr/lib/libgcj.so.5.0.0)
>    at _Jv_RunMain(java.lang.Class, byte const, int, byte const, boolean)
> (/usr/lib/libgcj.so.5.0.0)
>    at __gcj_personality_v0
> (/usr/jboss-4.2.2.GA-src/j2ee/ejbca_3_5_4/dist/ejbcawscli/java.version=1.4.2)
>    at __libc_start_main (/lib/tls/libc-2.3.4.so)
>    at _Jv_RegisterClasses
> (/usr/jboss-4.2.2.GA-src/j2ee/ejbca_3_5_4/dist/ejbcawscli/java.version=1.4.2)
>
> Somebody could help me ?
> Thanks

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Ejbca-develop mailing list
Ejbca-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ejbca-develop

 « Return to Thread: generate a server cetificate with cli

LightInTheBox - Buy quality products at wholesale price!