|
From: Michael S. <mi...@st...> - 2014-10-23 07:53:05
Attachments:
smime.p7s
|
HI! It seems one of the latest SVN commits broke something. See details below. Ciao, Michael. $ svn info Path: . Working Copy Root Path: /usr/src/michael/ejbca URL: https://svn.cesecore.eu/svn/ejbca/trunk/ejbca Relative URL: ^/trunk/ejbca Repository Root: https://svn.cesecore.eu/svn/ejbca Repository UUID: 37aeb1de-b14b-0410-9a0e-82b28170d228 Revision: 20069 Node Kind: directory Schedule: normal Last Changed Author: mikekushner Last Changed Rev: 20068 Last Changed Date: 2014-10-22 18:30:45 +0200 (Wed, 22 Oct 2014) $ bin/ejbca.sh ca init --help log4j:WARN No appenders could be found for logger (org.jboss.remoting.remote.connection). log4j:WARN Please initialize the log4j system properly. log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info. Exception in thread "main" java.util.ServiceConfigurationError: org.ejbca.ui.cli.infrastructure.command.CliCommandPlugin: Provider org.ejbca.ui.cli.keybind.InternalKeyBindingModifyCommand could not be instantiated: java.lang.IllegalStateException: No EJB receiver available for handling [appName:ejbca,modulename:cesecore-ejb,distinctname:] combination for invocation context org.jboss.ejb.client.EJBClientInvocationContext@31f32e51 at java.util.ServiceLoader.fail(ServiceLoader.java:224) at java.util.ServiceLoader.access$100(ServiceLoader.java:181) at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:377) at java.util.ServiceLoader$1.next(ServiceLoader.java:445) at org.ejbca.ui.cli.infrastructure.library.CommandLibrary.<init>(CommandLibrary.java:53) at org.ejbca.ui.cli.infrastructure.library.CommandLibrary.<clinit>(CommandLibrary.java:38) at org.ejbca.ui.cli.EjbcaEjbCli.main(EjbcaEjbCli.java:29) Caused by: java.lang.IllegalStateException: No EJB receiver available for handling [appName:ejbca,modulename:cesecore-ejb,distinctname:] combination for invocation context org.jboss.ejb.client.EJBClientInvocationContext@31f32e51 at org.jboss.ejb.client.EJBClientContext.requireEJBReceiver(EJBClientContext.java:584) at org.jboss.ejb.client.ReceiverInterceptor.handleInvocation(ReceiverInterceptor.java:119) at org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:181) at org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java:136) at org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java:121) at org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:104) at com.sun.proxy.$Proxy0.getAvailableTypesAndProperties(Unknown Source) at org.ejbca.ui.cli.keybind.InternalKeyBindingModifyCommand.<init>(InternalKeyBindingModifyCommand.java:79) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:526) at java.lang.Class.newInstance(Class.java:374) at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:373) ... 4 more |
|
From: Fabian S. <fsa...@ga...> - 2017-03-01 20:11:21
|
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
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
org.jboss.ejb.client.EJBClientInvocationContext@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
-----BEGIN PGP SIGNATURE-----
Version: Mailvelope v1.7.1
Comment: https://www.mailvelope.com
wsFcBAEBCAAQBQJYtyTXCRBVUCsO65Bw/AAAzNAQAI9VQkDj88sxNN+SoWrS
sVmg7N8rJgow+HXI54MzOVS6WdiqRkEuNTmGMfQ7+STl+NsJylsfEqJBUkne
vGpbwmHrFxUnc8vtCUGrnXjyAn3/tLHetB8ldUWfl1m5Gg91iyoSkQgzhxgY
iqXrNnkHZkW/aOKpgjme46xpBaiSYCBwn9pD0pKRs4ZLxadYcTVb8yLsY9qW
VcB3YqsJF3tMb8+Jc78P5owJfOrXUzvbHBhP/ml/3bTs+kKmSEZsE4T35k0t
oIM32/gKeb22UPlv1Y0kqyPQAz6hjNUIstahggAKx+Anm2B/1BQ7v5x/42hQ
KwP7b2L2xCGeAU/4DbedUfYBWIFGyEOjDNIVqWfrHDR0XZKQz+ZtRLktJpgy
q41GjwKZuMhcSGv3IVhRtW2Niy9ZcizddX6rkOGIU4CSwelgCgC5xZ9hKYHs
oCAxfGFSIpBk+rrq0TWE1akmZpYHj5YPYnaSs6x4uReCLopo+3LPAb8iZNqT
GQdIRfrsvVc13+YdYfkX+aZchj/u4NGIoGF3E0aL+oUr61JI14j5oEJYZcxp
SngoyH07X4aTP0JPk+fWKLVTfPlY+WPmWU3S4vUslf6CHWAWCP15pfmQXpi5
H9NymAesK7oNmUoKXJiWNVIhJNuZnOLXyJSRbcQBmgZ9coVzh5wrPapjVP2c
v6Fa
=7NwC
-----END PGP SIGNATURE-----
|
|
From: Fabian S. <fsa...@ga...> - 2017-03-02 02:34:20
|
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
I found an error in server.log (jboss-eap-7.0 I am now trying) after
ant deploy / clean deployear:
ERROR [org.jboss.as.controller.management-operation]
(DeploymentScanner-threads - 2) WFLYCTL0013: Operation ("deploy")
failed - address: ([("deployment" => "ejbca.ear")]) - failure
description: {"WFLYCTL0180: Services with missing/unavailable
dependencies" => [
"jboss.persistenceunit.\"ejbca.ear#ejbca\" is missing
[jboss.naming.context.java.ejbcads]",
"jboss.persistenceunit.\"ejbca.ear#ejbca\".__FIRST_PHASE__ is
missing [jboss.naming.context.java.ejbcads]"
]}
so now, how do i add this missing component and where to find? or is
it a simple conf file typo issue? Thanks.
- - Fabian S.
-----BEGIN PGP SIGNATURE-----
Version: Mailvelope v1.7.1
Comment: https://www.mailvelope.com
wsFcBAEBCAAQBQJYt4SXCRBVUCsO65Bw/AAAdG0P/3qnp/WkVSXxhN19SQpi
5ePGNrDadkndBMMsQuVMf0as/bYkmq1zqswk5TTDp4ub0zd8gI72Zn1zxV2/
y/nlJIg+pX0IFGVSpcSC25n6qzDzXsfj4Vty9YnNiKj2fzn6AYrPAbXiHNo5
o+Sv5phdUIiHPwtOjVMlk3Kf38GCj7Fk3sNL+g8aKPms5ejmjjR1XzCqhh0X
eW0WwHjoWUPoREbUz6FHv6X628Ku9Ba5jBcnzc3pEP8L1FUk/QXhHTmxKXBz
kDRCjRAQsDoj2wg+veHLItqlRWeVrGVe9fqsxlNnyoZULBytE6DPEsw8upVy
On2j0WmRWqwjoRV2nku9eAA70eMQmuHvrxlntJIdxecp3PcQigjWEqI16heu
KogvtyGi8NGxWUmiA04jb9EzhrD3bpaGnfnxyeTmTCsc7atVI3Qs2iokJO37
NbXY8vNorHSfBGi3AIWSGYfZx+NkM0MwfpuQbCuZUXkqOSYuhCGFQSvCW8AR
dWHsA5WDhq6wwPOZJFkRhYJgoT1ByXaEpvtVg7RalXnGKfOuC+fz6htNI5TW
fairXV7KBaBw4sYAgASGOnt4XtimzotUjAvhyqPR/Gb6k165MihivyTwijf2
k6SKwNcneg3N1HgKbgs2YgmaUW0bHwS0B8rSA30+z3QHD+j64tZUuZXk7C51
aM6K
=boVe
-----END PGP SIGNATURE-----
On Wed, Mar 1, 2017 at 2:45 PM, Fabian Santiago
<fsa...@ga...> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> 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
> org.jboss.ejb.client.EJBClientInvocationContext@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
> -----BEGIN PGP SIGNATURE-----
> Version: Mailvelope v1.7.1
> Comment: https://www.mailvelope.com
>
> wsFcBAEBCAAQBQJYtyTXCRBVUCsO65Bw/AAAzNAQAI9VQkDj88sxNN+SoWrS
> sVmg7N8rJgow+HXI54MzOVS6WdiqRkEuNTmGMfQ7+STl+NsJylsfEqJBUkne
> vGpbwmHrFxUnc8vtCUGrnXjyAn3/tLHetB8ldUWfl1m5Gg91iyoSkQgzhxgY
> iqXrNnkHZkW/aOKpgjme46xpBaiSYCBwn9pD0pKRs4ZLxadYcTVb8yLsY9qW
> VcB3YqsJF3tMb8+Jc78P5owJfOrXUzvbHBhP/ml/3bTs+kKmSEZsE4T35k0t
> oIM32/gKeb22UPlv1Y0kqyPQAz6hjNUIstahggAKx+Anm2B/1BQ7v5x/42hQ
> KwP7b2L2xCGeAU/4DbedUfYBWIFGyEOjDNIVqWfrHDR0XZKQz+ZtRLktJpgy
> q41GjwKZuMhcSGv3IVhRtW2Niy9ZcizddX6rkOGIU4CSwelgCgC5xZ9hKYHs
> oCAxfGFSIpBk+rrq0TWE1akmZpYHj5YPYnaSs6x4uReCLopo+3LPAb8iZNqT
> GQdIRfrsvVc13+YdYfkX+aZchj/u4NGIoGF3E0aL+oUr61JI14j5oEJYZcxp
> SngoyH07X4aTP0JPk+fWKLVTfPlY+WPmWU3S4vUslf6CHWAWCP15pfmQXpi5
> H9NymAesK7oNmUoKXJiWNVIhJNuZnOLXyJSRbcQBmgZ9coVzh5wrPapjVP2c
> v6Fa
> =7NwC
> -----END PGP SIGNATURE-----
|
|
From: Tomas G. <to...@pr...> - 2017-03-02 02:34:41
|
You need to verify that EJBCA has deployed correctly and thet JBoss starts up properly, after configuring WildFly and deploying EJBCA with "ant deployear". I see that you have not followed the WildFly 10 installation instructions. Start over from the beginning and use the install guide, for WildFly 10. https://www.ejbca.org/docs/installation.html#WildFly%2010%20/%20JBoss%20EAP%207 (i.e. "ant install" is not used in these instructions) Cheers, Tomas ********** PrimeKey Solutions AB Lundagatan 16, 171 63 Solna, Sweden Mob: +46 (0)707421096 Internet: www.primekey.se Twitter: twitter.com/primekeyPKI ********** On 2017-03-02 02:45, Fabian Santiago wrote: > 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 > org.jboss.ejb.client.EJBClientInvocationContext@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 > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > Ejbca-develop mailing list > Ejb...@li... > https://lists.sourceforge.net/lists/listinfo/ejbca-develop > |
|
From: Tomas G. <to...@pr...> - 2017-03-02 02:53:29
|
Don't do "ant deploy", follow the WildFly 10/EAP 7 installation
instructions :-)
/Tomas
On 2017-03-02 09:34, Fabian Santiago wrote:
> I found an error in server.log (jboss-eap-7.0 I am now trying) after
> ant deploy / clean deployear:
>
> ERROR [org.jboss.as.controller.management-operation]
> (DeploymentScanner-threads - 2) WFLYCTL0013: Operation ("deploy")
> failed - address: ([("deployment" => "ejbca.ear")]) - failure
> description: {"WFLYCTL0180: Services with missing/unavailable
> dependencies" => [
> "jboss.persistenceunit.\"ejbca.ear#ejbca\" is missing
> [jboss.naming.context.java.ejbcads]",
> "jboss.persistenceunit.\"ejbca.ear#ejbca\".__FIRST_PHASE__ is
> missing [jboss.naming.context.java.ejbcads]"
> ]}
>
> so now, how do i add this missing component and where to find? or is
> it a simple conf file typo issue? Thanks.
>
> - Fabian S.
>
>
> On Wed, Mar 1, 2017 at 2:45 PM, Fabian Santiago
> <fsa...@ga...> wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA256
>>
>> 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
>> org.jboss.ejb.client.EJBClientInvocationContext@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
>> -----BEGIN PGP SIGNATURE-----
>> Version: Mailvelope v1.7.1
>> Comment: https://www.mailvelope.com
>>
>> wsFcBAEBCAAQBQJYtyTXCRBVUCsO65Bw/AAAzNAQAI9VQkDj88sxNN+SoWrS
>> sVmg7N8rJgow+HXI54MzOVS6WdiqRkEuNTmGMfQ7+STl+NsJylsfEqJBUkne
>> vGpbwmHrFxUnc8vtCUGrnXjyAn3/tLHetB8ldUWfl1m5Gg91iyoSkQgzhxgY
>> iqXrNnkHZkW/aOKpgjme46xpBaiSYCBwn9pD0pKRs4ZLxadYcTVb8yLsY9qW
>> VcB3YqsJF3tMb8+Jc78P5owJfOrXUzvbHBhP/ml/3bTs+kKmSEZsE4T35k0t
>> oIM32/gKeb22UPlv1Y0kqyPQAz6hjNUIstahggAKx+Anm2B/1BQ7v5x/42hQ
>> KwP7b2L2xCGeAU/4DbedUfYBWIFGyEOjDNIVqWfrHDR0XZKQz+ZtRLktJpgy
>> q41GjwKZuMhcSGv3IVhRtW2Niy9ZcizddX6rkOGIU4CSwelgCgC5xZ9hKYHs
>> oCAxfGFSIpBk+rrq0TWE1akmZpYHj5YPYnaSs6x4uReCLopo+3LPAb8iZNqT
>> GQdIRfrsvVc13+YdYfkX+aZchj/u4NGIoGF3E0aL+oUr61JI14j5oEJYZcxp
>> SngoyH07X4aTP0JPk+fWKLVTfPlY+WPmWU3S4vUslf6CHWAWCP15pfmQXpi5
>> H9NymAesK7oNmUoKXJiWNVIhJNuZnOLXyJSRbcQBmgZ9coVzh5wrPapjVP2c
>> v6Fa
>> =7NwC
>> -----END PGP SIGNATURE-----
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
> _______________________________________________
> Ejbca-develop mailing list
> Ejb...@li...
> https://lists.sourceforge.net/lists/listinfo/ejbca-develop
>
|
|
From: Fabian S. <fsa...@ga...> - 2017-03-02 04:59:57
|
No,
when i reach the step 'ant runinstall', a similar error occurs:
ejbca:initCA:
[echo] Initializing CA with 'GardenCA'
'CN=pki.garden-mums.com,O=Garden-lan com,C=NJ' 'soft'
<ca.tokenpassword hidden> 'prime256v1' 'ECDSA' '3650' '2.5.29.32.0'
'SHA256WithECDSA' -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.<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@3b938003
[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.<init>(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_664/ejbca/build.xml:70: The following error occurred while
executing this line:
/ejbca_664/ejbca/bin/cli.xml:97: The following error occurred while
executing this line:
/ejbca_664/ejbca/bin/cli.xml:115: The following error occurred while
executing this line:
/ejbca_664/ejbca/bin/cli.xml:189: Java returned: 1
this after switching back to wildfly and following your doc to the latter.
I suspect it's due to the error i received from the cli during the
"Add datasource" step:
{"WFLYCTL0412: Required services that are not installed:" =>
["jboss.jdbc-driver.mysql-connector-java-5_1_41-bin_jar"],"WFLYCTL0180:
Services with missing/unavailable dependencies" =>
["org.wildfly.data-source.ejbcads is missing
[jboss.jdbc-driver.mysql-connector-java-5_1_41-bin_jar]","jboss.driver-demander.java:/EjbcaDS
is missing [jboss.jdbc-driver.mysql-connector-java-5_1_41-bin_jar]"]}
now what?
- Fabian S.
On Wed, Mar 1, 2017 at 9:53 PM, Tomas Gustavsson <to...@pr...> wrote:
>
> Don't do "ant deploy", follow the WildFly 10/EAP 7 installation
> instructions :-)
>
> /Tomas
>
> On 2017-03-02 09:34, Fabian Santiago wrote:
>> I found an error in server.log (jboss-eap-7.0 I am now trying) after
>> ant deploy / clean deployear:
>>
>> ERROR [org.jboss.as.controller.management-operation]
>> (DeploymentScanner-threads - 2) WFLYCTL0013: Operation ("deploy")
>> failed - address: ([("deployment" => "ejbca.ear")]) - failure
>> description: {"WFLYCTL0180: Services with missing/unavailable
>> dependencies" => [
>> "jboss.persistenceunit.\"ejbca.ear#ejbca\" is missing
>> [jboss.naming.context.java.ejbcads]",
>> "jboss.persistenceunit.\"ejbca.ear#ejbca\".__FIRST_PHASE__ is
>> missing [jboss.naming.context.java.ejbcads]"
>> ]}
>>
>> so now, how do i add this missing component and where to find? or is
>> it a simple conf file typo issue? Thanks.
>>
>> - Fabian S.
>>
>>
>> On Wed, Mar 1, 2017 at 2:45 PM, Fabian Santiago
>> <fsa...@ga...> wrote:
>>> -----BEGIN PGP SIGNED MESSAGE-----
>>> Hash: SHA256
>>>
>>> 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
>>> org.jboss.ejb.client.EJBClientInvocationContext@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
>>> -----BEGIN PGP SIGNATURE-----
>>> Version: Mailvelope v1.7.1
>>> Comment: https://www.mailvelope.com
>>>
>>> wsFcBAEBCAAQBQJYtyTXCRBVUCsO65Bw/AAAzNAQAI9VQkDj88sxNN+SoWrS
>>> sVmg7N8rJgow+HXI54MzOVS6WdiqRkEuNTmGMfQ7+STl+NsJylsfEqJBUkne
>>> vGpbwmHrFxUnc8vtCUGrnXjyAn3/tLHetB8ldUWfl1m5Gg91iyoSkQgzhxgY
>>> iqXrNnkHZkW/aOKpgjme46xpBaiSYCBwn9pD0pKRs4ZLxadYcTVb8yLsY9qW
>>> VcB3YqsJF3tMb8+Jc78P5owJfOrXUzvbHBhP/ml/3bTs+kKmSEZsE4T35k0t
>>> oIM32/gKeb22UPlv1Y0kqyPQAz6hjNUIstahggAKx+Anm2B/1BQ7v5x/42hQ
>>> KwP7b2L2xCGeAU/4DbedUfYBWIFGyEOjDNIVqWfrHDR0XZKQz+ZtRLktJpgy
>>> q41GjwKZuMhcSGv3IVhRtW2Niy9ZcizddX6rkOGIU4CSwelgCgC5xZ9hKYHs
>>> oCAxfGFSIpBk+rrq0TWE1akmZpYHj5YPYnaSs6x4uReCLopo+3LPAb8iZNqT
>>> GQdIRfrsvVc13+YdYfkX+aZchj/u4NGIoGF3E0aL+oUr61JI14j5oEJYZcxp
>>> SngoyH07X4aTP0JPk+fWKLVTfPlY+WPmWU3S4vUslf6CHWAWCP15pfmQXpi5
>>> H9NymAesK7oNmUoKXJiWNVIhJNuZnOLXyJSRbcQBmgZ9coVzh5wrPapjVP2c
>>> v6Fa
>>> =7NwC
>>> -----END PGP SIGNATURE-----
>>
>> ------------------------------------------------------------------------------
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
>> _______________________________________________
>> Ejbca-develop mailing list
>> Ejb...@li...
>> https://lists.sourceforge.net/lists/listinfo/ejbca-develop
>>
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
> _______________________________________________
> Ejbca-develop mailing list
> Ejb...@li...
> https://lists.sourceforge.net/lists/listinfo/ejbca-develop
|
|
From: Tomas G. <to...@pr...> - 2017-03-02 05:18:49
|
Then you should check the wildfly server.log. You will see errors in there why ejbca is not deployed correctly. For example database errors if there are any. Regards, Tomas On 2 March 2017 11:59:48 GMT+07:00, Fabian Santiago <fsa...@ga...> wrote: >No, > >when i reach the step 'ant runinstall', a similar error occurs: > >ejbca:initCA: > [echo] Initializing CA with 'GardenCA' >'CN=pki.garden-mums.com,O=Garden-lan com,C=NJ' 'soft' ><ca.tokenpassword hidden> 'prime256v1' 'ECDSA' '3650' '2.5.29.32.0' >'SHA256WithECDSA' -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.<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@3b938003 >[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.<init>(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_664/ejbca/build.xml:70: The following error occurred while >executing this line: >/ejbca_664/ejbca/bin/cli.xml:97: The following error occurred while >executing this line: >/ejbca_664/ejbca/bin/cli.xml:115: The following error occurred while >executing this line: >/ejbca_664/ejbca/bin/cli.xml:189: Java returned: 1 > >this after switching back to wildfly and following your doc to the >latter. > >I suspect it's due to the error i received from the cli during the >"Add datasource" step: > >{"WFLYCTL0412: Required services that are not installed:" => >["jboss.jdbc-driver.mysql-connector-java-5_1_41-bin_jar"],"WFLYCTL0180: >Services with missing/unavailable dependencies" => >["org.wildfly.data-source.ejbcads is missing >[jboss.jdbc-driver.mysql-connector-java-5_1_41-bin_jar]","jboss.driver-demander.java:/EjbcaDS >is missing [jboss.jdbc-driver.mysql-connector-java-5_1_41-bin_jar]"]} > > >now what? > > >- Fabian S. > >On Wed, Mar 1, 2017 at 9:53 PM, Tomas Gustavsson <to...@pr...> >wrote: >> >> Don't do "ant deploy", follow the WildFly 10/EAP 7 installation >> instructions :-) >> >> /Tomas >> >> On 2017-03-02 09:34, Fabian Santiago wrote: >>> I found an error in server.log (jboss-eap-7.0 I am now trying) after >>> ant deploy / clean deployear: >>> >>> ERROR [org.jboss.as.controller.management-operation] >>> (DeploymentScanner-threads - 2) WFLYCTL0013: Operation ("deploy") >>> failed - address: ([("deployment" => "ejbca.ear")]) - failure >>> description: {"WFLYCTL0180: Services with missing/unavailable >>> dependencies" => [ >>> "jboss.persistenceunit.\"ejbca.ear#ejbca\" is missing >>> [jboss.naming.context.java.ejbcads]", >>> "jboss.persistenceunit.\"ejbca.ear#ejbca\".__FIRST_PHASE__ is >>> missing [jboss.naming.context.java.ejbcads]" >>> ]} >>> >>> so now, how do i add this missing component and where to find? or is >>> it a simple conf file typo issue? Thanks. >>> >>> - Fabian S. >>> >>> >>> On Wed, Mar 1, 2017 at 2:45 PM, Fabian Santiago >>> <fsa...@ga...> wrote: >>>> -----BEGIN PGP SIGNED MESSAGE----- >>>> Hash: SHA256 >>>> >>>> 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 >>>> org.jboss.ejb.client.EJBClientInvocationContext@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 >>>> -----BEGIN PGP SIGNATURE----- >>>> Version: Mailvelope v1.7.1 >>>> Comment: https://www.mailvelope.com >>>> >>>> wsFcBAEBCAAQBQJYtyTXCRBVUCsO65Bw/AAAzNAQAI9VQkDj88sxNN+SoWrS >>>> sVmg7N8rJgow+HXI54MzOVS6WdiqRkEuNTmGMfQ7+STl+NsJylsfEqJBUkne >>>> vGpbwmHrFxUnc8vtCUGrnXjyAn3/tLHetB8ldUWfl1m5Gg91iyoSkQgzhxgY >>>> iqXrNnkHZkW/aOKpgjme46xpBaiSYCBwn9pD0pKRs4ZLxadYcTVb8yLsY9qW >>>> VcB3YqsJF3tMb8+Jc78P5owJfOrXUzvbHBhP/ml/3bTs+kKmSEZsE4T35k0t >>>> oIM32/gKeb22UPlv1Y0kqyPQAz6hjNUIstahggAKx+Anm2B/1BQ7v5x/42hQ >>>> KwP7b2L2xCGeAU/4DbedUfYBWIFGyEOjDNIVqWfrHDR0XZKQz+ZtRLktJpgy >>>> q41GjwKZuMhcSGv3IVhRtW2Niy9ZcizddX6rkOGIU4CSwelgCgC5xZ9hKYHs >>>> oCAxfGFSIpBk+rrq0TWE1akmZpYHj5YPYnaSs6x4uReCLopo+3LPAb8iZNqT >>>> GQdIRfrsvVc13+YdYfkX+aZchj/u4NGIoGF3E0aL+oUr61JI14j5oEJYZcxp >>>> SngoyH07X4aTP0JPk+fWKLVTfPlY+WPmWU3S4vUslf6CHWAWCP15pfmQXpi5 >>>> H9NymAesK7oNmUoKXJiWNVIhJNuZnOLXyJSRbcQBmgZ9coVzh5wrPapjVP2c >>>> v6Fa >>>> =7NwC >>>> -----END PGP SIGNATURE----- >>> >>> >------------------------------------------------------------------------------ >>> Check out the vibrant tech community on one of the world's most >>> engaging tech sites, SlashDot.org! http://sdm.link/slashdot >>> _______________________________________________ >>> Ejbca-develop mailing list >>> Ejb...@li... >>> https://lists.sourceforge.net/lists/listinfo/ejbca-develop >>> >> >> >------------------------------------------------------------------------------ >> Check out the vibrant tech community on one of the world's most >> engaging tech sites, SlashDot.org! http://sdm.link/slashdot >> _______________________________________________ >> Ejbca-develop mailing list >> Ejb...@li... >> https://lists.sourceforge.net/lists/listinfo/ejbca-develop > >------------------------------------------------------------------------------ >Check out the vibrant tech community on one of the world's most >engaging tech sites, SlashDot.org! http://sdm.link/slashdot >_______________________________________________ >Ejbca-develop mailing list >Ejb...@li... >https://lists.sourceforge.net/lists/listinfo/ejbca-develop |
|
From: Tomas G. <to...@pr...> - 2017-03-03 01:28:22
|
Hi, Your issue is that you don'e have an EJBCA datasource at all. In the log file JBoss logs when creating datasources (i.e. connections to the database). It only logs: 2017-03-02 12:54:01,152 INFO [org.wildfly.extension.undertow] (MSC service thread 1-1) WFLYUT0018: Host default-host starting 2017-03-02 12:54:01,722 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-2) WFLYJCA0001: Bound data source [java:jboss/datasources/ExampleDS] 2017-03-02 12:54:02,545 INFO [org.jboss.ws.common.management] (MSC service thread 1-1) JBWS022052: Starting JBossWS 5.1.5.Final (Apache CXF 3.1.6) In the installation documentation: https://www.ejbca.org/docs/installation.html#WildFly%2010%20/%20JBoss%20EAP%207 There is a part for "Add datasource" which must complete succesfully. In order for that to complete succesfully the previous steps, adding database driver and creating database must have been done. Regards, Tomas On 2017-03-03 01:14, Fabian Santiago wrote: > hello tomas, > > i've attached my server.log. i think you'll see that there are no > obvious error messages that could pertain to this other than what I've > sent you already. i also re-tried it, going over all steps again, to > no avail. what do you think? Thanks. > > - Fabian S. > > > On Thu, Mar 2, 2017 at 1:14 AM, Tomas Gustavsson <to...@pr...> wrote: >> >> This means you don't have a datasource. >> >> - Have you run the commands for WildFly to create the datasource? >> - If you have, there are probalby errors much earlier in the log >> (causing errors are always early, the last thing you see is only a >> symtom of database error, which is shown earlier in the log) >> >> /Tomas >> >> On 2017-03-02 12:22, Fabian Santiago wrote: >>> Thank you. >>> >>> This is the only error, which matches my previous email: >>> >>> 2017-03-01 23:55:30,589 ERROR >>> [org.jboss.as.controller.management-operation] >>> (DeploymentScanner-threads - 2) WFLYCTL0013: Operation ("deploy") >>> failed - address: ([("deployment" => "ejbca.ear")]) - failure >>> description: { >>> "WFLYCTL0412: Required services that are not installed:" => >>> ["jboss.naming.context.java.EjbcaDS"], >>> "WFLYCTL0180: Services with missing/unavailable dependencies" => [ >>> "jboss.persistenceunit.\"ejbca.ear#ejbca\" is missing >>> [jboss.naming.context.java.EjbcaDS]", >>> "jboss.persistenceunit.\"ejbca.ear#ejbca\".__FIRST_PHASE__ is >>> missing [jboss.naming.context.java.EjbcaDS]" >>> ] >>> } >>> >>> >>> - Fabian S. >>> >>> >>> On Thu, Mar 2, 2017 at 12:18 AM, Tomas Gustavsson <to...@pr...> wrote: >>>> Then you should check the wildfly server.log. You will see errors in there >>>> why ejbca is not deployed correctly. For example database errors if there >>>> are any. >>>> >>>> Regards, >>>> Tomas >>>> >>>> >>>> On 2 March 2017 11:59:48 GMT+07:00, Fabian Santiago >>>> <fsa...@ga...> wrote: >>>>> >>>>> No, >>>>> >>>>> when i reach the step 'ant runinstall', a similar error occurs: >>>>> >>>>> ejbca:initCA: >>>>> [echo] Initializing CA with 'GardenCA' >>>>> 'CN=pki.garden-mums.com,O=Garden-lan com,C=NJ' 'soft' >>>>> <ca.tokenpassword hidden> 'prime256v1' 'ECDSA' '3650' '2.5.29.32.0' >>>>> 'SHA256WithECDSA' -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.<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@3b938003 >>>>> [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.<init>(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_664/ejbca/build.xml:70: The following error occurred while >>>>> executing this line: >>>>> /ejbca_664/ejbca/bin/cli.xml:97: The following error occurred while >>>>> executing this line: >>>>> /ejbca_664/ejbca/bin/cli.xml:115: The following error occurred while >>>>> executing this line: >>>>> /ejbca_664/ejbca/bin/cli.xml:189: Java returned: 1 >>>>> >>>>> this after switching back to wildfly and following your doc to the latter. >>>>> >>>>> I suspect it's due to the error i received from the cli during the >>>>> "Add datasource" step: >>>>> >>>>> {"WFLYCTL0412: Required services that are not installed:" => >>>>> ["jboss.jdbc-driver.mysql-connector-java-5_1_41-bin_jar"],"WFLYCTL0180: >>>>> Services with missing/unavailable dependencies" => >>>>> ["org.wildfly.data-source.ejbcads is missing >>>>> >>>>> [jboss.jdbc-driver.mysql-connector-java-5_1_41-bin_jar]","jboss.driver-demander.java:/EjbcaDS >>>>> is missing [jboss.jdbc-driver.mysql-connector-java-5_1_41-bin_jar]"]} >>>>> >>>>> >>>>> now what? >>>>> >>>>> >>>>> - Fabian S. >>>>> >>>>> On Wed, Mar 1, 2017 at 9:53 PM, Tomas Gustavsson <to...@pr...> >>>>> wrote: >>>>>> >>>>>> >>>>>> Don't do "ant deploy", follow the WildFly 10/EAP 7 installation >>>>>> instructions :-) >>>>>> >>>>>> /Tomas >>>>>> >>>>>> On 2017-03-02 09:34, Fabian Santiago wrote: >>>>>>> >>>>>>> I found an error in server.log (jboss-eap-7.0 I am now trying) after >>>>>>> ant deploy / clean deployear: >>>>>>> >>>>>>> ERROR [org.jboss.as.controller.management-operation] >>>>>>> (DeploymentScanner-threads - 2) WFLYCTL0013: Operation ("deploy") >>>>>>> failed - address: ([("deployment" => "ejbca.ear")]) - failure >>>>>>> description: {"WFLYCTL0180: Services with missing/unavailable >>>>>>> dependencies" => [ >>>>>>> "jboss.persistenceunit.\"ejbca.ear#ejbca\" is missing >>>>>>> [jboss.naming.context.java.ejbcads]", >>>>>>> "jboss.persistenceunit.\"ejbca.ear#ejbca\".__FIRST_PHASE__ is >>>>>>> missing [jboss.naming.context.java.ejbcads]" >>>>>>> ]} >>>>>>> >>>>>>> so now, how do i add this missing component and where to find? or is >>>>>>> it a simple conf file typo issue? Thanks. >>>>>>> >>>>>>> - Fabian S. >>>>>>> >>>>>>> >>>>>>> On Wed, Mar 1, 2017 at 2:45 PM, Fabian Santiago >>>>>>> <fsa...@ga...> wrote: >>>>>>>> >>> 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 >>> org.jboss.ejb.client.EJBClientInvocationContext@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 >>>>>>> >>>>>>> >>>>>>> ________________________________ >>>>>>> >>>>>>> Check out the vibrant tech community on one of the world's most >>>>>>> engaging tech sites, SlashDot.org! http://sdm.link/slashdot >>>>>>> ________________________________ >>>>>>> >>>>>>> Ejbca-develop mailing list >>>>>>> Ejb...@li... >>>>>>> https://lists.sourceforge.net/lists/listinfo/ejbca-develop >>>>>> >>>>>> >>>>>> >>>>>> ________________________________ >>>>>> >>>>>> Check out the vibrant tech community on one of the world's most >>>>>> engaging tech sites, SlashDot.org! http://sdm.link/slashdot >>>>>> ________________________________ >>>>>> >>>>>> Ejbca-develop mailing list >>>>>> Ejb...@li... >>>>>> https://lists.sourceforge.net/lists/listinfo/ejbca-develop >>>>> >>>>> >>>>> ________________________________ >>>>> >>>>> Check out the vibrant tech community on one of the world's most >>>>> engaging tech sites, SlashDot.org! http://sdm.link/slashdot >>>>> ________________________________ >>>>> >>>>> Ejbca-develop mailing list >>>>> Ejb...@li... >>>>> https://lists.sourceforge.net/lists/listinfo/ejbca-develop |
|
From: Michael S. <mi...@st...> - 2014-10-23 08:28:37
Attachments:
smime.p7s
|
Michael Ströder wrote: > It seems one of the latest SVN commits broke something. > See details below. Hmm, running it with a more privileged user worked. What the hell is --help doing? And why does it take so long? # time bin/ejbca.sh ca init --help [..] real 0m22.982s user 0m16.744s sys 0m0.129s Ciao, Michael. |
|
From: Branko M. <br...@ma...> - 2014-10-30 13:36:46
Attachments:
signature.asc
|
On Thu, 23 Oct 2014 10:28:23 +0200 Michael Ströder <mi...@st...> wrote: > Michael Ströder wrote: > > It seems one of the latest SVN commits broke something. > > See details below. > > Hmm, running it with a more privileged user worked. > > What the hell is --help doing? > And why does it take so long? > > # time bin/ejbca.sh ca init --help > [..] > real 0m22.982s > user 0m16.744s > sys 0m0.129s > > Ciao, Michael. > Perhaps the file ownership for some of the files is not correct or something similar? -- Branko Majic Jabber: br...@ma... Please use only Free formats when sending attachments to me. Бранко Мајић Џабер: br...@ma... Молим вас да додатке шаљете искључиво у слободним форматима. |