Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WARNING: Login required #5

Open
zakarea opened this issue May 29, 2012 · 2 comments
Open

WARNING: Login required #5

zakarea opened this issue May 29, 2012 · 2 comments

Comments

@zakarea
Copy link

zakarea commented May 29, 2012

Hi,

I use Netbeans 7.0 and install Apache Ant 1.8 and Tomcat 7.0, when i run Rain (Main class = Benchmark, Argument = rain.config.olio.json) I have the following warning message:

WARNING: Login required for AddEvent
WARNING: Login required for PersonDetails

when i explore the source code i found the following value URL:

public void initializeUrlAnchors()
{
this.baseURL = "http://" + this._loadTrack.getTargetHostName() + ":" + this._loadTrack.getTargetHostPort();
this.personDetailURL = this.baseURL + "/users/";
this.tagSearchURL = this.baseURL + "/events/tag_search/";
this.tagCloudURL = this.baseURL + "/tagCloud." + type;
this.addEventURL = this.baseURL + "/events/new";
this.addEventResultURL = this.baseURL + "/events/";
this.addPersonURL = this.baseURL + "/users/new";
this.addPersonResultURL = this.baseURL + "/users";
this.homepageURL = this.baseURL + "/";
this.loginURL = this.baseURL + "/users/login";
this.logoutURL = this.baseURL + "/users/logout";
this.addAttendeeURL = this.baseURL + "/events/";
this.eventDetailURL = this.baseURL + "/events/";
this.fileServiceURL = this.baseURL + "/fileService." + type + '?';
this.checkNameURL = this.baseURL + "/users/check_name";
}

When i print the baseURl it have a value >> "http://localhost:80", but what about "/events/", "/events/new", ...etc.
i believe there are missing code about server side?

Best Regards,
Zakarea Al Shara

@sguazt
Copy link
Contributor

sguazt commented Jun 18, 2012

I obtain similar warnings as well.
I am currently running RAIN against Olio (Ruby on Rails version)

Any idea?

Best,

-- Marco Guazzone

@zakarea
Copy link
Author

zakarea commented Jun 18, 2012

Unfortunately, No :(

On 18 June 2012 18:43, sguazt <
[email protected]

wrote:

I obtain similar warnings as well.
I am currently running RAIN against Olio (Ruby on Rails version)

Any idea?

Best,

-- Marco Guazzone


Reply to this email directly or view it on GitHub:

#5 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants