]
Thomas Diesler updated JBWS-1615:
---------------------------------
Issue Type: Bug (was: Patch)
Fix Version/s: jbossws-3.0.2
(was: community contributions)
wsprovide.sh is missing required libraries
------------------------------------------
Key: JBWS-1615
URL:
http://jira.jboss.com/jira/browse/JBWS-1615
Project: JBoss Web Services
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: tools-jaxws
Affects Versions: jbossws-1.2.1
Environment: Linux amd64, JDK 6, although irrelevant for this issue.
Reporter: Panagiotis Astithas
wsprovide.sh fails to generate the WSDL file for the example specified here:
http://jbws.dyndns.org/mediawiki/index.php/JAX-WS_User_Guide#Bottom-Up_.2...
the error message is:
Generating WSDL:
Error: Could not generate. (use --show-traces to see full traces)
java.lang.NoClassDefFoundError: javax/ejb/Stateless
at
org.jboss.ws.tools.jaxws.impl.WSContractProviderImpl.createUDI(WSContractProviderImpl.java:75)
at
org.jboss.ws.tools.jaxws.impl.WSContractProviderImpl.provide(WSContractProviderImpl.java:117)
at
org.jboss.ws.tools.jaxws.impl.WSContractProviderImpl.provide(WSContractProviderImpl.java:134)
at org.jboss.ws.tools.jaxws.command.wsprovide.generate(wsprovide.java:167)
at org.jboss.ws.tools.jaxws.command.wsprovide.main(wsprovide.java:76)
This patch fixes it for me:
----------
--- wsprovide.sh.bak 2007-04-19 17:14:48.000000000 +0300
+++ wsprovide.sh 2007-04-19 17:16:11.000000000 +0300
@@ -55,11 +55,13 @@
WSPROVIDE_CLASSPATH="$WSPROVIDE_CLASSPATH:$JBOSS_HOME/client/jaxb-impl.jar"
WSPROVIDE_CLASSPATH="$WSPROVIDE_CLASSPATH:$JBOSS_HOME/client/jbossall-client.jar"
WSPROVIDE_CLASSPATH="$WSPROVIDE_CLASSPATH:$JBOSS_HOME/client/jbossws-client.jar"
+WSPROVIDE_CLASSPATH="$WSPROVIDE_CLASSPATH:$JBOSS_HOME/client/jboss-ejb3x.jar"
WSPROVIDE_CLASSPATH="$WSPROVIDE_CLASSPATH:$JBOSS_HOME/client/jboss-jaxws.jar"
WSPROVIDE_CLASSPATH="$WSPROVIDE_CLASSPATH:$JBOSS_HOME/client/jboss-jaxrpc.jar"
WSPROVIDE_CLASSPATH="$WSPROVIDE_CLASSPATH:$JBOSS_HOME/client/jboss-saaj.jar"
WSPROVIDE_CLASSPATH="$WSPROVIDE_CLASSPATH:$JBOSS_HOME/client/log4j.jar"
WSPROVIDE_CLASSPATH="$WSPROVIDE_CLASSPATH:$JBOSS_HOME/client/mail.jar"
+WSPROVIDE_CLASSPATH="$WSPROVIDE_CLASSPATH:$JBOSS_HOME/client/wsdl4j.jar"
# For Cygwin, switch paths to Windows format before running java
if $cygwin; then
----------
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: