Bug 780298 (SOA-2700) - Teiid examples expect username "admin" and no longer run
Summary: Teiid examples expect username "admin" and no longer run
Keywords:
Status: CLOSED NEXTRELEASE
Alias: SOA-2700
Product: JBoss Enterprise SOA Platform 5
Classification: JBoss
Component: EDS
Version: 5.1.0.ER6
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 5.1.0.CR1
Assignee: Van Halbert
QA Contact:
URL: http://jira.jboss.org/jira/browse/SOA...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-12-20 09:56 UTC by Julian Coleman
Modified: 2011-02-10 18:29 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-02-10 18:29:02 UTC
Type: Bug


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker SOA-2700 0 Minor Closed Teiid examples expect username "admin" and no longer run 2014-03-21 08:17:57 UTC

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.


Note You need to log in before you can comment on or make changes to this bug.