NIH | National Cancer Institute | NCI Wiki  

Question: What do I do when I see the error "Invalid Login" or the "No Application found" error when I log in via UPT"?

Topic: caArray Installation and Upgrade

Release: Up to caArray 2.X

Date entered: 2/25/2009

Details about the Question

I created a new UPT user and UPT application (caArray) in UPT using the configuration from the caArray install guide. However, when logging in as the new user and specifying caArray as the application, I encountered the following error:

"No Application found for the Context Name. Invalid database login credentials in the application hibernate configuration file."

I know my database login credentials are correct because they are the same for all the LSD install.

Answer

The following are the common scenarios associated with login errors:

  • The user was not created in the right schema. If a caArray user is created properly, the user will be found in caArray's CSM_User table. To avoid any confusion, it is recommended to use different names for the database/schema owner and application admin/user. For details, see caArray 003 - Creating a caArray user with UPT, How to Create caArray User with UPT?
  • The Application Name created with UPT is case sensitive. For example, caaaray is not equal to caArray.
  • UPT does not support the environment variable substitution string (${}) for application configuration. Only literals are accepted. See MATKC:Caarray000009#Create_caArray_Application_with_UPT. Link out of date?
    • Incorrect: Application Database Driver: ${com.mysql.jdbc.Driver}
    • Correct: Application Database Driver: com.mysql.jdbc.Driver

Have a comment?

Please leave your comment in the caArray End User Forum.