1

我下载了 dotcms_2.3.2.zip 我遵循了这个文档http://dotcms.com/docs/latest/InstallingFromReleaseROOT.xml我在 MSSQL 中更改了 url、用户名和密码

    <Resource name="jdbc/dotCMSPool" auth="Container"
          type="javax.sql.DataSource" driverClassName="com.microsoft.sqlserver.jdbc.SQLServerDriver"
          url="jdbc:jtds:sqlserver://servername:portnumber/databasename"
          username="{xxxxx}" password="{xxxxx}" maxActive="60" maxIdle="10" maxWait="60000"
          removeAbandoned="true" removeAbandonedTimeout="60" logAbandoned="true" 
          testOnBorrow="true" validationQuery="SELECT 1" defaultTransactionIsolation="READ_COMMITTED"/>     
</Context>

在 server.xml 我改变了port to 8080

<Connector maxThreads="75" connectionTimeout="3000" port="8080" protocol="HTTP/1.1" redirectPort="8443"/>

主要问题是我无法将 ms sql 数据库连接到 dotCMS,因为当我去localhost:8080/admin/链接时确实有效。有什么帮助吗?

4

1 回答 1

0

也许,

用户名="{xxxxx}" 密码="{xxxxx}"

应该看起来像

用户名="xxxxx" 密码="xxxxx"

(没有花括号)。

于 2015-01-13T12:14:37.867 回答