Skip to Main Content
Cloud Platform


This is an IBM Automation portal for Cloud Platform products. To view all of your ideas submitted to IBM, create and manage groups of Ideas, or create an idea explicitly set to be either visible by all (public) or visible only to you and IBM (private), use the IBM Unified Ideas Portal (https://ideas.ibm.com).


Shape the future of IBM!

We invite you to shape the future of IBM, including product roadmaps, by submitting ideas that matter to you the most. Here's how it works:

Search existing ideas

Start by searching and reviewing ideas and requests to enhance a product or service. Take a look at ideas others have posted, and add a comment, vote, or subscribe to updates on them if they matter to you. If you can't find what you are looking for,

Post your ideas
  1. Post an idea.

  2. Get feedback from the IBM team and other customers to refine your idea.

  3. Follow the idea through the IBM Ideas process.


Specific links you will want to bookmark for future use

Welcome to the IBM Ideas Portal (https://www.ibm.com/ideas) - Use this site to find out additional information and details about the IBM Ideas process and statuses.

IBM Unified Ideas Portal (https://ideas.ibm.com) - Use this site to view all of your ideas, create new ideas for any IBM product, or search for ideas across all of IBM.

ideasibm@us.ibm.com - Use this email to suggest enhancements to the Ideas process or request help from IBM for submitting your Ideas.


Status Is a defect
Workspace WebSphere Liberty
Created by Guest
Created on Oct 24, 2023

Issue with Liberty WebSpear server

Hello Team,

I am trying to run one webService SOAP based application using Apache CXF. I am trying to resolve the following errors, but I could not. On each restart it shows some different error. Please find all these details as below. Same application running fine with Tomcat server.

Liberty Server Userd: wlp-jakartaee10-23.0.0.8

Restart-1: [ERROR   ] CWWKZ0002E: An exception occurred while starting the application Wsdl2Java. The exception message was: com.ibm.ws.container.service.state.StateChangeException: org.jboss.weld.exceptions.DefinitionException: WELD-000071: Managed bean with a parameterized bean class must be @Dependent: class org.apache.cxf.jaxrs.provider.CachingMessageBodyReader

Restart-2: [ERROR   ] CWWKZ0002E: An exception occurred while starting the application Wsdl2Java. The exception message was: com.ibm.ws.container.service.state.StateChangeException: org.jboss.weld.exceptions.DefinitionException: WELD-000071: Managed bean with a parameterized bean class must be @Dependent: class org.apache.cxf.jaxrs.provider.XPathProvider

Restart-2: [ERROR   ] CWWKZ0002E: An exception occurred while starting the application Wsdl2Java. The exception message was: com.ibm.ws.container.service.state.StateChangeException: org.jboss.weld.exceptions.DefinitionException: WELD-000071: Managed bean with a parameterized bean class must be @Dependent: class org.apache.cxf.jaxrs.provider.SourceProvider

Restart-2: [ERROR   ] CWWKZ0002E: An exception occurred while starting the application Wsdl2Java. The exception message was: com.ibm.ws.container.service.state.StateChangeException: org.jboss.weld.exceptions.DefinitionException: WELD-000071: Managed bean with a parameterized bean class must be @Dependent: class org.apache.cxf.jaxrs.provider.DataBindingProvider

Restart-2: [ERROR   ] CWWKZ0002E: An exception occurred while starting the application Wsdl2Java. The exception message was: com.ibm.ws.container.service.state.StateChangeException: org.jboss.weld.exceptions.DefinitionException: WELD-000071: Managed bean with a parameterized bean class must be @Dependent: class org.apache.cxf.jaxrs.provider.CachingMessageBodyWriter

Restart-2: [ERROR   ] CWWKZ0002E: An exception occurred while starting the application Wsdl2Java. The exception message was: com.ibm.ws.container.service.state.StateChangeException: org.jboss.weld.exceptions.DefinitionException: WELD-000071: Managed bean with a parameterized bean class must be @Dependent: class org.apache.cxf.jaxrs.provider.FormEncodingProvider
 

 

Could you please help & put some light on these errors.

Dependencies used in application:

pom.xml

========================

 <dependencies>
      <dependency>
              <groupId>jakarta.servlet</groupId>
           <artifactId>jakarta.servlet-api</artifactId>
           <version>5.0.0</version>
        </dependency>
       <dependency>
           <groupId>jakarta.xml.ws</groupId>
           <artifactId>jakarta.xml.ws-api</artifactId>
           <version>4.0.1</version>
       </dependency>
       <dependency>
           <groupId>jakarta.platform</groupId>
           <artifactId>jakarta.jakartaee-web-api</artifactId>
           <version>10.0.0</version>
           <scope>provided</scope>
       </dependency>
       <dependency>
           <groupId>org.springframework</groupId>
           <artifactId>spring-web</artifactId>
           <version>6.0.13</version>
       </dependency>
       <dependency>
           <groupId>org.springframework</groupId>
           <artifactId>spring-webmvc</artifactId>
           <version>6.0.13</version>
       </dependency>
       <dependency>
           <groupId>org.apache.cxf</groupId>
           <artifactId>cxf-rt-transports-http</artifactId>
           <version>4.0.3</version>
       </dependency>
       <dependency>
           <groupId>org.apache.cxf</groupId>
           <artifactId>cxf-rt-frontend-jaxrs</artifactId>
           <version>4.0.3</version>
       </dependency>
       <dependency>
           <groupId>org.apache.cxf</groupId>
           <artifactId>cxf-rt-frontend-jaxws</artifactId>
           <version>4.0.3</version>
       </dependency>
      <dependency>
           <groupId>org.apache.cxf</groupId>
           <artifactId>cxf-servlet-compatible</artifactId>
           <version>3.5.7</version>
       </dependency>

   </dependencies>

Web.xml

===================================

<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="https://jakarta.ee/xml/ns/jakartaee"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="https://jakarta.ee/xml/ns/jakartaee/web-app_5_0.xsd"
        version="5.0">
 <display-name>Archetype Created Web Application</display-name>


 <servlet>
   <servlet-name>cxf</servlet-name>
   <servlet-class>org.apache.cxf.transport.servlet.CXFServlet</servlet-class>
   <load-on-startup>1</load-on-startup>
 </servlet>
 
 <servlet-mapping>
   <servlet-name>cxf</servlet-name>
   <url-pattern>/services/op/*</url-pattern>
 </servlet-mapping>
</web-app>

Idea priority Urgent
  • Guest
    Reply
    |
    Nov 1, 2023

    I'm sorry I cannot tell from the provided information what the problem would be, but Aha Ideas is for requesting new function rather than to request help. I don't know if this is a bug or just a usage issue from the provided information, but it would make sense to raise this through support. If you would prefer you could try using the Open Liberty mail list or raise a bug there, but there wouldn't be any guarantee of a timely response there.