geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ying Tang (JIRA)" <j...@apache.org>
Subject [jira] Created: (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 Mon, 02 Mar 2009 07:48:12 GMT
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: Minor


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