所以我正在关注配置(以下链接),并使其适用于本地主机。
http://www.onehippo.org/7_8/library/deployment/configuring/configuring-hippo-7-for-mysql.html
<Resource name="jdbc/repositoryDS" auth="Container" type="javax.sql.DataSource"
maxActive="20" maxIdle="10" minIdle="2" initialSize="2" maxWait="10000"
testOnBorrow="true" validationQuery="select 1 from dual"
poolPreparedStatements="true" username="hippo" password="hippo"
driverClassName="com.mysql.jdbc.Driver"
url="jdbc:mysql://localhost:3306/hippo?autoReconnect=true&characterEncoding=utf8" />
但是,当我将配置更改为 rds 时,
<Resource name="jdbc/repositoryDS" auth="Container" type="javax.sql.DataSource"
maxActive="20" maxIdle="10" minIdle="2" initialSize="2" maxWait="10000"
testOnBorrow="true" validationQuery="select 1 from dual"
poolPreparedStatements="true" username="rdsUserName" password="rdsPassword"
driverClassName="com.mysql.jdbc.Driver"
url="jdbc:mysql://rdsLink:3306/hippo?autoReconnect=true&characterEncoding=utf8" />
我遇到了这样的错误。
[INFO] [talledLocalContainer] javax.jcr.NamespaceException: wfdropbox: 不是注册的命名空间前缀。[INFO] [talledLocalContainer] at org.apache.jackrabbit.core.NamespaceRegistryImpl.getURI(NamespaceRegistryImpl.java:467) [INFO] [talledLocalContainer] at org.hippoecm.repository.jackrabbit.SessionImplHelper.getNamespaceURI(SessionImplHelper.java:183) [INFO] [talledLocalContainer] at org.hippoecm.repository.jackrabbit.XASessionImpl.getNamespaceURI(XASessionImpl.java:177) [INFO] [talledLocalContainer] at org.apache.jackrabbit.core.SessionImpl.getURI(SessionImpl.java:584) [信息] [talledLocalContainer] 在 org.apache.jackrabbit.spi.commons.conversion.NameParser.parse(NameParser.java:187) [信息] [talledLocalContainer] 在 org.apache.jackrabbit.spi.commons.conversion.ParsingNameResolver。 getQName(ParsingNameResolver.java: