Re: [Resin-interest] Resin 3.1.5 pro: java.lang.IllegalArgumentException: Resource path [.../ext/meta-index] does not denote a directory
On May 12, 2008, at 7:47 AM, Brian Burke wrote: > Using resin pro 3.1.5, JDK 1.6.0_05, we're getting these exceptions > when > starting several different webapps which are based on Spring: Brian, Can you give some more details on this? The problem file "/usr/java/jdk1.6.0_06/jre/lib/ext/meta-index" is not a directory, but I have no idea why Spring thinks it should be or what it's even looking in that area. Do you know where Spring is configured to look for resources? -- Scott > > > [11:12:16.308] WebApp[http://localhost:8080/dashboard] Set web app > root > system property: 'webapp.root' = [/apps/resin-local/webapps/ > dashboard/] > [11:12:16.535] WebApp[http://localhost:8080/dashboard] Initializing > Spring FrameworkServlet 'spring-pages' > [11:12:16.539] org.springframework.beans.PropertyBatchUpdateException; > nested PropertyAccessException details (1) are: > [11:12:16.539] PropertyAccessException 1: > [11:12:16.539] org.springframework.beans.TypeMismatchException: Failed > to convert property value of type [java.util.ArrayList] to required > type > [org.springframework.core.io.Resource[]] for property 'locations'; > nested exception is java.lang.IllegalArgumentException: Resource path > [/usr/java/jdk1.6.0_05/jre/lib/ext/meta-index] does not denote a > directory > [11:12:16.539] Caused by: java.lang.IllegalArgumentException: Resource > path [/usr/java/jdk1.6.0_05/jre/lib/ext/meta-index] does not denote a > directory > [11:12:16.539] at > org > .springframework > .core > .io > .support > .PathMatchingResourcePatternResolver > .retrieveMatchingFiles(PathMatchingResourcePatternResolver.java:492) > [11:12:16.539] at > org > .springframework > .core > .io > .support > .PathMatchingResourcePatternResolver > .doFindMatchingFileSystemResources > (PathMatchingResourcePatternResolver.java:472) > [11:12:16.539] at > org > .springframework > .core > .io > .support > .PathMatchingResourcePatternResolver > .doFindPathMatchingFileResources > (PathMatchingResourcePatternResolver.java:455) > [11:12:16.539] at > org.springframework.web.context.support.ServletContextResourcePatternResolver.doFindPathMatchingFileResources > > (ServletContextResourcePatternResolver.java:88) > [11:12:16.539] at > org > .springframework > .core > .io > .support > .PathMatchingResourcePatternResolver > .findPathMatchingResources(PathMatchingResourcePatternResolver.java: > 323) > [11:12:16.539] at > org > .springframework > .core > .io > .support > .PathMatchingResourcePatternResolver > .getResources(PathMatchingResourcePatternResolver.java:244) > [11:12:16.539] at > org > .springframework > .context > .support > .AbstractApplicationContext > .getResources(AbstractApplicationContext.java:867) > > > In this particular case, the error is occurring with the cruisecontrol > DashBoard webapp. We have several other examples where it occurs with > some of our own spring apps as well. This error does not occur in > resin > 3.1.2, which is what makes me think its more of a resin related issue > than a JDK or spring issue. > > Has anyone run into this issue? Any settings or configuration we need > to change to get this working on 3.1.5 and above? > Thanks, > -Brian > > > > ___ > resin-interest mailing list > resin-interest@caucho.com > http://maillist.caucho.com/mailman/listinfo/resin-interest ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest
Re: [Resin-interest] Resin 3.1.5 pro: java.lang.IllegalArgumentException: Resource path [.../ext/meta-index] does not denote a directory
On May 12, 2008, at 7:47 AM, Brian Burke wrote: > Using resin pro 3.1.5, JDK 1.6.0_05, we're getting these exceptions > when > starting several different webapps which are based on Spring: I've filed this as http://bugs.caucho.com/view.php?id=2659 There were a number of changes to the classloader resource handling, so it's possible the behavior changed. -- Scott > > > [11:12:16.308] WebApp[http://localhost:8080/dashboard] Set web app > root > system property: 'webapp.root' = [/apps/resin-local/webapps/ > dashboard/] > [11:12:16.535] WebApp[http://localhost:8080/dashboard] Initializing > Spring FrameworkServlet 'spring-pages' > [11:12:16.539] org.springframework.beans.PropertyBatchUpdateException; > nested PropertyAccessException details (1) are: > [11:12:16.539] PropertyAccessException 1: > [11:12:16.539] org.springframework.beans.TypeMismatchException: Failed > to convert property value of type [java.util.ArrayList] to required > type > [org.springframework.core.io.Resource[]] for property 'locations'; > nested exception is java.lang.IllegalArgumentException: Resource path > [/usr/java/jdk1.6.0_05/jre/lib/ext/meta-index] does not denote a > directory > [11:12:16.539] Caused by: java.lang.IllegalArgumentException: Resource > path [/usr/java/jdk1.6.0_05/jre/lib/ext/meta-index] does not denote a > directory > [11:12:16.539] at > org > .springframework > .core > .io > .support > .PathMatchingResourcePatternResolver > .retrieveMatchingFiles(PathMatchingResourcePatternResolver.java:492) > [11:12:16.539] at > org > .springframework > .core > .io > .support > .PathMatchingResourcePatternResolver > .doFindMatchingFileSystemResources > (PathMatchingResourcePatternResolver.java:472) > [11:12:16.539] at > org > .springframework > .core > .io > .support > .PathMatchingResourcePatternResolver > .doFindPathMatchingFileResources > (PathMatchingResourcePatternResolver.java:455) > [11:12:16.539] at > org.springframework.web.context.support.ServletContextResourcePatternResolver.doFindPathMatchingFileResources > > (ServletContextResourcePatternResolver.java:88) > [11:12:16.539] at > org > .springframework > .core > .io > .support > .PathMatchingResourcePatternResolver > .findPathMatchingResources(PathMatchingResourcePatternResolver.java: > 323) > [11:12:16.539] at > org > .springframework > .core > .io > .support > .PathMatchingResourcePatternResolver > .getResources(PathMatchingResourcePatternResolver.java:244) > [11:12:16.539] at > org > .springframework > .context > .support > .AbstractApplicationContext > .getResources(AbstractApplicationContext.java:867) > > > In this particular case, the error is occurring with the cruisecontrol > DashBoard webapp. We have several other examples where it occurs with > some of our own spring apps as well. This error does not occur in > resin > 3.1.2, which is what makes me think its more of a resin related issue > than a JDK or spring issue. > > Has anyone run into this issue? Any settings or configuration we need > to change to get this working on 3.1.5 and above? > Thanks, > -Brian > > > > ___ > resin-interest mailing list > resin-interest@caucho.com > http://maillist.caucho.com/mailman/listinfo/resin-interest ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest
[Resin-interest] Resin 3.1.5 pro: java.lang.IllegalArgumentException: Resource path [.../ext/meta-index] does not denote a directory
Using resin pro 3.1.5, JDK 1.6.0_05, we're getting these exceptions when starting several different webapps which are based on Spring: [11:12:16.308] WebApp[http://localhost:8080/dashboard] Set web app root system property: 'webapp.root' = [/apps/resin-local/webapps/dashboard/] [11:12:16.535] WebApp[http://localhost:8080/dashboard] Initializing Spring FrameworkServlet 'spring-pages' [11:12:16.539] org.springframework.beans.PropertyBatchUpdateException; nested PropertyAccessException details (1) are: [11:12:16.539] PropertyAccessException 1: [11:12:16.539] org.springframework.beans.TypeMismatchException: Failed to convert property value of type [java.util.ArrayList] to required type [org.springframework.core.io.Resource[]] for property 'locations'; nested exception is java.lang.IllegalArgumentException: Resource path [/usr/java/jdk1.6.0_05/jre/lib/ext/meta-index] does not denote a directory [11:12:16.539] Caused by: java.lang.IllegalArgumentException: Resource path [/usr/java/jdk1.6.0_05/jre/lib/ext/meta-index] does not denote a directory [11:12:16.539] at org.springframework.core.io.support.PathMatchingResourcePatternResolver.retrieveMatchingFiles(PathMatchingResourcePatternResolver.java:492) [11:12:16.539] at org.springframework.core.io.support.PathMatchingResourcePatternResolver.doFindMatchingFileSystemResources(PathMatchingResourcePatternResolver.java:472) [11:12:16.539] at org.springframework.core.io.support.PathMatchingResourcePatternResolver.doFindPathMatchingFileResources(PathMatchingResourcePatternResolver.java:455) [11:12:16.539] at org.springframework.web.context.support.ServletContextResourcePatternResolver.doFindPathMatchingFileResources(ServletContextResourcePatternResolver.java:88) [11:12:16.539] at org.springframework.core.io.support.PathMatchingResourcePatternResolver.findPathMatchingResources(PathMatchingResourcePatternResolver.java:323) [11:12:16.539] at org.springframework.core.io.support.PathMatchingResourcePatternResolver.getResources(PathMatchingResourcePatternResolver.java:244) [11:12:16.539] at org.springframework.context.support.AbstractApplicationContext.getResources(AbstractApplicationContext.java:867) In this particular case, the error is occurring with the cruisecontrol DashBoard webapp. We have several other examples where it occurs with some of our own spring apps as well. This error does not occur in resin 3.1.2, which is what makes me think its more of a resin related issue than a JDK or spring issue. Has anyone run into this issue? Any settings or configuration we need to change to get this working on 3.1.5 and above? Thanks, -Brian ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest