-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Chuck,
On 6/10/2011 12:33 AM, Caldarale, Charles R wrote: > $CATALINA_HOME/webapps/mbp#filePort FWIW, path names containing a # symbol can wreak havoc on certain APIs that use URLs to locate resources. Case in point: Apache Cocoon uses file: URLs to locate files on the disk. Since the path contains a "#", it is determined to be illegal because # isn't a valid character in a URL. "No problem", you say, and change that to "%23" and all will be well. Yes and no. Evidently, Cocoon specifically decodes the URL one or more times and by the tine it gets to the component that tries to use it, it's a "#" no matter what you try to do :( If you find yourself having similar problems with mbp#filePort as your deployment directory, you can always have the deployment descriptor mbp#filePort.xml point to a directory somewhere *outside* Tomcat's webapps directory and you should avoid that headache. You will probably never have this problem, but I suffered through it myself and seek to help others avoid it, or at least understand it. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk3yf+EACgkQ9CaO5/Lv0PBp2ACfXvB/uvZHh32MgmnwCYwtq2oq SR0AoJXKhDGlfftq6AZ+aBqxbNehDauD =JQjg -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
