|
From: Tomas G. <to...@pr...> - 2014-01-02 09:21:47
|
Do you have any other BC jars installed in your system? What JDK are you using? I have no clue why Glassfish would not find "org.bouncycastle.jcajce.provider.asymmetric.rsa.BCRSAPrivateCrtKey" unless there is a collision with some other system installed BC jars. This is usually the case of bouncycastle related issues. On 01/02/2014 10:08 AM, Luc Pallavidino wrote: > This is the server side stack trace : > > [#|2014-01-02T10:05:40.396+0100|WARNING|sun-appserver2.1|javax.enterprise.resource.corba.ee._CORBA_.rpc.encoding|_ThreadID=144;_ThreadName=p: > thread-pool-1; w: > 6720;;_RequestID=fd790fe2-eea5-47ed-9df3-9feeab0e2c06;|"IOP01000001: > (NO_IMPLEMENT) Missing local value implementation" > org.omg.CORBA.NO_IMPLEMENT: vmcid: OMG minor code: 1 completed: Maybe > at > com.sun.corba.ee.impl.logging.OMGSystemException.missingLocalValueImpl(OMGSystemException.java:2769) > at > com.sun.corba.ee.impl.io.FVDCodeBaseImpl.implementation(FVDCodeBaseImpl.java:118) > at > com.sun.org.omg.SendingContext._CodeBaseImplBase._invoke(_CodeBaseImplBase.java:64) > at > com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatchToServant(CorbaServerRequestDispatcherImpl.java:687) > at > com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatch(CorbaServerRequestDispatcherImpl.java:227) > at > com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequestRequest(CorbaMessageMediatorImpl.java:1846) > at > com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:1706) > at > com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleInput(CorbaMessageMediatorImpl.java:1088) > at > com.sun.corba.ee.impl.protocol.giopmsgheaders.RequestMessage_1_2.callback(RequestMessage_1_2.java:223) > at > com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:806) > at > com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.dispatch(CorbaMessageMediatorImpl.java:563) > at > com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.doWork(CorbaMessageMediatorImpl.java:2567) > at > com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:555) > Caused by: java.lang.ClassNotFoundException: > org.bouncycastle.jcajce.provider.asymmetric.rsa.BCRSAPrivateCrtKey (no > security manager: RMI class loader disabled) > at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:375) > at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:165) > at java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java:620) > at java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:202) > at java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:135) > at com.sun.corba.ee.impl.util.JDKBridge.loadClassM(JDKBridge.java:202) > at com.sun.corba.ee.impl.util.JDKBridge.loadClass(JDKBridge.java:99) > at com.sun.corba.ee.impl.javax.rmi.CORBA.Util.loadClass(Util.java:683) > at > com.sun.corba.ee.impl.util.RepositoryId.getClassFromType(RepositoryId.java:578) > at > com.sun.corba.ee.impl.io.ValueHandlerImpl.getClassFromType(ValueHandlerImpl.java:435) > at > com.sun.corba.ee.impl.io.FVDCodeBaseImpl.implementation(FVDCodeBaseImpl.java:112) > ... 11 more > |#] > > > With the web interface the crl creation works fine. But with the CLI I > get this error ... I don't understand why. > > I want to schedule the crl creation everyday by using a cron script. Is > there an other way to do this ? > > Thanks for your help. > > > 2014/1/2 Tomas Gustavsson <to...@pr... <mailto:to...@pr...>> > > > There is a server log file that shows what happens on the server side. > If there is any error, or if this is a pure client side issue. > > Otherwise for Glassfish I am not so experienced, it can be quite tricky, > especially client side of it... > You will surely find there is no problem with JBoss. > > Of course there is also EJBCA 6 out now. Running with Java 7 and JBoss > 7. We haven't tried it on Glassfish (3 or 4), but except for > configuration stuff, it should not be anything needed in theory for > Glassfish support. > > Cheers, > Tomas > ********** > Internet: www.primekey.se <http://www.primekey.se> > Twitter: twitter.com/primetomas <http://twitter.com/primetomas> > ********** > > On 01/02/2014 09:27 AM, Luc Pallavidino wrote: > > Hi, > > > > Thanks for your answer. I use EJBCA 4 with Glassfish v2. The > stack trace > > is from the console output from running the command line interface. > > > > Do you need an other thing to understand the problem ? > > > > Regards, > > > > > > 2014/1/2 Tomas Gustavsson <to...@pr... > <mailto:to...@pr...> <mailto:to...@pr... > <mailto:to...@pr...>>> > > > > > > I guess you are using Glassfish? EJBCA 4 and Glassfish v2? > > This error message sticks out. > > > > Caused by: java.lang.ClassNotFoundException: > > > org.bouncycastle.jcajce.provider.asymmetric.rsa.BCRSAPrivateCrtKey (no > > security manager: RMI class loader disabled) > > > > Looks like there is some issue with perhaps multiple BouncyCastle > > libraries in use? > > > > The stack trace that you pasted is very confusing. You write > server side > > stack trace, although it contains > > > "org.ejbca.ui.cli.EjbcaEjbCli.executeCommand(EjbcaEjbCli.java:118". > > This is a class only executed on the client. > > Is that really the server side stack trace, or is it the > console output > > from running the command line interface? > > > > Cheers, > > Tomas > > > > On 12/31/2013 10:36 AM, Luc Pallavidino wrote: > > > Caused by: java.lang.ClassNotFoundException: > > > > > > org.bouncycastle.jcajce.provider.asymmetric.rsa.BCRSAPrivateCrtKey (no > > > security manager: RMI class loader disabled) > > > > > ------------------------------------------------------------------------------ > > Rapidly troubleshoot problems before they affect your > business. Most IT > > organizations don't have a clear picture of how application > performance > > affects their revenue. With AppDynamics, you get 100% visibility > > into your > > Java,.NET, & PHP application. Start your 15-day FREE TRIAL of > > AppDynamics Pro! > > > http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk > > _______________________________________________ > > Ejbca-develop mailing list > > Ejb...@li... > <mailto:Ejb...@li...> > > <mailto:Ejb...@li... > <mailto:Ejb...@li...>> > > https://lists.sourceforge.net/lists/listinfo/ejbca-develop > > > > > > > > > > -- > > > > Pallavidino Luc Tél. : +33-6-8070-3133 > <tel:%2B33-6-8070-3133> > > Mail > :luc...@gm... <mailto:luc...@gm...> > <mailto:pal...@ho... > <mailto:pal...@ho...>> > > Ingénieur en monétique et sécurité des systèmes > > > > > > > > > ------------------------------------------------------------------------------ > > Rapidly troubleshoot problems before they affect your business. > Most IT > > organizations don't have a clear picture of how application > performance > > affects their revenue. With AppDynamics, you get 100% visibility > into your > > Java,.NET, & PHP application. Start your 15-day FREE TRIAL of > AppDynamics Pro! > > > http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk > > > > > > > > _______________________________________________ > > Ejbca-develop mailing list > > Ejb...@li... > <mailto:Ejb...@li...> > > https://lists.sourceforge.net/lists/listinfo/ejbca-develop > > > > ------------------------------------------------------------------------------ > Rapidly troubleshoot problems before they affect your business. Most IT > organizations don't have a clear picture of how application performance > affects their revenue. With AppDynamics, you get 100% visibility > into your > Java,.NET, & PHP application. Start your 15-day FREE TRIAL of > AppDynamics Pro! > http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk > _______________________________________________ > Ejbca-develop mailing list > Ejb...@li... > <mailto:Ejb...@li...> > https://lists.sourceforge.net/lists/listinfo/ejbca-develop > > > > > -- > > Pallavidino Luc Tél. : +33-6-8070-3133 > Mail :luc...@gm... <mailto:pal...@ho...> > Ingénieur en monétique et sécurité des systèmes > > > > ------------------------------------------------------------------------------ > Rapidly troubleshoot problems before they affect your business. Most IT > organizations don't have a clear picture of how application performance > affects their revenue. With AppDynamics, you get 100% visibility into your > Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! > http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk > > > > _______________________________________________ > Ejbca-develop mailing list > Ejb...@li... > https://lists.sourceforge.net/lists/listinfo/ejbca-develop > |