0 Replies Latest reply on Oct 18, 2008 12:47 PM by William Woodman

    probelem with default seam gen data source - parse error on

    William Woodman Master

      just being trying to get seam 2.1 up - built a project which generated a default datasource for the project for mysql for me

      which has the lines refering to the public dtd.

      <?xml version="1.0" encoding="UTF-8"?>
      <!-- <!DOCTYPE datasources
       PUBLIC "-//JBoss//DTD JBOSS JCA Config 1.5//EN"
       "http://www.jboss.org/j2ee/dtd/jboss-ds_1_5.dtd"> -->

      If i remove comments and deploy to the server - the server rejects the datasource with a mysql timeout error and doesnt bind to the JNDI.

      If i comment out as above it works fine!

      also if i point the broswer at the url i get this

      The XML page cannot be displayed
      Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.


      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 |

      is there a probelm on the jboss dtd? anyone one know why it fails is it the dtd def at the jboss site at fault ?