|
From: Tomas G. <to...@pr...> - 2016-09-27 07:57:56
|
Hi, "ant bootstrap" is not a command that is used during installation. See here for the installation guide for EJBCA 6.3.1.1: https://www.ejbca.org/docs/installation.html#Installation%20guide A good start is following the troubleshooting guide and look at the JBoss logs. See here for more information: https://www.ejbca.org/docs/adminguide.html#Troubleshooting Regards, 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 2016-09-26 19:46, ajay koul wrote: > Hello > > I am using EJBCA latest version > > J boss: 7. > jdk: 1.7.0_79 > apache ant 1.9.7 > > > when i try ant bootstrap : it shows build successfully > > After that when i execute ant install : it is giving the error > > > > _______________________________________ > > etup: > [copy] Copying 2 files to C:\ejbca\dist\ejbca-ws-cli\lib > > build: > > ejbca-ejb-interface: > > customejbca.message: > > appserver.error.message: > [echo] jndi.properties.file: C:\ejbca/conf/jndi.properties.jboss7 > > -check.clover: > > with.clover: > > ejbca-util: > > customejbca.message: > > appserver.error.message: > [echo] jndi.properties.file: C:\ejbca/conf/jndi.properties.jboss7 > > -check.clover: > > with.clover: > > -build-cesecore-ejb-interface: > > customejbca.message: > > appserver.error.message: > [echo] jndi.properties.file: C:\ejbca/conf/jndi.properties.jboss7 > > cesecore-common.jar: > [javac] Compiling 2 source files to > C:\ejbca\modules\cesecore-common\build\classes > > customejbca.message: > > appserver.error.message: > [echo] jndi.properties.file: C:\ejbca/conf/jndi.properties.jboss7 > > buildservicemanifestbuilder: > [java] 0 [main] INFO > org.cesecore.keys.token.CryptoTokenFactory - Class not found: > se.primeKey.caToken.card.PrimeCAToken. > [java] 0 [main] INFO > org.cesecore.keys.token.CryptoTokenFactory - Can not register > se.primeKey.caToken.card.PrimeCAToken. This is normally not an error. > [java] 0 [main] INFO > org.cesecore.keys.token.CryptoTokenFactory - Can not instantiate > org.cesecore.keys.token.PKCS11CryptoToken. PKCS11 provider class > sun.security.pkcs11.SunPKCS11 not found > .. > [java] 0 [main] INFO > org.cesecore.keys.token.CryptoTokenFactory - Can not register > org.cesecore.keys.token.PKCS11CryptoToken. This is normally not an error. > [java] Added 0 implementations of org.cesecore.certificates.ca > <http://org.cesecore.certificates.ca/>.CvcPlugin > > customejbca.message: > > appserver.error.message: > [echo] jndi.properties.file: C:\ejbca/conf/jndi.properties.jboss7 > > buildservicemanifestbuilder: > [java] 0 [main] INFO > org.cesecore.keys.token.CryptoTokenFactory - Class not found: > se.primeKey.caToken.card.PrimeCAToken. > [java] 0 [main] INFO > org.cesecore.keys.token.CryptoTokenFactory - Can not register > se.primeKey.caToken.card.PrimeCAToken. This is normally not an error. > [java] 0 [main] INFO > org.cesecore.keys.token.CryptoTokenFactory - Can not instantiate > org.cesecore.keys.token.PKCS11CryptoToken. PKCS11 provider class > sun.security.pkcs11.SunPKCS11 not found > .. > [java] 0 [main] INFO > org.cesecore.keys.token.CryptoTokenFactory - Can not register > org.cesecore.keys.token.PKCS11CryptoToken. This is normally not an error. > [java] Added 1 implementations of > org.cesecore.authorization.rules.AccessRulePlugin > > customejbca.message: > > appserver.error.message: > [echo] jndi.properties.file: C:\ejbca/conf/jndi.properties.jboss7 > > buildservicemanifestbuilder: > [java] 0 [main] INFO > org.cesecore.keys.token.CryptoTokenFactory - Class not found: > se.primeKey.caToken.card.PrimeCAToken. > [java] 0 [main] INFO > org.cesecore.keys.token.CryptoTokenFactory - Can not register > se.primeKey.caToken.card.PrimeCAToken. This is normally not an error. > [java] 16 [main] INFO > org.cesecore.keys.token.CryptoTokenFactory - Can not instantiate > org.cesecore.keys.token.PKCS11CryptoToken. PKCS11 provider class > sun.security.pkcs11.SunPKCS11 not found > .. > [java] 16 [main] INFO > org.cesecore.keys.token.CryptoTokenFactory - Can not register > org.cesecore.keys.token.PKCS11CryptoToken. This is normally not an error. > [java] Added 1 implementations of > org.cesecore.configuration.ConfigurationCache > [jar] Building jar: > C:\ejbca\modules\cesecore-common\dist\cesecore-common.jar > > cesecore-entity.jar: > > jar: > > -copy-cesecore-entities: > > -copy-cesecore-common: > [jar] Building jar: C:\ejbca\modules\dist\cesecore-common.jar > > -copy-cesecore-ejb-interface: > > cesecore-ejb-interface: > > compile-util: > > build-util: > > customejbca.message: > > appserver.error.message: > [echo] jndi.properties.file: C:\ejbca/conf/jndi.properties.jboss7 > > buildservicemanifestbuilder: > [java] Added 3 implementations of > org.cesecore.configuration.ConfigurationCache > [jar] Building jar: C:\ejbca\dist\ejbca-util.jar > > ejbca-entity: > > customejbca.message: > > appserver.error.message: > [echo] jndi.properties.file: C:\ejbca/conf/jndi.properties.jboss7 > > -check.clover: > > with.clover: > > compile-external-deps: > > compile: > > handlepersistence: > [copy] Copying 1 file to C:\ejbca\modules\ejbca-entity\build\META-INF > [copy] Copying 1 file to > C:\ejbca\modules\ejbca-entity\build-test\META-INF > [copy] Copying 1 file to > C:\ejbca\modules\ejbca-entity\build-cli\META-INF > > handleorm: > [copy] Copying 1 file to C:\ejbca\modules\ejbca-entity\build\META-INF > [copy] Copying 11 files to > C:\ejbca\modules\ejbca-entity\build-test\META-INF > [copy] Copying 11 files to > C:\ejbca\modules\ejbca-entity\build-cli\META-INF > > build: > [jar] Building jar: C:\ejbca\modules\dist\ejbca-entity.jar > > compile-ejb3: > > build: > > ejbca-common-web: > > customejbca.message: > > appserver.error.message: > [echo] jndi.properties.file: C:\ejbca/conf/jndi.properties.jboss7 > > -check.clover: > > with.clover: > > compile-common-web-external-deps: > > compile-common-web: > > build-common-web: > > customejbca.message: > > appserver.error.message: > [echo] jndi.properties.file: C:\ejbca/conf/jndi.properties.jboss7 > > buildservicemanifestbuilder: > [java] log4j:WARN No appenders could be found for logger > (org.cesecore.config.ConfigurationHolder). > [java] log4j:WARN Please initialize the log4j system properly. > [java] log4j:WARN > See http://logging.apache.org/log4j/1.2/faq.html#noconfig > <http://logging.apache.org/log4j/1.2/faq.html#noconfig> for more info. > [java] Added 1 implementations of org.ejbca.core.model.ca > <http://org.ejbca.core.model.ca/>.publisher.ICustomPublisher > [jar] Building jar: C:\ejbca\modules\dist\ejbca-common-web.jar > > peerconnector-cli: > > ejbca-ejb-cli: > > customejbca.message: > > appserver.error.message: > [echo] jndi.properties.file: C:\ejbca/conf/jndi.properties.jboss7 > > setup-external-deps: > > setup: > [copy] Copying 3 files to C:\ejbca\dist\ejbca-ejb-cli\lib > > compile: > > build: > > customejbca.message: > > appserver.error.message: > [echo] jndi.properties.file: C:\ejbca/conf/jndi.properties.jboss7 > > buildservicemanifestbuilder: > [java] Added 106 implementations of > org.ejbca.ui.cli.infrastructure.command.CliCommandPlugin > [jar] Building jar: C:\ejbca\dist\ejbca-ejb-cli\ejbca-ejb-cli.jar > > inputKeystorePassword: > [input] skipping input as property java.trustpassword has already > been set. > [input] skipping input as property httpsserver.password has already > been set. > > install: > > customejbca.message: > > appserver.error.message: > [echo] jndi.properties.file: C:\ejbca/conf/jndi.properties.jboss7 > > runinstall: > > check:bootstrapdone: > > ejbca:prompt: > [input] Please enter the CA name (default: ManagementCA) ? > [ManagementCA] > > [input] Please enter the CA dn (default: CN=ManagementCA,O=EJBCA > Sample,C=SE) ? [CN=ManagementCA,O=EJBCA Sample,C=SE] > > [input] Please enter the CA key type (default: RSA) ? [RSA] > > [input] Please enter the CA key spec (default: 2048) ? [2048] > > [input] Please enter the CA signature algorithm (default: > SHA256WithRSA) ? [SHA256WithRSA] > > [input] Please enter the CA validity in days (default: 3650) ? [3650] > > [input] Please enter the CA policy id (default, no policy) ? [null] > > [echo] To set httpsserver.hostname you need to configure > conf/web.properties. See sample config file conf/web.properties.sample. > [input] skipping input as property httpsserver.hostname has already > been set. > [echo] > [echo] Common Name (CN) of httpsserver dn is by default taken from > the httpsserver.hostname. > [input] skipping input as property httpsserver.dn has already been set. > [input] skipping input as property superadmin.cn > <http://superadmin.cn/> has already been set. > [input] skipping input as property superadmin.dn has already been set. > [input] skipping input as property superadmin.batch has already been > set. > [input] skipping input as property superadmin.password has already > been set. > Enter password CA token password: [null] > > ejbca:deploytrustprompt: > [input] skipping input as property java.trustpassword has already > been set. > > ejbca:deployprompt: > [input] skipping input as property httpsserver.password has already > been set. > > ejbca:init: > [echo] > [echo] ------------------- CA Properties ---------------- > [echo] ca.name <http://ca.name/> : ManagementCA > [echo] ca.dn : CN=ManagementCA,O=EJBCA Sample,C=SE > [echo] ca.tokentype : soft > [echo] ca.keytype : RSA > [echo] ca.keyspec : 2048 > [echo] ca.signaturealgorithm : SHA256WithRSA > [echo] ca.validity : 3650 > [echo] ca.policy : null > [echo] ca.tokenproperties : ${ca.tokenproperties} > [echo] httpsserver.hostname : localhost > [echo] httpsserver.dn : CN=localhost,O=EJBCA Sample,C=SE > [echo] superadmin.cn <http://superadmin.cn/> : SuperAdmin > [echo] superadmin.dn : CN=SuperAdmin > [echo] superadmin.batch : true > [echo] appserver.home : C:\jboss > [echo] > > ejbca:install: > > 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.keybind.InternalKeyBindingCreateCommand > 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: No EJB receiver > available for handling > [appName:ejbca,modulename:cesecore-ejb,distinctname:] combination for > invocation context org.jboss.ejb.cl <http://org.jboss.ejb.cl/> > ient.EJBClientInvocationContext@32fb305f > [java] at > org.jboss.ejb.client.EJBClientContext.requireEJBReceiver(EJBClientContext.java:584) > [java] at > org.jboss.ejb.client.ReceiverInterceptor.handleInvocation(ReceiverInterceptor.java:119) > [java] at > org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:181) > [java] at > org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java:136) > [java] at > org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java:121) > [java] at > org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:104) > [java] at > com.sun.proxy.$Proxy0.getAvailableTypesAndProperties(Unknown Source) > [java] at > org.ejbca.ui.cli.keybind.InternalKeyBindingCreateCommand.<init>(InternalKeyBindingCreateCommand.java:68) > [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:379) > [java] at > java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:373) > [java] ... 4 more > > BUILD FAILED > C:\ejbca\build.xml:64: The following error occurred while executing this > line: > C:\ejbca\build.xml:70: The following error occurred while executing this > line: > C:\ejbca\bin\cli.xml:94: The following error occurred while executing > this line: > C:\ejbca\bin\cli.xml:112: The following error occurred while executing > this line: > C:\ejbca\bin\cli.xml:186: Java returned: 1 > > Total time: 1 minute 29 seconds > > please help > > > Regards, > > *Ajay koul **I****Technical Associate.* > > > > * > * > > On Sun, Sep 25, 2016 at 4:50 PM, ajay koul <aja...@gm... > <mailto:aja...@gm...>> wrote: > > Hello > > I am using EJBCA latest version > > J boss: 7. > jdk: 1.7.0_79 > apache ant 1.9.7 > > > when i try ant bootstrap : it shows build successfully > > After that when i execute ant install : it is giving the error > > > > _______________________________________ > > etup: > [copy] Copying 2 files to C:\ejbca\dist\ejbca-ws-cli\lib > > build: > > ejbca-ejb-interface: > > customejbca.message: > > appserver.error.message: > [echo] jndi.properties.file: C:\ejbca/conf/jndi.properties.jboss7 > > -check.clover: > > with.clover: > > ejbca-util: > > customejbca.message: > > appserver.error.message: > [echo] jndi.properties.file: C:\ejbca/conf/jndi.properties.jboss7 > > -check.clover: > > with.clover: > > -build-cesecore-ejb-interface: > > customejbca.message: > > appserver.error.message: > [echo] jndi.properties.file: C:\ejbca/conf/jndi.properties.jboss7 > > cesecore-common.jar: > [javac] Compiling 2 source files to > C:\ejbca\modules\cesecore-common\build\classes > > customejbca.message: > > appserver.error.message: > [echo] jndi.properties.file: C:\ejbca/conf/jndi.properties.jboss7 > > buildservicemanifestbuilder: > [java] 0 [main] INFO > org.cesecore.keys.token.CryptoTokenFactory - Class not found: > se.primeKey.caToken.card.PrimeCAToken. > [java] 0 [main] INFO > org.cesecore.keys.token.CryptoTokenFactory - Can not register > se.primeKey.caToken.card.PrimeCAToken. This is normally not an error. > [java] 0 [main] INFO > org.cesecore.keys.token.CryptoTokenFactory - Can not instantiate > org.cesecore.keys.token.PKCS11CryptoToken. PKCS11 provider class > sun.security.pkcs11.SunPKCS11 not found > .. > [java] 0 [main] INFO > org.cesecore.keys.token.CryptoTokenFactory - Can not register > org.cesecore.keys.token.PKCS11CryptoToken. This is normally not an > error. > [java] Added 0 implementations of org.cesecore.certificates.ca > <http://org.cesecore.certificates.ca/>.CvcPlugin > > customejbca.message: > > appserver.error.message: > [echo] jndi.properties.file: C:\ejbca/conf/jndi.properties.jboss7 > > buildservicemanifestbuilder: > [java] 0 [main] INFO > org.cesecore.keys.token.CryptoTokenFactory - Class not found: > se.primeKey.caToken.card.PrimeCAToken. > [java] 0 [main] INFO > org.cesecore.keys.token.CryptoTokenFactory - Can not register > se.primeKey.caToken.card.PrimeCAToken. This is normally not an error. > [java] 0 [main] INFO > org.cesecore.keys.token.CryptoTokenFactory - Can not instantiate > org.cesecore.keys.token.PKCS11CryptoToken. PKCS11 provider class > sun.security.pkcs11.SunPKCS11 not found > .. > [java] 0 [main] INFO > org.cesecore.keys.token.CryptoTokenFactory - Can not register > org.cesecore.keys.token.PKCS11CryptoToken. This is normally not an > error. > [java] Added 1 implementations of > org.cesecore.authorization.rules.AccessRulePlugin > > customejbca.message: > > appserver.error.message: > [echo] jndi.properties.file: C:\ejbca/conf/jndi.properties.jboss7 > > buildservicemanifestbuilder: > [java] 0 [main] INFO > org.cesecore.keys.token.CryptoTokenFactory - Class not found: > se.primeKey.caToken.card.PrimeCAToken. > [java] 0 [main] INFO > org.cesecore.keys.token.CryptoTokenFactory - Can not register > se.primeKey.caToken.card.PrimeCAToken. This is normally not an error. > [java] 16 [main] INFO > org.cesecore.keys.token.CryptoTokenFactory - Can not instantiate > org.cesecore.keys.token.PKCS11CryptoToken. PKCS11 provider class > sun.security.pkcs11.SunPKCS11 not found > .. > [java] 16 [main] INFO > org.cesecore.keys.token.CryptoTokenFactory - Can not register > org.cesecore.keys.token.PKCS11CryptoToken. This is normally not an > error. > [java] Added 1 implementations of > org.cesecore.configuration.ConfigurationCache > [jar] Building jar: > C:\ejbca\modules\cesecore-common\dist\cesecore-common.jar > > cesecore-entity.jar: > > jar: > > -copy-cesecore-entities: > > -copy-cesecore-common: > [jar] Building jar: C:\ejbca\modules\dist\cesecore-common.jar > > -copy-cesecore-ejb-interface: > > cesecore-ejb-interface: > > compile-util: > > build-util: > > customejbca.message: > > appserver.error.message: > [echo] jndi.properties.file: C:\ejbca/conf/jndi.properties.jboss7 > > buildservicemanifestbuilder: > [java] Added 3 implementations of > org.cesecore.configuration.ConfigurationCache > [jar] Building jar: C:\ejbca\dist\ejbca-util.jar > > ejbca-entity: > > customejbca.message: > > appserver.error.message: > [echo] jndi.properties.file: C:\ejbca/conf/jndi.properties.jboss7 > > -check.clover: > > with.clover: > > compile-external-deps: > > compile: > > handlepersistence: > [copy] Copying 1 file to > C:\ejbca\modules\ejbca-entity\build\META-INF > [copy] Copying 1 file to > C:\ejbca\modules\ejbca-entity\build-test\META-INF > [copy] Copying 1 file to > C:\ejbca\modules\ejbca-entity\build-cli\META-INF > > handleorm: > [copy] Copying 1 file to > C:\ejbca\modules\ejbca-entity\build\META-INF > [copy] Copying 11 files to > C:\ejbca\modules\ejbca-entity\build-test\META-INF > [copy] Copying 11 files to > C:\ejbca\modules\ejbca-entity\build-cli\META-INF > > build: > [jar] Building jar: C:\ejbca\modules\dist\ejbca-entity.jar > > compile-ejb3: > > build: > > ejbca-common-web: > > customejbca.message: > > appserver.error.message: > [echo] jndi.properties.file: C:\ejbca/conf/jndi.properties.jboss7 > > -check.clover: > > with.clover: > > compile-common-web-external-deps: > > compile-common-web: > > build-common-web: > > customejbca.message: > > appserver.error.message: > [echo] jndi.properties.file: C:\ejbca/conf/jndi.properties.jboss7 > > buildservicemanifestbuilder: > [java] log4j:WARN No appenders could be found for logger > (org.cesecore.config.ConfigurationHolder). > [java] log4j:WARN Please initialize the log4j system properly. > [java] log4j:WARN > See http://logging.apache.org/log4j/1.2/faq.html#noconfig > <http://logging.apache.org/log4j/1.2/faq.html#noconfig> for more info. > [java] Added 1 implementations of org.ejbca.core.model.ca > <http://org.ejbca.core.model.ca/>.publisher.ICustomPublisher > [jar] Building jar: C:\ejbca\modules\dist\ejbca-common-web.jar > > peerconnector-cli: > > ejbca-ejb-cli: > > customejbca.message: > > appserver.error.message: > [echo] jndi.properties.file: C:\ejbca/conf/jndi.properties.jboss7 > > setup-external-deps: > > setup: > [copy] Copying 3 files to C:\ejbca\dist\ejbca-ejb-cli\lib > > compile: > > build: > > customejbca.message: > > appserver.error.message: > [echo] jndi.properties.file: C:\ejbca/conf/jndi.properties.jboss7 > > buildservicemanifestbuilder: > [java] Added 106 implementations of > org.ejbca.ui.cli.infrastructure.command.CliCommandPlugin > [jar] Building jar: C:\ejbca\dist\ejbca-ejb-cli\ejbca-ejb-cli.jar > > inputKeystorePassword: > [input] skipping input as property java.trustpassword has > already been set. > [input] skipping input as property httpsserver.password has > already been set. > > install: > > customejbca.message: > > appserver.error.message: > [echo] jndi.properties.file: C:\ejbca/conf/jndi.properties.jboss7 > > runinstall: > > check:bootstrapdone: > > ejbca:prompt: > [input] Please enter the CA name (default: ManagementCA) ? > [ManagementCA] > > [input] Please enter the CA dn (default: CN=ManagementCA,O=EJBCA > Sample,C=SE) ? [CN=ManagementCA,O=EJBCA Sample,C=SE] > > [input] Please enter the CA key type (default: RSA) ? [RSA] > > [input] Please enter the CA key spec (default: 2048) ? [2048] > > [input] Please enter the CA signature algorithm (default: > SHA256WithRSA) ? [SHA256WithRSA] > > [input] Please enter the CA validity in days (default: 3650) ? > [3650] > > [input] Please enter the CA policy id (default, no policy) ? [null] > > [echo] To set httpsserver.hostname you need to configure > conf/web.properties. See sample config file conf/web.properties.sample. > [input] skipping input as property httpsserver.hostname has > already been set. > [echo] > [echo] Common Name (CN) of httpsserver dn is by default taken > from the httpsserver.hostname. > [input] skipping input as property httpsserver.dn has already > been set. > [input] skipping input as property superadmin.cn > <http://superadmin.cn/> has already been set. > [input] skipping input as property superadmin.dn has already > been set. > [input] skipping input as property superadmin.batch has already > been set. > [input] skipping input as property superadmin.password has > already been set. > Enter password CA token password: [null] > > ejbca:deploytrustprompt: > [input] skipping input as property java.trustpassword has > already been set. > > ejbca:deployprompt: > [input] skipping input as property httpsserver.password has > already been set. > > ejbca:init: > [echo] > [echo] ------------------- CA Properties ---------------- > [echo] ca.name <http://ca.name/> : ManagementCA > [echo] ca.dn : CN=ManagementCA,O=EJBCA Sample,C=SE > [echo] ca.tokentype : soft > [echo] ca.keytype : RSA > [echo] ca.keyspec : 2048 > [echo] ca.signaturealgorithm : SHA256WithRSA > [echo] ca.validity : 3650 > [echo] ca.policy : null > [echo] ca.tokenproperties : ${ca.tokenproperties} > [echo] httpsserver.hostname : localhost > [echo] httpsserver.dn : CN=localhost,O=EJBCA Sample,C=SE > [echo] superadmin.cn <http://superadmin.cn/> : SuperAdmin > [echo] superadmin.dn : CN=SuperAdmin > [echo] superadmin.batch : true > [echo] appserver.home : C:\jboss > [echo] > > ejbca:install: > > 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.keybind.InternalKeyBindingCreateCommand > 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: No EJB > receiver available for handling > [appName:ejbca,modulename:cesecore-ejb,distinctname:] combination > for invocation context org.jboss.ejb.cl <http://org.jboss.ejb.cl/> > ient.EJBClientInvocationContext@32fb305f > [java] at > org.jboss.ejb.client.EJBClientContext.requireEJBReceiver(EJBClientContext.java:584) > [java] at > org.jboss.ejb.client.ReceiverInterceptor.handleInvocation(ReceiverInterceptor.java:119) > [java] at > org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:181) > [java] at > org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java:136) > [java] at > org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java:121) > [java] at > org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:104) > [java] at > com.sun.proxy.$Proxy0.getAvailableTypesAndProperties(Unknown Source) > [java] at > org.ejbca.ui.cli.keybind.InternalKeyBindingCreateCommand.<init>(InternalKeyBindingCreateCommand.java:68) > [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:379) > [java] at > java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:373) > [java] ... 4 more > > BUILD FAILED > C:\ejbca\build.xml:64: The following error occurred while executing > this line: > C:\ejbca\build.xml:70: The following error occurred while executing > this line: > C:\ejbca\bin\cli.xml:94: The following error occurred while > executing this line: > C:\ejbca\bin\cli.xml:112: The following error occurred while > executing this line: > C:\ejbca\bin\cli.xml:186: Java returned: 1 > > Total time: 1 minute 29 seconds > > please help > > > > Regards, > > *Ajay koul **I****Technical Associate.* > > > > * > * > > > > > ------------------------------------------------------------------------------ > > > > _______________________________________________ > Ejbca-develop mailing list > Ejb...@li... > https://lists.sourceforge.net/lists/listinfo/ejbca-develop > |