服务器找不到存储服务器,Alfresco:在此服务器上找不到Alfresco存储库

我是Alfresco Comunity的新用户,当尝试配置数据库时遇到问题。我遵循here的一步,但它不工作我还是得到了一个错误:Alfresco:在此服务器上找不到Alfresco存储库

“不能在此服务器上找到露天仓库”这是我C:\alfresco-community\tomcat\shared\classes\alfresco-global.properties

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

## Common Alfresco Properties #

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

dir.root=C:/alfresco-community/alf_data

alfresco.context=alfresco

alfresco.host=127.0.0.1

alfresco.port=8080

alfresco.protocol=http

share.context=share

share.host=127.0.0.1

share.port=8080

share.protocol=http

### database connection properties ###

#db.driver=org.postgresql.Driver

#db.username=alfresco

#db.password=admin

#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

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

db.url=jdbc:mysql://localhost:3306/alfrescoaio?useUnicode=yes&characterEncoding=UTF-8

db.username=root

db.password=123abc

db.name=alfrescoaio

db.host=localhost

db.port=3306

db.pool.max=275

user.name.caseSensitive=true

# The server mode. Set value here

# UNKNOWN | TEST | BACKUP | PRODUCTION

system.serverMode=UNKNOWN

### FTP Server Configuration ###

ftp.port=21

### RMI registry port for JMX ###

alfresco.rmi.services.port=50500

### External executable locations ###

ooo.exe=C:/alfresco-community/libreoffice/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:/alfresco-community/libreoffice/App/libreoffice

jodconverter.portNumbers=8100

### Initial admin password ###

alfresco_user_store.adminpassword=209c6174da490caeb422f3fa5a7ae634

### E-mail site invitation setting ###

notification.email.siteinvite=false

### License location ###

dir.license.external=C:/alfresco-community

### Solr indexing ###

index.subsystem.name=solr4

dir.keystore=${dir.root}/keystore

solr.host=localhost

solr.port.ssl=8443

### Allow extended ResultSet processing

security.anyDenyDenies=false

### Smart Folders Config Properties ###

smart.folders.enabled=false

### Remote JMX (Default: disabled) ###

alfresco.jmx.connector.enabled=false

错误日志:

rnate-context.xml]: Cannot resolve reference to bean '&sessionFactory' while setting bean property 'localSessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSourceCheck' defined in class path resource [alfresco/core-services-context.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.alfresco.repo.domain.schema.DataSourceCheck]: Constructor threw exception; nested exception is java.lang.RuntimeException: Database connection failed: Cannot load JDBC driver class 'org.gjt.mm.mysql.Driver'

任何人都可以帮助我如何解决这个问题?

+2

你能否从Tomcat发布日志? –

+1

您使用的是哪个版本的Alfresco社区?你是否下载了源代码并正在构建它,或者你在使用安装程序?你想要连接什么数据库? –

+1

您是否在MySQL中创建了名为“alfrescoaio”的数据库,并授予对“root”密码为“123abc”的用户的访问权限?使用mysql客户端或类似工具来验证您可以使用这些信用连接到该数据库。 –

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值