Hi, I have an app that uses the spring-security-acl plugin and works fine in dev mode.
However, in production mode, just after seeing "Configuring Spring Security ACL ..." I get a stack trace that starts like this :
Running Grails application..
Configuring Spring Security ...
Configuring Spring Security ACL ...
util.JDBCExceptionReporter Table not found in statement [select this_.id as id3_0_, this_.version as version3_0_, this_.authority as authority3_0_ from role this_ where this_.authority=?]
context.ContextLoader Context initialization failed
org.springframework.beans.factory.access.Bootstrap Exception: Error executing bootstraps; nested exception is org.springframework.dao.InvalidDataAccessResourceU sageException: could not execute query; SQL [select this_.id as id3_0_, this_.version as version3_0_, this_.authority as authority3_0_ from role this_ where this_.authority=?]; nested exception is org.hibernate.exception.SQLGrammarException: could not execute query
at org.codehaus.groovy.grails.web.context.GrailsConte xtLoader.createWebApplicationContext(GrailsContext Loader.java:87)
at org.springframework.web.context.ContextLoader.init WebApplicationContext(ContextLoader.java:197)
at org.springframework.web.context.ContextLoaderListe ner.contextInitialized(ContextLoaderListener.java: 47)
at org.apache.catalina.core.StandardContext.listenerS tart(StandardContext.java:3961)
at org.apache.catalina.core.StandardContext.start(Sta ndardContext.java:4456)
at org.apache.catalina.core.ContainerBase.start(Conta inerBase.java:1045)
at org.apache.catalina.core.StandardHost.start(Standa rdHost.java:722)
Does someone have a clue as to what can cause this? It appears to occur?
Thanks in advance for any pointer.
Francis


Reply With Quote
