cancel
Showing results for 
Search instead for 
Did you mean: 

Please help! 'Unable to retrieve License info' when trying to log on alfresco after installation, using default admin user

yunxing
Champ in-the-making
Champ in-the-making
I just installed Alfresco Community 4.2.f on my server: centos5, tomcat7, jdk 1.7, postgres 9.2. Then when I launched the login page http://myhostname:8080/share/, and entered default logon authentication: username = admin & password = admin, it gives "Your authentication details have not been recognized or Alfresco may not be available at this time." error on the logon page.

Then I went to check the tomcat log (catalina.out), there is only one line of log since tomcat started up: "2014-08-14 14:45:57,924  INFO  [web.site.EditionInterceptor] [http-bio-8080-exec-8] Unable to retrieve License information from Alfresco: 404
"

Does this have anything to do with alfresco license files? I don't have a license file as this is community edition.
Is there a more detailed log I can refer to for debugging this issue?
What can I do to solve this? I am really stuck.

Please help!
Thank you very much!

11 REPLIES 11

swilson
Champ in-the-making
Champ in-the-making
Have you set the path to JDK successfully?

yunxing
Champ in-the-making
Champ in-the-making
yes. I see in catalina.sh, if java_home is not set, it will pick up the default, my default is 1.7

Also I feel confident to say yes, because my previous default of jdk was 1.6, and when i tried to launch alfresco, it didn't launch at all, gave 404 error. Then after I upgraded jdk to 1.7, it finally was able to launch and gave me the log on page.

marsbard
Champ in-the-making
Champ in-the-making
I'm surprised you have only that error in your logs, normally I would expect something from the /alfresco side of things if you get that error.

What happens when you go to http://myhostname:8080/alfresco/ ?

yunxing
Champ in-the-making
Champ in-the-making
going to http://myhostname:8080/alfresco/ gives 404 error…. i have alfresco.war and share.war both in tomcat_home/webapps

mrogers
Star Contributor
Star Contributor
The license error is irrelevant.   There should be something in your alfresco.log saying why alfresco is not running.

yunxing
Champ in-the-making
Champ in-the-making
thanks. where is alfresco.log located?  under dir.root?

yunxing
Champ in-the-making
Champ in-the-making
found it

yunxing
Champ in-the-making
Champ in-the-making
didn't really understand the error, here i am only copying part of the error, as it's so long.

ERROR [org.springframework.web.context.ContextLoader] Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'authorityBridgeTableCache' defined in class path resource [alfresco/cache-context.xml]: Cannot resolve reference to bean 'tenantService' while setting bean property 'tenantService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tenantService' defined in file [/opt/apache-tomcat/webapps/alfresco/WEB-INF/classes/alfresco/mt/mt-context.xml]: Cannot resolve reference to bean 'tenantAdminDAO' while setting bean property 'tenantAdminDAO'

yunxing
Champ in-the-making
Champ in-the-making
the end of the error is like:

nested exception is java.lang.RuntimeException: Database connection failed: Cannot load JDBC driver class 'org.gjt.mm.mysql.Driver'

which is strange to me, as in file alfresco-global.properties, I set:

db.driver=org.postgresql.Driver
db.url=jdbcSmiley Tongueostgresql://localhost:5432/alfresco

but why the error message was saying "mysql.Driver"?
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.