所以我按照配置(以下链接),并使其适用于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.SessionImpl.getURI(SessionImpl.java:584) [INFO] [talledLocalContainer]在org.apache.jackrabbit.spi.commons.conversion.NameParser.parse(NameParser.java:187) [INFO] [talledLocalContainer]位于org.apache.jackrabbit.spi.commons.conversion.ParsingNameResolver.getQName(ParsingNameResolver.java:64) [INFO] [talledLocalContainer]位于org.apache.jackrabbit.spi.commons.conversion.CachingNameResolver.getQName(CachingNameResolver.java:76) [INFO] [talledLocalContainer]位于org.hippoecm.repository.jackrabbit.HippoNamePathResolver.getQName(HippoNamePathResolver.java:53) [INFO] [talledLocalContainer]在org.apache.jackrabbit.core.SessionImpl.getQName(SessionImpl.java:599) [INFO] [talledLocalContainer]位于org.apache.jackrabbit.spi.commons.query.qom.QueryObjectModelFactoryImpl.checkNodeTypeName(QueryObjectModelFactoryImpl.java:1009) [INFO] [talledLocalContainer]在org.apache.jackrabbit.spi.commons.query.qom.QueryObjectModelFactoryImpl.selector(QueryObjectModelFactoryImpl.java:205) [INFO] [talledLocalContainer]在org.apache.jackrabbit.commons.query.sql2.Parser.parseSelector(Parser.java:135) [INFO] [talledLocalContainer]在org.apache.jackrabbit.commons.query.sql2.Parser.parseSource(Parser.java:167) [INFO] [talledLocalContainer]在org.apache.jackrabbit.commons.query.sql2.Parser.createQueryObjectModel(Parser.java:112) [INFO] [talledLocalContainer]在org.apache.jackrabbit.commons.query.sql2.SQL2QOMBuilder.createQueryObjectModel(SQL2QOMBuilder.java:55) [INFO] [talledLocalContainer]在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.jackrabbit.core.query.QueryManagerImpl $ 2.perform(QueryManagerImpl.java:95) [INFO] [talledLocalContainer]位于org.apache.jackrabbit.core.query.QueryManagerImpl $ 2.perform(QueryManagerImpl.java:91) [INFO] [talledLocalContainer]在org.apache.jackrabbit.core.session.SessionState.perform(SessionState.java:200) [INFO] [talledLocalContainer]在org.apache.jackrabbit.core.query.QueryManagerImpl.perform(QueryManagerImpl.java:197) [INFO] [talledLocalContainer]在org.apache.jackrabbit.core.query.QueryManagerImpl.createQuery(QueryManagerImpl.java:91) [INFO] [talledLocalContainer]在org.hippoecm.repository.decorating.QueryManagerDecorator.createQuery(QueryManagerDecorator.java:41) [INFO] [talledLocalContainer]在org.hippoecm.repository.impl.QueryManagerDecorator.createQuery(QueryManagerDecorator.java:39) [INFO] [talledLocalContainer]在org.onehippo.cms7.repository.wfdropbox.DropboxDaemonModule.run(DropboxDaemonModule.java:125)
答案 0 :(得分:0)
请注意,您已经交叉发布此内容,并且人们正在尝试在此处回复您: https://groups.google.com/d/msg/hippo-community/NTWpFoDJUxE/UFbMA0IvNWkJ