generated default datasource references dtd that errors and causes JBOSS AS5.0.0CR2 to not
load datasource
-----------------------------------------------------------------------------------------------------------
Key: JBSEAM-3626
URL:
https://jira.jboss.org/jira/browse/JBSEAM-3626
Project: Seam
Issue Type: Bug
Components: Core
Affects Versions: 2.1.0.CR1
Environment: seam 2.1.0CR with jboss as 5.0.0.CR2, with mysql 5.1
Reporter: William Woodman
create a new project in either seam gen or via jboss tools, and provide database details.
seam generates a default datasource for your project, and includes the following in the
top of the datasource
<!DOCTYPE datasources
PUBLIC "-//JBoss//DTD JBOSS JCA Config 1.5//EN"
"http://www.jboss.org/j2ee/dtd/jboss-ds_1_5.dtd">
deploying to the JBOSS server causes an error and fails to load the datasource. if you
edit the dtd out of the file and redeploy it loads successfully.
pointing my browser to the site returns the following of the jboss url
Cannot have a DTD declaration outside of a DTD. Error processing resource
'http://www.jboss.org/j2ee/dtd/jboss-ds_1_5.dtd'....
<!ELEMENT datasources (mbean | local-tx-datasource | xa-datasource | no-tx-datasource
|
----------^
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira