Description of problem: Cannot install Teiid plugin into JON Server v3.0.0.BETA Version-Release number of selected component (if applicable): v3.0.0.BETA How reproducible: Copy rhq-teiid-plugin-SOA-5.1.0.jar to ../jon-server-3.0.0.BETA1/plugins/rhq-teiid-plugin-SOA-5.1.0.jar Steps to Reproduce: 1.Copy rhq-teiid-plugin-SOA-5.1.0.jar to ../jon-server-3.0.0.BETA1/plugins/rhq-teiid-plugin-SOA-5.1.0.jar 2. 3. Actual results: Jar renamed to ../jon-server-3.0.0.BETA1/plugins/rhq-teiid-plugin-SOA-5.1.0.jar.fixme Expected results: Plugin installed and available to Agents. Additional info: Server Log file shows: 2011-09-13 12:13:22,350 ERROR [org.rhq.core.clientapi.descriptor.AgentPluginDescriptorUtil] Validation fatal error while parsing [rhq-teiid-plugin-SOA-5.1.0.jar:META-INF/rhq-plugin.xml] at line 541, column 92: cvc-complex-type.3.2.2: Attribute 'default' is not allowed to appear in element 'c:option'. 2011-09-13 12:13:22,380 WARN [org.rhq.enterprise.server.core.plugin.PluginDeploymentScanner] Does not look like [/home/dwoods/jon/jon-server-3.0.0.BETA1/plugins/rhq-teiid-plugin-SOA-5.1.0.jar.fixme] is a plugin jar -(Cause: java.lang.NullPointerException:no xml descriptor found in jar). It will be ignored. Please fix that file or remove it.
IIrc we have taken that option out -- but as far as I recall, this has never worked before We should for this release still allow "default", but spit out clear deprecation warnings.
Created attachment 525566 [details] Teiid Plugin v3.0 Beta1 Attached is the requested Teiid plugin
b31e834 on master: partially revert BZ BZ 536496, so that plugins that still use the deprecated (and useless) attribute can be deployed. Spits now a warning like this in server and agent log: 17:38:20,198 WARN [ConfigurationMetadataParser] For simple-property [connectionType], attribute 'default' on c:option is useless and deprecated. Please use the 'default' attribute on the c:simple-property. This attribute will be removed in the future.
Verified on build#449 (Version: 4.1.0-SNAPSHOT Build Number: 4d56f0b) Uploaded the rhq-teiid-plugin-SOA-5.1.0.jar in Administration->Configuration->Plugins->Agent Plugins. Did a 'plugins update' at agent prompt. The teiid-plugin is then available in the UI at Administration->Configuration->Plugins->Agent Plugins. Below warning message are displayed in server log and agent log: 2011-09-30 17:46:54,514 WARN [ConfigurationMetadataParser] !! For simple-property [status], attribute 'default' on c:option is useless and deprecated. Please use the 'default' attribute on the c:simple-property. The deprecated attribute will be removed in the future. !! 2011-09-30 17:46:54,514 WARN [ConfigurationMetadataParser] !! For simple-property [connectionType], attribute 'default' on c:option is useless and deprecated. Please use the 'default' attribute on the c:simple-property. The deprecated attribute will be removed in the future. !! 2011-09-30 17:46:54,516 WARN [ConfigurationMetadataParser] !! For simple-property [cacheType], attribute 'default' on c:option is useless and deprecated. Please use the 'default' attribute on the c:simple-property. The deprecated attribute will be removed in the future.
Is this new Teiid jar available for my testing?
Doug, I have used the jar you added to this case - you rather would need a newer version of RHQ like build 449 that Sunil was testing against.
Heiko, will the JON v3.0 Beta bits be refreshed on the JON V3.0 Beta download from the Customer Support Portal? If not, how does one get access to the builds which have issues fixed?
changing status of VERIFIED BZs for JON 2.4.2 and JON 3.0 to CLOSED/CURRENTRELEASE
Steven Hawkins <shawkins> made a comment on jira TEIID-2065 Does this need to be in 7.7.1? If not, then I believe we should just reject the issue.
Van Halbert <vhalbert> made a comment on jira TEIID-2065 Waiting to here back if there is a planned release of rhq before 8.x is release in which the deprecated property has been removed. That would would make it necessary to get into 7.7.x
Van Halbert <vhalbert> updated the status of jira TEIID-2065 to Coding In Progress
Van Halbert <vhalbert> updated the status of jira TEIID-2065 to Resolved
Van Halbert <vhalbert> made a comment on jira TEIID-2065 committed to 7.7.1 rev: 4173
Steven Hawkins <shawkins> updated the status of jira TEIID-2065 to Closed