Showing posts with label Installing Alfresco on windows 7. Show all posts
Showing posts with label Installing Alfresco on windows 7. Show all posts

Thursday, June 10, 2010

Update on Alfresco Installation on Windows 7

Hello Everyone,

I finally managed to run Alfresco on my Windows 7  desktop.

I edited some lines in alfresco-global.properties located under C:\Alfresco\tomcat\shared\classes. This is a global file used for configuration of email/database etc for Alfresco Server.

I was using mysql database for Alfresco, so my DB hostname entry in this file was

db.name=alfresco
db.username=alfresco
db.password=alfresco
db.host=localhost
db.port=3306

i changed it to

db.name=alfresco
db.username=alfresco
db.password=alfresco
db.host=127.0.0.1
db.port=3306

and my server got up and running.

Cheers!!!

Ujjwal Soni

Installing Alfresco on Windows 7

Hi All,

I am installing Alfresco-Community-3.3-Full version on my windows-7 desktop. After successful installation, when i am trying to run Alfresco Server. I get below error. I tried for many sources, but still i am not able to find any solution. I am still working for a solution to this problem. Hopefully, will post a solution to this problem soon.


INFO: The listener "org.apache.myfaces.webapp.StartupServletContextListener" is already configured for this context. The duplicate definition has been ignored.
16:10:56,353  INFO  [alfresco.config.JndiPropertiesFactoryBean] Loading properties file from class path resource [alfresco/repository.properties]
16:10:56,383  INFO  [alfresco.config.JndiPropertiesFactoryBean] Loading properties file from class path resource [alfresco/domain/transaction.properties]
16:10:56,414  INFO  [alfresco.config.JndiPropertiesFactoryBean] Loading properties file from URL [file:/C:/Alfresco/tomcat/shared/classes/alfresco-global.properties]
16:10:56,588  INFO  [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
16:11:07,845  WARN  [hibernate.cfg.SettingsFactory] Could not obtain connection metadata
org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Communications link failure

Last packet sent to the server was 0 ms ago.)
        at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1225)
        at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:880)
        at org.springframework.orm.hibernate3.LocalDataSourceConnectionProvider.getConnection(LocalDataSourceConnectionProvider.java:81)
        at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:84)
        at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2073)
        at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1298)
       
16:11:35,351  INFO  [extensions.webscripts.TemplateProcessorRegistry] Registered template processor freemarker for extension ftl