-
1. Re: wsconsume (org/jboss/wsf/spi/tools/cmd/WSConsume) ClassNotFoundException.
peterj Jul 22, 2011 8:54 AM (in response to velmurugan_solartis)1 of 1 people found this helpfulYou should not need to add that jar to CLASSPATH. In fact, I recommend that you not set CLASSPATH at all. The wsconsume script will set the classpath for you and include the JARs it needs.
Which version of JBoss AS are you using, and what is the full command line you are entering?
-
2. Re: wsconsume (org/jboss/wsf/spi/tools/cmd/WSConsume) ClassNotFoundException.
velmurugan_solartis Jul 24, 2011 11:11 PM (in response to peterj)Thanks peter for your helpful answer,
I am using JBOSS 4.0.5 GA.
I opened wsconsume.bat and changed the JBOSS_HOME to my JBoss-4.0.5 GA directory and now the wsconsume script is running as expected.The problem is in the JBOSS_HOME. Is there anyother better way to fix this?
-
3. Re: wsconsume (org/jboss/wsf/spi/tools/cmd/WSConsume) ClassNotFoundException.
peterj Jul 25, 2011 9:44 AM (in response to velmurugan_solartis)You are using wscomsume on 4.0.5? That doesn't come with 4.0.5. Did you install another version of JBoss Web Services? If so, which version? I know that the wsconsume script that comes with 4.2.x and 5.x sets JBOSS_HOME automatically. So I suspect that the wsconsume installed stand-alone requires that you set JBOSS_HOME.
-
4. Re: wsconsume (org/jboss/wsf/spi/tools/cmd/WSConsume) ClassNotFoundException.
velmurugan_solartis Jul 25, 2011 12:11 PM (in response to peterj)Yes, I installed JBossWS-native 2.0.3 GA. and integrated it with JBoss 4.0.5 by changing the ant.properties file and running the ant utility to build and move the jbossws.sar into the JBOSS_HOME/server/default/deploy.