|
From: Nina J. <jel...@gm...> - 2013-11-05 17:20:22
|
Dear Chandu, On 5 November 2013 18:18, Chandu <mai...@gm...> wrote: > Hi, > > I was trying to install the ambit2 REST web services. I installed the > apache - tomcat in the /usr/local/ folder and them deployed the > ambit-rest-2.4.11<http://sourceforge.net/projects/ambit/files/Ambit2/AMBIT%20REST%20web%20services/services/ambit-rest-2.4.11/> > .war . > > 2.4.11 release comes with a preconfigured user and password, which can be changed by editing the configuration file WEB-INF\classes\ambit2\rest\config\config.prop #set to false to disable aa.local.enabled=true #sets user name aa.local.admin.name=theusername #sets user password aa.local.admin.pass=thepass Alternatively, you could set aa.enabled=true to enable OpenTox authentication and authorization When I am trying to create the ambit2 database. I am getting the error : > Could you tell how do you try to create the database. Do you have MySQL installed ? Please follow the instructions at http://ambit.sourceforge.net/install_ambitrest.html > > unauthorized (401) - The request requires user authentication > Chandu-MacBook-Pro:WEB-INF (Terminal) > > > If I use the web interface then a username and password authentication is > requested: > > > Message: To view this page, you must log in to area “ambit2” on > localhost:8080 > I tried with the sudo userID and Password but of no use. (Error code 401<http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.2> > Unauthorized) > Correct, the local machine credentials are not related at all to the web application. > > I tried with granting all privileges in the tomcat conf/tomcat_user.xml > file and use the username & Password. > Ambit does not use Tomcat users configuration. It is a Restlet http://restlet.org/ (not really servlet) application, which is configured to run under servlet container. > I tried changing the permissions of the tomcat/webapp/ambit2 folder as > well. but none of them were successful. > Indeed, setting the permissions is not related, > > I have no idea what's going wrong. Any help is very much appreciated. > Please edit the config.prop file and use the configured credentials to log in. Best regards, Nina > Many thanks :) > > Kind regards, > Chandu. > > > > > ------------------------------------------------------------------------------ > November Webinars for C, C++, Fortran Developers > Accelerate application performance with scalable programming models. > Explore > techniques for threading, error checking, porting, and tuning. Get the most > from the latest Intel processors and coprocessors. See abstracts and > register > http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk > _______________________________________________ > Ambit-developers mailing list > Amb...@li... > https://lists.sourceforge.net/lists/listinfo/ambit-developers > > |