I have the following code in my mysql-ds.xml file:-
[code]
<?xml version="1.0" encoding="UTF-8" ?>
<datasources>
<local-tx-datasource>
<use-java-context>false</use-java-context>
<jndi-name>jdbc/user</jndi-name>
<connection-url>jdbc:mysql://localhost:3306/petprojectdb
</connection-url>
<driver-class>com.mysql.jdbc.Driver</driver-class>
<user-name>root</user-name>
<password>james</password>
</local-tx-datasource>
</datasources>
[/code]
I have put this file in .....\jboss-5.0.0.GA\server\default\deploy folder
when I start the server using run.bat, I get the following error:-
org.xml.sax.SAXParseException: The processing instruction target matching "[xX][mM][lL]" is not allowed.
There are no additional spaces in 1st line. What am I doing wrong??