[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

2009-03-06 Thread Donald Woods (JIRA)

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

Donald Woods updated GERONIMO-4561:
---

   Patch Info: [Patch Available]
Fix Version/s: 2.2
   2.1.4
 Assignee: Joe Bohn

> 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
>Assignee: Joe Bohn
>Priority: Trivial
> Fix For: 2.1.4, 2.2
>
> 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.(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.



[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

2009-03-03 Thread Ivan (JIRA)

 [ 
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.(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.



[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

2009-03-03 Thread Ivan (JIRA)

 [ 
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.(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.



[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

2009-03-02 Thread Ying Tang (JIRA)

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

Ying Tang updated GERONIMO-4561:


Priority: Trivial  (was: Minor)

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