Bug 995094

Summary: ws security - java.lang.ClassNotFoundException: org.gatein.wsrp.examples.TestCallbackHandler when placing remote portlet on page
Product: [JBoss] JBoss Enterprise Portal Platform 6 Reporter: vramik
Component: PortalAssignee: Matt Wringe <mwringe>
Status: VERIFIED --- QA Contact: Tomas Kyjovsky <tkyjovsk>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.1.0CC: bdawidow, epp-bugs
Target Milestone: CR01   
Target Release: 6.1.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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:
Attachments:
Description Flags
ClassNotFoundException.log none

Description vramik 2013-08-08 14:21:12 UTC
Created attachment 784411 [details]
ClassNotFoundException.log

Steps to Reproduce:
1. configure keystores using: http://git.app.eng.bos.redhat.com/?p=jbossqe/epp-tools.git;a=blob;f=config-tool/src/main/sh/gatein/wssec/generate_keystores.sh;h=3c60c2959e4d703cb9429aa5a242b076e8e26eb3;hb=a110cfa0503aefc0d7a2eba99897437c1a779408

2. rm -rf $PRODUCER/standalone/configuration/gatein/wsrp/cxf/ws-security/producer/*

3. unzip http://git.app.eng.bos.redhat.com/?p=jbossqe/epp-tools.git;a=blob_plain;f=config-tool/src/main/resources/wssec_resources/producer_encr_sign_username.zip;hb=a110cfa0503aefc0d7a2eba99897437c1a779408 to $PRODUCER/standalone/configuration/gatein/wsrp/cxf/ws-security/producer/

4. mv producer.jks to $PRODUCER/standalone/configuration/gatein/wsrp/cxf/ws-security/producer/

5. cp http://git.app.eng.bos.redhat.com/?p=jbossqe/epp-tools.git;a=blob_plain;f=config-tool/src/main/resources/wssec_resources/wsrp-wss-callback-example-2.2.10.Final.jar;hb=a110cfa0503aefc0d7a2eba99897437c1a779408 to $PRODUCER/gatein/extensions

6. rm -rf $CONSUMER/standalone/configuration/gatein/wsrp/cxf/ws-security/consumer/*

7. unzip http://git.app.eng.bos.redhat.com/?p=jbossqe/epp-tools.git;a=blob_plain;f=config-tool/src/main/resources/wssec_resources/consumer_encr_sign_username.zip;hb=a110cfa0503aefc0d7a2eba99897437c1a779408 to $CONSUMER/standalone/configuration/gatein/wsrp/cxf/ws-security/consumer/

8. mv consumer.jks to $PRODUCER/standalone/configuration/gatein/wsrp/cxf/ws-security/consumer/

9. cp http://git.app.eng.bos.redhat.com/?p=jbossqe/epp-tools.git;a=blob_plain;f=config-tool/src/main/resources/wssec_resources/wsrp-wss-callback-example-2.2.10.Final.jar;hb=a110cfa0503aefc0d7a2eba99897437c1a779408 to $CONSUMER/gatein/extensions

10. deploy ant remoteable portlet to producer 

11. start producer and consumer (I use different set of ports: -Djboss.socket.binding.port-offset=100)

12. open consumer, sign in, go to WSRP admin portlet

13. register consumer with WS-Security checkbox checked

14. go to Application Registry and import applications

15. go to Edit Page and add the remote portlet to page

16. click finish 

Actual results:
Exceptions in log (attached) and the portlet says: This portlet encountered an error and could not be displayed

Comment 2 Matt Wringe 2013-08-08 16:02:15 UTC
How is this different from BZ-975482, which was closed as verified right before this issue was opened? I assume you can now register the consumer, but the error now occurs when the portlet is added to the page?

Comment 3 vramik 2013-08-09 13:11:16 UTC
(In reply to Matt Wringe from comment #2)
> I assume you can now register the consumer,
> but the error now occurs when the portlet is added to the page?

Yes, that's right.

Comment 4 Boleslaw Dawidowicz 2013-09-12 12:27:20 UTC
Aimed for 6.1.1

Comment 5 vramik 2013-09-30 21:05:16 UTC
Verified in CR03