How to configure and run ADF?

cancel
Showing results for 
Search instead for 
Did you mean: 
wktham
Active Member II

How to configure and run ADF?

Jump to solution

Hi, I am trying to install and configure ADF. Managed to get the login in screen, at http://localhost:3000 but when I try to loging using admin@app-activiti.com, I got this error

"Request has been terminated Possible causes: the network is offline, Origin is not allowed by Access-Control-Allow-Origin, the page is being unloaded, etc."

I am following this tutorial:

ADF 101 - Getting Started with Alfresco Application Development Framework

and

ADF CORS solving strategies

Tried option 1, 2 and 4 without success.

Any help?

Thanks.

1 Solution

Accepted Solutions
wktham
Active Member II

Re: How to configure and run ADF?

Jump to solution

Hi Eugenio & Francesco,

With Content Services set to 'off', I guess,  with user ID and password, I am able to login and get the Demo Application screen.

I think we can close/mark this as resolved.

View solution in original post

11 Replies
Moderator
Moderator

Re: How to configure and run ADF?

Jump to solution

Hi Tham,

I'm pretty sure it's a CORS related problem and you are following the right documents.

Can you please check (and provide, if not clear to you) a bigger portion of the log file?

I hope this will help you.

wktham
Active Member II

Re: How to configure and run ADF?

Jump to solution

Hi Francesco,

I try to search around and can't find and log file related to this.

Do you know which log file/s and where is this file located?

Thanks.

Moderator
Moderator

Re: How to configure and run ADF?

Jump to solution

Yes, you right Tham, I used log file but the evidence of the issue is in the log of the browser.

Can you please check (and share if you'd want) the complete error message you can see in the console of the browser.
In case of CORS, you should find a detailed description of it.

wktham
Active Member II

Re: How to configure and run ADF?

Jump to solution

Hi Francesco,

I am not sure if this print screen give any indicate of the error. Seems some authentication related error.

Highlighted
Moderator
Moderator

Re: How to configure and run ADF?

Jump to solution

Is your Alfresco Process Services running at localhost at port 8080?

wktham
Active Member II

Re: How to configure and run ADF?

Jump to solution

Yes, my APS is running in port 8080.

This is my url. Able to login and do all the usual APS stuff.

http://localhost:8080/activiti-app/#/login 

Moderator
Moderator

Re: How to configure and run ADF?

Jump to solution

Hi Tham Wai Kok‌ do you have both content service and business services (APS) running ? If yes which are they address?

wktham
Active Member II

Re: How to configure and run ADF?

Jump to solution

Hi Eugenio,

I only have APS install and using port 8080.

When I am running this command:

yo ng2-alfresco-app
For Alfresco platform server URL, I am using 9999. (anyway I don't have this install)
And for Activiti platform server URL, I use 8080.
I guess, I am using the correct port.

wktham
Active Member II

Re: How to configure and run ADF?

Jump to solution

Hi Eugenio & Francesco,

With Content Services set to 'off', I guess,  with user ID and password, I am able to login and get the Demo Application screen.

I think we can close/mark this as resolved.

View solution in original post