Why am I getting "Cannot find Alfresco Repository on this server. (Does this application have access to alfresco-global.properties? Does this application have cross-context permissions?)"

cancel
Showing results for 
Search instead for 
Did you mean: 
christoshayward
Member II

Why am I getting "Cannot find Alfresco Repository on this server. (Does this application have access to alfresco-global.properties? Does this application have cross-context permissions?)"

On two fresh installations, all I can get from my Alfresco installation has been an error page:

"Cannot find Alfresco Repository on this server. (Does this application have access to alfresco-global.properties? Does this application have cross-context permissions?)"

What are the diagnostics I can give to help troubleshoot?

TIA,

5 Replies
anujs1986
Active Member

Re: Why am I getting "Cannot find Alfresco Repository on this server. (Does this application have access to alfresco-global.properties? Does this application have cross-context permissions?)"

Hi Christos,

Check can you add your alfresco-global.properties here?

Your dir.root and db properties needs to be present and should point to correct location and db.

Thanks,

Anuj

christoshayward
Member II

Re: Why am I getting "Cannot find Alfresco Repository on this server. (Does this application have access to alfresco-global.properties? Does this application have cross-context permissions?)"

Thank you; alfresco-global.properties has:


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

dir.root=/usr/local/websites/alfresco/alf_data

alfresco.context=alfresco
alfresco.host=127.0.0.1
alfresco.port=7000
alfresco.protocol=http

share.context=share
share.host=127.0.0.1
share.port=7000
share.protocol=http

### database connection properties ###
db.driver=org.postgresql.Driver
db.username=alfresco
db.password=*********
db.name=alfresco
db.url=jdbcSmiley Tongueostgresql://localhost:5432/${db.name}
# Note: your database must also be able to accept at least this many connection
s. 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=2121

### RMI registry port for JMX ###
alfresco.rmi.services.port=50500

### External executable locations ###
ooo.exe=/usr/local/websites/alfresco/libreoffice/program/soffice.bin
ooo.enabled=true
ooo.port=7004
img.root=/usr/local/websites/alfresco/common
img.dyn=${img.root}/lib
img.exe=${img.root}/bin/convert

jodconverter.enabled=false
jodconverter.officeHome=/usr/local/websites/alfresco/libreoffice
jodconverter.portNumbers=7004

### Initial admin password ###
alfresco_user_store.adminpassword=832f2502453692054ccd22d0a9f64730

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

### License location ###
dir.license.external=/usr/local/websites/alfresco

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

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

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

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

anujs1986
Active Member

Re: Why am I getting "Cannot find Alfresco Repository on this server. (Does this application have access to alfresco-global.properties? Does this application have cross-context permissions?)"

As this is fresh installation, have you tried cleaning alf_data directory and db?

Seems your installation is referring to old repository.

chirag
Member II

Re: Why am I getting "Cannot find Alfresco Repository on this server. (Does this application have access to alfresco-global.properties? Does this application have cross-context permissions?)"

Please give me solution for this error in centos 

resnicke
Member II

Re: Why am I getting "Cannot find Alfresco Repository on this server. (Does this application have access to alfresco-global.properties? Does this application have cross-context permissions?)"

Hi Chirag.

Did you ever get the instructions and if so can you share them?

Eddy