ServiceMix 无法启动
ServiceMix can't start
我的 serviceMix 无法启动,我只是试图停止它。/然后停止。/start
当我做./client :
client: JAVA_HOME not set; results may vary
Logging in as smx
Failed to get the session.
我的 JAVA_HOME 设置正确。
当我做./status
karaf: JAVA_HOME not set; results may vary
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256M; support was removed in 8.0
Not Running ...
当我做./stop
karaf: JAVA_HOME not set; results may vary
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256M; support was removed in 8.0
Can't connect to the container. The container is not running.
在我停止之前它运行正常。
谢谢你的帮助
正在尝试在 servicemix 的 bin/setenv 文件中配置 JAVA_HOME 设置。
在文件中,您会发现如下所示的部分。尝试在此处设置 JAVA_HOME。
# general settings which should be applied for all scripts go here; please keep in mind that it is possible that scripts might be executed more than once, e.g. in example of the start script where the start script is executed first and the karaf script afterwards.
# The following section shows the possible configuration options for the default karaf scripts
# export JAVA_HOME # Location of Java installation
我的 serviceMix 无法启动,我只是试图停止它。/然后停止。/start
当我做./client :
client: JAVA_HOME not set; results may vary
Logging in as smx
Failed to get the session.
我的 JAVA_HOME 设置正确。
当我做./status
karaf: JAVA_HOME not set; results may vary
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256M; support was removed in 8.0
Not Running ...
当我做./stop
karaf: JAVA_HOME not set; results may vary
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256M; support was removed in 8.0
Can't connect to the container. The container is not running.
在我停止之前它运行正常。
谢谢你的帮助
正在尝试在 servicemix 的 bin/setenv 文件中配置 JAVA_HOME 设置。
在文件中,您会发现如下所示的部分。尝试在此处设置 JAVA_HOME。
# general settings which should be applied for all scripts go here; please keep in mind that it is possible that scripts might be executed more than once, e.g. in example of the start script where the start script is executed first and the karaf script afterwards.
# The following section shows the possible configuration options for the default karaf scripts
# export JAVA_HOME # Location of Java installation