+++ This bug was initially created as a clone of Bug #1652061 +++ Description of problem: Creation of /subsystem=naming/binding resource with Environment field fails with: WFLYCTL0097: Wrong type for 'environment'. Expected [OBJECT] but was LIST, rolled-back=true Version-Release number of selected component (if applicable): JON 3.3.11, EAP plugin pack 08.CR01 EAP 6.4.21 How reproducible: Always Steps to Reproduce: 1. navigate to EAP6 Standalone Server resource -> Subsystems -> naming -> Inventory -> Create Child -> Binding 2. Set name: java:global/MongoClient 3. Set binding type: object-factory 4. Set module: com.mongodb.jndi 5. Set class: com.mongodb.jndi.MongoClientJNDIFactory 6. Add environment property: name: mongoClientURI, value: mongodb://username:password:27017,username:password:27017 7. Finish Actual results: Creation fails with: WFLYCTL0097: Wrong type for 'environment'. Expected [OBJECT] but was LIST, rolled-back=true Expected results: Resource is created Additional info: Tried also simple binding type with the same result.
This was discussed in: https://bugzilla.redhat.com/show_bug.cgi?id=1477945
Hi, This issue is different, is not the same as https://bugzilla.redhat.com/show_bug.cgi?id=1477945 This is at creation time, other is when the resource is read or updated. I sent a PR: https://github.com/rhq-project/rhq/pull/373
Moving to ON_QA. The latest brew build is available from here: https://brewweb.engineering.redhat.com/brew/buildinfo?buildID=883501 http://download.eng.bos.redhat.com/brewroot/packages/org.jboss.on-jboss-on-parent/3.3.0.GA/203/maven/org/jboss/on/jon-plugins-patch/3.3.0.GA/jon-plugins-patch-3.3.0.GA.zip maps to ER01 build of 3.3 EAP Plugin Pack Update 09.