[ 
http://issues.apache.org/jira/browse/GERONIMO-958?page=comments#action_12320798 
] 

Matt Hogstrom commented on GERONIMO-958:
----------------------------------------

After further investigation it turns out that the problem was the specification 
of a <global-jndi></globla-jndi> tag which resulted in a string of "".  Some of 
the infrastructure appears to expect a null or a string with a length > 0.  I 
updated to the latest version to continue debugging and it appears (although 
remains to be proven) that the problem has dissappeared based on recent 
changes.  LEt's close this and I'll re-open if it pops up again.

> Error in console data source when using DB2
> -------------------------------------------
>
>          Key: GERONIMO-958
>          URL: http://issues.apache.org/jira/browse/GERONIMO-958
>      Project: Geronimo
>         Type: Bug
>   Components: console
>     Versions: 1.0-M5
>  Environment: When DB2 is the underlying datasource the Console Blows its 
> brains out...
>     Reporter: Matt Hogstrom
>      Fix For: 1.0-M5

>
> Stack trace too large to communicate via the Internet re: Intl Law.  Looking 
> into it.
> But here is a snippet:
> Caused by: java.lang.StringIndexOutOfBoundsException: String index out of 
> range: 0
>         at java.lang.String.charAt(String.java:444)
>         at 
> org.apache.geronimo.console.databasemanager.DataSourceInfo.setJndiName(DataSourceInfo.java:59)
>         at 
> org.apache.geronimo.console.databasemanager.AbstractConnectionFactoryManagerPortlet.renderList(AbstractConnectionFactoryManagerPortlet.java:213)
>         ... 121 more
> Nested Exception is
> java.lang.StringIndexOutOfBoundsException: String index out of range: 0
>         at java.lang.String.charAt(String.java:444)
>         at 
> org.apache.geronimo.console.databasemanager.DataSourceInfo.setJndiName(DataSourceInfo.java:59)
>         at 
> org.apache.geronimo.console.databasemanager.AbstractConnectionFactoryManagerPortlet.renderList(AbstractConnectionFactoryManagerPortlet.java:213)
>         at 
> org.apache.geronimo.console.databasemanager.AbstractConnectionFactoryManagerPortlet.doView(AbstractConnectionFactoryManagerPortlet.java:186)
>         at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:250)
> Looking into it.

-- 
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