AnsweredAssumed Answered

Pb CIFS

Question asked by hlander10 on Sep 22, 2009
Latest reply on Sep 25, 2009 by hlander10
Bonjour,

J'ai installé sous UBUNTU alfresco 3 le serveur ce nomme java en suivant la procédure de [RESOLU] Alfresco Community 3.2 et Ubuntu server 9.04 de calamarz.

J'ai donc le fichier : alfresco-global.properties

###############################

## Common Alfresco Properties #

###############################



#

# Sample custom content and index data location

#————-

dir.root=/var/lib/alfresco



#

# Sample database connection properties

#————-

db.name=alfresco

db.username=alfresco

db.password=alfresco

db.host=localhost

db.port=3306



#

# External locations

#————-

ooo.exe=/usr/bin/soffice

img.root=/usr

swf.exe=/usr/bin/alfresco-pdf2swf



#

# MySQL connection

#————-

db.driver=org.gjt.mm.mysql.Driver

db.url=jdbc:mysql://${db.host}:${db.port}/${db.name}

hibernate.dialect=org.hibernate.dialect.MySQLInnoDBDialect



#

# Index Recovery Mode

#————-

#index.recovery.mode=Auto



#

# Outbound Email Configuration

#————-

#mail.host=

#mail.port=25

#mail.username=anonymous

#mail.password=

#mail.encoding=UTF-8

#mail.from.default=alfresco@alfresco.org

#mail.smtp.auth=false



#

# Alfresco Email Service and Email Server

#————-



# Enable/Disable the inbound email service.  The service could be used by processes other than

# the Email Server (e.g. direct RMI access) so this flag is independent of the Email Service.

#————-

#email.inbound.enabled=true



# Email Server properties

#————-

#email.server.enabled=true

#email.server.port=25

#email.server.domain=alfresco.com

#email.inbound.unknownUser=anonymous



# A comma separated list of email REGEX patterns of allowed senders.

# If there are any values in the list then all sender email addresses

# must match.  For example:

#   .*\@alfresco\.com, .*\@alfresco\.org

# Allow anyone:

#————-

#email.server.allowed.senders=.*



#

# The default authentication chain

# To configure external authentication subsystems see:

# http://wiki.alfresco.com/wiki/Alfresco_Authentication_Subsystems

#————-

#authentication.chain=alfrescoNtlm1:alfrescoNtlm



#

# IMAP

#————-

#imap.server.enabled=true

#imap.server.port=143

#imap.server.host=localhost

#

# CIFS

#————-
cifs.enabled=true
cifs.Server.Name=javaa
cifs.domain=MONDOMAINE
cifs.hostanounce=true
cifs.broadcast=0.0.0.0
cifs.tcpipSMB.port=1445
cifs.ipv6.enabled=false
cifs.netBIOSSMB.namePort=1137
cifs.netBIOSSMB.datagramPort=1138
cifs.netBIOSSMB.sessionPort=1139

#

# FTP

#————-
ftp.enabled=true
ftp.port=2021


Pour info mon fichier de log :
10:17:27,537 INFO  [org.alfresco.config.JndiPropertiesFactoryBean] Loading properties file from class path resource [alfresco/repository.properties]
10:17:27,541 INFO  [org.alfresco.config.JndiPropertiesFactoryBean] Loading properties file from class path resource [alfresco/domain/transaction.properties]
10:17:27,541 INFO  [org.alfresco.config.JndiPropertiesFactoryBean] Loading properties file from URL [file:/usr/share/tomcat6/shared/classes/alfresco-global.properties]
10:17:27,665 INFO  [org.alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
10:17:53,704 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] Schema managed by database dialect org.hibernate.dialect.MySQLInnoDBDialect.
10:17:54,976 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] No changes were made to the schema.
10:17:58,929 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'thirdparty' subsystem, ID: [default]
10:17:58,956 INFO  [org.alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
10:17:59,737 WARN  [org.alfresco.util.OpenOfficeConnectionTester] An initial OpenOffice connection could not be established.
10:17:59,738 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'thirdparty' subsystem, ID: [default] complete
10:17:59,961 INFO  [org.alfresco.repo.admin.ConfigurationChecker] The Alfresco root data directory ('dir.root') is: /var/lib/alfresco
10:18:00,117 INFO  [org.alfresco.repo.admin.patch.PatchExecuter] Checking for patches to apply …
10:18:00,543 INFO  [org.alfresco.repo.admin.patch.PatchExecuter] No patches were required.
10:18:00,549 INFO  [org.alfresco.repo.module.ModuleServiceImpl] Found 0 module(s).
10:18:00,573 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'fileServers' subsystem, ID: [default]
10:18:00,595 INFO  [org.alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
10:18:00,980 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'Authentication' subsystem, ID: [managed, alfrescoNtlm1]
10:18:01,000 INFO  [org.alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
10:18:01,378 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'Authentication' subsystem, ID: [managed, alfrescoNtlm1] complete
10:18:02,214 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'fileServers' subsystem, ID: [default] complete
10:18:02,215 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'imap' subsystem, ID: [default]
10:18:02,230 INFO  [org.alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
10:18:02,304 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'imap' subsystem, ID: [default] complete
10:18:02,305 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'Synchronization' subsystem, ID: [default]
10:18:02,352 INFO  [org.alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
10:18:02,392 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'Synchronization' subsystem, ID: [default] complete
10:18:02,492 INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco JVM - v1.6.0_16-b01; maximum heap size 1016,125MB
10:18:02,493 INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco started (Community): Current version 3.2.0 (@build-number@) schema 2019 - Installed version 3.2.0 (@build-number@) schema 2019
10:18:02,609 INFO  [org.alfresco.util.OpenOfficeConnectionTester] The OpenOffice connection was re-established.
10:18:17,826 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'wcm_deployment_receiver' subsystem, ID: [default]
10:18:17,850 INFO  [org.alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
10:18:17,955 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'wcm_deployment_receiver' subsystem, ID: [default] complete
10:18:20,585 INFO  [org.alfresco.config.JBossEnabledWebApplicationContext] Refreshing org.alfresco.config.JBossEnabledWebApplicationContext@143454c: display name [Root WebApplicationContext]; startup date [Tue Sep 22 10:18:20 CEST 2009]; root of context hierarchy
10:18:20,944 INFO  [org.alfresco.config.JBossEnabledWebApplicationContext] Bean factory for application context [org.alfresco.config.JBossEnabledWebApplicationContext@143454c]: org.springframework.beans.factory.support.DefaultListableBeanFactory@51aec2
10:18:23,385 INFO  [org.alfresco.web.scripts.DeclarativeRegistry] Registered 24 Web Scripts (+0 failed), 26 URLs
10:18:23,435 INFO  [org.alfresco.web.scripts.AbstractRuntimeContainer] Initialised Presentation Web Script Container (in 363.59174ms)
10:18:23,987 INFO  [org.alfresco.web.scripts.DeclarativeRegistry] Registered 171 Web Scripts (+0 failed), 173 URLs
10:18:24,016 INFO  [org.alfresco.web.scripts.AbstractRuntimeContainer] Initialised WebFramework Web Script Container (in 558.4718ms)
10:18:24,417 INFO  [org.alfresco.web.site.FrameworkHelper] Successfully Initialized Web Framework

Lorsque en local http://java:8080/alfresco, j'essai d'acceder au CIFS par l'icone a coté des espaces, il ne se passe rien.

Si a partir de mon portable sous windows, je fais executer et \\javaa\alfresco j'ai le message suivant : Le chemin réseau n'a pas été trouvé.

Bref je suis encore très loin d'avoir activé avec succès le FTP et le CIFS

Outcomes