[fedora-java] tomcat not expanding macros

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have tomcat5-5.0.30-5jpp_6fc on FC4 as updated. My client has sent
me a war package, foo.war, to install & document. I can deploy it via
tomcat's manager.

One problem I hit is that the web.xml file contains a macro, used
several places, e.g:

--------------------------------------------------
	    <param-value>${catalina.home}/webapps/foo</param-value>
--------------------------------------------------

It apears it is not being expanded, so that the log fle complains like
so:

--------------------------------------------------
ERROR: License Manager Error: ${catalina.home}/webapps/FOO/WEB-INF/lib/foo.jar (No such file or directory)
ERROR: License Manager Error: ${catalina.home}/webapps/FOO/WEB-INF/lib/foo.jar (No such file or directory)
--------------------------------------------------

When I globally search and replace the correct expansion of the macro
into web.xml, I get other problems but not that one, leading me to
think that the problem is lack of macro expansion.

I don't see anything in the tomcat docs that suggests that macro
expansion can be turned on or off.

-- 

Charles Curley                  /"\    ASCII Ribbon Campaign
Looking for fine software       \ /    Respect for open standards
and/or writing?                  X     No HTML/RTF in email
http://www.charlescurley.com    / \    No M$ Word docs in email

Key fingerprint = CE5C 6645 A45A 64E4 94C0  809C FFF6 4C48 4ECD DFDB

Attachment: pgpDFJrtWgG11.pgp
Description: PGP signature


[Index of Archives]     [Red Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux