[
https://jira.jboss.org/jira/browse/JBWS-2687?page=com.atlassian.jira.plug...
]
Richard Opalka commented on JBWS-2687:
--------------------------------------
WORKAROUND
Users can specify in tools options to don't compile classes.
Then users can compile the generated Java artifacts on their own.
JBossWS commandline tools requires Sun JDK to work. This dependency
must be removed
-----------------------------------------------------------------------------------
Key: JBWS-2687
URL:
https://jira.jboss.org/jira/browse/JBWS-2687
Project: JBoss Web Services
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: jbossws-native
Affects Versions: jbossws-native-3.1.2
Reporter: Richard Opalka
Assignee: Alessio Soldano
Priority: Critical
Fix For: jbossws-native-3.2.0
One of the goals for the next SOA-P CP is to see the whole platform certified with
OpenJDK 1.6
I tried to run JBossWS on OpenJDK 1.6 and found the following dependency in our code:
---
[ERROR] com.sun.tools.javac.Main is not available in the classpath, requires Suns JDK
version 5.0 or latter.
compilation failed, errors should have been reported
Failed to invoke WsImport
java.lang.IllegalStateException: WsImport invocation failed. Try the verbose switch for
more information
at org.jboss.ws.tools.jaxws.impl.SunRIConsumerImpl.consume(SunRIConsumerImpl.java:233)
at org.jboss.wsf.spi.tools.cmd.WSConsume.importServices(WSConsume.java:222)
at org.jboss.wsf.spi.tools.cmd.WSConsume.main(WSConsume.java:80)
---
This dependency causes our command line tools (at least wsconsume) doesn't work on
Open JDK :(
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira