[
https://issues.apache.org/jira/browse/GERONIMO-4561?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12678208#action_12678208
]
Ying Tang commented on GERONIMO-4561:
-------------------------------------
It turns out that in Firefox, if we save the username/password for the admin
console in the web browser, the username will be saved to "login timeout"
field. A really trivial bug.
This error won't occur in IBM JDK 5 or Sun JDK 5.
> 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
>
> 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.