[mysqld]
|
port = 3306
|
socket = /tmp/mysql.sock
|
default-character-set=utf8 //
这句要有
|
|
[mysql]
|
no-auto-rehash
|
default-character-set=utf8 //
这句要有
|
INFO: Deploying web application archive alfresco.war
21:19:57,118 ERROR [web.context.ContextLoader] Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'serverConnector' defined in class path resource [alfresco/core-services-context.xml]: Invocation of init method failed; nested exception is java.io.IOException: Cannot bind to URL [rmi://localhost:50500/alfresco/jmxrmi]: javax.naming.NameAlreadyBoundException: alfresco/jmxrmi [Root exception is java.rmi.AlreadyBoundException: alfresco/jmxrmi]
Caused by:
java.io.IOException: Cannot bind to URL [rmi://localhost:50500/alfresco/jmxrmi]: javax.naming.NameAlreadyBoundException: alfresco/jmxrmi [Root exception is java.rmi.AlreadyBoundException: alfresco/jmxrmi]
中间略
(
很多错误信息
)
SEVERE: Error listenerStart
Jul 2, 2008 9:33:03 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [/alfresco] startup failed due to previous errors
Jul 2, 2008 9:33:04 PM org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
|
first you have to remove the alfresco database in mysql using the db_remove.sql
second create the database using the db_setup.sql
third clean your alf_data... (delete all the foLders inside th alf_data dir)
fourth run alfresco
then [url]http://localhost:8080/alfresco...[/url] it should run..
|
drop database alfresco;
revoke all privileges, grant option from 'alfresco'@'localhost';
drop user 'alfresco'@'localhost';
|
create database alfresco;
grant all on alfresco.* to 'alfresco'@'localhost' identified by 'alfresco' with grant option;
grant all on alfresco.* to 'alfresco'@'localhost.localdomain' identified by 'alfresco' with grant option;
|
Jul 2, 2008 9:28:05 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive alfresco.war
21:28:26,990 WARN [remoting.rmi.RmiRegistryFactoryBean] Could not detect RMI registry - creating new one
21:28:30,101 INFO [domain.schema.SchemaBootstrap] Schema managed by database dialect org.hibernate.dialect.MySQLInnoDBDialect.
21:28:30,232 INFO [domain.schema.SchemaBootstrap] Executing database script /usr/local/alfresco/tomcat/temp/Alfresco/AlfrescoSchemaCreate-org.hibernate.dialect.MySQLInnoDBDialect-58118.sql (Generated).
21:28:31,785 INFO [domain.schema.SchemaBootstrap] Executing database script /usr/local/alfresco/tomcat/temp/Alfresco/AlfrescoSchemaUpdate-org.hibernate.dialect.MySQLInnoDBDialect-58119.sql (Copied from classpath:alfresco/dbscripts/create/2.1/org.hibernate.dialect.MySQLInnoDBDialect/AlfrescoPostCreate-2.1-FKIndexes.sql).
21:28:31,824 INFO [domain.schema.SchemaBootstrap] All executed statements written to file /usr/local/alfresco/tomcat/temp/Alfresco/AlfrescoSchemaUpdate-All_Statements-58120.sql.
21:29:26,752 WARN [repo.admin.ConfigurationChecker] The Alfresco 'dir.root' property is set to a relative path './alf_data'.
'dir.root' should be overridden to point to a specific folder.
21:29:26,752 INFO [repo.admin.ConfigurationChecker] The Alfresco root data directory ('dir.root') is: ./alf_data
21:29:26,766 INFO [admin.patch.PatchExecuter] Checking for patches to apply ...
21:29:26,855 INFO [repo.module.ModuleServiceImpl] Found 0 module(s).
21:29:26,976 ERROR [alfresco.smb.protocol] Failed to get local domain/workgroup name, using default of WORKGROUP
21:29:26,976 ERROR [alfresco.smb.protocol] (This may be due to firewall settings or incorrect <broadcast> setting)
21:29:27,013 INFO [service.descriptor.DescriptorService] Alfresco JVM - v1.5.0_14-b03; maximum heap size 493.063MB
21:29:27,014 WARN [service.descriptor.DescriptorService] Alfresco JVM - WARNING - maximum heap size 493.063MB is less than recommended 512MB
21:29:27,014 INFO [service.descriptor.DescriptorService] Alfresco started (Community Network): Current version 2.1.0 (484) schema 64 - Installed version 2.1.0 (484) schema 64
Jul 2, 2008 9:29:30 PM org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Jul 2, 2008 9:29:30 PM org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
Jul 2, 2008 9:29:30 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 85514 ms
|
Jul 2, 2008 9:38:34 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive alfresco.war
21:38:55,014 WARN [remoting.rmi.RmiRegistryFactoryBean] Could not detect RMI registry - creating new one
21:38:58,452 INFO [domain.schema.SchemaBootstrap] Schema managed by database dialect org.hibernate.dialect.MySQLInnoDBDialec
t.
21:39:02,508 INFO [domain.schema.SchemaBootstrap] No changes were made to the schema.
21:39:04,759 WARN [repo.admin.ConfigurationChecker] The Alfresco 'dir.root' property is set to a relative path './alf_data'.
'dir.root' should be overridden to point to a specific folder.
21:39:04,759 INFO [repo.admin.ConfigurationChecker] The Alfresco root data directory ('dir.root') is: ./alf_data
21:39:05,493 INFO [admin.patch.PatchExecuter] Checking for patches to apply ...
21:39:05,591 INFO [repo.module.ModuleServiceImpl] Found 0 module(s).
21:39:05,805 ERROR [alfresco.smb.protocol] Failed to get local domain/workgroup name, using default of WORKGROUP
21:39:05,805 ERROR [alfresco.smb.protocol] (This may be due to firewall settings or incorrect <broadcast> setting)
21:39:05,844 INFO [service.descriptor.DescriptorService] Alfresco JVM - v1.5.0_14-b03; maximum heap size 493.063MB
21:39:05,844 WARN [service.descriptor.DescriptorService] Alfresco JVM - WARNING - maximum heap size 493.063MB is less than recommended 512MB
21:39:05,845 INFO [service.descriptor.DescriptorService] Alfresco started (Community Network): Current version 2.1.0 (484) s
chema 64 - Installed version 2.1.0 (484) schema 64
Jul 2, 2008 9:39:09 PM org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Jul 2, 2008 9:39:09 PM org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
Jul 2, 2008 9:39:09 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 36241 ms
|