tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rogermcnally <r.mcna...@leeds.ac.uk>
Subject Using Passwords with special characters to for SQL JDBC Connection Pool
Date Wed, 30 Nov 2011 12:34:00 GMT

I'm trying to configure a JDBC Connection Pool for SQL Server 2005 in Tomcat
6 but am hitting a wall in that connection password uses special characters
e.g. / < / etc.  It's causing this error,



Element type "Resource" must be followed by either attribute specifications,
">" or "/>".
org.xml.sax.SAXParseException: Element type "Resource" must be followed by
either attribute specifications, ">" or "/>".




Resource in server.xml is: 






To date I have tried escaping the special chars using \ and tried using html
characters code as Glassfish does.  
Any other suggestions?
-- 
View this message in context: http://old.nabble.com/Using-Passwords-with-special-characters-to-for-SQL-JDBC-Connection-Pool-tp32884111p32884111.html
Sent from the Tomcat - Dev mailing list archive at Nabble.com.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message