-
1. Re: NoClassDefFoundError in JBossEsb 4.2.GA
kconner Sep 6, 2007 2:01 PM (in response to claudio_br)In that case it looks like the application server did not have JBossWS installed when it started.
Can you look in the server/default/lib directory and see if there is a jbossws-spi.jar file? -
2. Re: NoClassDefFoundError in JBossEsb 4.2.GA
claudio_br Sep 6, 2007 2:19 PM (in response to claudio_br)Hi Kevin.
The problem is in JbossWS 2.0.1.GA.
In JbossWS 2.0.1.GA the file jbossws-spi.jar doesn´t contain org/jboss/wsf/spi/deployment/AbstractDeployer
In JbossWS 2.0.1.GA the file jbossws-jboss42.jar doesn´t contain org/jboss/wsf/container/jboss42/WebMetaDataAdapter.
In JbossWS 2.0.0.GA both files exists.
What should I do?
Thanks -
3. Re: NoClassDefFoundError in JBossEsb 4.2.GA
burrsutter Sep 6, 2007 9:50 PM (in response to claudio_br)I had thought we (the ESB) wanted to use JBossWS 2.0, not 2.0.1.
You might also download the ESB Server version as it is pre-configured to work "out of the box" with everyting ready to go. It will at least show you which version of JBossWS we really want.
Burr -
4. Re: NoClassDefFoundError in JBossEsb 4.2.GA
kurtstam Sep 6, 2007 10:14 PM (in response to claudio_br)That is what I thought too. I used 2.0.0 in the esb-server. --Kurt
-
5. Re: NoClassDefFoundError in JBossEsb 4.2.GA
marklittle Sep 7, 2007 4:24 AM (in response to claudio_br)Yes, it's always been JBossWS 2.0.0GA for the ESB and platform. I will check with the JBossWS team to see what's going on.
-
6. Re: NoClassDefFoundError in JBossEsb 4.2.GA
kconner Sep 7, 2007 4:27 AM (in response to claudio_br)Yes, 2.0.0 is the version we have tested against but it is surprising that the SPI has changed in this way between point releases.
This is something to be aware of when we update JBossWS. -
7. Re: NoClassDefFoundError in JBossEsb 4.2.GA
marklittle Sep 7, 2007 4:41 AM (in response to claudio_br)Yes, I find the SPI change surprising too. Already raising that point.
-
8. Re: NoClassDefFoundError in JBossEsb 4.2.GA
tfennelly Sep 7, 2007 4:51 AM (in response to claudio_br)Just use 2.0.0 as stated in the readmes.
Long term, the JBossWS guys will need to manage the deployment aspects for the ESB (as they do for the Servlet and EJB containers). Sure it's surprising that the SPI changed, but that's a different argument I suppose. The SPI is all new stuff and I'd imagine we're the only ones outside of the JBossWS team that are using it. -
9. Re: NoClassDefFoundError in JBossEsb 4.2.GA
kconner Sep 7, 2007 4:57 AM (in response to claudio_br)"tfennelly" wrote:
Just use 2.0.0 as stated in the readmes.
Yep, this is the solution to Claudio's problem. It is the version we support and is stated in the release notes."tfennelly" wrote:
Long term, the JBossWS guys will need to manage the deployment aspects for the ESB (as they do for the Servlet and EJB containers). Sure it's surprising that the SPI changed, but that's a different argument I suppose. The SPI is all new stuff and I'd imagine we're the only ones outside of the JBossWS team that are using it.
You may be right about this but it is still surprising :) -
10. Re: NoClassDefFoundError in JBossEsb 4.2.GA
tfennelly Sep 7, 2007 4:59 AM (in response to claudio_br)"Kevin.Conner@jboss.com" wrote:
You may be right about this but it is still surprising :)
The world's full of surprises :-) -
11. Re: NoClassDefFoundError in JBossEsb 4.2.GA
kconner Sep 7, 2007 5:05 AM (in response to claudio_br)"tfennelly" wrote:
The world's full of surprises :-)
ROFL. I suspect we may have gone off topic now :) -
12. Re: NoClassDefFoundError in JBossEsb 4.2.GA
marklittle Sep 7, 2007 6:17 AM (in response to claudio_br)Yes, it's wrong from the perspective that JBossWS 2.0.0GA is the last release I agreed with Thomas would be in the ESB and Platform. If they need to change that then that's fine, but I need to know first ;-)
-
13. Re: NoClassDefFoundError in JBossEsb 4.2.GA
heiko.braun Sep 10, 2007 8:17 AM (in response to claudio_br)I verified the issue and indeed it's a compatibility problem.
The customizations applied through 'ant patch-jbossws' are addressing two problems:
* Add JAXBIntro (http://wiki.jboss.org/wiki/Wiki.jsp?page=JAXBIntroductions) capabilities to JBossWS
* Fix a deployment error (http://jira.jboss.com/jira/browse/JBWS-1747)
The later one was fixed in 2.0.1.
The patch process, however, does only need to be applied if JAXBIntros are being used.
If you skip the patch everything deploys fine.
On the long run, we need address these issues appropriately,
however, if people want to use 2.0.1 and don't rely on JAXBIntro's they could follow the steps described above.