-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Арсений,

On 7/23/14, 10:14 AM, Арсений Зинченко wrote:
> We have Tomcat with:
> 
> <Host name="localhost" appBase="webapps" unpackWARs="false" 
> autoDeploy="false" deployOnStartup="true" >
> 
> While startup I got ERROR in log:
> 
> 14-07-22 15:13:01,551+0100 > 289   INFO 
> [com.***.listener.PropertiesConfigListener] (main:) Adapter is a
> log4j adapter ?org.slf4j.impl.Log4jLoggerAdapter 14-07-22
> 15:13:01,552+0100 > 290   ERROR 
> [com.***.listener.PropertiesConfigListener] (main:) Exception
> getting codebase versionjava.io.FileNotFoundException:
> META-INF/MANIFEST.MF (No such file or directory)
> 
> I understood, that PropertiesConfigListener can't find path to this
> file, but - it can't get MANIFEST.MF from inside WAR-file?
> 
> Any tips - how it can be fixed?

Your com.***.listener.PropertiesConfigListener needs to know how to
load files from inside WAR files if you don't want to expand the WAR file.

How does your code currently attempt to load the file? You are
probably using a FileInputStream or something like that, which can't
operate within a JAR/WAR file.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJTz8YJAAoJEBzwKT+lPKRYuaAQAKO7Ck6MIVnT672vX1ZzY41Z
HKgg+Dk/sjVdZXh+fXWTTyAD9FeG5hN7eEkd95LuO5RApmwj03EU8AsHs8drGQX9
rOdkpc0ucrgxP0KCQ7VlJ7n3SPZ64ASQ8PPMbs0VpkdWFueMz53GjL6hAkEi5p4f
5xK1NJK95e50AokMElbi4YBienZYCDWKV1/0Wh9FfhVnaBWqwFKfiBxoePpHsr18
m8Xh9I27Q+4HPP+34AOGpDSSN2LIl9VFa1suBsgEjdlKvN3HAjQfFee2dAgvUj64
lDGCJbzUD+HriQeNqXjUSDYqsLsfn2Wd/cA6HgP2tTvt3AFciDFqON6nyWC9Cl22
3W+8L5rKmzIYP/Se2084VB8TOEKBg2D9T8Am0FDyKExwvJNY/l8Hxc7IPbZw5aWE
/cwTIvO2u9M4lPzDx5RUrhy8VlZSIubAr41P1vgO58BPKLM8vSJsqE/SNMKuoZ+c
3TgqiYyUwlGRQV0JsCNARQw2haDq1YLfGfpsnt0/wWh1LJ9caD8S2d++6IT56x66
oCmIwZvTI9lmBzIqA8ZGifIyzuiVut79Xcg/CL8Pvje5uZhRXkRw8yIuAp86ymH5
S2setIwthjGBKsEOnPMGXjQDePIA83Xa220jQpxyfnUXWb3xXZSb1OGb3IeZepM9
2QXHx/ouQpeV7dsXrjLi
=WKOD
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to