Questions tagged [grails-3.3.x]

For issues relating to setting up or using the Grails Framework, version 3.3.x

Links

  1. Grails 3.3.x Upgrade Notes

  2. The Grails Framework 3.3.5 - Documentation

26 questions
0
votes
1 answer

Grails 3.3.2 Spring Security CAS not working through load balancer but works fine through internal server it is deployed on

we have a Grails 3.3.2 app that is using Spring Security Core and Spring Security CAS plugins. With a custom userDetailsService class for getting the user information from a Oracle Database. This app logs in through CAS just fine when hitting the…
0
votes
1 answer

cause of no operations allowed after connection closed error?

I am using grails 3.3.9 to build a sample hello app. When the app is deployed it works fine. When i check after a day or so the app has already crashed. Checking the logs, i see an error "no operations allowed after connection closed.". Looks like…
kofhearts
  • 3,607
  • 8
  • 46
  • 79
0
votes
1 answer

Error creating bean with name 'securityTagLib' - (grails-spring-security-saml plugin)

We are currently in the process of implementing SSO using PingFederate with SAML. In this process we are also upgrading from Grails 2.4.4 to Grails 3.3.9. We have no issues when working in development, however when deploying a war file of our…
0
votes
0 answers

Using shared constraints in Command Objects using grails 3.3

I have a problem migrating my old unit tests from grails 2.5.4 to grails 3.3 I have a lot of commands using shared preferences. An example, the UserCommand inside de UserController: class UserCommand implements Validateable { String firstName …
Alejandro Vera
  • 377
  • 2
  • 12
0
votes
1 answer

Grails 3.3.9: Forward copies params

We're migrating from Grails 2.x to 3.x. I can observe some different behaviour when using the forward function: class FooController { def index() { forward controller: 'foo', action : 'bar', params: params } def bar() { …
Erando
  • 811
  • 3
  • 13
  • 27
0
votes
0 answers

Gradle Warning in Grails 3 build. How to resolve it?

While building my grails 3 application i am getting below warning. Can some body help regarding this. Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0. Use '--warning-mode all' to show the individual…
Kapil Arora
  • 151
  • 1
  • 12
0
votes
1 answer

base grails 3.3.8 app demolishes heroku memory limit

I am trying to write a simple grails 3.3.8 app that I would like to deploy to heroku. I started with a simple grails app: $ grails create-app example I then added a Procfile: web: ./gradlew bootRun -Dgrails.server.port=$PORT And a stage task to…
spierepf
  • 2,774
  • 2
  • 30
  • 52
0
votes
2 answers

Use @Timed for inheritanced functions

We use a abstract classes for services like this pseudocode abstract class AbstractApiService { @Timed(value="get", useClassPrefix=true) def get(Long id) { ... returns sth .... } @Timed(value="create", useClassPrefix=true) …
Michał Mazur
  • 125
  • 1
  • 14
0
votes
1 answer

code fail at grailsApplication.config.grails.binRange. any one can solve this?

We are upgrading grails 2.4.4 to 3.6.6, but the code failed at grailsApplication.config.grails.binRange. Any idea why I am not able to access grails from config. anyone can solve this?
shrikant joshi
  • 494
  • 4
  • 12
0
votes
2 answers

I am trying to upgrade Grails 2.4 to 3.3.6 and fail to change environments: from Development to test. Can someone help me?

if (Environment.current == Environment.TEST) I am trying to upgrade Grails 2.4 to 3.3.6 and not able to change environments: from Development to test, Can someone help me?
shrikant joshi
  • 494
  • 4
  • 12
0
votes
1 answer

Grails 3 integration test - data loading

Grails version : 3.3.5 I am porting a legacy web app to latest grails. There are 500+ integration tests. Each integration test method needs to load complex data in the database before the test begins and clean it up at the end. Data loading and…
RaviH
  • 3,544
  • 2
  • 15
  • 14
1
2