|
From: Tomas G. <to...@pr...> - 2015-12-11 13:39:46
|
Hi, "No EJB receiver available..." Means that EJBCA did not deploy correctly. After the step "ant clean deployear" you should check the wildfly server.log. Now I see btw, WildFly 9 does not work with EJBCA 6.3. Unfortunately I see that this is described in the section about wildfly 8. So you should use Wildfly 8 until the next release of EJBCA Community, then wildfly 9 will work as well. Cheers, Tomas Save time and money with an Enterprise support subscription. Please see www.primekey.se for more information. https://www.primekey.se/technologies/products-overview/ https://www.primekey.se/service-support/support/ On 2015-12-11 02:58, Phil Daws wrote: > Hello, > > Am attempting to install EJBCA with Wildfly to learn more about PKI. I have been following http://ejbca.org/docs/installation.html and so far got Wildfly 9 up and running plus the data source connection to a MariaDB database. > > What I am struggling with now is what to do next ? I have tried: > > ant clean deployear > and install > > But once that runs and I enter SuperAdmin password etc it errors with: > > ejbca:initCA: > [echo] Initializing CA with 'MYCA' 'CN=MYCA,O=TESTLAB,C=GB' 'soft' <ca.tokenpassword hidden> '2048' 'RSA' '3650' 'null' 'SHA256WithRSA' -superadmincn 'SuperAdmin'... > [java] Exception in thread "main" java.util.ServiceConfigurationError: org.ejbca.ui.cli.infrastructure.command.CliCommandPlugin: Provider org.ejbca.ui.cli.ra.AddEndEntityCommand could not be instantiated > [java] at java.util.ServiceLoader.fail(ServiceLoader.java:224) > [java] at java.util.ServiceLoader.access$100(ServiceLoader.java:181) > [java] at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:377) > [java] at java.util.ServiceLoader$1.next(ServiceLoader.java:445) > [java] at org.ejbca.ui.cli.infrastructure.library.CommandLibrary.<init>(CommandLibrary.java:53) > [java] at org.ejbca.ui.cli.infrastructure.library.CommandLibrary.<clinit>(CommandLibrary.java:38) > [java] at org.ejbca.ui.cli.EjbcaEjbCli.main(EjbcaEjbCli.java:29) > [java] Caused by: java.lang.IllegalStateException: EJBCLIENT000025: No EJB receiver available for handling [appName:ejbca, moduleName:cesecore-ejb, distinctName:] combination for invocation context org.jboss.ejb.client.EJBClientInvocationContext@682efa99 > [java] at org.jboss.ejb.client.EJBClientContext.requireEJBReceiver(EJBClientContext.java:774) > [java] at org.jboss.ejb.client.ReceiverInterceptor.handleInvocation(ReceiverInterceptor.java:116) > [java] at org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:186) > [java] at org.jboss.ejb.client.EJBInvocationHandler.sendRequestWithPossibleRetries(EJBInvocationHandler.java:255) > [java] at org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java:200) > [java] at org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java:183) > [java] at org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:146) > [java] at com.sun.proxy.$Proxy0.getCachedConfiguration(Unknown Source) > [java] at org.ejbca.ui.cli.ra.AddEndEntityCommand.<init>(AddEndEntityCommand.java:89) > [java] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) > [java] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) > [java] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) > [java] at java.lang.reflect.Constructor.newInstance(Constructor.java:526) > [java] at java.lang.Class.newInstance(Class.java:383) > [java] at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:373) > [java] ... 4 more > > BUILD FAILED > > What steps have I missed please ? > > Thanks, Phil > > > > ------------------------------------------------------------------------------ > _______________________________________________ > Ejbca-develop mailing list > Ejb...@li... > https://lists.sourceforge.net/lists/listinfo/ejbca-develop > |