-
1. Re: NoClassDefFoundError on WildFly beta2-snapshot for Batch tets
bmajsak Nov 19, 2013 4:53 AM (in response to arungupta)Not sure what has changed internally, but I would anyway suggest to use Servlet protocol instead of JMX. The latter is a bit immature for something more than just .jar packages.
-
2. Re: NoClassDefFoundError on WildFly beta2-snapshot for Batch tets
aslak Nov 19, 2013 9:52 AM (in response to arungupta)Not sure why you would get that. Upstream master works fine for me, both in Managed and Remote mode.. ?
-
3. Re: NoClassDefFoundError on WildFly beta2-snapshot for Batch tets
aslak Nov 19, 2013 9:59 AM (in response to aslak)Works fine on Beta1 that is. Not sure which SNAPSHOT of Beta2 you have
-
4. Re: NoClassDefFoundError on WildFly beta2-snapshot for Batch tets
aslak Nov 19, 2013 10:24 AM (in response to aslak)Aha.. Wildfly master branch (Beta2-SNAPSHOT) has gotten a bit stricter to where it searched for Batch XML files. According to spec they should be located in WEB-INF/classes/META-INF/ in a WebArchive; Batch XML files should be located in WEB-INF/classes/META-INF according ... by aslakknutsen · Pull Request #127 · arun-g…
-
5. Re: NoClassDefFoundError on WildFly beta2-snapshot for Batch tets
jason.greene Nov 19, 2013 10:43 AM (in response to arungupta)I suspect the modularity usage within Batch isn't quite right. I've pinged Cheng and James to take a closer look.
-
6. Re: NoClassDefFoundError on WildFly beta2-snapshot for Batch tets
cfang Nov 19, 2013 10:49 AM (in response to aslak)Yes, that's right. I thought we always search in WEB-INF/classes/META-INF/batch-jobs for job xml files for webapp.
-
7. Re: NoClassDefFoundError on WildFly beta2-snapshot for Batch tets
cfang Nov 19, 2013 11:57 AM (in response to cfang)With Aslak's patch, the test also passed in remote ARQ mode. And we'll keep looking why the message class is not found when it failed.
-
8. Re: NoClassDefFoundError on WildFly beta2-snapshot for Batch tets
arungupta Nov 19, 2013 12:43 PM (in response to cfang)Confirming that Aslak's patch fixed the test.
Now I just need to get the CI job running, which is becoming a chore ;-) Check the latest results at:
https://arungupta.ci.cloudbees.com/job/Java%20EE%207%20Samples%20on%20WildFly-cb/
-
9. Re: NoClassDefFoundError on WildFly beta2-snapshot for Batch tets
aslak Nov 19, 2013 12:56 PM (in response to arungupta)arungupta Your cloudbees instance seems to be private. I get Auth errors looking at it..
-
10. Re: NoClassDefFoundError on WildFly beta2-snapshot for Batch tets
arungupta Nov 19, 2013 1:12 PM (in response to aslak)I enabled anonymous access but the job is still asking cloudbees creds. Can you try again ? I'm following with Cloudbees team as well.
-
11. Re: NoClassDefFoundError on WildFly beta2-snapshot for Batch tets
cfang Nov 19, 2013 1:24 PM (in response to arungupta)The reason the ARQ mode failed with NoClassDefFoundError, I think is, since you have job xml in an incorrect location, so WildFly doesn't think it's a batch application and so no batch impl classes are made available. We will need a better way to report such errors.
-
12. Re: NoClassDefFoundError on WildFly beta2-snapshot for Batch tets
arungupta Nov 19, 2013 1:36 PM (in response to cfang)Aslak's patch already fixed, this is already mentioned in the thread above.
-
13. Re: NoClassDefFoundError on WildFly beta2-snapshot for Batch tets
aslak Nov 20, 2013 4:59 AM (in response to arungupta)arungupta I can see it now. +1
-
14. Re: NoClassDefFoundError on WildFly beta2-snapshot for Batch tets
arungupta Nov 20, 2013 9:35 AM (in response to aslak)Aslak Knutsen yeah, Ryan from Cloudbees enabled it.
Do you want to take a look why the job may not be running ?