[jboss-jira] [JBoss JIRA] (AS7-6369) XA datasource is not binding
Tiago Frazão (JIRA)
jira-events at lists.jboss.org
Mon Jan 21 14:07:22 EST 2013
[ https://issues.jboss.org/browse/AS7-6369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tiago Frazão updated AS7-6369:
-------------------------------
Description:
Hi guys,
Please, I need a help !
I was trying to use the Jboss 7.1.3.Final, but because this ISSUE (https://issues.jboss.org/browse/AS7-5761), i was forced to upgrade my current version to "trunk" one (7.2.0.Alpha1 - 19.01.2012).
Unfortunately this new version (7.2.0.Alpha1) apparently seems to have a bug to bind a XA datasource defined in domain.xml. Yes! I am configuring a clustered environment.
During the deployment fase, i am getting the followed exception:
-=-=-= [ console error ] =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
[Server:master-server-one] 20:28:09,627 ERROR [org.jboss.as.server] (host-controller-connection-threads - 1) JBAS015870: Deploy of deployment "xxxxx.ear" was rolled back with the following failure message:
[Server:master-server-one] {"JBAS014771: Services with missing/unavailable dependencies" => [
[Server:master-server-one] "jboss.deployment.subunit.\"xxxxx.ear\".\"xxxxx.jar\".component.ReportCalendar.jdbc.store-manager.INIT is missing [jboss.data-source.java:jboss/datasources/XaDS]",
[Server:master-server-one] "jboss.deployment.subunit.\"xxxxx.ear\".\"xxxxx.jar\".component.ExternalDocument.jdbc.store-manager.INIT is missing [jboss.data-source.java:jboss/datasources/XaDS]",
.....
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=
My domain.xml entry looks like :
-=-=-= [ domain.xml ] =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
<subsystem xmlns="urn:jboss:domain:datasources:1.1">
<datasources>
<xa-datasource jta="true" jndi-name="java:jboss/datasources/XaDS" pool-name="XaDS" enabled="true" use-java-context="true" use-ccm="true">
<xa-datasource-property name="URL">
jdbc:oracle:thin:@localhost:1523:database
</xa-datasource-property>
<driver>oracle6</driver>
<transaction-isolation>TRANSACTION_READ_COMMITTED</transaction-isolation>
<xa-pool>
<min-pool-size>0</min-pool-size>
<max-pool-size>80</max-pool-size>
<no-tx-separate-pools>true</no-tx-separate-pools>
</xa-pool>
<security>
<user-name>appuser</user-name>
<password>apppassword</password>
</security>
<validation>
<validate-on-match>false</validate-on-match>
<background-validation>false</background-validation>
</validation>
<timeout>
<idle-timeout-minutes>35</idle-timeout-minutes>
</timeout>
</xa-datasource>
...
</datasources>
...
</subsystem>
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=
was:
Hi guys,
I need a help !
I was trying to use the Jboss AS (7.1.3.Final), but because this ISSUE (https://issues.jboss.org/browse/AS7-5761), i was forced to upgrade my current version to trunk one (7.2.0.Alpha1).
Unfortunately this new version (7.2.0.Alpha1) apparently seems to have a bug to bind a XA datasource defined in domain.xml. Yes! I am configuring a clustered environment.
During the deployement fase of my application, i am getting the followed exception.
-=-=-= [ console error ] =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
[Server:master-server-one] 20:28:09,627 ERROR [org.jboss.as.server] (host-controller-connection-threads - 1) JBAS015870: Deploy of deployment "xxxxx.ear" was rolled back with the following failure message:
[Server:master-server-one] {"JBAS014771: Services with missing/unavailable dependencies" => [
[Server:master-server-one] "jboss.deployment.subunit.\"xxxxx.ear\".\"xxxxx.jar\".component.ReportCalendar.jdbc.store-manager.INIT is missing [jboss.data-source.java:jboss/datasources/XaDS]",
[Server:master-server-one] "jboss.deployment.subunit.\"xxxxx.ear\".\"xxxxx.jar\".component.ExternalDocument.jdbc.store-manager.INIT is missing [jboss.data-source.java:jboss/datasources/XaDS]",
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=
My domain.xml entry looks like :
-=-=-= [ domain.xml ] =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
<subsystem xmlns="urn:jboss:domain:datasources:1.1">
<datasources>
<xa-datasource jta="true" jndi-name="java:jboss/datasources/XaDS" pool-name="XaDS" enabled="true" use-java-context="true" use-ccm="true">
<xa-datasource-property name="URL">
jdbc:oracle:thin:@localhost:1523:database
</xa-datasource-property>
<driver>oracle6</driver>
<transaction-isolation>TRANSACTION_READ_COMMITTED</transaction-isolation>
<xa-pool>
<min-pool-size>0</min-pool-size>
<max-pool-size>80</max-pool-size>
<no-tx-separate-pools>true</no-tx-separate-pools>
</xa-pool>
<security>
<user-name>appuser</user-name>
<password>apppassword</password>
</security>
<validation>
<validate-on-match>false</validate-on-match>
<background-validation>false</background-validation>
</validation>
<timeout>
<idle-timeout-minutes>35</idle-timeout-minutes>
</timeout>
</xa-datasource>
...
</datasources>
...
</subsystem>
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=
> XA datasource is not binding
> ----------------------------
>
> Key: AS7-6369
> URL: https://issues.jboss.org/browse/AS7-6369
> Project: Application Server 7
> Issue Type: Bug
> Components: Naming
> Affects Versions: 7.2.0.Alpha1
> Environment: --> Jboss 7.2.0.Alpha1
> --> Linux Ubuntu 12.04 (64b)
> Reporter: Tiago Frazão
> Assignee: Eduardo Martins
> Labels: 7.2.0.Alpha1, Xa, binding, datasource, not
>
> Hi guys,
> Please, I need a help !
> I was trying to use the Jboss 7.1.3.Final, but because this ISSUE (https://issues.jboss.org/browse/AS7-5761), i was forced to upgrade my current version to "trunk" one (7.2.0.Alpha1 - 19.01.2012).
> Unfortunately this new version (7.2.0.Alpha1) apparently seems to have a bug to bind a XA datasource defined in domain.xml. Yes! I am configuring a clustered environment.
> During the deployment fase, i am getting the followed exception:
> -=-=-= [ console error ] =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> [Server:master-server-one] 20:28:09,627 ERROR [org.jboss.as.server] (host-controller-connection-threads - 1) JBAS015870: Deploy of deployment "xxxxx.ear" was rolled back with the following failure message:
> [Server:master-server-one] {"JBAS014771: Services with missing/unavailable dependencies" => [
> [Server:master-server-one] "jboss.deployment.subunit.\"xxxxx.ear\".\"xxxxx.jar\".component.ReportCalendar.jdbc.store-manager.INIT is missing [jboss.data-source.java:jboss/datasources/XaDS]",
> [Server:master-server-one] "jboss.deployment.subunit.\"xxxxx.ear\".\"xxxxx.jar\".component.ExternalDocument.jdbc.store-manager.INIT is missing [jboss.data-source.java:jboss/datasources/XaDS]",
> .....
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=
> My domain.xml entry looks like :
> -=-=-= [ domain.xml ] =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> <subsystem xmlns="urn:jboss:domain:datasources:1.1">
> <datasources>
> <xa-datasource jta="true" jndi-name="java:jboss/datasources/XaDS" pool-name="XaDS" enabled="true" use-java-context="true" use-ccm="true">
> <xa-datasource-property name="URL">
> jdbc:oracle:thin:@localhost:1523:database
> </xa-datasource-property>
> <driver>oracle6</driver>
> <transaction-isolation>TRANSACTION_READ_COMMITTED</transaction-isolation>
> <xa-pool>
> <min-pool-size>0</min-pool-size>
> <max-pool-size>80</max-pool-size>
> <no-tx-separate-pools>true</no-tx-separate-pools>
> </xa-pool>
> <security>
> <user-name>appuser</user-name>
> <password>apppassword</password>
> </security>
> <validation>
> <validate-on-match>false</validate-on-match>
> <background-validation>false</background-validation>
> </validation>
> <timeout>
> <idle-timeout-minutes>35</idle-timeout-minutes>
> </timeout>
> </xa-datasource>
> ...
> </datasources>
> ...
> </subsystem>
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list