Fabian Santiago
2017-03-01 19:45:37 UTC
hello,
running 'ant install', it fails with:
ejbca:initCA:
[echo] Initializing CA with 'GardenCA'
'CN=pki.garden-mums.com,O=Garden-lan com,C=NJ' 'soft' 'prime256v1'
'ECDSA' '3650' '2.5.29.32.0' 'SHA256WithRSA' -superadmincn
'SuperAdmin'...
[java] Exception in thread "main"
java.util.ServiceConfigurationError:
org.ejbca.ui.cli.infrastructure.command.CliCommandPlugin: Provider
org.ejbca.ui.cli.keybind.InternalKeyBindingCreateCommand could not be
instantiated
[java] at java.util.ServiceLoader.fail(ServiceLoader.java:232)
[java] at java.util.ServiceLoader.access$100(ServiceLoader.java:185)
[java] at
java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:384)
[java] at
java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:404)
[java] at java.util.ServiceLoader$1.next(ServiceLoader.java:480)
[java] at
org.ejbca.ui.cli.infrastructure.library.CommandLibrary.(CommandLibrary.java:53)
[java] at
org.ejbca.ui.cli.infrastructure.library.CommandLibrary.(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
***@35fc6dc4
[java] at
org.jboss.ejb.client.EJBClientContext.requireEJBReceiver(EJBClientContext.java:798)
[java] at
org.jboss.ejb.client.ReceiverInterceptor.handleInvocation(ReceiverInterceptor.java:128)
[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.getAvailableTypesAndProperties(Unknown Source)
[java] at
org.ejbca.ui.cli.keybind.InternalKeyBindingCreateCommand.(InternalKeyBindingCreateCommand.java:69)
[java] at
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[java] at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
[java] at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
[java] at
java.lang.reflect.Constructor.newInstance(Constructor.java:423)
[java] at java.lang.Class.newInstance(Class.java:442)
[java] at
java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:380)
[java] ... 5 more
BUILD FAILED
/ejbca_ce_6_5_0_4/build.xml:64: The following error occurred while
executing this line:
/ejbca_ce_6_5_0_4/build.xml:70: The following error occurred while
executing this line:
/ejbca_ce_6_5_0_4/bin/cli.xml:97: The following error occurred while
executing this line:
/ejbca_ce_6_5_0_4/bin/cli.xml:115: The following error occurred while
executing this line:
/ejbca_ce_6_5_0_4/bin/cli.xml:189: Java returned: 1
i'm running:
ubuntu 16.04 LTS
wildfly 10.1.0 final
ejbca 6.5.0.4
utilizing mysql db backend
i've seen references out there on the web to this issue being caused by either:
misconfigued jboss backend
missing code in ejbca source
wrong / bad version of wildfly
Does anyone out there have a definitive fix for this?
If i follow the quick start guide, it works fine.
Thanks.
- - - Fabian Santiago
running 'ant install', it fails with:
ejbca:initCA:
[echo] Initializing CA with 'GardenCA'
'CN=pki.garden-mums.com,O=Garden-lan com,C=NJ' 'soft' 'prime256v1'
'ECDSA' '3650' '2.5.29.32.0' 'SHA256WithRSA' -superadmincn
'SuperAdmin'...
[java] Exception in thread "main"
java.util.ServiceConfigurationError:
org.ejbca.ui.cli.infrastructure.command.CliCommandPlugin: Provider
org.ejbca.ui.cli.keybind.InternalKeyBindingCreateCommand could not be
instantiated
[java] at java.util.ServiceLoader.fail(ServiceLoader.java:232)
[java] at java.util.ServiceLoader.access$100(ServiceLoader.java:185)
[java] at
java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:384)
[java] at
java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:404)
[java] at java.util.ServiceLoader$1.next(ServiceLoader.java:480)
[java] at
org.ejbca.ui.cli.infrastructure.library.CommandLibrary.(CommandLibrary.java:53)
[java] at
org.ejbca.ui.cli.infrastructure.library.CommandLibrary.(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
***@35fc6dc4
[java] at
org.jboss.ejb.client.EJBClientContext.requireEJBReceiver(EJBClientContext.java:798)
[java] at
org.jboss.ejb.client.ReceiverInterceptor.handleInvocation(ReceiverInterceptor.java:128)
[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.getAvailableTypesAndProperties(Unknown Source)
[java] at
org.ejbca.ui.cli.keybind.InternalKeyBindingCreateCommand.(InternalKeyBindingCreateCommand.java:69)
[java] at
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[java] at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
[java] at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
[java] at
java.lang.reflect.Constructor.newInstance(Constructor.java:423)
[java] at java.lang.Class.newInstance(Class.java:442)
[java] at
java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:380)
[java] ... 5 more
BUILD FAILED
/ejbca_ce_6_5_0_4/build.xml:64: The following error occurred while
executing this line:
/ejbca_ce_6_5_0_4/build.xml:70: The following error occurred while
executing this line:
/ejbca_ce_6_5_0_4/bin/cli.xml:97: The following error occurred while
executing this line:
/ejbca_ce_6_5_0_4/bin/cli.xml:115: The following error occurred while
executing this line:
/ejbca_ce_6_5_0_4/bin/cli.xml:189: Java returned: 1
i'm running:
ubuntu 16.04 LTS
wildfly 10.1.0 final
ejbca 6.5.0.4
utilizing mysql db backend
i've seen references out there on the web to this issue being caused by either:
misconfigued jboss backend
missing code in ejbca source
wrong / bad version of wildfly
Does anyone out there have a definitive fix for this?
If i follow the quick start guide, it works fine.
Thanks.
- - - Fabian Santiago