Description of problem: Attempt to add a port to SocketBindingGroup resource ends with: BadArgumentException: configuration not updated: [Required property 'fixed-port' has a null value. Version-Release number of selected component (if applicable): Version : 4.12.0-SNAPSHOT Build Number : 494e428 How reproducible: Always Steps to Reproduce: 1. navigate to eap6 standalone server resource->SocketBindingGroups->standard-sockets->Configuration 2. click on Add button inside Individual socket bindings section 3. fill in name and port 4. Click on Ok 5. Click on Save Actual results: org.rhq.enterprise.server.rest.BadArgumentException:Bad parameter(s) given: Invalid newResourceConfiguration, configuration not updated: [Required property 'fixed-port' has a null value.] Expected results: No errors Additional info: Exception from server.log: 06:19:09,077 WARN [org.rhq.coregui.server.gwt.ConfigurationGWTServiceImpl] (http-/0.0.0.0:7080-29) Sending exception to client: [1400581149077] : org.rhq.enterprise.server.rest.BadArgumentException: Bad parameter(s) given: Invalid newResourceConfiguration, configuration not updated: [Required property 'fixed-port' has a null value.] at org.rhq.enterprise.server.configuration.ConfigurationManagerBean.updateResourceConfiguration(ConfigurationManagerBean.java:1372) [rhq-server.jar:4.12.0-SNAPSHOT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_45] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_45] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_45] at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_45] at org.jboss.as.ee.component.ManagedReferenceMethodInterceptorFactory$ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptorFactory.java:72) [jboss-as-ee-7.2.0.Alpha1-redhat-4.jar:7.2.0.Alpha1-redhat-4] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final] at org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterceptor.java:53) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final] at org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:58) [jboss-as-ee-7.2.0.Alpha1-redhat-4.jar:7.2.0.Alpha1-redhat-4] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final] at org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:374) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final] at org.rhq.enterprise.server.common.PerformanceMonitorInterceptor.monitorHibernatePerformance(PerformanceMonitorInterceptor.java:32) [rhq-server.jar:4.12.0-SNAPSHOT] at sun.reflect.GeneratedMethodAccessor84.invoke(Unknown Source) [:1.7.0_45] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_45] at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_45] at org.jboss.as.ee.component.ManagedReferenceLifecycleMethodInterceptorFactory$ManagedReferenceLifecycleMethodInterceptor.processInvocation(ManagedReferenceLifecycleMethodInterceptorFactory.java:123) [jboss-as-ee-7.2.0.Alpha1-redhat-4.jar:7.2.0.Alpha1-redhat-4] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final] at org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:374) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final] at org.rhq.enterprise.server.common.TransactionInterruptInterceptor.addCheckedActionToTransactionManager(TransactionInterruptInterceptor.java:78) [rhq-server.jar:4.12.0-SNAPSHOT] . .
Looks related to the fix for Bug 1065461. Since it is fixed, a BadArgumentException is thrown if a configuration has validation errors. Most probably ConfigurationUtility#validateConfiguration has a bug.
Fixed in master commit e6c85505ede4077d511b73e55daf0a7cc46163e8 Author: Thomas Segismont <tsegismo> Date: Fri Oct 10 17:40:02 2014 +0200 'fixed-port' property is not required by EAP, mark it as such in the plugin descriptor