[solved] fresh install, can't log in

Have installed everything according to http://www.openvpms.org/documentation/installing-openvpms-windows-7-comp...

At step 17, started tomcat and tried to login at http://localhost:8080/openvpms/app

the admin/openvpms username and password does not work, ie the same login page is shown with "User name or password is incorrect".

Tomcat logs look ok except for tomcat6-stdout.xxx.log which logs

2012-04-26 20:03:20 Commons Daemon procrun stdout initialized
log4j:WARN No appenders could be found for logger (org.springframework.beans.factory.support.DisposableBeanAdapter).
log4j:WARN Please initialize the log4j system properly.
log4j:ERROR LogMananger.repositorySelector was null likely due to error in class reloading, using NOPLoggerRepository.  

Everything else to tomcat looks ok. The tables and initial data looks ok in mysql.

What can be the problem here?

Is there a way to find or reset the username and password? Or to better debug what is failing?

 

~mck

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Re: fresh install, can't log in

I've had logger errors before as well on some of my testmachines.  

If you checked the mysql tables - did you check to ensure the user table had an entry for admin, Openvpms passwords are not stored encrypted in mysql...so you can edit them manually.

the user/pass combo for a default install is

user: admin

pass: admin

the tomcat admin passwords are setup differently as are the username and password to the openvpms windows user.

I leave it to the others to comment on the error log you posted.

Ben

Re: fresh install, can't log in

> If you checked the mysql tables - did you check to ensure the user table had an entry for admin, Openvpms passwords
> are not stored encrypted in mysql...so you can edit them manually.

No, the user table was empty. I only checked the contents against source.db

Then I'm presuming the initial user row should have been inserted during the "dataload setup" command?

 

~mck

Re: fresh install, can't log in

> Then I'm presuming the initial user row should have been inserted during the "dataload setup" command?

Running `dataload setup`again fixed the problem.

Thanks for your help Ben.

 

~mck

Syndicate content