DB Pool wizard allows "/" in the DB Pool name
---------------------------------------------
Key: GERONIMO-2321
URL: http://issues.apache.org/jira/browse/GERONIMO-2321
Project: Geronimo
Issue Type: Bug
Security Level: public (Regular issues)
Components: console
Affects Versions: 1.1, 1.1.1
Environment: Geronimo 1.1.1
Reporter: Donald Woods
Assigned To: Donald Woods
Priority: Minor
Fix For: 1.1.x, 1.2
Follow the database pool wizard, create a datasource with the name
"jdbc/EmployeeDatasource", the connection
test is successful, but when click on the button "deploy", see the following
stacktrace in the server output
window:
org.apache.geronimo.common.DeploymentException:
java.lang.IllegalArgumentException: Invalid id:
console.dbpool/jdbc/EmployeeDatasource/1.0/rar
at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:364)
at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:124)
at
org.apache.geronimo.deployment.Deployer$$FastClassByCGLIB$$734a235d.invoke(<generated>)
at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
at
org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:122)
at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:852)
at
org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:239)
at
org.apache.geronimo.deployment.plugin.local.AbstractDeployCommand.doDeploy(AbstractDeployCommand.java:106)
at
org.apache.geronimo.deployment.plugin.local.DistributeCommand.run(DistributeCommand.java:60)
at java.lang.Thread.run(Thread.java:797)
Caused by:
java.lang.IllegalArgumentException: Invalid id:
console.dbpool/jdbc/EmployeeDatasource/1.0/rar
at
org.apache.geronimo.kernel.repository.Artifact.create(Artifact.java:49)
at
org.apache.geronimo.deployment.Deployer.notifyWatchers(Deployer.java:376)
at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:325)
... 10 more
The Portlet should validate that the DB Pool Name does not contain "/" or white
space.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira