grails / grails-spring-security-core

Grails Spring Security Core Plugin
Apache License 2.0
260 stars 223 forks source link

GPSPRINGSECURITYCORE-21: integration tests fail with "Spring Security is disabled, not loading" #293

Closed graemerocher closed 9 years ago

graemerocher commented 14 years ago

Original Reporter: marcusb Environment: Grails 1.3.4, OpenJDK 6, Debian Linux x86_64 Version: Grails-Spring-Security-Core 1.0 Migrated From: http://jira.grails.org/browse/GPSPRINGSECURITYCORE-21

Integration tests have started to fail in my application with "grails test-app". The output says "Spring Security is disabled, not loading" during integration test phase, which causes the tests to fail since various beans cannot be instantiated.

The weird thing is that everything works with "grails test-app integration:" (running only the integration tests).

I use Spring Security Core, UI, OpenID and OAuth consumer plugins, the last one is a locally hacked version (I plan to submit some of the work). There might be something wrong with the OAuth plugin or my changes, since it all used to work before I added the OAuth plugin.

Here are the plugins I use: {code} app.grails.version=1.3.4 app.servlet.version=2.4 app.version=0.1 plugins.app-info=0.3 plugins.auto-test=0.1 plugins.code-coverage=1.1.8 plugins.codenarc=0.6.1 plugins.cometd=0.2.1 plugins.dynamic-controller=0.2.1 plugins.famfamfam=1.0.1 plugins.google-visualization=0.2.2 plugins.hibernate=1.3.4 plugins.include=0.3 plugins.jquery=1.4.2.5 plugins.jquery-ui=1.8.2.4 plugins.mail=0.9 plugins.quartz=0.4.2 plugins.spring-events=1.0 plugins.spring-security-core=1.0.1 plugins.spring-security-oauth-consumer=0.1 plugins.spring-security-openid=1.0 plugins.spring-security-ui=0.1.1 plugins.tomcat=1.3.4 {code}

Output from failing test run: {code} $ grails test-app Welcome to Grails 1.3.4 - http://grails.org/ Licensed under Apache Standard License 2.0 Grails home is set to: /home/marcus/grails

Base Directory: /home/marcus/myproj/myproj Resolving dependencies... :: problems summary :: :::: WARNINGS namespace not found for javax.servlet#servlet-api;2.5: maven2

Dependencies resolved in 9326ms. Running script /home/marcus/grails/scripts/TestApp.groovy Environment set to test Loading user property file /home/marcus/build.properties [mkdir] Created dir: /home/marcus/myproj/myproj/target/test-reports/html [mkdir] Created dir: /home/marcus/myproj/myproj/target/test-reports/plain

Starting unit test phase ... [mkdir] Created dir: /home/marcus/myproj/myproj/target/test-classes/unit [groovyc] Compiling 27 source files to /home/marcus/myproj/myproj/target/test-classes/unit


Running 104 unit tests... Running test FooBarTests...PASSED

Tests Completed in 19224ms ...

Tests passed: 102

Tests failed: 1

Starting integration test phase ... Loading user property file /home/marcus/build.properties Unable to load specified config location classpath:myproj-config.groovy : class path resource [myproj-config.groovy] cannot be opened because it does not exist 2010-09-02 09:27:09,718 [main] INFO plugins.DefaultGrailsPluginManager - Attempting to load [0] user defined plugins 2010-09-02 09:27:11,596 [main] INFO cfg.Environment - Hibernate 3.3.1.GA 2010-09-02 09:27:11,659 [main] INFO cfg.Environment - hibernate.properties not found 2010-09-02 09:27:11,664 [main] INFO cfg.Environment - Bytecode provider name : javassist 2010-09-02 09:27:11,696 [main] INFO cfg.Environment - using JDK 1.4 java.sql.Timestamp handling 2010-09-02 09:27:12,969 [main] INFO plugins.DefaultGrailsPluginManager - Grails plug-in [logging] with version [1.3.4] loaded successfully 2010-09-02 09:27:12,969 [main] INFO plugins.DefaultGrailsPluginManager - Grails plug-in [filters] with version [1.3.4] loaded successfully 2010-09-02 09:27:12,969 [main] INFO plugins.DefaultGrailsPluginManager - Grails plug-in [core] with version [1.3.4] loaded successfully 2010-09-02 09:27:12,978 [main] INFO plugins.DefaultGrailsPluginManager - Grails plug-in [urlMappings] with version [1.3.4] loaded successfully 2010-09-02 09:27:12,978 [main] INFO plugins.DefaultGrailsPluginManager - Grails plug-in [codecs] with version [1.3.4] loaded successfully 2010-09-02 09:27:12,978 [main] INFO plugins.DefaultGrailsPluginManager - Grails plug-in [servlets] with version [1.3.4] loaded successfully 2010-09-02 09:27:12,978 [main] INFO plugins.DefaultGrailsPluginManager - Grails plug-in [i18n] with version [1.3.4] loaded successfully 2010-09-02 09:27:12,979 [main] INFO plugins.DefaultGrailsPluginManager - Grails plug-in [jquery] with version [1.4.2.5] loaded successfully 2010-09-02 09:27:12,979 [main] INFO plugins.DefaultGrailsPluginManager - Grails plug-in [dynamicController] with version [0.2.1] loaded successfully 2010-09-02 09:27:13,008 [main] INFO plugins.DefaultGrailsPluginManager - Grails plug-in [codeCoverage] with version [1.1.8] loaded successfully 2010-09-02 09:27:13,009 [main] INFO plugins.DefaultGrailsPluginManager - Grails plug-in [autoTest] with version [0.1] loaded successfully 2010-09-02 09:27:13,009 [main] INFO plugins.DefaultGrailsPluginManager - Grails plug-in [famfamfam] with version [1.0.1] loaded successfully 2010-09-02 09:27:13,009 [main] INFO plugins.DefaultGrailsPluginManager - Grails plug-in [mail] with version [0.9] loaded successfully 2010-09-02 09:27:13,009 [main] INFO plugins.DefaultGrailsPluginManager - Grails plug-in [tomcat] with version [1.3.4] loaded successfully 2010-09-02 09:27:13,009 [main] INFO plugins.DefaultGrailsPluginManager - Grails plug-in [codenarc] with version [0.6.1] loaded successfully 2010-09-02 09:27:13,009 [main] INFO plugins.DefaultGrailsPluginManager - Grails plug-in [cometd] with version [0.2.1] loaded successfully 2010-09-02 09:27:13,009 [main] INFO plugins.DefaultGrailsPluginManager - Grails plug-in [springEvents] with version [1.0] loaded successfully 2010-09-02 09:27:13,009 [main] INFO plugins.DefaultGrailsPluginManager - Grails plug-in [googleVisualization] with version [0.2.2] loaded successfully 2010-09-02 09:27:13,009 [main] INFO plugins.DefaultGrailsPluginManager - Grails plug-in [gmetrics] with version [0.2.1] loaded successfully 2010-09-02 09:27:13,011 [main] INFO plugins.DefaultGrailsPluginManager - Grails plug-in [jqueryUi] with version [1.8.2.4] loaded successfully 2010-09-02 09:27:13,013 [main] INFO plugins.DefaultGrailsPluginManager - Grails plug-in [appInfo] with version [0.3] loaded successfully 2010-09-02 09:27:13,013 [main] INFO plugins.DefaultGrailsPluginManager - Grails plug-in [include] with version [0.3] loaded successfully 2010-09-02 09:27:13,014 [main] INFO plugins.DefaultGrailsPluginManager - Grails plug-in [dataSource] with version [1.3.4] loaded successfully 2010-09-02 09:27:13,015 [main] INFO plugins.DefaultGrailsPluginManager - Grails plug-in [controllers] with version [1.3.4] loaded successfully 2010-09-02 09:27:13,015 [main] INFO plugins.DefaultGrailsPluginManager - Grails plug-in [groovyPages] with version [1.3.4] loaded successfully 2010-09-02 09:27:13,015 [main] INFO plugins.DefaultGrailsPluginManager - Grails plug-in [scaffolding] with version [1.3.4] loaded successfully 2010-09-02 09:27:13,018 [main] INFO plugins.DefaultGrailsPluginManager - Grails plug-in [mimeTypes] with version [1.3.4] loaded successfully 2010-09-02 09:27:13,018 [main] INFO plugins.DefaultGrailsPluginManager - Grails plug-in [domainClass] with version [1.3.4] loaded successfully 2010-09-02 09:27:13,021 [main] INFO plugins.DefaultGrailsPluginManager - Grails plug-in [hibernate] with version [1.3.4] loaded successfully 2010-09-02 09:27:13,022 [main] INFO plugins.DefaultGrailsPluginManager - Grails plug-in [services] with version [1.3.4] loaded successfully 2010-09-02 09:27:13,022 [main] INFO plugins.DefaultGrailsPluginManager - Grails plug-in [validation] with version [1.3.4] loaded successfully 2010-09-02 09:27:13,022 [main] INFO plugins.DefaultGrailsPluginManager - Grails plug-in [converters] with version [1.3.4] loaded successfully 2010-09-02 09:27:13,022 [main] INFO plugins.DefaultGrailsPluginManager - Grails plug-in [springSecurityCore] with version [1.0.1] loaded successfully 2010-09-02 09:27:13,022 [main] INFO plugins.DefaultGrailsPluginManager - Grails plug-in [quartz] with version [0.4.2] loaded successfully 2010-09-02 09:27:13,023 [main] INFO plugins.DefaultGrailsPluginManager - Grails plug-in [springSecurityOpenid] with version [1.0] loaded successfully 2010-09-02 09:27:13,023 [main] INFO plugins.DefaultGrailsPluginManager - Grails plug-in [springSecurityOauthConsumer] with version [0.1] loaded successfully 2010-09-02 09:27:13,024 [main] INFO plugins.DefaultGrailsPluginManager - Grails plug-in [springSecurityUi] with version [0.1.1] loaded successfully 2010-09-02 09:27:14,944 [main] INFO spring.GrailsWebApplicationContext - Refreshing org.codehaus.groovy.grails.commons.spring.GrailsWebApplicationContext@6cea6c99: startup date [Thu Sep 02 09:27:14 CEST 2010]; root of context hierarchy 2010-09-02 09:27:15,042 [main] INFO support.DefaultListableBeanFactory - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@48719726: defining beans [grailsApplication,pluginManager,grailsResourceLoader,resourceHolder]; root of factory hierarchy 2010-09-02 09:27:18,510 [main] INFO commons.TagLibArtefactHandler - There are conflicting tags: JQueryTagLib.jq:pluginManager vs. JQueryResourceTagLib.jq:pluginManager. The former will take precedence. Loading user property file /home/marcus/build.properties Unable to load specified config location classpath:myproj-config.groovy : class path resource [myproj-config.groovy] cannot be opened because it does not exist 2010-09-02 09:27:19,127 [main] INFO plugins.DefaultGrailsPluginManager - Attempting to load [0] user defined plugins 2010-09-02 09:27:19,251 [main] INFO plugins.DefaultGrailsPluginManager - Grails plug-in [logging] with version [1.3.4] loaded successfully 2010-09-02 09:27:19,251 [main] INFO plugins.DefaultGrailsPluginManager - Grails plug-in [filters] with version [1.3.4] loaded successfully 2010-09-02 09:27:19,251 [main] INFO plugins.DefaultGrailsPluginManager - Grails plug-in [core] with version [1.3.4] loaded successfully 2010-09-02 09:27:19,251 [main] INFO plugins.DefaultGrailsPluginManager - Grails plug-in [urlMappings] with version [1.3.4] loaded successfully 2010-09-02 09:27:19,251 [main] INFO plugins.DefaultGrailsPluginManager - Grails plug-in [codecs] with version [1.3.4] loaded successfully 2010-09-02 09:27:19,251 [main] INFO plugins.DefaultGrailsPluginManager - Grails plug-in [servlets] with version [1.3.4] loaded successfully 2010-09-02 09:27:19,251 [main] INFO plugins.DefaultGrailsPluginManager - Grails plug-in [i18n] with version [1.3.4] loaded successfully 2010-09-02 09:27:19,251 [main] INFO plugins.DefaultGrailsPluginManager - Grails plug-in [jquery] with version [1.4.2.5] loaded successfully 2010-09-02 09:27:19,251 [main] INFO plugins.DefaultGrailsPluginManager - Grails plug-in [dynamicController] with version [0.2.1] loaded successfully 2010-09-02 09:27:19,252 [main] INFO plugins.DefaultGrailsPluginManager - Grails plug-in [codeCoverage] with version [1.1.8] loaded successfully 2010-09-02 09:27:19,252 [main] INFO plugins.DefaultGrailsPluginManager - Grails plug-in [autoTest] with version [0.1] loaded successfully 2010-09-02 09:27:19,252 [main] INFO plugins.DefaultGrailsPluginManager - Grails plug-in [famfamfam] with version [1.0.1] loaded successfully 2010-09-02 09:27:19,252 [main] INFO plugins.DefaultGrailsPluginManager - Grails plug-in [mail] with version [0.9] loaded successfully 2010-09-02 09:27:19,252 [main] INFO plugins.DefaultGrailsPluginManager - Grails plug-in [tomcat] with version [1.3.4] loaded successfully 2010-09-02 09:27:19,252 [main] INFO plugins.DefaultGrailsPluginManager - Grails plug-in [codenarc] with version [0.6.1] loaded successfully 2010-09-02 09:27:19,252 [main] INFO plugins.DefaultGrailsPluginManager - Grails plug-in [cometd] with version [0.2.1] loaded successfully 2010-09-02 09:27:19,252 [main] INFO plugins.DefaultGrailsPluginManager - Grails plug-in [springEvents] with version [1.0] loaded successfully 2010-09-02 09:27:19,252 [main] INFO plugins.DefaultGrailsPluginManager - Grails plug-in [googleVisualization] with version [0.2.2] loaded successfully 2010-09-02 09:27:19,252 [main] INFO plugins.DefaultGrailsPluginManager - Grails plug-in [gmetrics] with version [0.2.1] loaded successfully 2010-09-02 09:27:19,253 [main] INFO plugins.DefaultGrailsPluginManager - Grails plug-in [jqueryUi] with version [1.8.2.4] loaded successfully 2010-09-02 09:27:19,254 [main] INFO plugins.DefaultGrailsPluginManager - Grails plug-in [appInfo] with version [0.3] loaded successfully 2010-09-02 09:27:19,254 [main] INFO plugins.DefaultGrailsPluginManager - Grails plug-in [include] with version [0.3] loaded successfully 2010-09-02 09:27:19,254 [main] INFO plugins.DefaultGrailsPluginManager - Grails plug-in [dataSource] with version [1.3.4] loaded successfully 2010-09-02 09:27:19,254 [main] INFO plugins.DefaultGrailsPluginManager - Grails plug-in [controllers] with version [1.3.4] loaded successfully 2010-09-02 09:27:19,254 [main] INFO plugins.DefaultGrailsPluginManager - Grails plug-in [groovyPages] with version [1.3.4] loaded successfully 2010-09-02 09:27:19,254 [main] INFO plugins.DefaultGrailsPluginManager - Grails plug-in [scaffolding] with version [1.3.4] loaded successfully 2010-09-02 09:27:19,256 [main] INFO plugins.DefaultGrailsPluginManager - Grails plug-in [mimeTypes] with version [1.3.4] loaded successfully 2010-09-02 09:27:19,256 [main] INFO plugins.DefaultGrailsPluginManager - Grails plug-in [domainClass] with version [1.3.4] loaded successfully 2010-09-02 09:27:19,259 [main] INFO plugins.DefaultGrailsPluginManager - Grails plug-in [hibernate] with version [1.3.4] loaded successfully 2010-09-02 09:27:19,260 [main] INFO plugins.DefaultGrailsPluginManager - Grails plug-in [services] with version [1.3.4] loaded successfully 2010-09-02 09:27:19,260 [main] INFO plugins.DefaultGrailsPluginManager - Grails plug-in [validation] with version [1.3.4] loaded successfully 2010-09-02 09:27:19,260 [main] INFO plugins.DefaultGrailsPluginManager - Grails plug-in [converters] with version [1.3.4] loaded successfully 2010-09-02 09:27:19,260 [main] INFO plugins.DefaultGrailsPluginManager - Grails plug-in [springSecurityCore] with version [1.0.1] loaded successfully 2010-09-02 09:27:19,260 [main] INFO plugins.DefaultGrailsPluginManager - Grails plug-in [quartz] with version [0.4.2] loaded successfully 2010-09-02 09:27:19,260 [main] INFO plugins.DefaultGrailsPluginManager - Grails plug-in [springSecurityOpenid] with version [1.0] loaded successfully 2010-09-02 09:27:19,260 [main] INFO plugins.DefaultGrailsPluginManager - Grails plug-in [springSecurityOauthConsumer] with version [0.1] loaded successfully 2010-09-02 09:27:19,262 [main] INFO plugins.DefaultGrailsPluginManager - Grails plug-in [springSecurityUi] with version [0.1.1] loaded successfully 2010-09-02 09:27:19,285 [main] INFO commons.TagLibArtefactHandler - There are conflicting tags: JQueryTagLib.jq:pluginManager vs. JQueryResourceTagLib.jq:pluginManager. The former will take precedence. 2010-09-02 09:27:19,286 [main] INFO commons.TagLibArtefactHandler - There are conflicting tags: JQueryTagLib.jq:pluginManager vs. JQueryResourceTagLib.jq:pluginManager. The former will take precedence. 2010-09-02 09:27:19,287 [main] INFO commons.TagLibArtefactHandler - There are conflicting tags: JQueryTagLib.jq:pluginManager vs. JQueryResourceTagLib.jq:pluginManager. The former will take precedence. 2010-09-02 09:27:19,288 [main] INFO commons.TagLibArtefactHandler - There are conflicting tags: JQueryTagLib.jq:pluginManager vs. JQueryResourceTagLib.jq:pluginManager. The former will take precedence. 2010-09-02 09:27:19,288 [main] INFO commons.TagLibArtefactHandler - There are conflicting tags: JQueryTagLib.jq:pluginManager vs. JQueryResourceTagLib.jq:pluginManager. The former will take precedence. 2010-09-02 09:27:19,288 [main] INFO commons.TagLibArtefactHandler - There are conflicting tags: JQueryTagLib.jq:pluginManager vs. JQueryResourceTagLib.jq:pluginManager. The former will take precedence. 2010-09-02 09:27:19,292 [main] INFO commons.TagLibArtefactHandler - There are conflicting tags: JQueryTagLib.jq:pluginManager vs. JQueryResourceTagLib.jq:pluginManager. The former will take precedence. 2010-09-02 09:27:19,293 [main] INFO commons.TagLibArtefactHandler - There are conflicting tags: JQueryTagLib.jq:pluginManager vs. JQueryResourceTagLib.jq:pluginManager. The former will take precedence. 2010-09-02 09:27:19,300 [main] INFO commons.TagLibArtefactHandler - There are conflicting tags: JQueryTagLib.jq:pluginManager vs. JQueryResourceTagLib.jq:pluginManager. The former will take precedence. 2010-09-02 09:27:19,304 [main] INFO commons.TagLibArtefactHandler - There are conflicting tags: JQueryTagLib.jq:pluginManager vs. JQueryResourceTagLib.jq:pluginManager. The former will take precedence. 2010-09-02 09:27:19,305 [main] INFO commons.TagLibArtefactHandler - There are conflicting tags: JQueryTagLib.jq:pluginManager vs. JQueryResourceTagLib.jq:pluginManager. The former will take precedence. 2010-09-02 09:27:19,305 [main] INFO commons.TagLibArtefactHandler - There are conflicting tags: JQueryTagLib.jq:pluginManager vs. JQueryResourceTagLib.jq:pluginManager. The former will take precedence. 2010-09-02 09:27:19,305 [main] INFO commons.TagLibArtefactHandler - There are conflicting tags: JQueryTagLib.jq:pluginManager vs. JQueryResourceTagLib.jq:pluginManager. The former will take precedence. 2010-09-02 09:27:19,339 [main] INFO commons.TagLibArtefactHandler - There are conflicting tags: JQueryTagLib.jq:pluginManager vs. JQueryResourceTagLib.jq:pluginManager. The former will take precedence. 2010-09-02 09:27:19,374 [main] INFO commons.TagLibArtefactHandler - There are conflicting tags: JQueryTagLib.jq:pluginManager vs. JQueryResourceTagLib.jq:pluginManager. The former will take precedence. 2010-09-02 09:27:19,375 [main] INFO commons.TagLibArtefactHandler - There are conflicting tags: JQueryTagLib.jq:pluginManager vs. JQueryResourceTagLib.jq:pluginManager. The former will take precedence. 2010-09-02 09:27:19,378 [main] INFO commons.TagLibArtefactHandler - There are conflicting tags: JQueryTagLib.jq:pluginManager vs. JQueryResourceTagLib.jq:pluginManager. The former will take precedence. 2010-09-02 09:27:19,378 [main] INFO commons.TagLibArtefactHandler - There are conflicting tags: JQueryTagLib.jq:pluginManager vs. JQueryResourceTagLib.jq:pluginManager. The former will take precedence. 2010-09-02 09:27:19,378 [main] INFO commons.TagLibArtefactHandler - There are conflicting tags: JQueryTagLib.jq:pluginManager vs. JQueryResourceTagLib.jq:pluginManager. The former will take precedence. 2010-09-02 09:27:19,379 [main] INFO commons.TagLibArtefactHandler - There are conflicting tags: JQueryTagLib.jq:pluginManager vs. JQueryResourceTagLib.jq:pluginManager. The former will take precedence. 2010-09-02 09:27:19,394 [main] INFO commons.TagLibArtefactHandler - There are conflicting tags: JQueryTagLib.jq:pluginManager vs. JQueryResourceTagLib.jq:pluginManager. The former will take precedence. 2010-09-02 09:27:19,395 [main] INFO commons.TagLibArtefactHandler - There are conflicting tags: JQueryTagLib.jq:pluginManager vs. JQueryResourceTagLib.jq:pluginManager. The former will take precedence. 2010-09-02 09:27:19,405 [main] INFO commons.TagLibArtefactHandler - There are conflicting tags: JQueryTagLib.jq:pluginManager vs. JQueryResourceTagLib.jq:pluginManager. The former will take precedence. 2010-09-02 09:27:19,411 [main] INFO commons.TagLibArtefactHandler - There are conflicting tags: JQueryTagLib.jq:pluginManager vs. JQueryResourceTagLib.jq:pluginManager. The former will take precedence. 2010-09-02 09:27:19,411 [main] INFO commons.TagLibArtefactHandler - There are conflicting tags: JQueryTagLib.jq:pluginManager vs. JQueryResourceTagLib.jq:pluginManager. The former will take precedence. 2010-09-02 09:27:19,412 [main] INFO commons.TagLibArtefactHandler - There are conflicting tags: JQueryTagLib.jq:pluginManager vs. JQueryResourceTagLib.jq:pluginManager. The former will take precedence. 2010-09-02 09:27:19,412 [main] INFO commons.TagLibArtefactHandler - There are conflicting tags: JQueryTagLib.jq:pluginManager vs. JQueryResourceTagLib.jq:pluginManager. The former will take precedence. 2010-09-02 09:27:19,479 [main] INFO commons.TagLibArtefactHandler - There are conflicting tags: JQueryTagLib.jq:pluginManager vs. JQueryResourceTagLib.jq:pluginManager. The former will take precedence. 2010-09-02 09:27:19,615 [main] INFO jndi.SimpleNamingContextBuilder - Activating simple JNDI environment 2010-09-02 09:27:19,820 [main] INFO commons.TagLibArtefactHandler - There are conflicting tags: JQueryTagLib.jq:pluginManager vs. JQueryResourceTagLib.jq:pluginManager. The former will take precedence. 2010-09-02 09:27:19,821 [main] INFO commons.TagLibArtefactHandler - There are conflicting tags: JQueryTagLib.jq:pluginManager vs. JQueryResourceTagLib.jq:pluginManager. The former will take precedence. 2010-09-02 09:27:19,841 [main] INFO commons.TagLibArtefactHandler - There are conflicting tags: JQueryTagLib.jq:pluginManager vs. JQueryResourceTagLib.jq:pluginManager. The former will take precedence. 2010-09-02 09:27:19,864 [main] INFO commons.TagLibArtefactHandler - There are conflicting tags: JQueryTagLib.jq:pluginManager vs. JQueryResourceTagLib.jq:pluginManager. The former will take precedence. 2010-09-02 09:27:19,882 [main] INFO commons.TagLibArtefactHandler - There are conflicting tags: JQueryTagLib.jq:pluginManager vs. JQueryResourceTagLib.jq:pluginManager. The former will take precedence. 2010-09-02 09:27:19,905 [main] INFO commons.TagLibArtefactHandler - There are conflicting tags: org.codehaus.groovy.grails.plugins.web.taglib.FormTagLib.g:out vs. org.codehaus.groovy.grails.plugins.web.taglib.RenderTagLib.g:out. The former will take precedence. 2010-09-02 09:27:19,905 [main] INFO commons.TagLibArtefactHandler - There are conflicting tags: JQueryTagLib.jq:pluginManager vs. JQueryResourceTagLib.jq:pluginManager. The former will take precedence. 2010-09-02 09:27:19,919 [main] INFO commons.TagLibArtefactHandler - There are conflicting tags: org.codehaus.groovy.grails.plugins.web.taglib.FormTagLib.g:out vs. org.codehaus.groovy.grails.plugins.web.taglib.RenderTagLib.g:out. The former will take precedence. 2010-09-02 09:27:19,919 [main] INFO commons.TagLibArtefactHandler - There are conflicting tags: JQueryTagLib.jq:pluginManager vs. JQueryResourceTagLib.jq:pluginManager. The former will take precedence. 2010-09-02 09:27:19,935 [main] INFO commons.TagLibArtefactHandler - There are conflicting tags: org.codehaus.groovy.grails.plugins.web.taglib.FormTagLib.g:out vs. org.codehaus.groovy.grails.plugins.web.taglib.RenderTagLib.g:out. The former will take precedence. 2010-09-02 09:27:19,935 [main] INFO commons.TagLibArtefactHandler - There are conflicting tags: JQueryTagLib.jq:pluginManager vs. JQueryResourceTagLib.jq:pluginManager. The former will take precedence. 2010-09-02 09:27:19,952 [main] INFO commons.TagLibArtefactHandler - There are conflicting tags: org.codehaus.groovy.grails.plugins.web.taglib.FormTagLib.g:out vs. org.codehaus.groovy.grails.plugins.web.taglib.RenderTagLib.g:out. The former will take precedence. 2010-09-02 09:27:19,952 [main] INFO commons.TagLibArtefactHandler - There are conflicting tags: JQueryTagLib.jq:pluginManager vs. JQueryResourceTagLib.jq:pluginManager. The former will take precedence. 2010-09-02 09:27:23,012 [main] INFO hibernate.HibernatePluginSupport - Set db generation strategy to 'update'

Spring Security is disabled, not loading

2010-09-02 09:27:24,914 [main] INFO xml.XmlBeanDefinitionReader - Loading XML bean definitions from URL [file:./grails-app/conf/spring/resources.xml] 2010-09-02 09:27:25,892 [main] INFO spring.ReloadAwareAutowireCapableBeanFactory - Overriding bean definition for bean 'org.springframework.context.annotation.internalConfigurationAnnotationProcessor': replacing [Root bean: class [org.springframework.context.annotation.ConfigurationClassPostProcessor]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null] with [Root bean: class [org.springframework.context.annotation.ConfigurationClassPostProcessor]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null] 2010-09-02 09:27:25,892 [main] INFO spring.ReloadAwareAutowireCapableBeanFactory - Overriding bean definition for bean 'org.springframework.context.annotation.internalAutowiredAnnotationProcessor': replacing [Root bean: class [org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null] with [Root bean: class [org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null] 2010-09-02 09:27:25,892 [main] INFO spring.ReloadAwareAutowireCapableBeanFactory - Overriding bean definition for bean 'org.springframework.context.annotation.internalRequiredAnnotationProcessor': replacing [Root bean: class [org.springframework.beans.factory.annotation.RequiredAnnotationBeanPostProcessor]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null] with [Root bean: class [org.springframework.beans.factory.annotation.RequiredAnnotationBeanPostProcessor]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null] 2010-09-02 09:27:25,892 [main] INFO spring.ReloadAwareAutowireCapableBeanFactory - Overriding bean definition for bean 'org.springframework.context.annotation.internalCommonAnnotationProcessor': replacing [Root bean: class [org.springframework.context.annotation.CommonAnnotationBeanPostProcessor]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null] with [Root bean: class [org.springframework.context.annotation.CommonAnnotationBeanPostProcessor]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null] 2010-09-02 09:27:25,892 [main] INFO spring.ReloadAwareAutowireCapableBeanFactory - Overriding bean definition for bean 'org.springframework.context.annotation.internalPersistenceAnnotationProcessor': replacing [Root bean: class [org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null] with [Root bean: class [org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null] 2010-09-02 09:27:25,894 [main] INFO spring.ReloadAwareAutowireCapableBeanFactory - Overriding bean definition for bean 'org.springframework.aop.config.internalAutoProxyCreator': replacing [Root bean: class [org.springframework.aop.framework.autoproxy.InfrastructureAdvisorAutoProxyCreator]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null] with [Root bean: class [org.springframework.aop.framework.autoproxy.InfrastructureAdvisorAutoProxyCreator]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null] 2010-09-02 09:27:25,894 [main] INFO spring.ReloadAwareAutowireCapableBeanFactory - Overriding bean definition for bean 'org.springframework.transaction.annotation.AnnotationTransactionAttributeSource#0': replacing [Root bean: class [org.springframework.transaction.annotation.AnnotationTransactionAttributeSource]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null] with [Root bean: class [org.springframework.transaction.annotation.AnnotationTransactionAttributeSource]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null] 2010-09-02 09:27:25,894 [main] INFO spring.ReloadAwareAutowireCapableBeanFactory - Overriding bean definition for bean 'org.springframework.transaction.interceptor.TransactionInterceptor#0': replacing [Root bean: class [org.springframework.transaction.interceptor.TransactionInterceptor]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null] with [Root bean: class [org.springframework.transaction.interceptor.TransactionInterceptor]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null] 2010-09-02 09:27:25,894 [main] INFO spring.ReloadAwareAutowireCapableBeanFactory - Overriding bean definition for bean 'org.springframework.transaction.config.internalTransactionAdvisor': replacing [Root bean: class [org.springframework.transaction.interceptor.BeanFactoryTransactionAttributeSourceAdvisor]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null] with [Root bean: class [org.springframework.transaction.interceptor.BeanFactoryTransactionAttributeSourceAdvisor]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null] 2010-09-02 09:27:25,894 [main] INFO spring.ReloadAwareAutowireCapableBeanFactory - Overriding bean definition for bean 'sessionAuthenticationStrategy': replacing [Generic bean: class [org.springframework.security.web.authentication.session.ConcurrentSessionControlStrategy]; scope=singleton; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null] with [Generic bean: class [org.springframework.security.web.authentication.session.ConcurrentSessionControlStrategy]; scope=singleton; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null] 2010-09-02 09:27:25,894 [main] INFO spring.ReloadAwareAutowireCapableBeanFactory - Overriding bean definition for bean 'httpHostConfiguration': replacing [Generic bean: class [org.apache.commons.httpclient.HostConfiguration]; scope=singleton; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null] with [Generic bean: class [org.apache.commons.httpclient.HostConfiguration]; scope=singleton; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null] 2010-09-02 09:27:25,894 [main] INFO spring.ReloadAwareAutowireCapableBeanFactory - Overriding bean definition for bean 'linkedInAuthenticationProvider': replacing [Generic bean: class [org.codehaus.groovy.grails.plugins.springsecurity.oauth.OAuthAuthenticationProvider]; scope=singleton; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null] with [Generic bean: class [org.codehaus.groovy.grails.plugins.springsecurity.oauth.OAuthAuthenticationProvider]; scope=singleton; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null] 2010-09-02 09:27:25,895 [main] INFO spring.ReloadAwareAutowireCapableBeanFactory - Overriding bean definition for bean 'openIDAuthProvider': replacing [Generic bean: class [org.springframework.security.openid.OpenIDAuthenticationProvider]; scope=singleton; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null] with [Generic bean: class [org.springframework.security.openid.OpenIDAuthenticationProvider]; scope=singleton; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null] 2010-09-02 09:27:25,895 [main] INFO spring.ReloadAwareAutowireCapableBeanFactory - Overriding bean definition for bean 'httpClient': replacing [Generic bean: class [org.apache.commons.httpclient.HttpClient]; scope=singleton; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null] with [Generic bean: class [org.apache.commons.httpclient.HttpClient]; scope=singleton; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null] 2010-09-02 09:27:25,895 [main] INFO spring.ReloadAwareAutowireCapableBeanFactory - Overriding bean definition for bean 'httpConnectionManager': replacing [Generic bean: class [org.apache.commons.httpclient.MultiThreadedHttpConnectionManager]; scope=singleton; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null] with [Generic bean: class [org.apache.commons.httpclient.MultiThreadedHttpConnectionManager]; scope=singleton; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null] 2010-09-02 09:27:25,895 [main] INFO spring.ReloadAwareAutowireCapableBeanFactory - Overriding bean definition for bean 'concurrentSessionFilter': replacing [Generic bean: class [org.springframework.security.web.session.ConcurrentSessionFilter]; scope=singleton; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null] with [Generic bean: class [org.springframework.security.web.session.ConcurrentSessionFilter]; scope=singleton; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null] 2010-09-02 09:27:25,895 [main] INFO spring.ReloadAwareAutowireCapableBeanFactory - Overriding bean definition for bean 'sessionRegistry': replacing [Generic bean: class [org.springframework.security.core.session.SessionRegistryImpl]; scope=singleton; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null] with [Generic bean: class [org.springframework.security.core.session.SessionRegistryImpl]; scope=singleton; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null] 2010-09-02 09:27:25,895 [main] INFO spring.ReloadAwareAutowireCapableBeanFactory - Overriding bean definition for bean 'twitterAuthenticationProvider': replacing [Generic bean: class [org.codehaus.groovy.grails.plugins.springsecurity.oauth.OAuthAuthenticationProvider]; scope=singleton; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null] with [Generic bean: class [org.codehaus.groovy.grails.plugins.springsecurity.oauth.OAuthAuthenticationProvider]; scope=singleton; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null] 2010-09-02 09:27:25,935 [main] INFO spring.GrailsWebApplicationContext - Refreshing org.codehaus.groovy.grails.commons.spring.GrailsWebApplicationContext@1bb57655: startup date [Thu Sep 02 09:27:25 CEST 2010]; parent: org.codehaus.groovy.grails.commons.spring.GrailsWebApplicationContext@6cea6c99 2010-09-02 09:27:26,952 [main] INFO spring.GrailsWebApplicationContext - Bean 'org.springframework.transaction.annotation.AnnotationTransactionAttributeSource#0' is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2010-09-02 09:27:26,955 [main] INFO spring.GrailsWebApplicationContext - Bean 'org.springframework.transaction.config.internalTransactionAdvisor' is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2010-09-02 09:27:27,774 [main] INFO dialect.Dialect - Using dialect: org.hibernate.dialect.HSQLDialect 2010-09-02 09:27:28,105 [main] INFO annotations.Version - Hibernate Annotations 3.4.0.GA 2010-09-02 09:27:28,191 [main] INFO common.Version - Hibernate Commons Annotations 3.1.0.GA 2010-09-02 09:27:28,621 [main] INFO cfg.AnnotationConfiguration - Hibernate Validator not found: ignoring 2010-09-02 09:27:28,622 [main] INFO hibernate.ConfigurableLocalSessionFactoryBean - Building new Hibernate SessionFactory 2010-09-02 09:27:28,633 [main] INFO search.HibernateSearchEventListenerRegister - Unable to find org.hibernate.search.event.FullTextIndexEventListener on the classpath. Hibernate Search is not enabled. 2010-09-02 09:27:28,796 [main] INFO connection.ConnectionProviderFactory - Initializing connection provider: org.springframework.orm.hibernate3.TransactionAwareDataSourceConnectionProvider 2010-09-02 09:27:28,798 [main] INFO cfg.SettingsFactory - RDBMS: HSQL Database Engine, version: 1.8.0 2010-09-02 09:27:28,798 [main] INFO cfg.SettingsFactory - JDBC driver: HSQL Database Engine Driver, version: 1.8.0 2010-09-02 09:27:28,798 [main] INFO dialect.Dialect - Using dialect: org.hibernate.dialect.HSQLDialect 2010-09-02 09:27:28,799 [main] INFO transaction.TransactionFactoryFactory - Transaction strategy: org.springframework.orm.hibernate3.SpringTransactionFactory 2010-09-02 09:27:28,800 [main] INFO transaction.TransactionManagerLookupFactory - No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended) 2010-09-02 09:27:28,800 [main] INFO cfg.SettingsFactory - Automatic flush during beforeCompletion(): disabled 2010-09-02 09:27:28,800 [main] INFO cfg.SettingsFactory - Automatic session close at end of transaction: disabled 2010-09-02 09:27:28,800 [main] INFO cfg.SettingsFactory - JDBC batch size: 15 2010-09-02 09:27:28,800 [main] INFO cfg.SettingsFactory - JDBC batch updates for versioned data: disabled 2010-09-02 09:27:28,801 [main] INFO cfg.SettingsFactory - Scrollable result sets: enabled 2010-09-02 09:27:28,801 [main] INFO cfg.SettingsFactory - JDBC3 getGeneratedKeys(): disabled 2010-09-02 09:27:28,801 [main] INFO cfg.SettingsFactory - Connection release mode: auto 2010-09-02 09:27:28,802 [main] INFO cfg.SettingsFactory - Default batch fetch size: 1 2010-09-02 09:27:28,802 [main] INFO cfg.SettingsFactory - Generate SQL with comments: disabled 2010-09-02 09:27:28,802 [main] INFO cfg.SettingsFactory - Order SQL updates by primary key: disabled 2010-09-02 09:27:28,802 [main] INFO cfg.SettingsFactory - Order SQL inserts for batching: disabled 2010-09-02 09:27:28,802 [main] INFO cfg.SettingsFactory - Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory 2010-09-02 09:27:28,851 [main] INFO ast.ASTQueryTranslatorFactory - Using ASTQueryTranslatorFactory 2010-09-02 09:27:28,851 [main] INFO cfg.SettingsFactory - Query language substitutions: {} 2010-09-02 09:27:28,852 [main] INFO cfg.SettingsFactory - JPA-QL strict compliance: disabled 2010-09-02 09:27:28,852 [main] INFO cfg.SettingsFactory - Second-level cache: disabled 2010-09-02 09:27:28,852 [main] INFO cfg.SettingsFactory - Query cache: disabled 2010-09-02 09:27:28,852 [main] INFO cfg.SettingsFactory - Cache region factory : org.hibernate.cache.impl.NoCachingRegionFactory 2010-09-02 09:27:28,852 [main] INFO cfg.SettingsFactory - Optimize cache for minimal puts: disabled 2010-09-02 09:27:28,852 [main] INFO cfg.SettingsFactory - Structured second-level cache entries: disabled 2010-09-02 09:27:28,859 [main] INFO cfg.SettingsFactory - Statistics: disabled 2010-09-02 09:27:28,859 [main] INFO cfg.SettingsFactory - Deleted entity synthetic identifier rollback: disabled 2010-09-02 09:27:28,860 [main] INFO cfg.SettingsFactory - Default entity-mode: pojo 2010-09-02 09:27:28,860 [main] INFO cfg.SettingsFactory - Named query checking : enabled 2010-09-02 09:27:29,011 [main] INFO impl.SessionFactoryImpl - building session factory 2010-09-02 09:27:29,925 [main] INFO impl.SessionFactoryObjectFactory - Factory name: org.codehaus.groovy.grails.orm.hibernate.ConfigurableLocalSessionFactoryBean 2010-09-02 09:27:29,928 [main] INFO util.NamingHelper - JNDI InitialContext properties:{} 2010-09-02 09:27:29,952 [main] INFO jndi.SimpleNamingContext - Static JNDI binding: [org.codehaus.groovy.grails.orm.hibernate.ConfigurableLocalSessionFactoryBean] = [org.hibernate.impl.SessionFactoryImpl@7e85132f] 2010-09-02 09:27:29,952 [main] INFO impl.SessionFactoryObjectFactory - Bound factory to JNDI name: org.codehaus.groovy.grails.orm.hibernate.ConfigurableLocalSessionFactoryBean 2010-09-02 09:27:29,954 [main] WARN impl.SessionFactoryObjectFactory - InitialContext did not implement EventContext 2010-09-02 09:27:30,021 [main] INFO hbm2ddl.SchemaUpdate - Running hbm2ddl schema update 2010-09-02 09:27:30,021 [main] INFO hbm2ddl.SchemaUpdate - fetching database metadata 2010-09-02 09:27:30,093 [main] INFO hbm2ddl.SchemaUpdate - updating schema 2010-09-02 09:27:30,121 [main] INFO hbm2ddl.DatabaseMetadata - table not found: // ... trimmed ... 2010-09-02 09:27:30,150 [main] INFO hbm2ddl.SchemaUpdate - schema update complete 2010-09-02 09:27:30,179 [main] INFO hibernate.GrailsHibernateTransactionManager - Using DataSource [org.springframework.jdbc.datasource.TransactionAwareDataSourceProxy@4687ace0] of Hibernate SessionFactory for HibernateTransactionManager 2010-09-02 09:27:30,457 [main] INFO spring.ReloadAwareAutowireCapableBeanFactory - Pre-instantiating singletons in org.codehaus.groovy.grails.commons.spring.ReloadAwareAutowireCapableBeanFactory@3d6bc07a: defining beans [org.springframework.context.annotation.internalConfigurationAnnotationProcessor, // ... trimmed ... 2010-09-02 09:27:30,741 [main] INFO spring.ReloadAwareAutowireCapableBeanFactory - Destroying singletons in org.codehaus.groovy.grails.commons.spring.ReloadAwareAutowireCapableBeanFactory@3d6bc07a: defining beans [org.springframework.context.annotation.internalConfigurationAnnotationProcessor, // ... trimmed ... 2010-09-02 09:27:30,768 [main] INFO hibernate.ConfigurableLocalSessionFactoryBean - Closing Hibernate SessionFactory 2010-09-02 09:27:30,769 [main] INFO impl.SessionFactoryImpl - closing 2010-09-02 09:27:30,769 [main] INFO impl.SessionFactoryObjectFactory - Unbinding factory from JNDI name: org.codehaus.groovy.grails.orm.hibernate.ConfigurableLocalSessionFactoryBean 2010-09-02 09:27:30,769 [main] INFO util.NamingHelper - JNDI InitialContext properties:{} 2010-09-02 09:27:30,769 [main] INFO jndi.SimpleNamingContext - Static JNDI remove: [org.codehaus.groovy.grails.orm.hibernate.ConfigurableLocalSessionFactoryBean] 2010-09-02 09:27:30,769 [main] INFO impl.SessionFactoryObjectFactory - Unbound factory from JNDI name: org.codehaus.groovy.grails.orm.hibernate.ConfigurableLocalSessionFactoryBean [junitreport] Processing /home/marcus/myproj/myproj/target/test-reports/TESTS-TestSuites.xml to /tmp/null1905733408 [junitreport] Loading stylesheet jar:file:/home/marcus/.ivy2/cache/org.apache.ant/ant-junit/jars/ant-junit-1.7.1.jar!/org/apache/tools/ant/taskdefs/optional/junit/xsl/junit-frames.xsl [junitreport] Transform time: 2482ms [junitreport] Deleting: /tmp/null1905733408

Tests FAILED - view reports in target/test-reports Error executing script TestApp: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'linkedInAuthenticationProvider': Cannot create inner bean '(inner bean)' of type [org.codehaus.groovy.grails.plugins.springsecurity.oauth.linkedin.LinkedInUserDetailsService] while setting bean property 'userDetailsService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)': Cannot resolve reference to bean 'oauthConsumerSupport' while setting bean property 'oAuthConsumerSupport'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'oauthConsumerSupport' is defined org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'linkedInAuthenticationProvider': Cannot create inner bean '(inner bean)' of type [org.codehaus.groovy.grails.plugins.springsecurity.oauth.linkedin.LinkedInUserDetailsService] while setting bean property 'userDetailsService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)': Cannot resolve reference to bean 'oauthConsumerSupport' while setting bean property 'oAuthConsumerSupport'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'oauthConsumerSupport' is defined at gant.Gant$_dispatch_closure5.doCall(Gant.groovy:391) at gant.Gant$_dispatch_closure7.doCall(Gant.groovy:415) at gant.Gant$_dispatch_closure7.doCall(Gant.groovy) at gant.Gant.withBuildListeners(Gant.groovy:427) at gant.Gant.this$2$withBuildListeners(Gant.groovy) at gant.Gant$this$2$withBuildListeners.callCurrent(Unknown Source) at gant.Gant.dispatch(Gant.groovy:415) at gant.Gant.this$2$dispatch(Gant.groovy) at gant.Gant.invokeMethod(Gant.groovy) at gant.Gant.executeTargets(Gant.groovy:590) at gant.Gant.executeTargets(Gant.groovy:589) Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'linkedInAuthenticationProvider': Cannot create inner bean '(inner bean)' of type [org.codehaus.groovy.grails.plugins.springsecurity.oauth.linkedin.LinkedInUserDetailsService] while setting bean property 'userDetailsService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)': Cannot resolve reference to bean 'oauthConsumerSupport' while setting bean property 'oAuthConsumerSupport'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'oauthConsumerSupport' is defined at _GrailsBootstrap_groovy$_run_closure2_closure12.doCall(_GrailsBootstrap_groovy:95) at _GrailsBootstrap_groovy$_run_closure2_closure12.doCall(_GrailsBootstrap_groovy) at _GrailsSettings_groovy$_run_closure10.doCall(_GrailsSettings_groovy:280) at _GrailsSettings_groovy$_run_closure10.call(_GrailsSettings_groovy) at _GrailsBootstrap_groovy$_run_closure2.doCall(_GrailsBootstrap_groovy:87) at _GrailsBootstrap_groovy$_run_closure6.doCall(_GrailsBootstrap_groovy:144) at _GrailsTest_groovy$_run_closure9.doCall(_GrailsTest_groovy:309) at _GrailsTest_groovy$_run_closure9.doCall(_GrailsTest_groovy) at _GrailsTest_groovy$_run_closure1_closure21.doCall(_GrailsTest_groovy:181) at _GrailsTest_groovy$_run_closure1.doCall(_GrailsTest_groovy:171) at TestApp$_run_closure1.doCall(TestApp.groovy:101) at gant.Gant$_dispatch_closure5.doCall(Gant.groovy:381) ... 10 more Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)': Cannot resolve reference to bean 'oauthConsumerSupport' while setting bean property 'oAuthConsumerSupport'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'oauthConsumerSupport' is defined ... 22 more Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'oauthConsumerSupport' is defined ... 22 more {code}

graemerocher commented 14 years ago

marcusb said: Sorry, was my fault. A unit test had messed up the securityConfig.