Sorry...some context:
I have a controller that fires when a service is hit. I'm creating a WAR from this project and deploying it to Tomcat 6.0.37.
Controller:
class GwtMessageController {
static allowedMethods = [index: 'GET', show: 'GET']
def gwtMessageService
def index() {
def gwtMessages = gwtMessageService.findUnhandledGwtMessages()
render gwtMessages
}
}
Service:
@Transactional
class GwtMessageService {
def grailsApplication
def dataSourceUtilService
def findUnhandledGwtMessages() {
def results = GwtMessage.getAll()
}
}
I also tried GwtMessage.list()
Grails is version 2.4.4
The app is starting and creating a database pool. The other Services call domain objects the same way (AFAIK) and they return results. I'm hitting the service well after the app finishes loading.
-Brady