[Red Hat JIRA] (WFLY-14348) Unhelpful failure message 'WFLYJCA0032: Unable to start the ds because it generated more than one cf'
by Brian Stansberry (Jira)
[ https://issues.redhat.com/browse/WFLY-14348?page=com.atlassian.jira.plugi... ]
Brian Stansberry commented on WFLY-14348:
-----------------------------------------
[~baranowb] I added the driver as a deployment, not via a module. I don't know if that matters though.
Then this was my command:
{code}
data-source add --name=Postgres --driver-name=postgresql-42.2.18.jar --jndi-name=java:jboss/datasources/Postgres
{code}
I note above that I understand that's an insufficient set of params. But those are the required ones, and even if something more must be provided for this particular driver, the failure message here is not helpful.
> Unhelpful failure message 'WFLYJCA0032: Unable to start the ds because it generated more than one cf'
> -----------------------------------------------------------------------------------------------------
>
> Key: WFLY-14348
> URL: https://issues.redhat.com/browse/WFLY-14348
> Project: WildFly
> Issue Type: Bug
> Components: JCA
> Reporter: Brian Stansberry
> Assignee: Bartosz Baranowski
> Priority: Major
>
> Playing with driver and DS installation I ended up with this in the server log:
> {code}
> 10:54:11,424 ERROR [org.jboss.as.controller.management-operation] (management-handler-thread - 1) WFLYCTL0013: Operation ("add") failed - address: ([
> ("subsystem" => "datasources"),
> ("data-source" => "Postgres")
> ]) - failure description: {"WFLYCTL0080: Failed services" => {"org.wildfly.data-source.Postgres" => "WFLYJCA0033: Error during the deployment of Postgres
> Caused by: org.jboss.msc.service.StartException in anonymous service: WFLYJCA0032: Unable to start the ds because it generated more than one cf"}}
> {code}
> That was quite cryptic.
> 1) The 'ds' and 'cf' abbreviations should be replaced with full words. To me this is the minimum resolution of this issue.
> 2) If it is possible to make a reasonably likely guess at what would lead to this situation and provide that info in the message, that would be nice.
> Context:
> I tried deploying a JDBC driver and then adding a datasource using a CLI command:
> {code}
> data-source add --name=Postgres --driver-name=postgresql-42.2.18.jar --jndi-name=java:jboss/datasources/Postgres
> {code}
> The 3 params are the required ones. I wasn't surprised that wasn't sufficient and I understand that what's required beyond that can vary from driver to driver. But those are the required ones, so users experimenting with WildFly are liable to do what I did. (If any other params *should be* required, someone please file a separate issue.)
> Adding a connection-url param allowed the command to work. If that param shouldn't be required, but not providing it is a likely cause of this problem, perhaps the WFLYJCA0032 message should note that as a hint?
--
This message was sent by Atlassian Jira
(v8.13.1#813001)
5 years, 2 months
[Red Hat JIRA] (WFCORE-5249) NoClassDefFoundError: Failed to link org/bouncycastle/openpgp/PGPEncryptedDataList: org/bouncycastle/util/Iterable
by Jeff Mesnil (Jira)
[ https://issues.redhat.com/browse/WFCORE-5249?page=com.atlassian.jira.plug... ]
Jeff Mesnil updated WFCORE-5249:
--------------------------------
Fix Version/s: (was: 14.0.1.Final)
> NoClassDefFoundError: Failed to link org/bouncycastle/openpgp/PGPEncryptedDataList: org/bouncycastle/util/Iterable
> ------------------------------------------------------------------------------------------------------------------
>
> Key: WFCORE-5249
> URL: https://issues.redhat.com/browse/WFCORE-5249
> Project: WildFly Core
> Issue Type: Bug
> Affects Versions: 14.0.0.Final
> Reporter: Radoslav Ivanov
> Assignee: Sudeshna Sur
> Priority: Major
> Fix For: 15.0.0.Beta1
>
>
> Could you please add missing dependencies in Bouncycastle modules?
> Problem (we got):
> {code:java}
> Caused by: java.lang.NoClassDefFoundError: Failed to link org/bouncycastle/openpgp/PGPEncryptedDataList (Module "org.bouncycastle.bcpg" version 1.66.00.0 from local module loader @1d1f7216 (finder: local module finder @423e4cbb (roots: /data/avoka/transact/manager/server/modules,/data/avoka/transact/manager/server/modules/system/layers/base))): org/bouncycastle/util/Iterable
> {code}
>
> Solution (adding dependency from bcpg to bcprov modules solves the issue):
> {code:java}
> modules\system\layers\base\org\bouncycastle\bcpg\main\module.xml{code}
> {code:java}
> <dependencies>
> <module name="org.bouncycastle.bcprov" export="true" services="export"/>
> </dependencies>
> {code}
>
--
This message was sent by Atlassian Jira
(v8.13.1#813001)
5 years, 2 months
[Red Hat JIRA] (WFLY-14077) Some tests hang indefinitely when using security manager on JDK 11.0.8 & JDK 11.0.9
by Richard Opalka (Jira)
[ https://issues.redhat.com/browse/WFLY-14077?page=com.atlassian.jira.plugi... ]
Richard Opalka commented on WFLY-14077:
---------------------------------------
The CdiFailoverTestCase is not related to JBoss marshalling issue reported earlier.
I run the test locally - it failed but not due to JBoss marshalling issue.
Please don't get confused with org.wildfly.clustering.infinispan.marshalling vs. org.jboss.marshalling [~okotek]
> Some tests hang indefinitely when using security manager on JDK 11.0.8 & JDK 11.0.9
> -----------------------------------------------------------------------------------
>
> Key: WFLY-14077
> URL: https://issues.redhat.com/browse/WFLY-14077
> Project: WildFly
> Issue Type: Task
> Components: Security Manager
> Reporter: Bartosz Spyrko-Smietanko
> Assignee: Richard Opalka
> Priority: Major
> Attachments: stacktrace.log
>
>
> Some tests hang indefinitely when using security manager and JDK 11 : e.g. AuthenticationForwardingSFSFTestCase.java , AuthenticationForwardingSLSFTestCase.java
--
This message was sent by Atlassian Jira
(v8.13.1#813001)
5 years, 2 months