-
Enhancement
-
Resolution: Unresolved
-
Major
-
None
-
10.1.0.Final
-
None
After creating a Non-XA datasource in the web frontend and pressing finish on the last dialog page, I get the message "Unknown error" and the data entered into the form is lost. Clicking on "Unknown error" a dialog is displayed with the content
```
Unexpected HTTP response: 500
Request
{
"name" => "jdbc/linuxtracker2",
"jta" => true,
"enabled" => true,
"user-name" => "APP",
"password" => "APP",
"jndi-name" => "java:/jdbc/linuxtracker2",
"use-ccm" => true,
"pool-name" => "jdbc/linuxtracker2_Pool",
"connection-url" => "jdbc:derby://localhost:1527/derby-pool",
"driver-class" => "org.apache.derby.jdbc.ClientDriver",
"driver-name" => "jdbc/linuxtracker2",
"operation" => "add",
"address" => [
("subsystem" => "datasources"),
("data-source" => "jdbc/linuxtracker2")
]
}
Response
Internal Server Error
{
"outcome" => "failed",
"failure-description" =>
,
"rolled-back" => true
}
```
which is extremely unhelpful given the fact that an error message listing and explaining the cause for the failure could be displayed (e.g. "the datasource xy couldn't be created because the name doesn't match the requirement yz").
It's hard to guess that clicking on the "Unknown error" popup opens a dialog.