[ http://issues.apache.org/jira/browse/GERONIMO-984?page=all ]

Matt Hogstrom updated GERONIMO-984:
-----------------------------------

    Attachment: patch.diff

Patch for affected problem.

> Console throws OutOfBoundsexception when app erroneously has a 
> <global-jndi></global-jndi> tag
> ----------------------------------------------------------------------------------------------
>
>          Key: GERONIMO-984
>          URL: http://issues.apache.org/jira/browse/GERONIMO-984
>      Project: Geronimo
>         Type: Bug
>     Reporter: Matt Hogstrom
>  Attachments: patch.diff
>
> In a deployment plan the datasource has a <global-jndi></global-jndi> 
> specificed and it is being interpreted incorrectly.  The jndi-name of "" is 
> being set which is not expected in the rest of the infrastructure.  Rather 
> than taking an exception the user should be warned and the tag should be 
> ignored.  
> I have updated ConnectorModuleBuilder.java with the code to do this.  The 
> message issued is:
> 01:47:26,150 WARN  [ConnectorModuleBuilder] Connector includes a definition 
> for a <global-jndi> but specifies no value.  The attribute is ignored. Update 
> the attribute with the desired value or remove the tag to avoid this message.

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

Reply via email to