[jboss-jira] [JBoss JIRA] Updated: (JBAS-6671) on Connection Factory components, jndi-name, rar-name, and connection-definition ManagedPropertys should all be mandatory, in both templates and properties on existing components

Charles Crouch (JIRA) jira-events at lists.jboss.org
Tue Mar 24 16:06:22 EDT 2009


     [ https://jira.jboss.org/jira/browse/JBAS-6671?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Charles Crouch updated JBAS-6671:
---------------------------------

    Priority: Minor  (was: Major)


Setting to minor, since now we know which are the required props, we can update our metadata.

> on Connection Factory components, jndi-name, rar-name, and connection-definition ManagedPropertys should all be mandatory, in both templates and properties on existing components
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: JBAS-6671
>                 URL: https://jira.jboss.org/jira/browse/JBAS-6671
>             Project: JBoss Application Server
>          Issue Type: Sub-task
>      Security Level: Public(Everyone can see) 
>          Components: ProfileService
>            Reporter: Ian Springer
>            Assignee: Scott M Stark
>            Priority: Minor
>
> When creating or updating a ConnectionFactory component, when the jndi-name prop is not specified, I get:
> DEPLOYMENTS IN ERROR:
>   Deployment "vfsfile:/C:/opt/jboss-5.1.0.CR1-SNAPSHOT/server/default/deploy/notx-ds.xml" is in error due to the following reason(s): java.lang.IllegalArgumentException: Null text
> when the rar-name prop is not specified, I get:
> Deployment "vfsfile:/C:/opt/jboss-5.1.0.CR1-SNAPSHOT/server/default/deploy/xxx-ds.xml" is in error due to the following reason(s): java.lang.IllegalArgumentException: Null name 
> and when the connection-definition prop is not specified, I get:
> Deployment "vfsfile:/C:/opt/jboss-5.1.0.CR1-SNAPSHOT/server/default/deploy/xxx-ds.xml" is in error due to the following reason(s): org.jboss.deployers.spi.DeploymentException: ConnectionDefinition 'null' not found in rar 'null' 
> which tells me all three of these props are required, so prop.isMandatory() should return true, but it currently returns false. It should return true for both CF templates and existing CF components.
> Not directly related to management, but all three of the above error messages could also be significantly improved, e.g.:
> The "jndi-name" property was not specified for connection factory "FooBar" - this property is required.
> The "rar-name" property was not specified for connection factory "FooBar" - this property is required.
> The "connection-definition" property was not specified for connection factory "FooBar" - this property is required.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list