tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 15762] - Special character '&' in Data Source URL causes Tomcat to crash on restart
Date Thu, 02 Jan 2003 17:16:21 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15762>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15762

Special character '&' in Data Source URL causes Tomcat to crash on restart

craig.mcclanahan@sun.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID



------- Additional Comments From craig.mcclanahan@sun.com  2003-01-02 17:16 -------
The server.xml file is an XML document, and therefore you must obey the syntax
and semantic rules of XML.  Using a plain "&" character in XML does not conform,
so your server.xml file is broken.

If you want to include a URL that includes an ampersand, you need to do the
usual XML escape for it (&amp;) instead.  For example:

jdbc:sybase:Tds:host.domain:4100/db?APPLICATIONNAME=Tomcat&amp;HOSTNAME=myserver

--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message