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 Tue, 03 Mar 2009 09:10:56 GMT

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

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

    Attachment: 1.5vs1.6.JPG

I created a image to show what happened. The left part is the screenshot in JDK 1.5, The right
part is the screenshot in JDK 1.6. The different is the order of the items in the form.
I have to say this issue exists in both JDK versions. The browser autofills some fields in
the form, in JDK 1.5, the database name is autofilled with system, while in JDK 1.6, the timeout
field is filled with system.
I guess there maybe two issues, one is the display order, another is how to ask the browser
not to auto-fill the fields in this form.
Any idea ?

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