Quantcast

hotdeploy does not work in 1.4-M1

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

hotdeploy does not work in 1.4-M1

fiallega
I created a project in 1.3.7, as I change controller code, all I have to do is to hit my controller and I see the changes (a simple println change)
The same code does not hotdeploy in 1.4-M1. I have to stop the server and do run-app to see my changes.
I also tried grails-2.0.0.BUILD-SNAPSHOT and the hotdeploy works but it throws a typecast exception

java.lang.ClassCastException: java.util.Collections$SynchronizedMap cannot be cast to java.util.WeakHashMap
        at com.springsource.loaded.agent.JVMPlugin.reloadEvent(JVMPlugin.java:42)
        at com.springsource.loaded.TypeRegistry.fireReloadEvent(TypeRegistry.java:1495)
        at com.springsource.loaded.ReloadableType.loadNewVersion(ReloadableType.java:314)
        at com.springsource.loaded.TypeRegistry.loadNewVersion(TypeRegistry.java:752)
        at com.springsource.loaded.agent.ReloadableFileChangeListener.fileChanged(ReloadableFileChangeListener.java:38)
        at com.springsource.loaded.agent.Watcher.determineChangesSince(FileSystemWatcher.java:101)
        at com.springsource.loaded.agent.Watcher.run(FileSystemWatcher.java:87)
        at java.lang.Thread.run(Thread.java:619)
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: hotdeploy does not work in 1.4-M1

Andy Clement
Please raise a grails issue for this.

cheers
Andy

On 6 July 2011 11:27, fiallega <[hidden email]> wrote:

> I created a project in 1.3.7, as I change controller code, all I have to do
> is to hit my controller and I see the changes (a simple println change)
> The same code does not hotdeploy in 1.4-M1. I have to stop the server and do
> run-app to see my changes.
> I also tried
> http://hudson.grails.org/job/grails_core_1.4.x/lastSuccessfulBuild/artifact/build/distributions/grails-2.0.0.BUILD-SNAPSHOT.zip
> grails-2.0.0.BUILD-SNAPSHOT  and the hotdeploy works but it throws a
> typecast exception
>
> java.lang.ClassCastException: java.util.Collections$SynchronizedMap cannot
> be cast to java.util.WeakHashMap
>        at com.springsource.loaded.agent.JVMPlugin.reloadEvent(JVMPlugin.java:42)
>        at
> com.springsource.loaded.TypeRegistry.fireReloadEvent(TypeRegistry.java:1495)
>        at
> com.springsource.loaded.ReloadableType.loadNewVersion(ReloadableType.java:314)
>        at
> com.springsource.loaded.TypeRegistry.loadNewVersion(TypeRegistry.java:752)
>        at
> com.springsource.loaded.agent.ReloadableFileChangeListener.fileChanged(ReloadableFileChangeListener.java:38)
>        at
> com.springsource.loaded.agent.Watcher.determineChangesSince(FileSystemWatcher.java:101)
>        at com.springsource.loaded.agent.Watcher.run(FileSystemWatcher.java:87)
>        at java.lang.Thread.run(Thread.java:619)
>
> --
> View this message in context: http://grails.1312388.n4.nabble.com/hotdeploy-does-not-work-in-1-4-M1-tp3649577p3649577.html
> Sent from the Grails - user mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>
>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Loading...