Passing user and password on the getConnection call

If the user and password are supplied on the getConnection call by a client running outside the WAS process, the connection factory or datasource looked up for obtaining connections must not have a component managed authentication alias defined on it.

  1. Make sure the connection factory or datasource does not have a component managed authentication alias defined on it. See Configuring Java 2 Connector connection factories in the administrative console for details.