Search:

Type: Posts; User: ryanc; Keyword(s):

Page 1 of 2 1 2

Search: Search took 0.03 seconds.

  1. Turns out the solution is simple: - Add...

    Turns out the solution is simple:

    - Add MethodValidationPostProcessor to the spring context.
    - Annotate type with @Validated

    Hope this helps someone as this doesn't appear to be documented.
  2. JSR303 bean method validation on non getter method?

    I would like to use JSR 303 to validate beans in my application context. I have a small @Configuration that adds three beans:

    - LocalValidatorFactoryBean
    - BeanValidationPostProcessor
    -...
  3. Replies
    0
    Views
    464

    Find all ObjectIdentity's for Sid

    I would like to find all ObjectIdentity's a particular Sid has permission for (for instance, what objects of class xyz does sidxyz have read permission for). This seems like a common task however it...
  4. Sorry, one more update. =) While changing the...

    Sorry, one more update. =)

    While changing the output directory allowed me to run grails from Eclipse->Debug and debug the application I am not able to consistently hot deploy any code changes. The...
  5. Turns out this was being caused by eclipse...

    Turns out this was being caused by eclipse generating class files to the same location the grails tomcat server was running from. I changed my projects output directory to something other than...
  6. I am still getting this error however I am now...

    I am still getting this error however I am now running Grails 1.2.0 and STS nightly from last week. Any ideas?
  7. Infinite loop in maven build after Grails upgrade from 1.1.1 to 1.1.2

    I upgraded my grails application from the command line from 1.1.1 to 1.1.2. After that succeeded I went back into STS and did a grails->refresh depdencies and then ran a build. The maven builder when...
  8. groovy.lang.MissingMethodException when starting maven managed grails application

    I am getting the following exception when running my maven managed grails application via STS nightly (from today). Anyone else see this or know what might cause it?

    Running script...
  9. I created a defect with the attached project. ...

    I created a defect with the attached project.

    https://issuetracker.springsource.com/browse/STS-691
  10. Yes the hard crash was the same as before, STS...

    Yes the hard crash was the same as before, STS just disappears. If I restart STS it immediate starts building when it starts up and but crashes before the build completes. Fixing the compile errors...
  11. Replies
    2
    Views
    1,372

    This worked great, thanks.

    This worked great, thanks.
  12. Replies
    2
    Views
    1,372

    Problems with STS, Groovy 1.6, and 1.7

    I ran into an issue with asserts in groovy because STS compiles groovy files with Groovy 1.7 but grails 1.1.1 uses a Groovy 1.6 runtime. This results in NoSuchMethodException's being thrown about...
  13. I experienced another hard crash today. This time...

    I experienced another hard crash today. This time I capture the console.app output (it is attached to this post) which looks like it might have some useful information.

    It appears what happened...
  14. I have tried refreshing the dependencies from the...

    I have tried refreshing the dependencies from the grails menu however that does not help.

    It looks like the jars from plugins/acegi/lib are added but some lib is still missing. These imports...
  15. Maven managed grails project and grails plugin dependencies

    I have a maven managed grails project imported into STS 2.2.1 with the acegi plugin installed. STS does not add the acegi plugin dependencies from the plugin's lib directory.

    I could add the...
  16. I just enabled dependency resolution and auto...

    I just enabled dependency resolution and auto build after having it off for a few days and it is no longer crashing. I will keep an eye on the console output should it happen again and email you the...
  17. Thanks for the quick response Christian. I...

    Thanks for the quick response Christian.

    I upgraded from 2.2.0 using the "Check for updates" feature in the "Help" menu. Please note this was occurring using 2.2.0 as well. I updated to 2.2.1 in...
  18. Also it may be important to know this was...

    Also it may be important to know this was occurring earlier today before I upgraded to 2.2.1 .
  19. Hard crash when building maven managed grails project

    I am experiencing a hard crash while running STS 2.2.1 on MacOS with two maven managed grails project in my workspace. The crash seems to occur when a build is %90+ complete and the entire...
  20. Replies
    2
    Views
    1,137

    I haven't made any progress on this (been working...

    I haven't made any progress on this (been working on other issues).

    It seems like the best case would be if when a write fails the retry only retries the write (in a new transaction). I briefly...
  21. Replies
    11
    Views
    4,815

    Ive found the best method to get parameters to...

    Ive found the best method to get parameters to your Reader and Writer is by using the @BeforeStep annotation which gives you access to the StepExecution. Then you can get the job parameters with:...
  22. Replies
    2
    Views
    1,137

    How to control transaction boundaries

    I have a batch job that reads a single row from the database (ItemReader), performs some time intensive calculations (ItemProcessor) and then inserts a handful of rows into another table...
  23. Setting throttle limit using batch namespace

    Any suggestions for a convenient way to set the throttleLimit of a step when using the batch namespace to configure your job?
  24. Solution is to add scope="step" to the

    Solution is to add scope="step" to the <bean id="" ...> tag.
  25. Replies
    3
    Views
    676

    It is important to add the string: scope="step"...

    It is important to add the string: scope="step" to your reader bean definition otherwise the expression will not work. See the documentation and the bold highlights in the thread you mentioned.
Results 1 to 25 of 35
Page 1 of 2 1 2