tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Kolinko <knst.koli...@gmail.com>
Subject Re: typesafe-config reference.conf file not found in a .jar in WEB_INF/lib
Date Wed, 06 May 2015 14:37:53 GMT
2015-05-06 17:22 GMT+03:00 Walend, David <David_Walend@hms.harvard.edu>:
>>
>>So your WAR file looks like this:
>>
>>/WEB-INF
>>/WEB-INF/lib
>>/WEB-INF/lib/akka-actor.2.11-2.3.8.jar
>>(plus other stuff)
>>
>>Then, akka-actor.2.11-2.8.8.jar contains:
>>
>>/reference.conf
>>(plus other stuff)
>>
>>Do I have that right?
>
> Exactly so.
>
> My custom .jar follows the same pattern with its own reference.conf. It
> finds the four reference.conf files from akka and spray, but not mine.

Do you have "directory entries" in your jar file?

E.g.  "%JAVA_HOME%\bin\jar" -tf catalina.jar   lists directories:

META-INF/
META-INF/MANIFEST.MF
org/
org/apache/
org/apache/catalina/
org/apache/catalina/authenticator/

Usually there exists an option to jar tool whether to create those
directory entries.


Best regards,
Konstantin Kolinko

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


Mime
View raw message