I may look into it if you can provide a simplified WAR that displays this problem.
Otherwise do this for a tryout: make sure that in the WAR you have: WEB-INF/classes/http-file-provider-application-context.xml change this line as follows: ApplicationContext context = new ClassPathXmlApplicationContext("http-file-provider-application-context.xml"); HTH, Alin 2009/12/9 Pawel Wesolowski <p...@softwaremind.pl> > Niclas Hedhman wrote: > >> >> >> This should have gone to list. >> >> I am not sure, but GutFeeling says that this is an icky location. >> If I were you, I would first try and see what happens if you move to a >> more "obvious" place for Spring to find it, like WEB-INF/classes. I suspect >> you are touching corner-cases in servlet spec more than Pax Web odd >> behavior. >> >> I've moved file to WEB-INF/classes (and also to WEB-INF) but result was > the same as previously. > > > > Secondly a "**/" search sounds extremely expensive, and should probably be >> avoided for that reason. >> >> Yes, your right, but for now it is very convenient for me. If a file > appears somewhere in the classpath it will be found. Later when I resolve > all the problems I'll change it. > > -- Niclas >> >> On 9 Dec 2009 21:34, "Pawel Wesolowski" <p...@softwaremind.pl <mailto: >>> p...@softwaremind.pl>> wrote: >>> >>> in directory: >>> WEB-INF/classes/META-INF/spring/http-file-provider-application-context.xml >>> >>> Paweł Wesołowski >>> >>> Niclas Hedhman wrote: >>> >>> > > > > So exactly where does the app context file end up inside >>> the WAR file? > > -- Niclas > >>> >>> >> On 9 Dec 2009 20:41, "Pawel Wesolowski" >>> <p...@softwaremind.pl <mailto:p...@softwaremind.pl> >>> <mailto:p...@softwaremind.pl <mailto:p...@softwaremind.pl>>> >>> >>> wrot... >>> >>> general@lists.ops4j.org <mailto:general@lists.ops4j.org> >>> <mailto:general@lists.ops4j.org >>> <mailto:general@lists.ops4j.org>> >>> >>> >> http://lists.ops4j.org/mailman/listinfo/general >>> >>> >>> > > _______________________________________________ > general mailing list > > general@lists.ops4j.org > http://lists.ops4j.org/mailman/listinfo/general > -- Alin Dreghiciu Software Developer My profile: http://www.linkedin.com/in/alindreghiciu My blog: http://adreghiciu.wordpress.com http://sonatype.com - Sonatype - The Maven Company http://www.ops4j.org - New Energy for OSS Communities - Open Participation Software. http://www.qi4j.org - New Energy for Java - Domain Driven Development.
_______________________________________________ general mailing list general@lists.ops4j.org http://lists.ops4j.org/mailman/listinfo/general