我下载了dotcms_2.3.2.zip我遵循了这个文档http://dotcms.com/docs/latest/InstallingFromRelease我更改了ROOT.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"/>主要的问题是,我不能连接到dotCMS的数据库,因为当我去localhost:8080/admin/链接工作。有什么帮助吗?
发布于 2015-01-13 20:14:38
也许吧,
username="{xxxxx}“password="{xxxxx}”
应该看起来像
username="xxxxx“password="xxxxx”
(不带大括号)。
https://stackoverflow.com/questions/18233047
复制相似问题