移动 karaf 服务器后的根文件位置 $karaf_home [英] Root file location $karaf_home after moving karaf server

查看:23
本文介绍了移动 karaf 服务器后的根文件位置 $karaf_home的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不得不更改我们的 Apache Karaf 安装位置.更改后,几个配置设置仍然指向原来的 $karaf_home/karaf.base 位置.我已经查看了所有的配置文件,但找不到这个根 karaf_home/karaf.base 是如何设置的.知道这个变量是如何设置的吗?

I have had to change the location for our Apache Karaf installation. After the change, several of the configuration settings still point to the original $karaf_home/karaf.base location. I have looked through all the config file and cannot find how this root karaf_home/karaf.base is being set. Any idea how this variable is being set?

推荐答案

缓存中的一个或多个包可能仍指向旧的 karaf 位置.为确保关闭您的 karaf,请删除 $KARAF_HOME/data/cache 下的所有内容,然后使用karaf clean"命令再次启动您的 karaf.

One or more bundles in your cache might be still pointing your old karaf location. To make sure just shutdown your karaf, delete everything under your $KARAF_HOME/data/cache and start your karaf again by using "karaf clean" command.

这篇关于移动 karaf 服务器后的根文件位置 $karaf_home的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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