-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Арсений,
On 7/23/14, 10:43 AM, Арсений Зинченко wrote: > Hi, Chris. Thanks for replay. > > Biggest problem is that I'm not our application developer >.< Okay, well then tell the developer to fix it so it works in an unexpanded WAR file. If they don't know how to do that, send them here. - -chris > 2014-07-23 17:26 GMT+03:00 Christopher Schultz > <ch...@christopherschultz.net >> : > > Арсений, > > 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 >> >> --------------------------------------------------------------------- >> >> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org >> For additional commands, e-mail: users-h...@tomcat.apache.org >> >> > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBCAAGBQJT0QP0AAoJEBzwKT+lPKRYWlwP/iyEq+anmYEj/roFYYNV05ci yQPq8l7shC99Gx6bp2puw4puAHL1oU5gX1WyWx915Fqi5Eyj8yMQDNpQ2DfrYI8G ezeCaMhkyl2aHou0Tf1GJdoJT806ob3204Riw8TnagBltkJhIBhhcQF2TOz0aEQW K/LQ+CII5w2MLI5SqhxT2/SWdZogS4YXK9Jy+RB6jfkrXkv1/p4b0y4SPoFl/rcK JwRRsg+H4pcVM+fQMaWLse5pzqSFCc6ASLTfN4ERlxu/y2JhKAn3/hGG20HHTPs1 gFTzOnGch1jWBnm/XY9o1nmcxVLmpvgcCOKCSkJGNCLMZoPnR140x+7tQpcXgJEz irMbdSTQokqy5bFniOr1QBw74l9DGl2CIgReoGDCkXS34qxJ1SbPJXO+a2L0K/g/ Abl2m1S0wz0BEPM9IoZFPp98+g9v00CRo4YnaE1zzL25vF034/EkTHUpmfdOjsXf WOeYfTVdV10t31bQf2YRCz50QzxpZdQwVp5LLIa57QdW4UP7HVhXN5AXb/gF8kVp 2C18D9hXGmj/GLl08j9ZSomwyh3tr+hCFNDaINx+i1BzkCv13DBnsUdAvqXjNElW SSTqjKGv1dBAH/ct74qC15IlkmzqGFfIg9IyfWWXP4neqrasrevxsxh0jgtFhxn8 LWDZzi/ofi5IobCGnrIr =ipWB -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org