geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivan (JIRA)" <j...@apache.org>
Subject [jira] Updated: (GERONIMO-4561) An invalid string "system" shows up in the "Login Timeout" field in Derby Embedded or Derby Embedded XA database pool configuration page
Date Wed, 04 Mar 2009 07:43:56 GMT

     [ https://issues.apache.org/jira/browse/GERONIMO-4561?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ivan updated GERONIMO-4561:
---------------------------

    Attachment: Geronimo-4561.patch

I tried to create a patch for it.
1. For the order issues, I replaced the HashMap with LinkedHashMap. And maintaine an ordered
property names array. This array only contains the most popular parameters, such as user name,
password, etc. For those special parameters of the resource adapters, let it go, now. :-(
2. I found the input html element has an attribute "autocomplete", it could force the IE not
to fill in the values. I added this attribute setting to the password. So the input boxes
are always empty.
Please help to review it, thanks !

> An invalid string "system" shows up in the "Login Timeout" field in Derby Embedded or
Derby Embedded XA database pool configuration page
> ----------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: GERONIMO-4561
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4561
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: console
>    Affects Versions: 2.1.4
>         Environment: Windows XP +  IBM JDK 6
>            Reporter: Ying Tang
>            Priority: Trivial
>         Attachments: 1.5vs1.6.JPG, Geronimo-4561.patch
>
>
> 1.  In the database pools portlet, create a database pool with the type "Derby embedded
XA" or "Derby embedded". 
> 2.  In the  resulting configuration page,  the "Login Timeout" field will have a default
value "system". This property claimed to be ignored by Derby. 
> 3.  Select JAR, specify database name, confirm password, and deploy.
> An error occurs:
> 2009-03-02 15:46:11,156 ERROR [Deployer] Deployment failed due to 
> org.apache.geronimo.common.propertyeditor.PropertyEditorException: For input string:
"system"
> 	at org.apache.geronimo.common.propertyeditor.IntegerEditor.getValue(IntegerEditor.java:34)
> 	at org.apache.geronimo.connector.deployment.ConnectorModuleBuilder.getValue(ConnectorModuleBuilder.java:817)
> 	at org.apache.geronimo.connector.deployment.ConnectorModuleBuilder.setDynamicGBeanDataAttributes(ConnectorModuleBuilder.java:782)
> 	at org.apache.geronimo.connector.deployment.ConnectorModuleBuilder.addOutboundGBeans(ConnectorModuleBuilder.java:929)
> 	at org.apache.geronimo.connector.deployment.ConnectorModuleBuilder.addConnectorGBeans(ConnectorModuleBuilder.java:597)
> 	at org.apache.geronimo.connector.deployment.ConnectorModuleBuilder.initContext(ConnectorModuleBuilder.java:524)
> 	at org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:595)
> 	at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:255)
> 	at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:134)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:59)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:39)
> 	at java.lang.reflect.Method.invoke(Method.java:612)
> 	at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
> 	at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124)
> 	at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:867)
> 	at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:239)
> 	at org.apache.geronimo.deployment.plugin.local.AbstractDeployCommand.doDeploy(AbstractDeployCommand.java:116)
> 	at org.apache.geronimo.deployment.plugin.local.DistributeCommand.run(DistributeCommand.java:61)
> 	at java.lang.Thread.run(Thread.java:735)
> Caused by: 
> java.lang.NumberFormatException: For input string: "system"
> 	at java.lang.Throwable.<init>(Throwable.java:67)
> 	at java.lang.NumberFormatException.forInputString(NumberFormatException.java:61)
> 	at java.lang.Integer.parseInt(Integer.java:460)
> 	at java.lang.Integer.valueOf(Integer.java:566)
> 	at org.apache.geronimo.common.propertyeditor.IntegerEditor.getValue(IntegerEditor.java:31)
> 	... 19 more
> 2009-03-02 15:46:11,265 INFO  [DatabasePoolPortlet] Deployment Failed!

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message