无法通过aos与Alfresco repo联系

时间:2016-06-10 11:16:13

标签: alfresco

你是我最后的希望......很久以前我一直在寻找答案。

我试图通过aos连接alfresco repo。我推“映射网络驱动器...”,我填写textFields。我的故事的一个奇怪的部分是我可以在本地连接,但我不能远程。我关闭了我的虚拟服务器防火墙,只是为了大小写,但没有。

我已经编辑了alfresco-global.propertries,我附上了以下内容:

###############################
## Common Alfresco Properties #
###############################

dir.root=C:/ALFRES~1/alf_data

alfresco.context=alfresco
alfresco.host=127.0.0.1
alfresco.port=8080
alfresco.protocol=https

share.context=share
share.host=127.0.0.1
share.port=8080
share.protocol=https

### database connection properties ###
db.driver=org.postgresql.Driver
db.username=alfresco
db.password=root
db.name=alfresco
db.url=jdbc:postgresql://localhost:5432/${db.name}
# Note: your database must also be able to accept at least this many             connections.  Please see your database documentation for instructions on how to configure this.
db.pool.max=275
db.pool.validate.query=SELECT 1

# The server mode. Set value here
# UNKNOWN | TEST | BACKUP | PRODUCTION
system.serverMode=UNKNOWN

### FTP Server Configuration ###
ftp.port=21
ftp.enabled=true

### RMI registry port for JMX ###
alfresco.rmi.services.port=50500
avm.rmi.service.port=0
avmsync.rmi.service.port=0
attribute.rmi.service.port=0
authentication.rmi.service.port=0
repo.rmi.service.port=0
action.rmi.service.port=0
deployment.rmi.service.port=0

### External executable locations ###
ooo.exe=C:/ALFRES~1/LIBREO~1/App/libreoffice/program/soffice.exe
ooo.enabled=true
ooo.port=8100
img.root=C:\\alfresco-community\\imagemagick
img.coders=${img.root}\\modules\\coders
img.config=${img.root}
img.gslib=${img.root}\\lib
img.exe=${img.root}\\convert.exe

jodconverter.enabled=false
jodconverter.officeHome=C:/ALFRES~1/LIBREO~1/App/libreoffice
jodconverter.portNumbers=8100

### Initial admin password ###
alfresco_user_store.adminpassword=329153f560eb329c0e1deea55e88a1e9

### E-mail site invitation setting ###
notification.email.siteinvite=false

### License location ###
dir.license.external=C:/ALFRES~1

### Solr indexing ###
index.subsystem.name=solr
dir.keystore=${dir.root}/keystore
solr.host=localhost 
solr.port.ssl=8443
##solr.port.ssl=443

### Allow extended ResultSet processing
security.anyDenyDenies=false

### Smart Folders Config Properties ###
smart.folders.enabled=false

### Remote JMX (Default: disabled) ###
alfresco.jmx.connector.enabled=false

### CIFS Server Configuration ###
# The tcpipSMB and netBIOSSMB beans have a platforms property that allow     their configuration to be targeted to Alfresco servers running on specific     platforms. The property is formatted as a comma-separated list of platform IDs. Valid platform IDs are windows,linux,solaris, macosx and aix.
cifs.platform=linux,solaris,macosx,windows
cifs.enabled= true
cifs.serverName=${localname}
cifs.broadcast=192.168.0.255
#An empty value indicates bind to all available network adapter
cifs.bindto=192.168.0.85
cifs.ipv6.enabled=true
cifs.hostannounce=true
cifs.pseudoFiles.enabled=false
#controls whether URL shortcuts or desktop actions are displayed on CIFS.
cifs.pseudoFiles.explorerURL.enabled=false
#Is the URL shortcut for alfresco explorer shown ?
#cifs.pseudoFiles.explorerURL.fileName=__Alfresco.url
#Name of CIFS URL for alfresco explorer
#cifs.pseudoFiles.shareURL.enabled=false
# Enable the use of asynchronous sockets/NIO code

cifs.disableNIO=false

# Disable the use of JNI code. Only currently affects Windows

cifs.disableNativeCode=false

# Session timeout, in seconds. Defaults to 15 minutes i.e. 900 seconds, to     match the default Windows client setting. Maximum is 3600.

# If no I/O is received within that time the session is closed by the server

cifs.sessionTimeout=3600

cifs.WINS.autoDetectEnabled=true

cifs.sessionDebug=false

# Can be mapped to non-privileged ports, then use firewall rules to forward     requests from the standard ports

cifs.tcpipSMB.port=1445

cifs.netBIOSSMB.sessionPort=1139

cifs.netBIOSSMB.namePort=1137

cifs.netBIOSSMB.datagramPort=1138

### Authentication Chain ###

authentication.chain=ldap1:ldap,alfrescoNtlm1:alfrescoNtlm

ldap.authentication.java.naming.read.timeout=15000

### Sync Settings ###

synchronization.synchronizeChangesOnly=true

synchronization.syncOnStartup=true

synchronization.syncWhenMissingPeopleLogIn=true

synchronization.import.cron=0 0 * * * ?

### SharePoint settings ###

vti.server.port=7070

vti.server.external.host=shp.parkmill.splatcooking.net

vti.server.external.port=443

vti.server.external.protocol=https
           vti.alfresco.alfrescoHostWithPort=https://alfresco.parkmill.splatcooking.net:443
vti.share.shareHostWithPort=https://alfresco.parkmill.splatcooking.net:443

vti.share.shareContext=/share

### replication ###

replication.enabled=true

### orphan removal ###

system.content.orphanProtectDays=1
alfresco.authentication.authenticationCIFS=true

此外,我可以通过浏览器连接,但没有希望与网络驱动器映射。是什么导致了这个问题,我该如何解决?

感谢宝贵的时间。 我在等你的答案

1 个答案:

答案 0 :(得分:2)

我相信你的问题是alfresco.host设置。您可以在本地连接,因为它正在查看127.0.0.1(localhost)。您的远程计算机正在尝试使用127.0.0.1(该计算机是本地计算机)并且失败。

要解决此问题,请将alfresco.host和share.host属性更新为安装了Alfresco的服务器的IP或DNS名称。