Martin Malina created JBIDE-11978:
-------------------------------------
Summary: ds.xml created for Seam 2.3 project has wrong structure
Key: JBIDE-11978
URL:
https://issues.jboss.org/browse/JBIDE-11978
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Seam 2
Affects Versions: 3.3.0.Beta3
Environment: jbdevstudio-product-universal-5.0.0.v201205220143N-H1345-CR1.jar
Reporter: Martin Malina
Assignee: Alexey Kazakov
Fix For: 3.3.0.CR1
The datasource descriptor created by Seam Web Project wizard for Seam 2.3 uses wrong
schema. It defines <local-tx-datasource> which worked fine with EAP 5, but EAP 6
refuses to accept it.
{code}
09:44:41,653 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-6) MSC000001: Failed
to start service jboss.deployment.unit."myproj-ds.xml".PARSE:
org.jboss.msc.service.StartException in service
jboss.deployment.unit."myproj-ds.xml".PARSE: JBAS018733: Failed to process phase
PARSE of deployment "myproj-ds.xml"
at
org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:123)
[jboss-as-server-7.1.2.Final-redhat-1.jar:7.1.2.Final-redhat-1]
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
[jboss-msc-1.0.2.GA-redhat-1.jar:1.0.2.GA-redhat-1]
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
[jboss-msc-1.0.2.GA-redhat-1.jar:1.0.2.GA-redhat-1]
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
[classes.jar:1.6.0_31]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
[classes.jar:1.6.0_31]
at java.lang.Thread.run(Thread.java:680) [classes.jar:1.6.0_31]
Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: IJ010061:
Unexpected element: local-tx-datasource
at
org.jboss.as.connector.deployers.ds.processors.DsXmlDeploymentParsingProcessor.deploy(DsXmlDeploymentParsingProcessor.java:89)
at
org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:116)
[jboss-as-server-7.1.2.Final-redhat-1.jar:7.1.2.Final-redhat-1]
... 5 more
Caused by: org.jboss.jca.common.metadata.ParserException: IJ010061: Unexpected element:
local-tx-datasource
at org.jboss.jca.common.metadata.ds.v10.DsParser.parseDataSources(DsParser.java:198)
at org.jboss.jca.common.metadata.ds.v10.DsParser.parse(DsParser.java:124)
at org.jboss.jca.common.metadata.ds.v10.DsParser.parse(DsParser.java:87)
at
org.jboss.as.connector.deployers.ds.processors.DsXmlDeploymentParsingProcessor.deploy(DsXmlDeploymentParsingProcessor.java:84)
... 6 more
{code}
Instead, the Seam 2.3 project should have <datasource> element defined. Example of
what the -ds.xml should look like can be found in Max' article here:
https://community.jboss.org/en/tools/blog/2012/02/28/excited-about-jboss-...
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira