cancel
Showing results for 
Search instead for 
Did you mean: 

Error logging into Alfresco Share

dorothy
Champ on-the-rise
Champ on-the-rise
I am following Jeff Tutorial series. I followed the steps as in http://ecmarchitect.com/alfresco-developer-series-tutorials/content/tutorial/tutorial.html. Since I do not have a free 8080 port, I gave the below mentioned commands for repo and share respectively


mvn integration-test -Pamp-to-war -Dmaven.tomcat.port=8081,
mvn integration-test -Pamp-to-war -Dmaven.tomcat.port=8082,

However, I get this error when I launch the URL: http://localhost:8082/share/page

Your authentication details have not been recognized or Alfresco may not be available at this time.

Also note that I am able to launch http://localhost:8081/alfresco/

Attached are the stack trace and the share-config-custom.xml
3 REPLIES 3

douglascrp
World-Class Innovator
World-Class Innovator
By looking at the message below from your log, it seems Alfresco and Share are ok:
INFO: Starting ProtocolHandler ["http-bio-8082"]
2015-11-25 14:30:35,862  INFO  [web.site.EditionInterceptor] [http-bio-8082-exec
-1] Successfully retrieved license information from Alfresco.

Are you sure you are providing the right user and password?

Can you log in using the alfresco application?
Acess the url  http://localhost:8081/alfresco/ and try to access the administration consoles.

I guess the problem was that there is another share-config-custom.xml in %ALFRESCO_HOME%\tomcat\shared\classes\alfresco\web-extension. The same changes need to be done there as well in order to take effect. Dont know why that is so, but it ws working after I made this change

douglascrp
World-Class Innovator
World-Class Innovator
That's because the file inside web-extension takes precedence over the other one.

You should avoid having the same configuration section in more than one file.