阿帕奇兔崽子 - GlassFish v3中部署时覆盖兔崽子配置参数 [英] Apache Jackrabbit - Override Jackrabbit configuration parameters when deployed in Glassfish v3

查看:152
本文介绍了阿帕奇兔崽子 - GlassFish v3中部署时覆盖兔崽子配置参数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我觉得自己像个白痴,但在那里/我怎么重写<一个href=\"http://jackrabbit.apache.org/jackrabbit-configuration.html#JackrabbitConfiguration-Configurationvariables\" GlassFish v3中部署时,相对=nofollow>兔崽子配置参数的?我试着在 GlassFish管理设置 rep.home - &GT;企业服务器 - &GT;系统属性面板,但它似乎并没有任何的影响。

I feel like an idiot, but where/how do I override the Jackrabbit configuration parameters when deployed in Glassfish v3? I've tried setting rep.home in the Glassfish Admin -> Enterprise Server -> System Properties panel, but it doesn't seem to have any affect.


  • 请我有属性名称是否正确?

  • 这是不该做的正确的地方
    此?

BTW - 我使用的是兔崽子发布与吊带API捆绑

BTW - I'm using the Jackrabbit release bundled with the Sling API.

推荐答案

通过你的链接所指示的兔崽子配置参数读取的repository.xml配置文件时会自动由兔崽子库实现设置。

The Jackrabbit Configuration Parameters indicated by your link are automatically set by the Jackrabbit Repository implementation when reading the repository.xml configuration file.

你能做什么吊带里面要么是设置了sling.repository.home框架属性(在OSGi框架成吊带部署的)搬迁兔崽子库。

What you can do to relocate the Jackrabbit Repository inside Sling is either set the "sling.repository.home" framework property (of the OSGi framework into which Sling is deployed).

另外,您可以在Web控制台的配置管理器的网页编辑资源库服务器配置。选择配置标记类似的 org.apache.sling.jcr.jackrabbit.server.SlingServerRepository.XXX 的其中xxx看起来像UUID的字符串。在这种配置中修改资料库首页路径。请注意,虽然,这不会移动现有库目录,但只是告诉吊带使用不同的位置。

Alternatively you can edit the Repository Server configuration in the Web Console Configuration Manager page. Select the configuration labeled something like org.apache.sling.jcr.jackrabbit.server.SlingServerRepository.XXX where "xxx" looks like UUID string. In that configuration change the Repository Home path. Please note, though, that this will not move your existing repository directory but just tell Sling to use a different location.

这篇关于阿帕奇兔崽子 - GlassFish v3中部署时覆盖兔崽子配置参数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆