Bug 780298 (SOA-2700)

Summary: Teiid examples expect username "admin" and no longer run
Product: [JBoss] JBoss Enterprise SOA Platform 5 Reporter: Julian Coleman <jcoleman>
Component: EDSAssignee: Van Halbert <vhalbert>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 5.1.0.ER6   
Target Milestone: ---   
Target Release: 5.1.0.CR1   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/SOA-2700
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-02-10 18:29:02 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:

Description Julian Coleman 2010-12-20 09:56:54 UTC
project_key: SOA

After deploying the Teiid weather example (eds/teiid/examplesdynamicvdb-ws-weather),
it is not possible to run a query in the simpleclient directory because there is a mismatch
in the expected username "admin" and the configured username "teiid".  This leads to:

  Executing using the TeiidDriver
  Dec 20, 2010 10:49:58 AM org.teiid.jdbc.SocketProfile connect
  SEVERE: Could not create connection
  [ConnectionException]The username "admin" and/or password and/or payload token could not be authenticated by any membership domain.
  1 [LogonException]The username "admin" and/or password and/or payload token could not be authenticated by any membership domain.

Comment 1 Van Halbert 2010-12-20 13:47:24 UTC
Release Notes Text: Added: The default user name for the jdbc driver has been changed to removed confusion about using "admin".  So the default has been changed to   teiid  /  teiid.


Comment 2 Van Halbert 2010-12-20 13:56:07 UTC
Changes are required to patch the examples.

Comment 3 Van Halbert 2010-12-21 17:02:14 UTC
Changes have been committed to the soa build branch and should be in the CR1 release.

Comment 4 Paul Nittel 2011-02-03 16:59:09 UTC
There are three README files which should all be in synch for this to be resolved and closed.

The weather README is OK.

Change the portfolio README to include the reference to simpleclient's user name edits (as in the Weather README):
Edit JDBCClient.java and specify a username and password for a valid user account.

The simpleclient README should point out the username and password are hardcoded and should be edited to reflect a valid username and password.

Then we should be OK!

Comment 5 Van Halbert 2011-02-03 21:25:41 UTC
Added clarification to the README files as to what to do when the default username/password (user/user) are not used.

Comment 6 Len DiMaggio 2011-02-10 18:29:02 UTC
Verified fixed in ER9 build.