| Summary: | Can't create any WSRP consumer - ClassCastException | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise Portal Platform 5 | Reporter: | Michal Vanco <mvanco> | ||||
| Component: | unspecified | Assignee: | claprun <claprun> | ||||
| Status: | CLOSED NEXTRELEASE | QA Contact: | |||||
| Severity: | high | Docs Contact: | |||||
| Priority: | high | ||||||
| Version: | 5.1.0.ER01, 5.1.0.ER02 | CC: | epp-bugs, mvecera, theute | ||||
| Target Milestone: | --- | ||||||
| Target Release: | 5.1.0.ER03 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| URL: | http://jira.jboss.org/jira/browse/JBEPP-539 | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: |
EPP5.1.0.ER02, ER01
|
|||||
| Last Closed: | 2010-10-19 19:16:33 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: | |||||
| Attachments: |
|
||||||
|
Description
Michal Vanco
2010-10-07 15:15:23 UTC
I attached a patch to let you continue, just replace the existing one.
Note that I found a new issue (would need a jira). If i try to activate a consumer before refreshing it, I get a stacktrace.
Here is the sources of the patch:
Index: consumer/src/main/java/org/gatein/wsrp/services/ServiceWrapper.java
===================================================================
--- consumer/src/main/java/org/gatein/wsrp/services/ServiceWrapper.java (revision 4591)
+++ consumer/src/main/java/org/gatein/wsrp/services/ServiceWrapper.java (working copy)
@@ -109,7 +109,7 @@
// better interoperability as Oracle's producer doesn't support it, for example.
// See https://jira.jboss.org/jira/browse/JBWS-2884 and
// http://community.jboss.org/wiki/JBossWS-NativeUserGuide#Chunked_encoding_setup
- requestContext.put(JBOSS_WS_STUBEXT_PROPERTY_CHUNKED_ENCODING_SIZE, 0);
+ requestContext.put(JBOSS_WS_STUBEXT_PROPERTY_CHUNKED_ENCODING_SIZE, "0");
// Add client side handler via JAX-WS API
Binding binding = bindingProvider.getBinding();
Attachment: Added: wsrp-consumer-2.0.0-Beta01_patched.jar Thanks for patch Thomas - it works fine with it. But I wasn't able to reproduce issue you mentioned (activate and refresh). Can you describe it please? I tried again and it's not clear, if i play with activate/desacivate/refresh buttons randomly for selfv1 and selfv2 I get some stacktraces Shouls be fixed by r4609 (Need upgrade of WSRP component post-Beta01) Release Notes Docs Status: Added: Not Required |