[
https://issues.jboss.org/browse/AS7-898?page=com.atlassian.jira.plugin.sy...
]
Heiko Braun edited comment on AS7-898 at 5/25/11 10:41 AM:
-----------------------------------------------------------
it#s the missing xa-data-source-properties:
{noformat}
[INFO] {
[INFO] "operation" => "add",
[INFO] "address" => [
[INFO] ("profile" => "default"),
[INFO] ("subsystem" => "datasources"),
[INFO] ("xa-data-source" => "ss")
[INFO] ],
[INFO] "name" => "ss",
[INFO] "jndi-name" => "ss",
[INFO] "enabled" => true,
[INFO] "driver-name" => "h2",
[INFO] "driver-class-name" => "org.h2.Driver",
[INFO] "driver-major-version" => 1,
[INFO] "driver-minor-version" => 2,
[INFO] "pool-name" => "ss_Pool",
[INFO] "user-name" => "sa",
[INFO] "password" => "",
[INFO] "xa-data-source-properties" => undefined
[INFO] }
{noformat}
was (Author: heiko.braun):
it#s the missing xa-data-source-properties:
[INFO] {
[INFO] "operation" => "add",
[INFO] "address" => [
[INFO] ("profile" => "default"),
[INFO] ("subsystem" => "datasources"),
[INFO] ("xa-data-source" => "ss")
[INFO] ],
[INFO] "name" => "ss",
[INFO] "jndi-name" => "ss",
[INFO] "enabled" => true,
[INFO] "driver-name" => "h2",
[INFO] "driver-class-name" => "org.h2.Driver",
[INFO] "driver-major-version" => 1,
[INFO] "driver-minor-version" => 2,
[INFO] "pool-name" => "ss_Pool",
[INFO] "user-name" => "sa",
[INFO] "password" => "",
[INFO] "xa-data-source-properties" => undefined
[INFO] }
Error creating XA datasource in domain mode
-------------------------------------------
Key: AS7-898
URL:
https://issues.jboss.org/browse/AS7-898
Project: Application Server 7
Issue Type: Bug
Components: Domain Management, JCA
Reporter: Heiko Braun
Assignee: Stefano Maestri
Fix For: 7.0.0.CR1
[Host Controller] 13:29:14,528 ERROR [org.jboss.as.controller] (pool-1-thread-20)
operation ("add") failed - address: ([
[Host Controller] ("profile" => "default"),
[Host Controller] ("subsystem" => "datasources"),
[Host Controller] ("xa-data-source" => "asd")
[Host Controller] ]): java.lang.IllegalArgumentException
[Host Controller] at org.jboss.dmr.ModelValue.asPropertyList(ModelValue.java:100)
[jboss-dmr-1.0.0.Beta5.jar:1.0.0.Beta5]
[Host Controller] at org.jboss.dmr.ModelNode.asPropertyList(ModelNode.java:251)
[jboss-dmr-1.0.0.Beta5.jar:1.0.0.Beta5]
[Host Controller] at
org.jboss.as.connector.subsystems.datasources.AbstractDataSourceAdd.populateAddModel(AbstractDataSourceAdd.java:181)
[Host Controller] at
org.jboss.as.connector.subsystems.datasources.XaDataSourceAdd.populateModel(XaDataSourceAdd.java:42)
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira