Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0002659 [Resin] minor always 05-12-08 11:24 06-12-08 19:04
Reporter ferg View Status public  
Assigned To ferg
Priority normal Resolution fixed Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version 3.1.7 Product Version 3.1.5
  Product Build
Summary 0002659: classloader resource issues with spring
Description (rep by Brian Burke)

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?

Steps To Reproduce
Additional Information
Attached Files

- Relationships

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
05-12-08 11:24 ferg New Issue
06-12-08 19:04 ferg Assigned To  => ferg
06-12-08 19:04 ferg Status new => closed
06-12-08 19:04 ferg Resolution open => fixed
06-12-08 19:04 ferg Fixed in Version  => 3.1.7


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
26 total queries executed.
24 unique queries executed.
Powered by Mantis Bugtracker