wrong username/password when configuring AM and Web services database authentication

  • KM01215260
  • 20-Oct-2014
  • 20-Oct-2014

This document has not been formally reviewed for accuracy and is provided "as is" for your convenience.

Summary

In order for Tomcat6 to be properly configured you need to make sure that the SSL is working on the chosen port or there may be a wrong web services name

Error

2014/10/17 07:51:35.599               0              1              [Thrd#:5748](-2008) The user name or password is incorrect

Cause

Tomcat6 may be not configured correctly to use ssl or the webservices server may have a wrong syntax

Fix

If Tomcat does not work on SSL protocol please make sure you have the following parameters set in your ssl connector:

protocol="org.apache.coyote.http11.Http11Protocol"

SSLEnabled="true"

The whole line should look like:

 <Connector port="8443" maxHttpHeaderSize="8192" maxThreads="150" minSpareThreads="25" maxSpareThreads="75" enableLookups="false" protocol="org.apache.coyote.http11.Http11Protocol" SSLEnabled="true"
  disableUploadTimeout="true" acceptCount="100" scheme="https" secure="true" clientAuth="false" sslProtocol="TLS" keystorePass="wqazxc" keystoreFile="C:\dbpass.key"/>

Please make also sure that the APR engine is turned off like this:

  <Listener className="org.apache.catalina.core.AprLifecycleListener" SSLEngine="off" />

If you are still getting an error please make sure that the web service name only contains the server name and port like this:

https://localhost:8443