cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco Labs 3 / Share login

tomcat
Champ in-the-making
Champ in-the-making
Hi,

I have installed Alfresco Labs 3 and followed all the instructions found here: http://wiki.alfresco.com/wiki/Installing_Labs_3 but when I try to login to the share using "admin" as the username and passworld like it says here: http://wiki.alfresco.com/wiki/Installing_Labs_3#Starting_the_web_client then I just get this error:

Failed to Login
The remote server may be unavailable or your authentication details have not been recognised.

Anyone know the right username/password combo or what the problem could be?
54 REPLIES 54

brassmachine
Champ in-the-making
Champ in-the-making
Hi

We have solved it.

The authentification between Share and Alfresco is managed by webscript-framework-config.xml files (both in Alfresco and Share file structure)

/opt/alfresco/tomcat/webapps/alfresco/WEB-INF/classes/alfresco
/opt/alfresco/tomcat/webapps/share/WEB-INF/classes/alfresco

Review your configuration in these files and check that the ports and the URL´s are correctly configured. In our case we had renamed "Alfresco" application to "Docs4Lawyers" so we had to change this string in the files. After rebooting it worked.

Applied on 3.2 Labs.

Hope it work for you.

Was trying to follow Peter's solution above, but my /opt/alfresco/tomcat/webapps/alfresco/WEB-INF/classes/alfresco directory is empty except for 2 directories –> extension and module.

should there be an xml file here? not sure where to go from here…

Thanks,

brassmachine
Champ in-the-making
Champ in-the-making
I should add that I only started having this issue after installing a custom dashlet, everything was working fine prior.

When installing the dashlet I updated my alfresco.war file with mmt, but the dashlet seems to be working for other organizations.

romad63
Champ in-the-making
Champ in-the-making
Seems I'm having the same issue as everyone else - installed 3.2r to a Windows 2003 standard server - followed wiki exactly but am unable to login to the /share still. Have reinstalled a couple of times. I am able to login to /alfresco as guest. I've read through the thread and followed the suggestions to no avail. I have disabled Windows firewall completely. I do get the /share login screen but it will not take the credentials I've created. Based on the thread this has been an ongoing issue for some time.

I am not experienced with Alfresco, or mysql at all so I'm not sure where to look in the log files and what corrections to make. whenever I attempt login all I get is:

Failed to Login
The remote server may be unavailable or your authentication details have not been recognized

what specifically do I need to do to get this work? VERY frustrating

messiah
Champ in-the-making
Champ in-the-making
just do what i do.it's work don't ask why:
1. uninstall mysql and all java already install in the computer
2. run C:\Alfresco\extras\databases\mysql\db_remove.bat
3. uninstall alfresco
4.install alfresco Alfresco-Community-3.3g-Full-Setup.exe
5.run C:\Alfresco\extras\databases\mysql\db_setup.bat
6.start alfresco server
:lol:

jacksoke
Champ in-the-making
Champ in-the-making
Hi,

I am getting a connection refused error with Alfresco Share (see below).  Is there a definitive way to change the ports so that Alfresco Share can be used on a port other than 8080.  There are a number of different suggestions on the Forums.

Thanks


16:54:48,493 DEBUG [org.apache.commons.httpclient.params.DefaultHttpParams] Set parameter http.connection.stalecheck = false
16:54:48,493 DEBUG [org.apache.commons.httpclient.params.DefaultHttpParams] Set parameter http.tcp.nodelay = true
16:54:48,493 DEBUG [org.apache.commons.httpclient.params.DefaultHttpParams] Set parameter http.connection.timeout = 5000
16:54:48,493 DEBUG [org.apache.commons.httpclient.params.DefaultHttpParams] Set parameter http.socket.timeout = 90000
16:54:48,494 DEBUG [org.apache.commons.httpclient.HttpConnection] Open connection to localhost:8080
16:54:48,497 DEBUG [org.apache.commons.httpclient.HttpMethodDirector] Closing the connection.
16:54:48,497 INFO  [org.apache.commons.httpclient.HttpMethodDirector] I/O exception (java.net.ConnectException) caught when processing request: Connection refused
16:54:48,497 DEBUG [org.apache.commons.httpclient.HttpMethodDirector] Connection refused
java.net.ConnectException: Connection refused
   at java.net.PlainSocketImpl.socketConnect(Native Method)
   at java.net.PlainSocketImpl.doConnect(Unknown Source)
   at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
   at java.net.PlainSocketImpl.connect(Unknown Source)
   at java.net.SocksSocketImpl.connect(Unknown Source)
   at java.net.Socket.connect(Unknown Source)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
   at java.lang.reflect.Method.invoke(Unknown Source)
   at org.apache.commons.httpclient.protocol.ReflectionSocketFactory.createSocket(ReflectionSocketFactory.java:140)
   at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:125)
   at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707)
   at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387)
   at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
   at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
   at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)
   at org.springframework.extensions.webscripts.connector.RemoteClient.service(RemoteClient.java:739)
   at org.springframework.extensions.webscripts.connector.RemoteClient.service(RemoteClient.java:553)
   at org.springframework.extensions.webscripts.connector.RemoteClient.call(RemoteClient.java:322)
   at org.springframework.extensions.webscripts.connector.RemoteClient.call(RemoteClient.java:256)
   at org.springframework.extensions.webscripts.connector.HttpConnector.call(HttpConnector.java:67)
   at org.springframework.extensions.webscripts.connector.AbstractConnector.call(AbstractConnector.java:67)
   at org.springframework.extensions.webscripts.connector.AuthenticatingConnector.call(AuthenticatingConnector.java:113)
   at org.springframework.extensions.webscripts.RemoteStore.callGet(RemoteStore.java:690)
   at org.springframework.extensions.webscripts.RemoteStore.hasDocument(RemoteStore.java:340)
   at org.springframework.extensions.surf.persister.PathStoreObjectPersister.getObject(PathStoreObjectPersister.java:216)
   at org.springframework.extensions.surf.persister.MultiObjectPersister.getObject(MultiObjectPersister.java:98)
   at org.springframework.extensions.surf.ObjectPersistenceService.getObject(ObjectPersistenceService.java:126)
   at org.springframework.extensions.surf.ModelObjectService.getObject(ModelObjectService.java:507)
   at org.springframework.extensions.surf.ModelObjectService.getConfiguration(ModelObjectService.java:135)
   at org.springframework.extensions.surf.site.SiteUtil.getSiteConfiguration(SiteUtil.java:99)
   at org.springframework.extensions.surf.support.AbstractRequestContext.getSiteConfiguration(AbstractRequestContext.java:138)
   at org.springframework.extensions.surf.mvc.ThemeInterceptor.preHandle(ThemeInterceptor.java:66)
   at org.springframework.web.servlet.handler.WebRequestHandlerInterceptorAdapter.preHandle(WebRequestHandlerInterceptorAdapter.java:54)
   at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:761)
   at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:716)
   at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:647)
   at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:563)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
   at java.lang.reflect.Method.invoke(Unknown Source)
   at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:244)
   at java.security.AccessController.doPrivileged(Native Method)
   at javax.security.auth.Subject.doAsPrivileged(Unknown Source)
   at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:276)
   at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:283)
   at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:56)
   at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:189)
   at java.security.AccessController.doPrivileged(Native Method)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:185)
   at org.alfresco.web.site.servlet.MTAuthenticationFilter.doFilter(MTAuthenticationFilter.java:67)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
   at java.lang.reflect.Method.invoke(Unknown Source)
   at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:244)
   at java.security.AccessController.doPrivileged(Native Method)
   at javax.security.auth.Subject.doAsPrivileged(Unknown Source)
   at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:276)
   at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:218)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)
   at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:56)
   at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:189)
   at java.security.AccessController.doPrivileged(Native Method)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:185)
   at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
   at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
   at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:563)
   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)
   at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
   at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584)
   at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
   at java.lang.Thread.run(Unknown Source)

chandu7ee
Champ in-the-making
Champ in-the-making
Is it possible to use two different share login pages for same instance of alfresco .

mikeh
Star Contributor
Star Contributor
Is it possible to use two different share login pages for same instance of alfresco .
The easiest option would be to deploy another instance of Share and customise it appropriately.

Thanks,
Mike

jacksoke
Champ in-the-making
Champ in-the-making
What is interesting is the issue is host specific.  I have installed the application on a different host in our environment and it has worked.  I have tried a third host and it doesnt work on that machine.

I suspect that there is a port clash or something host specific why I am getting the issue.

It would be good if there was a troubleshooting guide that consolidated all the information that has been put together on this issue.

chandu7ee
Champ in-the-making
Champ in-the-making
Is it possible to use two different share login pages for same instance of alfresco .
The easiest option would be to deploy another instance of Share and customise it appropriately.

Thanks,
Mike


I need two different login pages for same instance, is it possible to access same instance using that 2 login pages. if yes how it may be.

mikeh
Star Contributor
Star Contributor
I need two different login pages for same instance, is it possible to access same instance using that 2 login pages. if yes how it may be.
How would you decide which login page to show?

Put that logic in the slingshot-login.ftl and you've got your two login pages.

Thanks,
Mike