Configuration Alfresco avec sql Server 2012
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2013 06:05 AM
- Labels:
-
Archive
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2013 06:48 AM
# SQLServer connection
# Requires jTDS driver version 1.2.5 and SNAPSHOT isolation mode
# Enable TCP protocol on fixed port 1433
# Prepare the database with:
#ALTER DATABASE alfresco SET ALLOW_SNAPSHOT_ISOLATION ON;
db.name=Alfresco_db
db.username=xxx
db.password=xxxxxxx
db.host=localhost
db.port=1433
db.driver=net.sourceforge.jtds.jdbc.Driver
db.url=jdbc:jtds:sqlserver://{db.host}:${db.port}/${db.name}
db.txn.isolation=4096
db.driver=net.sourceforge.jtds.jdbc.Driver
db.url=jdbc:jtds:sqlserver://localhost:1433/alfresco
db.txn.isolation=4096
mais ca marche toujours pas.Quelqu'un peut m'aider s'il vous plait

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2013 08:01 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2013 08:15 AM
08:39:20,113 INFO [org.alfresco.config.JndiPropertiesFactoryBean] Loading properties file from class path resource [alfresco/repository.properties]
08:39:20,122 INFO [org.alfresco.config.JndiPropertiesFactoryBean] Loading properties file from class path resource [alfresco/domain/transaction.properties]
08:39:20,193 INFO [org.alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.proper$
08:39:21,052 ERROR [net.sf.ehcache.Cache] Unable to set localhost. This prevents creation of a GUID. Cause was: ALPHA: ALPHA
java.net.UnknownHostException: ALPHA: ALPHA
at java.net.InetAddress.getLocalHost(InetAddress.java:1353)
at net.sf.ehcache.Cache.<clinit>(Cache.java:125)
at net.sf.ehcache.config.ConfigurationHelper.createCache(ConfigurationHelper.java:401)
at net.sf.ehcache.config.ConfigurationHelper.createDefaultCache(ConfigurationHelper.java:334)
at net.sf.ehcache.CacheManager.configure(CacheManager.java:293)
at net.sf.ehcache.CacheManager.init(CacheManager.java:225)
at net.sf.ehcache.CacheManager.<init>(CacheManager.java:186)

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2013 08:22 AM
Il faut avoir une ligne dans votre /etc/hosts correspondant à votre IP/hostname, et une autre pour localhost (sans votre hostname).
ALPHA est votre hostname ?
Cet erreur n'est pas lié a Alfresco mais a de la config réseau / java …
exemple de /etc/hosts :
127.0.0.1 localhost localhost.localdomain192.168.1.8 ALPHA
remplacez bien entendu l'IP correctement.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2013 08:52 AM
# Database configuration
db.schema.stopAfterSchemaBootstrap=false
db.schema.update=true
db.schema.update.lockRetryCount=24
db.schema.update.lockRetryWaitSeconds=5
#db.driver=org.gjt.mm.mysql.Driver
db.driver=com.microsoft.sqlserver.jdbc.SQLServerDriver
db.name=Alfresco_db
db.url=jdbc:sqlserver:///${db.name}
db.username=mahmoud
db.password=Alfrescopfe2013
#db.name=alfresco
#db.url=jdbc:mysql:///${db.name}
#db.username=alfresco
#db.password=alfresco
db.pool.initial=10
db.pool.max=40
db.txn.isolation=-1
db.pool.statements.enable=true
db.pool.statements.max=40
db.pool.min=0
db.pool.idle=8
db.pool.wait.max=-1
db.pool.validate.query=
db.pool.evict.interval=-1
db.pool.evict.idle.min=1800000
db.pool.validate.borrow=true
db.pool.validate.return=false
db.pool.evict.validate=false
#
db.pool.abandoned.detect=false
db.pool.abandoned.time=300
est ce que ya quelque chose qui va pas?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2013 08:56 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2013 09:19 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2013 02:00 AM
Quelle version d'Alfresco essayez-vous de mettre en place ?
La version communautaire (au moins en 4.x, je ne sais plus ce qu'il en est de la 3.4) ne fonctionne qu'avec les bases de données MySQL et PostgreSQL.
Cordialement,
Charles Le Seac'h
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2013 06:24 AM
