0 Replies Latest reply on Oct 17, 2007 4:03 PM by p w

    Duke?s Bank code connect with mysql error

    p w Newbie

      i used jboss 4.0.4 and j2ee-1_4-doc-tutorial_2.
      when i used mysql as database, there was a problem. the page show no data from the database when i log in Duke?s Bank. so the connection was wrong.
      fisrt, i move the mysql-connector-java-3.1.14-bin.jar to default lib.
      then built mysqldb-ds.xml in deploy. coded that
      <?xml version="1.0" encoding="UTF-8"?>


      the server said
      20:40:26,102 ERROR [MainDeployer] Could not initialise deployment: file:/D:/EE55
      org.jboss.deployment.DeploymentException: Could not parse dd; - nested throwable
      : (org.xml.sax.SAXParseException: The processing instruction target matching "[x
      X][mM][lL]" is not allowed.)
      i have checked the content. it seem ok.even though nothing in the mysqldb-ds.xml, the server still was wrong.
      i lost some moves???
      help!!!thank you!!!!