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

kytsym
Champ in-the-making
Champ in-the-making
Man how frustrating was this install.

I tired Vista, Xp, Labs 3, 2.9 version etc.

So i finally tried installing all the components individually

1st - JDK
2nd - Open Office
3rd - Alfresco

And now it works no problems. I can login and i'm up and working so far so good.

Maybe this helps you or not, might be worth a try

fatih
Champ in-the-making
Champ in-the-making
Hi guys,

I am really in terrible with Alfresco!! I gave my two days to install Alfresco only, but I could not. I did everything whatever written in forums, installation instruction, wiki, anywhere! Nothings work well.. At the end I tried to install Release 3.0 but I got same error messages again. I stop the Alfresco server and start it again there is no page only "HTTP Status 404". Another time, started Alfresco server I got this error:

[color=#FF0000]org.alfresco.error.AlfrescoRuntimeException: Error during getUserPreferencesRef(): Write operations are not allowed in read-only mode (FlushMode.NEVER/MANUAL): Turn your Session into FlushMode.COMMIT/AUTO or remove 'readOnly' marker from transaction definition.
caused by:
org.springframework.dao.InvalidDataAccessApiUsageException: Write operations are not allowed in read-only mode (FlushMode.NEVER/MANUAL): Turn your Session into FlushMode.COMMIT/AUTO or remove 'readOnly' marker from transaction definition.[/color]

Hide Details

org.alfresco.error.AlfrescoRuntimeException: Error during getUserPreferencesRef(): Write operations are not allowed in read-only mode (FlushMode.NEVER/MANUAL): Turn your Session into FlushMode.COMMIT/AUTO or remove 'readOnly' marker from transaction definition.
at org.alfresco.web.bean.repository.User.getUserPreferencesRef(User.java:272)
at org.alfresco.web.bean.repository.User.getPreferences(User.java:206)
at org.alfresco.web.bean.repository.PreferencesService.getPreferences(PreferencesService.java:71)
at org.alfresco.web.app.Application.getLanguage(Application.java:691)
at org.alfresco.web.app.servlet.AuthenticationHelper.authenticate(AuthenticationHelper.java:248)
at org.alfresco.web.app.servlet.AuthenticationHelper.authenticate(AuthenticationHelper.java:109)
at org.alfresco.web.app.servlet.AuthenticationFilter.doFilter(AuthenticationFilter.java:75)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:595)
Caused by: org.springframework.dao.InvalidDataAccessApiUsageException: Write operations are not allowed in read-only mode (FlushMode.NEVER/MANUAL): Turn your Session into FlushMode.COMMIT/AUTO or remove 'readOnly' marker from transaction definition.
at org.springframework.orm.hibernate3.HibernateTemplate.checkWriteOperationAllowed(HibernateTemplate.java:1095)
at org.springframework.orm.hibernate3.HibernateTemplate$12.doInHibernate(HibernateTemplate.java:634)
at org.springframework.orm.hibernate3.HibernateTemplate.execute(HibernateTemplate.java:372)
at org.springframework.orm.hibernate3.HibernateTemplate.save(HibernateTemplate.java:632)
at org.alfresco.repo.node.db.hibernate.HibernateNodeDaoServiceImpl.getCurrentTransaction(HibernateNodeDaoServiceImpl.java:381)
at org.alfresco.repo.node.db.hibernate.HibernateNodeDaoServiceImpl.updateNodeStatus(HibernateNodeDaoServiceImpl.java:731)
at org.alfresco.repo.node.db.hibernate.HibernateNodeDaoServiceImpl.recordNodeUpdate(HibernateNodeDaoServiceImpl.java:768)
at org.alfresco.repo.node.db.hibernate.HibernateNodeDaoServiceImpl.addNodeAspects(HibernateNodeDaoServiceImpl.java:1274)
at sun.reflect.GeneratedMethodAccessor301.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:296)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:177)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
at org.alfresco.repo.transaction.TransactionalDaoInterceptor.invoke(TransactionalDaoInterceptor.java:68)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
at org.alfresco.repo.domain.hibernate.DirtySessionMethodInterceptor.invoke(DirtySessionMethodInterceptor.java:381)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy2.addNodeAspects(Unknown Source)
at org.alfresco.repo.node.db.DbNodeServiceImpl.addAspect(DbNodeServiceImpl.java:577)
at sun.reflect.GeneratedMethodAccessor290.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:296)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:177)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
at org.alfresco.repo.transaction.SingleEntryTransactionResourceInterceptor.invokeInternal(SingleEntryTransactionResourceInterceptor.java:163)
at org.alfresco.repo.transaction.SingleEntryTransactionResourceInterceptor.invoke(SingleEntryTransactionResourceInterceptor.java:138)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy4.addAspect(Unknown Source)
at sun.reflect.GeneratedMethodAccessor290.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:296)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:177)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
at org.alfresco.repo.tenant.MultiTNodeServiceInterceptor.invoke(MultiTNodeServiceInterceptor.java:114)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy4.addAspect(Unknown Source)
at sun.reflect.GeneratedMethodAccessor290.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.alfresco.repo.service.StoreRedirectorProxyFactory$RedirectorInvocationHandler.invoke(StoreRedirectorProxyFactory.java:221)
at $Proxy5.addAspect(Unknown Source)
at sun.reflect.GeneratedMethodAccessor290.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:296)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:177)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
at org.alfresco.repo.node.MLPropertyInterceptor.invoke(MLPropertyInterceptor.java:241)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
at org.alfresco.repo.node.MLPropertyInterceptor.invoke(MLPropertyInterceptor.java:241)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
at org.alfresco.repo.node.NodeRefPropertyMethodInterceptor.invoke(NodeRefPropertyMethodInterceptor.java:140)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
at org.alfresco.repo.node.NodeRefPropertyMethodInterceptor.invoke(NodeRefPropertyMethodInterceptor.java:140)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy4.addAspect(Unknown Source)
at org.alfresco.repo.configuration.ConfigurableServiceImpl.makeConfigurable(ConfigurableServiceImpl.java:57)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:296)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:177)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:107)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy169.makeConfigurable(Unknown Source)
at org.alfresco.web.bean.repository.User.getUserPreferencesRef(User.java:234)
… 18 more
Return to application
Logout

I'like to use Alfresco for document management, but it does not help even been installed!!

Pls help.

monitloth
Champ on-the-rise
Champ on-the-rise
I changed the port to something else and it didn't work, until resetting it to the default.

So ewentworth has right.

quesadam
Champ in-the-making
Champ in-the-making
My "Share login" problems were a bit different than yours but it might be relevant to mention it here. They were related to the fact that I did not expose the "alfresco" application via the default Tomcat virtual host "localhost". As a result the "Share" application was not able to find the Alfresco urls correctly because by default all the configuration files under the "Share" application point to Alfresco resources assuming that it lives under the default Tomcat virtual host "localhost" . Most people who use the Alfresco/Tomcat bundle don't have to deal with this but I chose to deploy the "alfresco.war" file under an existing Tomcat server. I like having more control of the Tomcat server. This is an installation of "alfresco-labs-war-3c" under Ubuntu Server 8.10 with Tomcat 6. The database server is MySQL 5.0.51a-3ubuntu5.4 hosted in a separate Ubuntu Server 8.10.

Anyway, here's the story: If you are not exposing your Alfresco application via the Tomcat default virtual host "localhost" but instead you are using a more formal virtual host like "www.mydomain.com"; then, in order to get the "Share" application to work (http://www.mydomain.com:8080/share) ALL the configuration files under "$TOMCAT-INSTALL-PATH/webapps/$ALFRESCO-PATH/share" MUST be changed to replace any references to "localhost" to the more formal "www.mydomain.com" virtual host. That's because, if Alfresco was declared to live as a resource under the virtual directory "www.mydomain.com" Tomcat will not serve or resolve the url "http://localhost:8080/alfresco" to anything it knows and your "Share" application will give you "login" errors. Your "Share" application must point to "http://www.mydomain.com:8080" (or whatever other port you are using for Tomcat) so that it can successfully link and integrate with the "Alfresco" resources.

Sorry if this is confusing but my first language is Spanish.

Best regards,

Alejandro.

thestorm
Champ in-the-making
Champ in-the-making
2 solutions to the login problem cause i also had many times

if alfresco worked till your first restart you didnt enable the db.schema.update=true in /tomcat/shared/classes/alfresco/extension/custom-repository.properties

i couldn't fix this until i did a new install of the system

2n solution if it never worked you should get the java6db module (derby database) its not included in java6se (also in apt on linux its an own package) and then change to mysql like in this tutorial: http://wiki.alfresco.com/wiki/Installing_Alfresco_Lab_3b_on_Ubuntu_8.04#Change_HSQL_Database_to_MySQ...

(Windows way is kinda similar) the binary didnt use my input of using mysql at setup i changed same files as in linux description.

if you restart alfresco on linux use the alfresco.sh stop and then kill the java process manually (ps -waux and then kill PID)

hope it helped a bit

flm
Champ in-the-making
Champ in-the-making
I like to add on more reason the login to share could fail. I just installed 3.0final and got the same error "The remote server may be unavailable or your authentication details have not been recognized." when accessing http://localhost:8080/share.

It turned out, my local windows firewall blocked tomcat from accessing itself (share accessing the alfresco webapp at localhost). So make sure the tomcat process can open http connections to localhost.

Hope it helps someone.

Regards,
Florian

mikeh
Star Contributor
Star Contributor
I like to add on more reason the login to share could fail. I just installed 3.0final and got the same error "The remote server may be unavailable or your authentication details have not been recognized." when accessing http://localhost:8080/share.

It turned out, my local windows firewall blocked tomcat from accessing itself (share accessing the alfresco webapp at localhost). So make sure the tomcat process can open http connections to localhost.

Hope it helps someone.

Regards,
Florian

Excellent tip!

Thanks,
Mike

sselvan
Champ in-the-making
Champ in-the-making
I have waited till the "INFO: Server startup in 363663 ms" in the server console.

But of no use. I still get this login problem - when I try to login into SHARE.
I am able to login into Alfresco, but not into SHARE.

It keeps on saying - "Failed to Login: The remote server may be unavailable or your authentication details have not been recognized."
I used Alfresco-Labs-3Stable-Full-Setup.exe to install in my windows laptop.

This is very frustrating. I have also removed the database and installed a new Alfresco copy. But, still having these issues!

Any help?! Thank you!!

webrat
Champ in-the-making
Champ in-the-making
I have a very similar problem but still no solution for it.
http://forums.alfresco.com/en/viewtopic.php?f=8&t=18993 More detailled description (to not mess up this thread)

anya
Champ in-the-making
Champ in-the-making
Set in webscript-framework-config.xml port which Tomcat uses. :wink: