|
From: ajay k. <aja...@gm...> - 2016-09-25 09:30:21
|
I am trying to install ejbca on windows server 2012 but it gives the
following error
please help
_______________________________
setup:
[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.
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 for more info.
[java] Added 1 implementations of 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 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 : 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 : 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
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.InternalKeyBindingCreateComman
d.<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.DelegatingConstructorAccessorI
mpl.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
Regards,
*Ajay koul **I* *Technical Associate.*
On Sun, Sep 25, 2016 at 2:56 PM, 三皮 <152...@qq...> wrote:
> HI GUY ,
> I got a "SSL_ERROR_INTERNAL_ERROR_ALERT" error when tried to visite
> both "https://xxx:8442/ejbca"and"https://xxx:8443/ejbca" with firefox
> (v47.0.1). BUT the IE goes well !
> Is there any suggestions ? Thanks all.
>
>
> ------------------ Original ------------------
> *From: * "ejbca-develop-request";<ejbca-develop-request@lists.
> sourceforge.net>;
> *Date: * Sun, Sep 25, 2016 03:21 PM
> *To: * "三皮"<152...@qq...>;
> *Subject: * Welcome to the "Ejbca-develop" mailing list
>
> Welcome to the Ejb...@li... mailing list!
>
> To post to this list, send your email to:
>
> ejb...@li...
>
> General information about the mailing list is at:
>
> https://lists.sourceforge.net/lists/listinfo/ejbca-develop
>
> If you ever want to unsubscribe or change your options (eg, switch to
> or from digest mode, change your password, etc.), visit your
> subscription page at:
>
> https://lists.sourceforge.net/lists/options/ejbca-develop/
> 15273014%40qq.com
>
>
> You can also make such adjustments via email by sending a message to:
>
> Ejb...@li...
>
> with the word `help' in the subject or body (don't include the
> quotes), and you will get back a message with instructions.
>
> You must know your password to change your options (including changing
> the password, itself) or to unsubscribe. It is:
>
> seakbued
>
> Normally, Mailman will remind you of your lists.sourceforge.net
> mailing list passwords once every month, although you can disable this
> if you prefer. This reminder will also include instructions on how to
> unsubscribe or change your account options. There is also a button on
> your options page that will email your current password to you.
>
> ------------------------------------------------------------
> ------------------
>
> _______________________________________________
> Ejbca-develop mailing list
> Ejb...@li...
> https://lists.sourceforge.net/lists/listinfo/ejbca-develop
>
>
|