Bug 778256 (SOA-756)

Summary: opensso quickstart - final test should fail on ESB server and run on AS/embedded - but has the same output on both
Product: [JBoss] JBoss Enterprise SOA Platform 4 Reporter: Len DiMaggio <ldimaggi>
Component: JBossESB, ExamplesAssignee: Jeff Yu <cyu>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: 4.3 IR4CC: kconner
Target Milestone: ---   
Target Release: 4.3 IR5   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/SOA-756
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
SOA-P IR4
Last Closed: 2008-10-07 20:17:57 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 Flags
server.log none

Description Len DiMaggio 2008-09-07 01:49:33 UTC
Date of First Response: 2008-09-08 04:42:34
project_key: SOA

Running the opensso quickstart should generate this log message on its final test on the ESB server:

2008-09-06 21:31:01,727 INFO  [STDOUT] Could not lookup 'SimpleSLSB/remote'.Please make sure that the target server supports EJBs

But this test/lookup should succeed when the QS is run on the embedded/AS server - I'm seeing the same results on both servers. See the attached server.log

Comment 1 Len DiMaggio 2008-09-07 01:51:16 UTC
production profile server.log

Comment 2 Len DiMaggio 2008-09-07 01:51:16 UTC
Attachment: Added: server.log


Comment 3 Jeff Yu 2008-09-08 08:42:34 UTC
I forgot to add the step to deploy the ejb in readme.txt.
run 'ant deploy-ejb' to deploy the ejb before run the 'ant runtest' client.
I've updated the readme file and checked in.



Comment 4 Len DiMaggio 2008-10-07 20:17:57 UTC
Verified in IR5:

embedded server:

2008-10-07 16:15:29,093 INFO  [STDOUT] In Service3: 
2008-10-07 16:15:29,093 INFO  [STDOUT] [Message payload example(just a String) ].
2008-10-07 16:15:29,094 INFO  [STDOUT] Subject in EjbClientAction : Subject:
        Principal: SSOToken [ssoToken=AQIC5wM2LY4Sfcy+LRQIkK+Qs0x3sQ3TBq2/ORa0FjIwLyA=@AAJTSQACMDE=#]
        Principal: [groupName=Roles, members=[[roleName=adminRole]]]
2008-10-07 16:15:29,390 INFO  [STDOUT] SimpleSLSB printMessage : from ESB
2008-10-07 16:15:29,390 INFO  [STDOUT] SimpleSLSB Caller principal: SSOToken [ssoToken=AQIC5wM2LY4Sfcy+LRQIkK+Qs0x3sQ3TBq2/ORa0FjIwLyA=@AAJTSQACMDE=#]
2008-10-07 16:15:29,393 INFO  [STDOUT] isCallerInRole('adminRole') : true


standalone server: 

16:01:19,619 INFO  [STDOUT] In Service3: 
16:01:19,619 INFO  [STDOUT] [Message payload example(just a String) ].
16:01:19,620 INFO  [STDOUT] Subject in EjbClientAction : Subject:
        Principal: SSOToken [ssoToken=AQIC5wM2LY4SfcxW/a9w/n63ZdIytss7UlXyNDCktDHSq5s=@AAJTSQACMDE=#]
        Principal: [groupName=Roles, members=[[roleName=adminRole]]]
16:01:19,622 INFO  [STDOUT] Could not lookup 'SimpleSLSB/remote'.Please make sure that the target server supports EJBs



Comment 5 Len DiMaggio 2009-03-16 14:05:05 UTC
Link: Added: This issue related SOA-1233