[JBoss JIRA] (JBWS-4075) jaxws-tools-maven-plugin doesn't work on JDK9
by Alessio Soldano (JIRA)
[ https://issues.jboss.org/browse/JBWS-4075?page=com.atlassian.jira.plugin.... ]
Alessio Soldano commented on JBWS-4075:
---------------------------------------
I suggest overriding user's choice of fork option with 'true' when jdk9 is used, basically because in that case we need to explicitly add the java.compiler module.
As for the gnu getopt dependency having to be explicitly declared when on fork mode, I believe this is a bug I erroneously introduced back in 2011 when working on JBWS-3400; the plugin has to get the dependency from its own dep tree, without having to rely on the project it's included in.
I have preliminary fix in a branch of mine, see https://github.com/jbossws/jaxws-tools-maven-plugin/compare/master...asol... . Rebecca is taking over from here (a couple of tests are still failing).
> jaxws-tools-maven-plugin doesn't work on JDK9
> ---------------------------------------------
>
> Key: JBWS-4075
> URL: https://issues.jboss.org/browse/JBWS-4075
> Project: JBoss Web Services
> Issue Type: Task
> Components: jaxws-tools-maven-plugin
> Affects Versions: jbossws-jaxws-tools-maven-plugin-1.2.0.Beta1
> Reporter: Tomaz Cerar
> Assignee: R Searls
> Priority: Blocker
> Fix For: jbossws-cxf-5.2.1.Final
>
>
> When running on JDK9 plugin fails with CNFE classes from jaxb impl
> Maybe fix would be as simple as using jaxb-ri 2.3 dependency explicitly.
> {noformat}
> Caused by: java.lang.NoClassDefFoundError: com/sun/istack/FinalArrayList
> at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:246)
> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.base/java.lang.reflect.Method.invoke(Method.java:564)
> at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:137)
> at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:108)
> at javax.xml.bind.ContextFinder.find(ContextFinder.java:286)
> at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:412)
> at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:375)
> at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:279)
> at org.apache.cxf.tools.wsdlto.core.PluginLoader.init(PluginLoader.java:78)
> at org.apache.cxf.tools.wsdlto.core.PluginLoader.<init>(PluginLoader.java:73)
> at org.apache.cxf.tools.wsdlto.core.PluginLoader.newInstance(PluginLoader.java:106)
> at org.apache.cxf.tools.wsdlto.WSDLToJava.<init>(WSDLToJava.java:48)
> at org.jboss.wsf.stack.cxf.tools.CXFConsumerImpl.consume(CXFConsumerImpl.java:308)
> at org.jboss.ws.api.tools.WSContractConsumer.consume(WSContractConsumer.java:225)
> ... 29 more
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
6 years, 8 months
[JBoss JIRA] (JBWS-4075) jaxws-tools-maven-plugin doesn't work on JDK9
by Rostislav Svoboda (JIRA)
[ https://issues.jboss.org/browse/JBWS-4075?page=com.atlassian.jira.plugin.... ]
Rostislav Svoboda commented on JBWS-4075:
-----------------------------------------
{quote}
Tools using this plugin will need to make the adjustments.
{quote}
There is always backward compatibility aspect we should keep in mind.
I'd rather see fix which would not require changes on end user or other tools side
> jaxws-tools-maven-plugin doesn't work on JDK9
> ---------------------------------------------
>
> Key: JBWS-4075
> URL: https://issues.jboss.org/browse/JBWS-4075
> Project: JBoss Web Services
> Issue Type: Task
> Components: jaxws-tools-maven-plugin
> Affects Versions: jbossws-jaxws-tools-maven-plugin-1.2.0.Beta1
> Reporter: Tomaz Cerar
> Assignee: R Searls
> Priority: Blocker
> Fix For: jbossws-cxf-5.2.1.Final
>
>
> When running on JDK9 plugin fails with CNFE classes from jaxb impl
> Maybe fix would be as simple as using jaxb-ri 2.3 dependency explicitly.
> {noformat}
> Caused by: java.lang.NoClassDefFoundError: com/sun/istack/FinalArrayList
> at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:246)
> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.base/java.lang.reflect.Method.invoke(Method.java:564)
> at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:137)
> at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:108)
> at javax.xml.bind.ContextFinder.find(ContextFinder.java:286)
> at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:412)
> at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:375)
> at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:279)
> at org.apache.cxf.tools.wsdlto.core.PluginLoader.init(PluginLoader.java:78)
> at org.apache.cxf.tools.wsdlto.core.PluginLoader.<init>(PluginLoader.java:73)
> at org.apache.cxf.tools.wsdlto.core.PluginLoader.newInstance(PluginLoader.java:106)
> at org.apache.cxf.tools.wsdlto.WSDLToJava.<init>(WSDLToJava.java:48)
> at org.jboss.wsf.stack.cxf.tools.CXFConsumerImpl.consume(CXFConsumerImpl.java:308)
> at org.jboss.ws.api.tools.WSContractConsumer.consume(WSContractConsumer.java:225)
> ... 29 more
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
6 years, 8 months
[JBoss JIRA] (JBWS-4075) jaxws-tools-maven-plugin doesn't work on JDK9
by R Searls (JIRA)
[ https://issues.jboss.org/browse/JBWS-4075?page=com.atlassian.jira.plugin.... ]
R Searls commented on JBWS-4075:
--------------------------------
Created https://issues.jboss.org/browse/WFLY-9984 jaxws-retail fails to build with jdk-9
to implement workaround.
> jaxws-tools-maven-plugin doesn't work on JDK9
> ---------------------------------------------
>
> Key: JBWS-4075
> URL: https://issues.jboss.org/browse/JBWS-4075
> Project: JBoss Web Services
> Issue Type: Task
> Components: jaxws-tools-maven-plugin
> Affects Versions: jbossws-jaxws-tools-maven-plugin-1.2.0.Beta1
> Reporter: Tomaz Cerar
> Assignee: R Searls
> Priority: Blocker
> Fix For: jbossws-cxf-5.2.1.Final
>
>
> When running on JDK9 plugin fails with CNFE classes from jaxb impl
> Maybe fix would be as simple as using jaxb-ri 2.3 dependency explicitly.
> {noformat}
> Caused by: java.lang.NoClassDefFoundError: com/sun/istack/FinalArrayList
> at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:246)
> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.base/java.lang.reflect.Method.invoke(Method.java:564)
> at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:137)
> at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:108)
> at javax.xml.bind.ContextFinder.find(ContextFinder.java:286)
> at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:412)
> at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:375)
> at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:279)
> at org.apache.cxf.tools.wsdlto.core.PluginLoader.init(PluginLoader.java:78)
> at org.apache.cxf.tools.wsdlto.core.PluginLoader.<init>(PluginLoader.java:73)
> at org.apache.cxf.tools.wsdlto.core.PluginLoader.newInstance(PluginLoader.java:106)
> at org.apache.cxf.tools.wsdlto.WSDLToJava.<init>(WSDLToJava.java:48)
> at org.jboss.wsf.stack.cxf.tools.CXFConsumerImpl.consume(CXFConsumerImpl.java:308)
> at org.jboss.ws.api.tools.WSContractConsumer.consume(WSContractConsumer.java:225)
> ... 29 more
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
6 years, 8 months
[JBoss JIRA] (JBWS-4075) jaxws-tools-maven-plugin doesn't work on JDK9
by R Searls (JIRA)
[ https://issues.jboss.org/browse/JBWS-4075?page=com.atlassian.jira.plugin.... ]
R Searls commented on JBWS-4075:
--------------------------------
So there is no change to be made to jaxws-tools-maven-plugin itself.
Tools using this plugin will need to make the adjustments.
The team will need to follow up with apache about WSDLToJava.
> jaxws-tools-maven-plugin doesn't work on JDK9
> ---------------------------------------------
>
> Key: JBWS-4075
> URL: https://issues.jboss.org/browse/JBWS-4075
> Project: JBoss Web Services
> Issue Type: Task
> Components: jaxws-tools-maven-plugin
> Affects Versions: jbossws-jaxws-tools-maven-plugin-1.2.0.Beta1
> Reporter: Tomaz Cerar
> Assignee: R Searls
> Priority: Blocker
> Fix For: jbossws-cxf-5.2.1.Final
>
>
> When running on JDK9 plugin fails with CNFE classes from jaxb impl
> Maybe fix would be as simple as using jaxb-ri 2.3 dependency explicitly.
> {noformat}
> Caused by: java.lang.NoClassDefFoundError: com/sun/istack/FinalArrayList
> at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:246)
> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.base/java.lang.reflect.Method.invoke(Method.java:564)
> at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:137)
> at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:108)
> at javax.xml.bind.ContextFinder.find(ContextFinder.java:286)
> at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:412)
> at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:375)
> at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:279)
> at org.apache.cxf.tools.wsdlto.core.PluginLoader.init(PluginLoader.java:78)
> at org.apache.cxf.tools.wsdlto.core.PluginLoader.<init>(PluginLoader.java:73)
> at org.apache.cxf.tools.wsdlto.core.PluginLoader.newInstance(PluginLoader.java:106)
> at org.apache.cxf.tools.wsdlto.WSDLToJava.<init>(WSDLToJava.java:48)
> at org.jboss.wsf.stack.cxf.tools.CXFConsumerImpl.consume(CXFConsumerImpl.java:308)
> at org.jboss.ws.api.tools.WSContractConsumer.consume(WSContractConsumer.java:225)
> ... 29 more
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
6 years, 8 months
[JBoss JIRA] (JBWS-4075) jaxws-tools-maven-plugin doesn't work on JDK9
by R Searls (JIRA)
[ https://issues.jboss.org/browse/JBWS-4075?page=com.atlassian.jira.plugin.... ]
R Searls commented on JBWS-4075:
--------------------------------
There is an apache code issue that pertains to use with JDK-9 but there
is a workaround for it.
The root cause of the failure is org/apache/cxf/tools/wsdlto/WSDLToJava (version 3.2.2)
is calling the java compiler programmatically and this is failing when using jdk-9.
Workaround for JDK-9.
1. Just as org.jboss.ws.cxf:jbossws-cxf-client is required to be added as a
dependency to the pom file using the jaxws-tools-maven-plugin, now
gnu.getopt:java-getopt:1.0.13 must be added as well.
<dependency>
<groupId>gnu.getopt</groupId>
<artifactId>java-getopt</artifactId>
<version>1.0.13</version>
</dependency>
2. jaxws-tools-maven-plugin's configuration option "fork" *must* be set to "true"
<configuration>
<fork>true</fork>
:
:
</configuration>
fork=true forces the utility to be executed from the cmd-line and not
run via org/apache/cxf/tools/wsdlto/WSDLToJava.
> jaxws-tools-maven-plugin doesn't work on JDK9
> ---------------------------------------------
>
> Key: JBWS-4075
> URL: https://issues.jboss.org/browse/JBWS-4075
> Project: JBoss Web Services
> Issue Type: Task
> Components: jaxws-tools-maven-plugin
> Affects Versions: jbossws-jaxws-tools-maven-plugin-1.2.0.Beta1
> Reporter: Tomaz Cerar
> Assignee: R Searls
> Priority: Blocker
> Fix For: jbossws-cxf-5.2.1.Final
>
>
> When running on JDK9 plugin fails with CNFE classes from jaxb impl
> Maybe fix would be as simple as using jaxb-ri 2.3 dependency explicitly.
> {noformat}
> Caused by: java.lang.NoClassDefFoundError: com/sun/istack/FinalArrayList
> at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:246)
> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.base/java.lang.reflect.Method.invoke(Method.java:564)
> at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:137)
> at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:108)
> at javax.xml.bind.ContextFinder.find(ContextFinder.java:286)
> at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:412)
> at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:375)
> at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:279)
> at org.apache.cxf.tools.wsdlto.core.PluginLoader.init(PluginLoader.java:78)
> at org.apache.cxf.tools.wsdlto.core.PluginLoader.<init>(PluginLoader.java:73)
> at org.apache.cxf.tools.wsdlto.core.PluginLoader.newInstance(PluginLoader.java:106)
> at org.apache.cxf.tools.wsdlto.WSDLToJava.<init>(WSDLToJava.java:48)
> at org.jboss.wsf.stack.cxf.tools.CXFConsumerImpl.consume(CXFConsumerImpl.java:308)
> at org.jboss.ws.api.tools.WSContractConsumer.consume(WSContractConsumer.java:225)
> ... 29 more
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
6 years, 8 months
[JBoss JIRA] (JBWS-4075) jaxws-tools-maven-plugin doesn't work on JDK9
by Tomaz Cerar (JIRA)
[ https://issues.jboss.org/browse/JBWS-4075?page=com.atlassian.jira.plugin.... ]
Tomaz Cerar commented on JBWS-4075:
-----------------------------------
To reproduce the issue, checkout quickstarts from https://github.com/wildfly/quickstart
go to folder jaxws-retail and run mvn clean install.
on jdk8 it works, on 9/10/11 it breaks.
It is a small project and you can easily reproduce it there.
> jaxws-tools-maven-plugin doesn't work on JDK9
> ---------------------------------------------
>
> Key: JBWS-4075
> URL: https://issues.jboss.org/browse/JBWS-4075
> Project: JBoss Web Services
> Issue Type: Task
> Components: jaxws-tools-maven-plugin
> Affects Versions: jbossws-jaxws-tools-maven-plugin-1.2.0.Beta1
> Reporter: Tomaz Cerar
> Assignee: R Searls
> Priority: Blocker
> Fix For: jbossws-cxf-5.2.1.Final
>
>
> When running on JDK9 plugin fails with CNFE classes from jaxb impl
> Maybe fix would be as simple as using jaxb-ri 2.3 dependency explicitly.
> {noformat}
> Caused by: java.lang.NoClassDefFoundError: com/sun/istack/FinalArrayList
> at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:246)
> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.base/java.lang.reflect.Method.invoke(Method.java:564)
> at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:137)
> at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:108)
> at javax.xml.bind.ContextFinder.find(ContextFinder.java:286)
> at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:412)
> at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:375)
> at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:279)
> at org.apache.cxf.tools.wsdlto.core.PluginLoader.init(PluginLoader.java:78)
> at org.apache.cxf.tools.wsdlto.core.PluginLoader.<init>(PluginLoader.java:73)
> at org.apache.cxf.tools.wsdlto.core.PluginLoader.newInstance(PluginLoader.java:106)
> at org.apache.cxf.tools.wsdlto.WSDLToJava.<init>(WSDLToJava.java:48)
> at org.jboss.wsf.stack.cxf.tools.CXFConsumerImpl.consume(CXFConsumerImpl.java:308)
> at org.jboss.ws.api.tools.WSContractConsumer.consume(WSContractConsumer.java:225)
> ... 29 more
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
6 years, 8 months
[JBoss JIRA] (JBWS-4075) jaxws-tools-maven-plugin doesn't work on JDK9
by Rostislav Svoboda (JIRA)
[ https://issues.jboss.org/browse/JBWS-4075?page=com.atlassian.jira.plugin.... ]
Rostislav Svoboda updated JBWS-4075:
------------------------------------
Priority: Blocker (was: Major)
This block jaxws-* quickstarts on Java 9+
[~asoldano], could it be prioritized. please?
> jaxws-tools-maven-plugin doesn't work on JDK9
> ---------------------------------------------
>
> Key: JBWS-4075
> URL: https://issues.jboss.org/browse/JBWS-4075
> Project: JBoss Web Services
> Issue Type: Task
> Components: jaxws-tools-maven-plugin
> Affects Versions: jbossws-jaxws-tools-maven-plugin-1.2.0.Beta1
> Reporter: Tomaz Cerar
> Assignee: R Searls
> Priority: Blocker
> Fix For: jbossws-cxf-5.2.1.Final
>
>
> When running on JDK9 plugin fails with CNFE classes from jaxb impl
> Maybe fix would be as simple as using jaxb-ri 2.3 dependency explicitly.
> {noformat}
> Caused by: java.lang.NoClassDefFoundError: com/sun/istack/FinalArrayList
> at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:246)
> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.base/java.lang.reflect.Method.invoke(Method.java:564)
> at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:137)
> at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:108)
> at javax.xml.bind.ContextFinder.find(ContextFinder.java:286)
> at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:412)
> at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:375)
> at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:279)
> at org.apache.cxf.tools.wsdlto.core.PluginLoader.init(PluginLoader.java:78)
> at org.apache.cxf.tools.wsdlto.core.PluginLoader.<init>(PluginLoader.java:73)
> at org.apache.cxf.tools.wsdlto.core.PluginLoader.newInstance(PluginLoader.java:106)
> at org.apache.cxf.tools.wsdlto.WSDLToJava.<init>(WSDLToJava.java:48)
> at org.jboss.wsf.stack.cxf.tools.CXFConsumerImpl.consume(CXFConsumerImpl.java:308)
> at org.jboss.ws.api.tools.WSContractConsumer.consume(WSContractConsumer.java:225)
> ... 29 more
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
6 years, 8 months
[JBoss JIRA] (JBWS-4104) Elytron configuration in testsuite no longer working
by Jan Blizňák (JIRA)
[ https://issues.jboss.org/browse/JBWS-4104?page=com.atlassian.jira.plugin.... ]
Jan Blizňák edited comment on JBWS-4104 at 3/1/18 7:51 PM:
-----------------------------------------------------------
Fixed in https://github.com/jbossws/jbossws-cxf/pull/48.
The first problem was a syntax typo, leftover from migration to new gmavenplus plugin.
The other problem was caused by schema version change in standalone.xml for particular subsystems, eg. {{urn:jboss:domain:undertow:4.0}} vs. {{urn:jboss:domain:undertow:5.0}}.
was (Author: jbliznak):
Fixed in https://github.com/jbossws/jbossws-cxf/pull/48.
The first problem was caused by schema version change in standalone.xml for particular subsystems, eg. {{urn:jboss:domain:undertow:4.0}} vs. {{urn:jboss:domain:undertow:5.0}}.
The other problem was a syntax typo, leftover from migration to new gmavenplus plugin.
> Elytron configuration in testsuite no longer working
> ----------------------------------------------------
>
> Key: JBWS-4104
> URL: https://issues.jboss.org/browse/JBWS-4104
> Project: JBoss Web Services
> Issue Type: Bug
> Components: jbossws-cxf
> Affects Versions: jbossws-cxf-5.2.0.Final
> Reporter: Jan Blizňák
> Assignee: Jan Blizňák
>
> gmavenplus task fails when running with elytron profile
> {noformat}
> mvn -B integration-test -Dnodeploy -Pwildfly1100,hudson,elytron -DnoLogRedirect -Dtest=notest
> {noformat}
> {code:java}
> [INFO] --- gmavenplus-plugin:1.5:execute (testsuite-default) @ jbossws-cxf-shared-tests ---
> [INFO] Using Groovy 2.4.7 to perform execute.
> [INFO] Fetching Groovy script from file:////tmp/jbossws-cxf/modules/testsuite/shared-tests/src/test/scripts/jbws-testsuite-shared-default-elytron.groovy.
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] JBoss Web Services - Stack CXF Testsuite ........... SUCCESS [ 3.376 s]
> [INFO] JBoss Web Services - Stack CXF Specific Tests ...... SUCCESS [ 2.845 s]
> [INFO] JBoss Web Services - Stack Agnostic Tests .......... FAILURE [ 16.367 s]
> [INFO] JBoss Web Services - Stack CXF Performance Tests ... SKIPPED
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 22.830 s
> [INFO] Finished at: 2018-03-01T17:04:27+01:00
> [INFO] Final Memory: 87M/1060M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.codehaus.gmavenplus:gmavenplus-plugin:1.5:execute (testsuite-default) on project jbossws-cxf-shared-tests: Error occurred while calling a method on a Groovy class from classpath. InvocationTargetException: startup failed:
> [ERROR] Script1.groovy: 52: expecting ''', found '\n' @ line 52, column 96.
> [ERROR] ies',['path':rolesPropFile']])
> [ERROR] ^
> {code}
> Another error with wildfly1200 profile:
> {noformat}
> mvn -B integration-test -Dnodeploy -Pwildfly1200,hudson,elytron -DnoLogRedirect -Dserver.home=/tmp/wildfly-12.0.0.Final-SNAPSHOT -Dtest=notest
> {noformat}
> {code:java}
> [INFO] --- gmavenplus-plugin:1.5:execute (testsuite-default) @ jbossws-cxf-specific-tests ---
> [INFO] Using Groovy 2.4.7 to perform execute.
> [INFO] Fetching Groovy script from file:////tmp/jbossws-cxf/modules/testsuite/cxf-tests/src/test/scripts/jbws-testsuite-default-elytron.groovy.
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] JBoss Web Services - Stack CXF Testsuite ........... SUCCESS [ 3.053 s]
> [INFO] JBoss Web Services - Stack CXF Specific Tests ...... FAILURE [ 2.377 s]
> [INFO] JBoss Web Services - Stack Agnostic Tests .......... SKIPPED
> [INFO] JBoss Web Services - Stack CXF Performance Tests ... SKIPPED
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 5.689 s
> [INFO] Finished at: 2018-03-01T17:06:43+01:00
> [INFO] Final Memory: 63M/1071M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.codehaus.gmavenplus:gmavenplus-plugin:1.5:execute (testsuite-default) on project jbossws-cxf-specific-tests: Error occurred while calling a method on a Groovy class from classpath. InvocationTargetException: Cannot invoke method children() on null object -> [Help 1]{code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
6 years, 9 months
[JBoss JIRA] (JBWS-4104) Elytron configuration in testsuite no longer working
by Jan Blizňák (JIRA)
[ https://issues.jboss.org/browse/JBWS-4104?page=com.atlassian.jira.plugin.... ]
Jan Blizňák updated JBWS-4104:
------------------------------
Git Pull Request: https://github.com/jbossws/jbossws-cxf/pull/48
Fixed in https://github.com/jbossws/jbossws-cxf/pull/48.
The first problem was caused by schema version change in standalone.xml for particular subsystems, eg. {{urn:jboss:domain:undertow:4.0}} vs. {{urn:jboss:domain:undertow:5.0}}.
The other problem was a syntax typo, leftover from migration to new gmavenplus plugin.
> Elytron configuration in testsuite no longer working
> ----------------------------------------------------
>
> Key: JBWS-4104
> URL: https://issues.jboss.org/browse/JBWS-4104
> Project: JBoss Web Services
> Issue Type: Bug
> Components: jbossws-cxf
> Affects Versions: jbossws-cxf-5.2.0.Final
> Reporter: Jan Blizňák
> Assignee: Jan Blizňák
>
> gmavenplus task fails when running with elytron profile
> {noformat}
> mvn -B integration-test -Dnodeploy -Pwildfly1100,hudson,elytron -DnoLogRedirect -Dtest=notest
> {noformat}
> {code:java}
> [INFO] --- gmavenplus-plugin:1.5:execute (testsuite-default) @ jbossws-cxf-shared-tests ---
> [INFO] Using Groovy 2.4.7 to perform execute.
> [INFO] Fetching Groovy script from file:////tmp/jbossws-cxf/modules/testsuite/shared-tests/src/test/scripts/jbws-testsuite-shared-default-elytron.groovy.
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] JBoss Web Services - Stack CXF Testsuite ........... SUCCESS [ 3.376 s]
> [INFO] JBoss Web Services - Stack CXF Specific Tests ...... SUCCESS [ 2.845 s]
> [INFO] JBoss Web Services - Stack Agnostic Tests .......... FAILURE [ 16.367 s]
> [INFO] JBoss Web Services - Stack CXF Performance Tests ... SKIPPED
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 22.830 s
> [INFO] Finished at: 2018-03-01T17:04:27+01:00
> [INFO] Final Memory: 87M/1060M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.codehaus.gmavenplus:gmavenplus-plugin:1.5:execute (testsuite-default) on project jbossws-cxf-shared-tests: Error occurred while calling a method on a Groovy class from classpath. InvocationTargetException: startup failed:
> [ERROR] Script1.groovy: 52: expecting ''', found '\n' @ line 52, column 96.
> [ERROR] ies',['path':rolesPropFile']])
> [ERROR] ^
> {code}
> Another error with wildfly1200 profile:
> {noformat}
> mvn -B integration-test -Dnodeploy -Pwildfly1200,hudson,elytron -DnoLogRedirect -Dserver.home=/tmp/wildfly-12.0.0.Final-SNAPSHOT -Dtest=notest
> {noformat}
> {code:java}
> [INFO] --- gmavenplus-plugin:1.5:execute (testsuite-default) @ jbossws-cxf-specific-tests ---
> [INFO] Using Groovy 2.4.7 to perform execute.
> [INFO] Fetching Groovy script from file:////tmp/jbossws-cxf/modules/testsuite/cxf-tests/src/test/scripts/jbws-testsuite-default-elytron.groovy.
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] JBoss Web Services - Stack CXF Testsuite ........... SUCCESS [ 3.053 s]
> [INFO] JBoss Web Services - Stack CXF Specific Tests ...... FAILURE [ 2.377 s]
> [INFO] JBoss Web Services - Stack Agnostic Tests .......... SKIPPED
> [INFO] JBoss Web Services - Stack CXF Performance Tests ... SKIPPED
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 5.689 s
> [INFO] Finished at: 2018-03-01T17:06:43+01:00
> [INFO] Final Memory: 63M/1071M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.codehaus.gmavenplus:gmavenplus-plugin:1.5:execute (testsuite-default) on project jbossws-cxf-specific-tests: Error occurred while calling a method on a Groovy class from classpath. InvocationTargetException: Cannot invoke method children() on null object -> [Help 1]{code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
6 years, 9 months