Bug 900750 (JBPAPP6-867)
| Summary: | Need additional dependencies in jbossws-cxf-client module | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise Application Platform 6 | Reporter: | Kyle Lape <kyle.lape> |
| Component: | Web Services | Assignee: | Richard Opalka <ropalka> |
| Status: | CLOSED NEXTRELEASE | QA Contact: | |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 6.0.0 | CC: | asoldano, bmaxwell, kyle.lape, mmiura, rsvoboda, sgilda, tkonishi, twells |
| Target Milestone: | --- | ||
| Target Release: | EAP 6.0.1 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| URL: | http://jira.jboss.org/jira/browse/JBPAPP6-867 | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-11-01 10:08:34 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 900687 | ||
|
Description
Kyle Lape
2012-08-01 13:39:20 UTC
Hi Kyle, I've been doing checks and verified I can run a plain jaxws client like this by having the following entry in the manifest: Dependencies: javax.xml.ws.api,javax.jws.api,org.jboss.logging IOW, jaxws and jws api dependencies only (which makes sense, given you're using them). This should be what we promote to the customers. For customers willing to add jbws-cxf specific apis, the org.jboss.ws.cxf.jbossws-cxf-client module can be *added* to the above. I'm most probably going to add the jws and jaxws dependencies export to the jbossws-cxf-client module (as that's an aggregate module for simplifying module dependencies), but please check the approach with jaxws and jws apis only is working for you too. Thanks. btw, for the records, the reason why we need to set the dependencies on the jaxws and jws apis is because we want to use the JBossWS (Apache CXF based) JAXWS implementation. The same client above can be run specifying no ws dependencies at all, but the JDK internal jaxws impl is used. Link: Added: This issue relates to JBWS-3531 Alessio, I tried the following in my manifest:
{noformat}
Dependencies: javax.jws.api,javax.xml.ws.api,org.jboss.logging
{noformat}
{noformat}
Dependencies: javax.jws.api,javax.xml.ws.api,org.jboss.logging,org.jboss.ws.cxf.jbossws-cxf-client
{noformat}
Both of those worked in both EAP 6.0.0 and AS 7.2.0 Alpha-snapshot.
good, thanks for confirmation Link: Added: This issue is a dependency of JBPAPP-9438 Verified on EAP 601 ER2
Expected content is present in modules/org/jboss/ws/cxf/jbossws-cxf-client/main/module.xml
{code}
<module name="javax.xml.ws.api" export="true"/>
<module name="javax.jws.api" export="true"/>
{code}
Does this need a release note for EAP 6.0.1? If so, the issue needs to be re-opened and the release notes flags set (Affects Release Notes, Not Yet Documented). If not, the issue needs to be re-opened and the release notes flag set to "Release notes not required". Updating the release notes fields. Release Notes Docs Status: Added: Needs More Info Writer: Added: tomwells Writer: Removed: tomwells Added: sgilda Alessio or Rostislav, does this JIRA need a release note? Affects: Added: Release Notes Release Notes Text: Added: Some web service dependencies were missing from the org.jboss.ws.cxf.jbossws-cxf-client module that resulted in java.lang.Linkage ClassCastExceptions when running a standalone client using the jboss-modules.jar. The required dependencies were added to the module definition to resolve this issue. Richard or Alessio, Could you please let me know if the "Release Notes Text" I added correctly states the issue? Thanks Sande The release note is fine, thanks. Release Notes Docs Status: Removed: Needs More Info Added: Documented as Resolved Issue Thanks Alessio. Release Notes Text: Removed: Some web service dependencies were missing from the org.jboss.ws.cxf.jbossws-cxf-client module that resulted in java.lang.Linkage ClassCastExceptions when running a standalone client using the jboss-modules.jar. The required dependencies were added to the module definition to resolve this issue. Added: Some web service dependencies were missing from the `org.jboss.ws.cxf.jbossws-cxf-client` module that resulted in `java.lang.Linkage ClassCastExceptions` when running a standalone client using the `jboss-modules.jar`. The required dependencies were added to the module definition to resolve this issue. Closing, RN contain text for JBPAPP-9609. Fix already verified. Release Notes Docs Status: Removed: Documented as Resolved Issue Writer: Removed: sgilda Release Notes Text: Removed: Some web service dependencies were missing from the `org.jboss.ws.cxf.jbossws-cxf-client` module that resulted in `java.lang.Linkage ClassCastExceptions` when running a standalone client using the `jboss-modules.jar`. The required dependencies were added to the module definition to resolve this issue. Docs QE Status: Removed: NEW |