cancel
Showing results for 
Search instead for 
Did you mean: 

can login to /alfresco but i can't login to /share

globe
Champ in-the-making
Champ in-the-making
Hi , i have installed Alfresco labs ; decompress it , i have change the server.xml conf ; and change the port other than  8080 ; and then i start normally alfresco;
but i'm not able to connection to share , it give me :

the msg:

[i]Failed to Login
The remote server may be unavailable or your authentication details have not been recognized.[/i]

(i'm tryng to connect true admin/admin)

but using /alfresco i login with admin/admin and no problem !


and thanks for your help
20 REPLIES 20

dpa_74
Champ in-the-making
Champ in-the-making
I've added your debug entries at the end of the file in tomcat/webapps/alfresco/WEB-INF/classes/log4j.properties.  There's another log4j.properties in …/share/…  which one is the right one?
After tomcat re-start, debug appears to kick in, as the log file shows… but nothing shows up in alfresco.log following the authentication attempts.

00:01:01,147 WARN  [org.springframework.jmx.support.JmxUtils] Found more than one MBeanServer instance. Returning first from list.
00:01:02,656 INFO  [org.alfresco.config.xml.XMLConfigService$PropertyConfigurer] Loading properties file from class path resource [alfresco/f
ile-servers.properties]
00:01:03,934 DEBUG [org.alfresco.web.scripts.servlet.EndPointProxyServlet] preRegister called. Server=com.sun.jmx.mbeanserver.JmxMBeanServer@
7b30e03a, name=log4j:logger=org.alfresco.web.scripts.servlet.EndPointProxyServlet
00:01:03,937 DEBUG [org.alfresco.connector] preRegister called. Server=com.sun.jmx.mbeanserver.JmxMBeanServer@7b30e03a, name=log4j:logger=org
.alfresco.connector
00:01:03,939 DEBUG [org.alfresco.web.scripts.RemoteStore] preRegister called. Server=com.sun.jmx.mbeanserver.JmxMBeanServer@7b30e03a, name=lo
g4j:logger=org.alfresco.web.scripts.RemoteStore

dpa_74
Champ in-the-making
Champ in-the-making
Finally I got the debugging running and you were right… the connector can't connect … see the log below.

Any ideas? 

there's currently no firewall and I wouldn't know how to tweak Tomcat to allow/block this traffic but it must be somewhere in tomcat's configuration I guess because as you suggested, I also tested in a standard Tomcat (bundled with Suse) and it worked.

16:46:57,391 INFO  [org.alfresco.web.site.FrameworkHelper] Successfully Initialized Web Framework
16:47:02,241 DEBUG [org.alfresco.connector.AuthenticatingConnector] Performing authentication handshake
16:47:02,284 DEBUG [org.alfresco.connector.AuthenticatingConnector] Authentication handshake using credentials: {cleartextUsername=admin, cleartextPassword=d
gRLpDezehSMqEfa}
16:47:02,284 DEBUG [org.alfresco.connector.AuthenticatingConnector] Authentication handshake using connectorSession: org.alfresco.connector.ConnectorSession@
4f4953e6
16:47:02,297 DEBUG [org.alfresco.connector.AlfrescoAuthenticator] Authenticating user: admin
16:47:02,300 DEBUG [org.alfresco.connector.RemoteClient] Executing (GET) http://localhost:8080/alfresco/s/api/login?u=admin&pw=dgRLpDezehSMqEfa
16:47:02,300 DEBUG [org.alfresco.connector.RemoteClient]  - OutputStream supplied - will stream response…
16:47:03,133 DEBUG [org.alfresco.connector.RemoteClient] Error status 498 Connection refused
16:47:03,134 DEBUG [org.alfresco.connector.AlfrescoAuthenticator] Authentication failed, received response code: 498
16:47:03,193 DEBUG [org.alfresco.connector.AuthenticatingConnector] Performing authentication handshake
16:47:03,193 DEBUG [org.alfresco.connector.AuthenticatingConnector] Authentication handshake using credentials: {cleartextUsername=admin, cleartextPassword=d
gRLpDezehSMqEfa}
16:47:03,193 DEBUG [org.alfresco.connector.AuthenticatingConnector] Authentication handshake using connectorSession: org.alfresco.connector.ConnectorSession@
4f4953e6
16:47:03,193 DEBUG [org.alfresco.connector.AlfrescoAuthenticator] Authenticating user: admin
16:47:03,193 DEBUG [org.alfresco.connector.RemoteClient] Executing (GET) http://localhost:8080/alfresco/s/api/login?u=admin&pw=dgRLpDezehSMqEfa
16:47:03,193 DEBUG [org.alfresco.connector.RemoteClient]  - OutputStream supplied - will stream response…
16:47:03,194 DEBUG [org.alfresco.connector.RemoteClient] Error status 498 Connection refused
16:47:03,194 DEBUG [org.alfresco.connector.AlfrescoAuthenticator] Authentication failed, received response code: 498
16:47:03,194 DEBUG [org.alfresco.connector.RemoteClient] Executing (GET) http://localhost:8080/alfresco/s/remotestore/has/alfresco/site-data/themes/default.x
ml?s=sitestore
16:47:03,194 DEBUG [org.alfresco.connector.RemoteClient]  - OutputStream supplied - will stream response…
16:47:03,195 DEBUG [org.alfresco.connector.RemoteClient] Error status 498 Connection refused
16:47:03,195 DEBUG [org.alfresco.connector.AuthenticatingConnector] Received 498 on first call to: /remotestore/has/alfresco/site-data/themes/default.xml?s=s
itestore
16:47:03,195 DEBUG [org.alfresco.web.scripts.RemoteStore] RemoteStore.hasDocument() default.xml = false
16:47:03,203 DEBUG [org.alfresco.connector.AuthenticatingConnector] Performing authentication handshake
16:47:03,203 DEBUG [org.alfresco.connector.AuthenticatingConnector] Authentication handshake using credentials: {cleartextUsername=admin, cleartextPassword=d
gRLpDezehSMqEfa}
16:47:03,203 DEBUG [org.alfresco.connector.AuthenticatingConnector] Authentication handshake using connectorSession: org.alfresco.connector.ConnectorSession@
4f4953e6
16:47:03,203 DEBUG [org.alfresco.connector.AlfrescoAuthenticator] Authenticating user: admin
16:47:03,203 DEBUG [org.alfresco.connector.RemoteClient] Executing (GET) http://localhost:8080/alfresco/s/api/login?u=admin&pw=dgRLpDezehSMqEfa
16:47:03,203 DEBUG [org.alfresco.connector.RemoteClient]  - OutputStream supplied - will stream response…
16:47:03,204 DEBUG [org.alfresco.connector.RemoteClient] Error status 498 Connection refused
16:47:03,204 DEBUG [org.alfresco.connector.AlfrescoAuthenticator] Authentication failed, received response code: 498
16:47:03,204 DEBUG [org.alfresco.connector.AuthenticatingConnector] Received 500 on first call to: /remotestore/has/alfresco/site-data/pages/slingshot-login.
xml?s=sitestore
16:47:03,204 DEBUG [org.alfresco.web.scripts.RemoteStore] RemoteStore.hasDocument() slingshot-login.xml = false
16:47:03,207 DEBUG [org.alfresco.connector.AuthenticatingConnector] Performing authentication handshake
16:47:03,207 DEBUG [org.alfresco.connector.AuthenticatingConnector] Authentication handshake using credentials: {cleartextUsername=admin, cleartextPassword=d
gRLpDezehSMqEfa}
16:47:03,207 DEBUG [org.alfresco.connector.AuthenticatingConnector] Authentication handshake using connectorSession: org.alfresco.connector.ConnectorSession@
4f4953e6
16:47:03,207 DEBUG [org.alfresco.connector.AlfrescoAuthenticator] Authenticating user: admin
16:47:03,207 DEBUG [org.alfresco.connector.RemoteClient] Executing (GET) http://localhost:8080/alfresco/s/api/login?u=admin&pw=dgRLpDezehSMqEfa
16:47:03,207 DEBUG [org.alfresco.connector.RemoteClient]  - OutputStream supplied - will stream response…
16:47:03,208 DEBUG [org.alfresco.connector.RemoteClient] Error status 498 Connection refused
16:47:03,208 DEBUG [org.alfresco.connector.AlfrescoAuthenticator] Authentication failed, received response code: 498
16:47:03,208 DEBUG [org.alfresco.connector.AuthenticatingConnector] Received 500 on first call to: /remotestore/has/alfresco/site-data/configurations/slingsh
ot.site.configuration.xml?s=sitestore
16:47:03,208 DEBUG [org.alfresco.web.scripts.RemoteStore] RemoteStore.hasDocument() slingshot.site.configuration.xml = false
16:47:03,215 DEBUG [org.alfresco.connector.AuthenticatingConnector] Performing authentication handshake
16:47:03,216 DEBUG [org.alfresco.connector.AuthenticatingConnector] Authentication handshake using credentials: {cleartextUsername=admin, cleartextPassword=d
gRLpDezehSMqEfa}
16:47:03,216 DEBUG [org.alfresco.connector.AuthenticatingConnector] Authentication handshake using connectorSession: org.alfresco.connector.ConnectorSession@
4f4953e6
16:47:03,216 DEBUG [org.alfresco.connector.AlfrescoAuthenticator] Authenticating user: admin
16:47:03,216 DEBUG [org.alfresco.connector.RemoteClient] Executing (GET) http://localhost:8080/alfresco/s/api/login?u=admin&pw=dgRLpDezehSMqEfa
16:47:03,216 DEBUG [org.alfresco.connector.RemoteClient]  - OutputStream supplied - will stream response…
16:47:03,217 DEBUG [org.alfresco.connector.RemoteClient] Error status 498 Connection refused
16:47:03,217 DEBUG [org.alfresco.connector.AlfrescoAuthenticator] Authentication failed, received response code: 498
16:47:03,217 DEBUG [org.alfresco.connector.AuthenticatingConnector] Received 500 on first call to: /remotestore/has/alfresco/site-data/template-instances/sli
ngshot-login.xml?s=sitestore
16:47:03,217 DEBUG [org.alfresco.web.scripts.RemoteStore] RemoteStore.hasDocument() slingshot-login.xml = false
16:47:03,230 DEBUG [org.alfresco.connector.AuthenticatingConnector] Performing authentication handshake
16:47:03,230 DEBUG [org.alfresco.connector.AuthenticatingConnector] Authentication handshake using credentials: {cleartextUsername=admin, cleartextPassword=d
gRLpDezehSMqEfa}
16:47:03,230 DEBUG [org.alfresco.connector.AuthenticatingConnector] Authentication handshake using connectorSession: org.alfresco.connector.ConnectorSession@
4f4953e6
16:47:03,230 DEBUG [org.alfresco.connector.AlfrescoAuthenticator] Authenticating user: admin
16:47:03,231 DEBUG [org.alfresco.connector.RemoteClient] Executing (GET) http://localhost:8080/alfresco/s/api/login?u=admin&pw=dgRLpDezehSMqEfa
16:47:03,231 DEBUG [org.alfresco.connector.RemoteClient]  - OutputStream supplied - will stream response…
16:47:03,232 DEBUG [org.alfresco.connector.RemoteClient] Error status 498 Connection refused
16:47:03,232 DEBUG [org.alfresco.connector.AlfrescoAuthenticator] Authentication failed, received response code: 498
16:47:03,232 DEBUG [org.alfresco.connector.AuthenticatingConnector] Received 500 on first call to: /remotestore/has/alfresco/site-data/template-types/org/alf
resco/global/slingshot-login.xml?s=sitestore
16:47:03,232 DEBUG [org.alfresco.web.scripts.RemoteStore] RemoteStore.hasDocument() org/alfresco/global/slingshot-login.xml = false
16:47:03,232 DEBUG [org.alfresco.connector.AuthenticatingConnector] Performing authentication handshake
16:47:03,232 DEBUG [org.alfresco.connector.AuthenticatingConnector] Authentication handshake using credentials: {cleartextUsername=admin, cleartextPassword=d
gRLpDezehSMqEfa}
16:47:03,232 DEBUG [org.alfresco.connector.AuthenticatingConnector] Authentication handshake using connectorSession: org.alfresco.connector.ConnectorSession@
4f4953e6
16:47:03,232 DEBUG [org.alfresco.connector.AlfrescoAuthenticator] Authenticating user: admin
16:47:03,232 DEBUG [org.alfresco.connector.RemoteClient] Executing (GET) http://localhost:8080/alfresco/s/api/login?u=admin&pw=dgRLpDezehSMqEfa
16:47:03,232 DEBUG [org.alfresco.connector.RemoteClient]  - OutputStream supplied - will stream response…
16:47:03,233 DEBUG [org.alfresco.connector.RemoteClient] Error status 498 Connection refused
16:47:03,233 DEBUG [org.alfresco.connector.AlfrescoAuthenticator] Authentication failed, received response code: 498
16:47:03,233 DEBUG [org.alfresco.connector.AuthenticatingConnector] Received 500 on first call to: /remotestore/has/alfresco/site-data/template-types/freemar
ker.xml?s=sitestore
16:47:03,233 DEBUG [org.alfresco.web.scripts.RemoteStore] RemoteStore.hasDocument() freemarker.xml = false

pedroalb
Champ in-the-making
Champ in-the-making
Hi,

I am using alfresco / share 3.4 and I managed to install Alfresco smoothly.
First, I was using the default app path configuration: http://localhost:8080/alfresco and http://localhost:8080/share. With this configuration, I could login into Share with Alfresco users.
However, I needed to change the path to http://localhost:8080/es/alfresco and http://localhost:8080/share but now I can only login into Alfresco Explorer and not into Share.  I get this error: "The remote server may be unavailable or your authentication details have not been recognized."

Do you have any idea where I can change the Share configuration to look into the new path?

Cheers!

kevinr
Star Contributor
Star Contributor
Yes, assuming a standard setup, you will have:
tomcat\shared\classes\alfresco\web-extension\share-config-custom.xml

Enable (remove XML comments) around the Remote section on changing the ports, and update the endpoint-url to the new alfresco url e.g.

   <config evaluator="string-compare" condition="Remote">
      <remote>
         <endpoint>
            <id>alfresco-noauth</id>
            <name>Alfresco - unauthenticated access</name>
            <description>Access to Alfresco Repository WebScripts that do not require authentication</description>
            <connector-id>alfresco</connector-id>
            <endpoint-url>http://localhost:8080/es/alfresco/s</endpoint-url>
            <identity>none</identity>
         </endpoint>

         <endpoint>
            <id>alfresco</id>
            <name>Alfresco - user access</name>
            <description>Access to Alfresco Repository WebScripts that require user authentication</description>
            <connector-id>alfresco</connector-id>
            <endpoint-url>http://localhost:8080/es/alfresco/s</endpoint-url>
            <identity>user</identity>
         </endpoint>

         <endpoint>
            <id>alfresco-feed</id>
            <name>Alfresco Feed</name>
            <description>Alfresco Feed - supports basic HTTP authentication via the EndPointProxyServlet</description>
            <connector-id>http</connector-id>
            <endpoint-url>http://localhost:8080/es/alfresco/s</endpoint-url>
            <basic-auth>true</basic-auth>
            <identity>user</identity>
         </endpoint>
      </remote>
   </config>

erickmonteiro
Champ in-the-making
Champ in-the-making
Please, help me. I tried to change these settings but my file is this:

<config evaluator="string-compare" condition="Remote">
      <remote>
         <endpoint>
            <id>alfresco-noauth</id>
            <name>Alfresco - unauthenticated access</name>
            <description>Access to Alfresco Repository WebScripts that do not require authentication</description>
            <connector-id>alfresco</connector-id>
            <endpoint-url>http://localhost:8081/alfresco/s</endpoint-url>
            <identity>none</identity>
         </endpoint>

         <endpoint>
            <id>alfresco</id>
            <name>Alfresco - user access</name>
            <description>Access to Alfresco Repository WebScripts that require user authentication</description>
            <connector-id>alfresco</connector-id>
            <endpoint-url>http://localhost:8081/alfresco/s</endpoint-url>
            <identity>user</identity>
         </endpoint>

         <endpoint>
            <id>alfresco-feed</id>
            <name>Alfresco Feed</name>
            <description>Alfresco Feed - supports basic HTTP authentication via the EndPointProxyServlet</description>
            <connector-id>http</connector-id>
            <endpoint-url>http://localhost:8081/alfresco/s</endpoint-url>
            <basic-auth>true</basic-auth>
            <identity>user</identity>
         </endpoint>
        
         <endpoint>
            <id>activiti-admin</id>
            <name>Activiti Admin UI - user access</name>
            <description>Access to Activiti Admin UI, that requires user authentication</description>
            <connector-id>activiti-admin-connector</connector-id>
            <endpoint-url>http://localhost:8080/alfresco/activiti-admin</endpoint-url>
            <identity>user</identity>
         </endpoint>
      </remote>
   </config>

What do I do with the last block?

pedroalb
Champ in-the-making
Champ in-the-making
Hi,

Thanks for your reply.
I installed Alfresco Explorer and Share based on war files and did not used the standard installation.
However, I could find the share-config.xml file.
The Remote section did not exist. I created one like your example and it worked Smiley Happy

Thanks again.

venkatams
Champ in-the-making
Champ in-the-making
Hi,
I tried all the options suggested and still not able to login to /share. Additionally, I am not even prompted with authentication credentials when I try to access /alfresco. Please help, am new to Alfresco and running it on ubuntu 11.04.

Thanks
Venkat

mikeh
Star Contributor
Star Contributor
Hi,
I tried all the options suggested and still not able to login to /share. Additionally, I am not even prompted with authentication credentials when I try to access /alfresco. Please help, am new to Alfresco and running it on ubuntu 11.04.

Thanks
Venkat
http://forums.alfresco.com/en/viewtopic.php?f=8&t=23538

patrick1140
Champ in-the-making
Champ in-the-making
Hello,

Same issue on 4.0 under Linux x64 Smiley Sad

All is ok on /alfresco but i can't login with same user name on /share

Standard install, nothing "special"

Any idea, need of a log file ?

mikeh
Star Contributor
Star Contributor
Any idea, need of a log file ?
Yes - unfortunately there's very little anyone can help you with without some more detail.

Thanks,
Mike
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.