0 Replies Latest reply on Aug 13, 2017 6:41 AM by omer nahu

    wildfly with ejbca

    omer nahu Newbie

      Hi,

      I am trying to install ejbca 6.5 on wildfly 10 final,

      i always get the same errors, when i try to do ant install in the ejbca folder. (even with default h2 database)

       

      ejbca:initCA:

           [echo] Initializing CA with 'ManagementCA' 'CN=ManagementCA,O=EJBCA Sample,C=SE' '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: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.<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@255b53dc

           [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.getCachedConfiguration(Unknown Source)

           [java]     at org.ejbca.ui.cli.ra.AddEndEntityCommand.<init>(AddEndEntityCommand.java:91)

           [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

      /usr/local/share/ejbca_ce_6_5.0.5/build.xml:64: The following error occurred while executing this line:

      /usr/local/share/ejbca_ce_6_5.0.5/build.xml:70: The following error occurred while executing this line:

      /usr/local/share/ejbca_ce_6_5.0.5/bin/cli.xml:97: The following error occurred while executing this line:

      /usr/local/share/ejbca_ce_6_5.0.5/bin/cli.xml:115: The following error occurred while executing this line:

      /usr/local/share/ejbca_ce_6_5.0.5/bin/cli.xml:189: Java returned: 1

       

       

      please help