<i id='7zv1S'><tr id='7zv1S'><dt id='7zv1S'><q id='7zv1S'><span id='7zv1S'><b id='7zv1S'><form id='7zv1S'><ins id='7zv1S'></ins><ul id='7zv1S'></ul><sub id='7zv1S'></sub></form><legend id='7zv1S'></legend><bdo id='7zv1S'><pre id='7zv1S'><center id='7zv1S'></center></pre></bdo></b><th id='7zv1S'></th></span></q></dt></tr></i><div id='7zv1S'><tfoot id='7zv1S'></tfoot><dl id='7zv1S'><fieldset id='7zv1S'></fieldset></dl></div>
  • <small id='7zv1S'></small><noframes id='7zv1S'>

  • <legend id='7zv1S'><style id='7zv1S'><dir id='7zv1S'><q id='7zv1S'></q></dir></style></legend>

    <tfoot id='7zv1S'></tfoot>
        • <bdo id='7zv1S'></bdo><ul id='7zv1S'></ul>

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

        时间:2023-06-25
        <i id='85uJC'><tr id='85uJC'><dt id='85uJC'><q id='85uJC'><span id='85uJC'><b id='85uJC'><form id='85uJC'><ins id='85uJC'></ins><ul id='85uJC'></ul><sub id='85uJC'></sub></form><legend id='85uJC'></legend><bdo id='85uJC'><pre id='85uJC'><center id='85uJC'></center></pre></bdo></b><th id='85uJC'></th></span></q></dt></tr></i><div id='85uJC'><tfoot id='85uJC'></tfoot><dl id='85uJC'><fieldset id='85uJC'></fieldset></dl></div>

          <tbody id='85uJC'></tbody>
        1. <legend id='85uJC'><style id='85uJC'><dir id='85uJC'><q id='85uJC'></q></dir></style></legend>
          • <bdo id='85uJC'></bdo><ul id='85uJC'></ul>
            <tfoot id='85uJC'></tfoot>

                • <small id='85uJC'></small><noframes id='85uJC'>

                • 本文介绍了Alfresco : 在此服务器上找不到 Alfresco 存储库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我是 Alfresco 社区的新手,在尝试配置数据库时遇到了问题.我按照 here 中的步骤操作,但它不起作用我仍然遇到错误: "在此服务器上找不到 Alfresco 存储库"

                  I am new with Alfresco Comunity, i have trouble when i tried to configure database. i follow the step from here but it's not working i still got an error : "Cannot find Alfresco Repository on this server"

                  这是我的C:alfresco-community omcatsharedclassesalfresco-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'
                  

                  谁能帮我解决这个问题?

                  Any one can help me how to fix this ?

                  推荐答案

                  Alfresco 安装程序随 PostgreSQL 一起提供.安装后,它会将 PostgreSQL 驱动程序 (postgresql-9.4-1201-jdbc41.jar) 放在 $TOMCAT_HOME/lib 中.

                  The Alfresco installer ships with PostgreSQL. When it is installed it will place the PostgreSQL driver (postgresql-9.4-1201-jdbc41.jar) in $TOMCAT_HOME/lib.

                  如果您要切换到不同的数据库,则需要确保新的数据库驱动程序可用.您的错误消息似乎表明它不是.

                  If you are switching to a different database you need to make sure the new database driver is available. Your error message seems to indicate it isn't.

                  查看 $TOMCAT_HOME/lib 并查看是否有名为 mysql-connector-java-*.jar 的文件.如果没有,请从此处下载,然后将 JAR 放在此目录中并重新启动.

                  Go look in $TOMCAT_HOME/lib and see if you have a file named mysql-connector-java-*.jar. If you don't, download it from here, then place the JAR in this directory and restart.

                  这篇关于Alfresco : 在此服务器上找不到 Alfresco 存储库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:Slick 中如何使用反应流来插入数据 下一篇:在 WHERE 子句中使用别名

                  相关文章

                • <tfoot id='THtBU'></tfoot>

                    <bdo id='THtBU'></bdo><ul id='THtBU'></ul>

                      <i id='THtBU'><tr id='THtBU'><dt id='THtBU'><q id='THtBU'><span id='THtBU'><b id='THtBU'><form id='THtBU'><ins id='THtBU'></ins><ul id='THtBU'></ul><sub id='THtBU'></sub></form><legend id='THtBU'></legend><bdo id='THtBU'><pre id='THtBU'><center id='THtBU'></center></pre></bdo></b><th id='THtBU'></th></span></q></dt></tr></i><div id='THtBU'><tfoot id='THtBU'></tfoot><dl id='THtBU'><fieldset id='THtBU'></fieldset></dl></div>

                    1. <legend id='THtBU'><style id='THtBU'><dir id='THtBU'><q id='THtBU'></q></dir></style></legend>

                      <small id='THtBU'></small><noframes id='THtBU'>