[jbosstools-issues] [JBoss JIRA] (JBIDE-27188) Cannot create Web Service Client using CXF 3.3.5 and wildfly 18 on Java 11

Ondrej Dockal (Jira) issues at jboss.org
Mon Apr 6 10:22:16 EDT 2020


     [ https://issues.redhat.com/browse/JBIDE-27188?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ondrej Dockal updated JBIDE-27188:
----------------------------------
    Steps to Reproduce: 
1. Download and create new CXF runtime (latest is 3.3.5) for web services
* Preferences -> Web Services -> CXF 2.x Preferences -> CXF Runtime -> Add -> Paste a path to the cxf libraries, ie: ~/apache-cxf-2.x/apache-cxf-3.3.5

2. Create wf 18 server adapter, Start the server
3. Create EAR project with Dynamic web project associated with it, use wf 18 for the project and set dyn. web project facet to java 11.
4. Start creating using wizard: Web Service Client through File -> New -> Other -> Web service Client
5. On a wizard page, set service definition, ie. http://dneonline.com/calculator.asmx?wsdl
6. Client type: Java proxy
7. Set slider to deploy client
8. Configuration
9. Server runtime: choose wf 18
10. Web Service runtime: Apache CFX 2.x (with cxf 3.3.5) -> Here might come the issue, we actually do not prove 3.x runtime settings..?
11. Set the rest of configuration in your best opinion, or let default value, finish the wizard.
12. Assert: Web service client is created
Actual result: No web service is crated and console contains: 

{code}
-Djava.endorsed.dirs=/home/odockal/git/jbosstools-integration-tests/tests/org.jboss.tools.ws.ui.bot.test/target/requirements/apache-cxf-2.x/apache-cxf-3.3.5 is not supported. Endorsed standards and standalone APIs
in modular form will be supported via the concept of upgradeable modules.
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
{code}

  was:
1. Download and create new CXF runtime (latest is 3.3.5) for web services
* Preferences -> Web Services -> CXF 2.x Preferences -> CXF Runtime -> Add -> Paste a path to the cxf libraries, ie: ~/apache-cxf-2.x/apache-cxf-3.3.5
2. Create wf 18 server adapter, Start the server
3. Create EAR project with Dynamic web project associated with it, use wf 18 for the project and set dyn. web project facet to java 11.
4. Start creating using wizard: Web Service Client through File -> New -> Other -> Web service Client
5. On a wizard page, set service definition, ie. http://dneonline.com/calculator.asmx?wsdl
6. Client type: Java proxy
7. Set slider to deploy client
8. Configuration
9. Server runtime: choose wf 18
10. Web Service runtime: Apache CFX 2.x (with cxf 3.3.5) -> Here might come the issue, we actually do not prove 3.x runtime settings..?
11. Set the rest of configuration in your best opinion, or let default value, finish the wizard.
12. Assert: Web service client is created
Actual result: No web service is crated and console contains: 

{code}
-Djava.endorsed.dirs=/home/odockal/git/jbosstools-integration-tests/tests/org.jboss.tools.ws.ui.bot.test/target/requirements/apache-cxf-2.x/apache-cxf-3.3.5 is not supported. Endorsed standards and standalone APIs
in modular form will be supported via the concept of upgradeable modules.
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
{code}



> Cannot create Web Service Client using CXF 3.3.5 and wildfly 18 on Java 11
> --------------------------------------------------------------------------
>
>                 Key: JBIDE-27188
>                 URL: https://issues.redhat.com/browse/JBIDE-27188
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: webservices
>    Affects Versions: 4.15.0.AM1
>            Reporter: Ondrej Dockal
>            Assignee: Jeff MAURY
>            Priority: Critical
>             Fix For: 4.15.x
>
>
> When trying to create Web Service client I get:
> {code}
> -Djava.endorsed.dirs=/home/odockal/git/jbosstools-integration-tests/tests/org.jboss.tools.ws.ui.bot.test/target/requirements/apache-cxf-2.x/apache-cxf-3.3.5 is not supported. Endorsed standards and standalone APIs
> in modular form will be supported via the concept of upgradeable modules.
> Error: Could not create the Java Virtual Machine.
> Error: A fatal exception has occurred. Program will exit.
> {code}



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the jbosstools-issues mailing list