Grails - Getting Started and Logging
"Raymond Hooker (rhooker)" <[email protected]>
| Newsgroups | gmane.org.user-groups.trijug.juglist |
|---|---|
| Message-ID | <848DB51F3E58E146B08D188F803DCB6F053CEDAB@xmb-rtp-20c.amer.cisco.com> |
I am trying to get started. I already have Oracle XE on my laptop for
RAILS project, so I thought I would use it. Two problems:
- I am not clear about the configuration for Oracle XE and using Grail
1.0 RC1. I put the ojdbc14.jar in the \lib directory and configured as
below.
- When I bring it up, it has a stacktrace which on my Windows XP box is
too long to see as it quickly scrolls past the point of the error. I
can't seem to find any log files that are automatically generated.
Anyhow GRAILS sounds cool, but any help would be appreciated.
Ray
dataSource {
pooled = false
driverClassName = "org.hsqldb.jdbcDriver"
username = "grails"
password = "grails"
}
hibernate {
cache.use_second_level_cache=true
cache.use_query_cache=true
cache.provider_class='org.hibernate.cache.EhCacheProvider'
}
// environment specific settings
environments {
development {
dataSource {
dbCreate = "create-drop" // one of 'create',
'create-drop','update'
url = "jdbc:oracle:thin:@localhost:1521:xe"
}