Ahh, logical - thanks... I'm not too hot on XML sorry! So, does somebody want to update the example in the Tomcat docs then? Wasted half a day because of that!
Cheers, Howard -----Original Message----- From: Barney Hamish [mailto:[EMAIL PROTECTED]] Sent: 05 September 2002 11:38 To: 'Tomcat Users List' Subject: RE: JDBCReal / MySql /server.xml problem In xml you can't just write & because it has special meaning. It's used to escape special characters. To get an & you'll have to write ....&password=foo.... Hamish > -----Original Message----- > From: Howard Miller [mailto:[EMAIL PROTECTED]] > Sent: Thursday, September 05, 2002 12:39 PM > To: '[EMAIL PROTECTED]' > Subject: JDBCReal / MySql /server.xml problem > > > Hi, > > I am trying to set up a JDBCRealm using MySql. I have pretty > much followed > the documentation to the letter. > > However my <Realm... tag declaration, generates the > following parse error > > "The reference to entity "password" must end with the ";" delimter." > > This points to the &password=mypassword bit of the > connectionURL attribute. > Removing the &password bit of the string gets rid of the error, but of > couurse it then won't connect to the database. As there is no DTD for > server.xml I am somewhat stumped. I don't think I have done anything > different from the documentation > > BTW I am using Tomcat version 4.1.9. > > Any help appreciated. > > Howard > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
