Hot Reload with Action Beans breaks Nuxeo 7.10
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-30-2015 04:47 AM
Hello,
I have some bundles with Action Beans, and I was using Nuxeo 7.2 with the IDE to develop, without problems. But now I've decided to use Nuxeo 7.10 as it is the LTS version, and I've seen that when I hot reload the bundles with Action Beans, Nuxeo breaks (the page won't load but I don't see anything in the logs). I've tried with other bundles that have no Action Beans, and everything works as it should. If I create the JARs of the bundles that have Action Beans, I have no problems neither.
To ensure that it wasn't a problem in my code, I've used a clean 7.10 SDK, with only one bundle that I've created using the wizard of Nuxeo IDE, and I've created an Action Bean also with the Nuxeo Artifact Wizard. Again, when I hot reload, Nuxeo breaks and I have to stop and restart it.
Is it a bug? Has something changed in 7.10 and do I need to change my code in order to work?
If you need any more information please ask, but as I have said, it is very easy to reproduce the error using the Nuxeo Artifact Wizard.
Thank you and Happy Holidays!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-30-2015 05:36 AM
I've done the same test with 7.4 and hot reload doesn't break Nuxeo, so I guess it's something that has been introduced with the latest version.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-30-2015 06:05 AM
action beans are hot-reloaded in a specific way with the help of seam framework. Project output classes are split in two folders, one containing the main classes and another containing seam related classes.
Can you check you have the correct layout in the folder target/devbundle. Then can you give me the content of the file NUXEO_HOME/nxserver/dev.bundles file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-30-2015 06:58 AM
Hi slacoin, thanks for your quick reply!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-31-2015 07:49 AM
No, the IDE is doing what's I'm expecting. Problem should comes from seam hot--reloader. Can you check now that the seam classes are deployed in the nuxeo.war/WEB-INF/dev folder.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-04-2016 04:50 AM
Hello again slacoin,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-04-2016 09:01 AM
Yeap, that's mean seam is not detecting the change. Can you share your project ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-04-2016 01:05 PM
Hello again,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-05-2016 05:06 AM
Thanks I'm going to investigate.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-18-2016 06:23 AM
Hello [slacoin Lacoin](https
