web stats
Unable to login to Administrator with 3.0.2 running on MySQL in Unix/Linux - Page 5 - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Reply
 
Thread Tools Display Modes
  #41  
Old 04-23-2014, 06:06 PM
dzilberman dzilberman is offline
OBX.2 Kenobi
 
Join Date: Sep 2013
Location: San Francisco, CA
Posts: 71
dzilberman is on a distinguished road
Default

Thank you nick!!!
Reply With Quote
  #42  
Old 04-23-2014, 11:08 PM
dzilberman dzilberman is offline
OBX.2 Kenobi
 
Join Date: Sep 2013
Location: San Francisco, CA
Posts: 71
dzilberman is on a distinguished road
Thumbs up

Quote:
Originally Posted by narupley View Post
Yes it should resolve that issue, because it was never really an authentication issue to begin with. That is, your username/password was fine, it was just the servlet code handling the login that was failing.
Nick - big thanks again for providing the workaround above. So, the servlet code was looking for "channels" tables vs. "CHANNEL", not finding it and hiding an exception but popping the "Invalid Username of Password" instead?

Good "lesson learned" story for all of us, here are a couple of things I would conclude from this experience as a Mirth user/developer:

1. Improve error messaging: the Invalid Login was VERY misleading and sent us along the path of checking DB connectivity, resetting "admin" password etc. Something more like "System experienced internal error, please see details in the Log file"?

2. Speaking of the log file: despite the fact that logging levels in mirth.properties are all set to DEBUG:

Quote:
# Mirth Connect channel logging
log4j.logger.transformer = DEBUG
log4j.logger.preprocessor = DEBUG
log4j.logger.postprocessor = DEBUG
log4j.logger.deploy = DEBUG
log4j.logger.shutdown = DEBUG
log4j.logger.filter = DEBUG
log4j.logger.db-connector = DEBUG
log4j.logger.js-connector = DEBUG
log4j.logger.attachment = DEBUG
there were NO messages about failing servlet in the log, last one was always:
Quote:
INFO 2014-04-23 22:48:53,569 [Thread-2] com.mirth.connect.server.Mirth: Web server running at http://172.31.16.10:9080/ and https://172.31.16.10:9443/
and no more details which otherwise would help to get to the root cause.

Don't mean this as a criticism, just a feedback - and thanks again for answering all of my questions (except one about the proper input format for XML with namespaces passed into Web Service Listener

cheers,
Dan Z
Reply With Quote
  #43  
Old 04-24-2014, 06:29 AM
rastababy rastababy is offline
OBX.2 Kenobi
 
Join Date: Mar 2008
Posts: 72
rastababy
Default

I second that. Nick thanks for all the help on this one! The view creation works like a charm. Do you think they will update the code to use UPPERCASE or the documentation to let MySQL users know ?

Thanks again.
Reply With Quote
  #44  
Old 04-24-2014, 06:47 AM
narupley's Avatar
narupley narupley is offline
Mirth Employee
 
Join Date: Oct 2010
Posts: 7,125
narupley is on a distinguished road
Default

Quote:
Originally Posted by rastababy View Post
I second that. Nick thanks for all the help on this one! The view creation works like a charm. Do you think they will update the code to use UPPERCASE or the documentation to let MySQL users know ?

Thanks again.
By "they" do you mean the Mirth Connect developers, of which I am one? haha

We're actually already using uppercase everywhere else, it was just this one query that was apparently overlooked. But in this case, we would probably change it from "SELECT 1 FROM channel" to just "SELECT 1". The point of the query is just to verify if the server has connectivity to the database.
__________________
Step 1: JAVA CACHE...DID YOU CLEAR ...wait, ding dong the witch is dead?

Nicholas Rupley
Work: 949-237-6069
Always include what Mirth Connect version you're working with. Also include (if applicable) the code you're using and full stacktraces for errors (use CODE tags). Posting your entire channel is helpful as well; make sure to scrub any PHI/passwords first.


- How do I foo?
- You just bar.
Reply With Quote
Reply

Tags
3.0.1, 3.0.2, login failure

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 10:07 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Mirth Corporation