Заставить HippoCMS общаться с AmazonRDS
Так что я следил за конфигурацией (по ссылке) и заставил ее работать на localhost.
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] в org.apache.jackrabbit.core.NamespaceRegistryImpl.getURI(NamespaceRegistryImpl.java:467) [INFO] [talledLocalContainer] на org.hippoecm.repository.jackrabbit.SessionImplHelper.getNamespaceURI(SessionImplHelper.java:183) [INFO] [talledLocalContainer] в org.hippoecm.repository.jackrabbit.XASessionImpl.getNamespaceURI(XASessionImpl.java:177) [INFO] [talledLocalContainer] в org.apache.jackrabbit.core.SessionImpavaImpl.58I [INFO] [talledLocalContainer] в org.apache.jackrabbit.spi.commons.conversion.NameParser.parse(NameParser.java:187) [INFO] [talledLocalContainer] в org.apache.jackrabbit.spi.commons.conversion.ParsingName.getQName(ParsingNameResolver.java:64) [INFO] [talledLocalContainer] в org.apache.jackrabbit.spi.commons.conversion.CachingNameResolver.getQName(CachingNameResolver.java:76) [INFO] [talledLcmrepp.] jackrabbit.HippoNamePathResolver.getQName(HippoNamePathResolver.java:53) [ИНФО] [ talledLocalContainer] в org.apache.jackrabbit.core.SessionImpl.getQName(SessionImpl.java:599) [INFO] [talledLocalContainer] в org.apache.jackrabbit.spi.commons.query.qom.QueryObjectModelmpOgnjectIjectIjectjectFame 1009) [INFO] [talledLocalContainer] по адресу org.apache.jackrabbit.spi.commons.query.qom.QueryObjectModelFactoryImpl.selector(QueryObjectModelFactoryImpl.java:205) [INFO] [talledLocalConrab.sql2.Parser.parseSelector(Parser.java:135) [INFO] [talledLocalContainer] в org.apache.jackrabbit.commons.query.sql2.Parser.parseSource(Parser.java:167) [INFO] [talledLocalContainer] в орг.apache.jackrabbit.commons.query.sql2.Parser.createQueryObjectModel(Parser.java:112) [INFO] [talledLocalContainer] в org.apache.jackrabbit.commons.query.sql2.SQL2QOMBuilder.createQueryOil.bjMuBM ИНФОРМАЦИЯ] [talledLocalContainer] at org.apache.jackrabbit.core.query.QOMQueryFactory.createQuery(QOMQueryFactory.java:69) [INFO] [talledLocalContainer] по адресу org.apache.jackrabbit.core.query.CompoundQueryFactory.createQuery(CompoundQueryFactory.java:67) [INFO] [talledLocalContainer] по адресу org.apache.jackrabanIQ $..perform(QueryManagerImpl.java:95) [INFO] [talledLocalContainer] в org.apache.jackrabbit.core.query.QueryManagerImpl$2.perform(QueryManagerImpl.java:91) [INFO] [talledLocalContainer] в org.core.session.SessionState.perform(SessionState.java:200) [INFO] [talledLocalContainer] в org.apache.jackrabbit.core.query.QueryManagerImpl.perform(QueryManagerImpl.java:197) [INFO] [talledLocalgtainer] apache.jackrabbit.core.query.QueryManagerImpl.createQuery(QueryManagerImpl.java:91) [INFO] [talledLocalContainer] в org.hippoecm.repository.decorating.QueryManagerDecorator.createQuagerDcoral.cocareIncoal.CalateIncoeryIncoalQaleryIncoeryCcorator org.hippoecm.repository.impl.QueryManagerDecorator.createQuery(QueryManagerDecorator.java:39) [INFO] [talledLocalContainer] at org.onehippo.cms7.repository.wfdropbox.DropboxDaemonModule.run(DropboxDaemonModule.java:125)
1 ответ
Обратите внимание, что вы добавили это в кросс-публикацию, и что люди пытаются ответить вам здесь: https://groups.google.com/d/msg/hippo-community/NTWpFoDJUxE/UFbMA0IvNWkJ