Skip to first unread message

Dstudent

unread,
Feb 2, 2013, 5:24:47 PM2/2/13
to d...@openmrs.org
Hello, my name is Ned Basha,
I am completely new to OpenMRS and I would like to get involved in a project. 
This is a project I am trying to accomplish for a class in college. 

Firstly,
I would like to begin testing, I would like to be a tester for the application so I can learn more about it.
Can someone please help me get started?
I am currently clueless about how to start.

Thanks in advance,
Ned

Dstudent

unread,
Feb 2, 2013, 10:21:04 PM2/2/13
to d...@openmrs.org
Can someone help me with this? 

403 Access Denied

You are not authorized to view this page.

If you have already configured the Manager application to allow access and you have used your browsers back button, used a saved book-mark or similar then you may have triggered the cross-site request forgery (CSRF) protection that has been enabled for the HTML interface of the Manager application. You will need to reset this protection by returning to the main Manager page. Once you return to this page, you will be able to continue using the Manager appliction's HTML interface normally. If you continue to see this access denied message, check that you have the necessary permissions to access this application.

If you have not changed any configuration files, please examine the file conf/tomcat-users.xml in your installation. That file must contain the credentials to let you use this webapp.

Here is my users config

<!--

  <role rolename="tomcat"/>

  <role rolename="role1"/>

  <user name="tomcat" password="tomcat" roles="tomcat,admin,manager"/>

  <user username="both" password="tomcat" roles="tomcat,role1"/>

  <user username="role1" password="tomcat" roles="role1"/>

<role rolename="manager-gui"/>

<user username="tomcat" password="s3cret" roles="manager-gui"/>

-->

</tomcat-users>

However they are not reconfigured on web.txt idk how to do it.

Suranga Kasthurirathne

unread,
Feb 2, 2013, 10:50:10 PM2/2/13
to d...@openmrs.org

Hi,

You need to edit your tomcat.conf file to add your own credentials. Are you using tomcat 6 or tomcat 7 ?

Try changing the file (by un-commenting and editing) to look like this-


<tomcat-users>
-------------
------------

 <role rolename="manager"/>
 <user username="YOURUSERNAME" password="YOURPASSWORD" roles="manager"/>
 
</tomcat-users>



--
OpenMRS Developers: http://go.openmrs.org/dev
Post: d...@openmrs.org
Unsubscribe: dev+uns...@openmrs.org
Manage your OpenMRS subscriptions at https://id.openmrs.org/
 
 



--
Best Regards,

Suranga

Dstudent

unread,
Feb 2, 2013, 11:06:06 PM2/2/13
to d...@openmrs.org
Thank you so much for your quick response, I actually copied the wrong line

Here is what I have, 
<tomcat-users>
<user name="tomcat" password="tomcat" roles="tomcat,admin,manager" />

tomcat tomcat brings me to the 403 page

Even if I add the  <role rolename="manager"/> it doesnt matter bc any browser redirects me to 403 once I tried to login once. 
Cleared the cache and all history but they all still redirect me to 403 without asking for username or password.

this happened in every browser, it only gave ,e the option of logging in once 

Any ideas?
Im running latest Java SDK and Tomcat 7


On Saturday, February 2, 2013 5:24:47 PM UTC-5, Dstudent wrote:
Reply all
Reply to author
Forward
0 new messages