cancel
Showing results for 
Search instead for 
Did you mean: 

Error Page After install

joksy
Champ in-the-making
Champ in-the-making
Hi guys, i m a new guy in the forum and i m newbie in Alfresco.

My job is to install alfresco but i found some problem.

I use the mac os x 10.5.6 .

After run the installer for mac Alfresco-Labs-3Stable-MacOS-X-Install and choose the typical installation i go through the manual for setting the mysql database.

1)
so edit the files
-Alfresco/tomcat/shared/classes/alfresco/extension/custom-repository.properties -> comment derby and uncoment mysql
the same for
-Alfresco/tomcat/shared/classes/alfresco/extension/Alfresco/tomcat/shared/classes/alfresco/extension/custom-repository.properties

2)add the mysql-connector in the tomcat/lib version 5.0.8

3) type from extras/database/mysql => mysql -u root < db_setup.sql
for granting alfresco and create a database.

then in the alfresco home type
./alfresco.sh start

and wait for the initialization.

after some minute i ll try to get into the localhost:8080/alfresco
and this is the result

HTTP Status 404 -

type Status report

message

description The requested resource () is not available.
Apache Tomcat/6.0.18

On the address localhost:8080/share i see the login form but no way to enter with 'admin' as username and password.

Here i post also the alfresco.log file

18:40:42,169 INFO  [org.alfresco.config.xml.XMLConfigService$PropertyConfigurer] Loading properties file from class path resource [alfresco/file-servers.properties]
18:40:42,708 ERROR [org.springframework.web.context.ContextLoader] Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'vtiServer' defined in file [/Users/joksy-pro/Alfresco/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/module/org.alfresco.module.vti/context/vti-context.xml]: Cannot resolve reference to bean 'vtiRequestDispatcher' while setting bean property 'servlet'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'vtiRequestDispatcher' defined in file [/Users/joksy-pro/Alfresco/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/module/org.alfresco.module.vti/context/vti-context.xml]: Cannot create inner bean 'org.alfresco.module.vti.web.VtiRequestDispatcher$ActionMapping#c60511' of type [org.alfresco.module.vti.web.VtiRequestDispatcher$ActionMapping] while setting constructor argument with key [1]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.alfresco.module.vti.web.VtiRequestDispatcher$ActionMapping#c60511' defined in file [/Users/joksy-pro/Alfresco/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/module/org.alfresco.module.vti/context/vti-context.xml]: Cannot resolve reference to bean 'vtiBinAction' while setting bean property 'action'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'vtiBinAction' defined in file [/Users/joksy-pro/Alfresco/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/module/org.alfresco.module.vti/context/vti-context.xml]: Cannot resolve reference to bean 'server_version_method' while setting bean property 'nameToVtiMethod' with key [TypedStringValue: value [server_version_method], target type [null]]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'server_version_method' defined in file [/Users/joksy-pro/Alfresco/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/module/org.alfresco.module.vti/context/vti-context.xml]: Cannot resolve reference to bean 'vtiHandler' while setting bean property 'vtiHandler'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'vtiHandler' defined in file [/Users/joksy-pro/Alfresco/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/module/org.alfresco.module.vti/context/vti-handler-alfresco3-context.xml]: Cannot resolve reference to bean 'vtiHandlerTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'vtiHandlerTarget' defined in file

NB: I look for to similar problem in the forum and in fact there are some reply but in my case nothing change, so probably is my mistake
NB2: the $JAVA_HOME is set to a jdk 5 not 6

Thanks in advance for help.
2 REPLIES 2

czach
Champ in-the-making
Champ in-the-making
Just had the same problem here, this is what I did to fix it:

The error was in the two config files. You need to set the lines to look like this:

In the file: custom-repository.properties

Not this:
# MySQL connection (This is default and requires mysql-connector-java-5.0.3-bin.jar, which ships with the Alfresco server)
#
mysql#db.driver=org.gjt.mm.mysql.Driver
mysql#db.url=jdbc:mysql://localhost:3306/alfresco

But this!
# MySQL connection (This is default and requires mysql-connector-java-5.0.3-bin.jar, which ships with the Alfresco server)
#
db.driver=org.gjt.mm.mysql.Driver
db.url=jdbc:mysql://localhost:3306/alfresco

Same thing for the other file custom-hibernate-dialect.properties. It should read:
#
# MySQL dialect (default)
#
hibernate.dialect=org.hibernate.dialect.MySQLInnoDBDialect

Without the mysql# bit.

After that everything came up happy as a clam. Good luck.

Chris

markdaniel
Champ in-the-making
Champ in-the-making
I'm getting a similar, but not the same, error after a similar setup. I'm running Alfresco Labs 3.1 Stable on Fedora 10, and after installing, testing with the default Derby database, then going through the few steps to switch to MySQL (http://wiki.alfresco.com/wiki/Installing_Alfresco_Lab_3_Stable_on_Ubuntu_8.10#Change_HSQL_Database_t...), I'm getting:

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

…when attempting to sign in with admin/admin. Any ideas anybody?