cancel
Showing results for 
Search instead for 
Did you mean: 

Need help with ADF

ramprasad
Champ in-the-making
Champ in-the-making

I tried to get ADF working locally. I get the following error:

I went through the installation instructions. I have not enabled APS. Not sure where I went wrong. Any pointers? Thanks in advance.

24 REPLIES 24

Those files are for different scenarios.In the documentation is explained depends if you are using the angular cli or webpack.

0.0.0.0 should be fine I just tried on my environment. If you press on the top right corner over the setting blu button. Can you post here the URL configured there?

Can you configure this two address with:

Ecm: http://localhost:3000/ecm 

Bpm: http://localhost:3000/bpm 

with the address that is currently in your settings, you are not going to hit the proxy but you are hitting directly the BE.

I tried to apply the changes, does not work

While updating the info the system complained that the URL is incorrect. I have turned off APS. Using only ACS. I can log in directly to ACS using the regular URL and port 8080. However with the above values it comes back with "You have entered an invalid username or password"

is your project on a GIT repo accessible?

Local instance. Have not configured any GIT

eugenio_romano
Elite Collaborator
Elite Collaborator

can you share with me the configuration of yours:

app.config-dev.json

app.config-prod.json

Dev COnfiguration:

{
"ecmHost": "http://{hostname}:{port}/ecm",
"bpmHost": "http://{hostname}:{port}/bpm",
"application": {
"name": "Alfresco"
},
"pagination": {
"size": 25
},
"files": {
"excluded": [".DS_Store", "desktop.ini", ".git"]
},
"activiti": {
"rest": {
"fields": [
{
"processId": "0",
"taskId": "7501",
"fieldId": "label10",
"values": [
{ "id": "f1", "name": "Field 1" },
{ "id": "f2", "name": "Field 2" },
{ "id": "f3", "name": "Field 3" }
]
}
]
}
}
}

Prod Config file

{
"ecmHost": "http://127.0.0.1:8080",
"bpmHost": "http://127.0.0.1:9999",
"application": {
"name": "Alfresco"
},
"pagination": {
"size": 25
},
"files": {
"excluded": [".DS_Store", "desktop.ini", ".git"]
},
"activiti": {
"rest": {
"fields": [
{
"processId": "0",
"taskId": "7501",
"fieldId": "label10",
"values": [
{ "id": "f1", "name": "Field 1" },
{ "id": "f2", "name": "Field 2" },
{ "id": "f3", "name": "Field 3" }
]
}
]
}
}
}

which command do you use to start the server?

Alfresco Content Service - using the run file

ADF by using: npm start