【问题标题】:How to get the jms quickstart packaged with JBoss-Fuse-6.1.0.redhat-355 to work?如何让 JBoss-Fuse-6.1.0.redhat-355 打包的 jms 快速入门工作?
【发布时间】:2016-02-12 13:55:19
【问题描述】:

Karaf 输出如下:

JBossFuse:karaf@root> features:addurl mvn:org.jboss.quickstarts.fuse/jms/6.1.0.redhat-355/xml/features
JBossFuse:karaf@root> features:install quickstart-jms
[Fatal Error] :6:3: The element type "hr" must be terminated by the matching end-tag "</hr>".
Error executing command: The element type "hr" must be terminated by the matching end-tag "</hr>".

我不确定这个 html 元素在哪里使用。

log:display-exceptionreveals:

2016-02-12 07:36:24,571 | INFO  | l Console Thread | Console | ?
? | 17 - org.apache.karaf.shell.console - 2.3.0.redhat-610355 | Exception caught while executing command
org.xml.sax.SAXParseException: The element type "hr" must be terminated by the matching end-tag "</hr>".

JBossFuse:karaf@root> log:display-exception
org.xml.sax.SAXParseException: The element type "hr" must be terminated by the matching end-tag "</hr>".

    at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)[:]
    at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)[:]
    at javax.xml.parsers.DocumentBuilder.parse(Unknown Source)[:2.3.0.redhat-610355]
    at org.apache.karaf.features.internal.FeatureValidationUtil.validate(FeatureValidationUtil.java:
52)[23:org.apache.karaf.features.core:2.3.0.redhat-610355]
    at org.apache.karaf.features.internal.FeaturesServiceImpl.validateRepository(FeaturesServiceImpl
.java:215)[23:org.apache.karaf.features.core:2.3.0.redhat-610355]
    at org.apache.karaf.features.internal.FeaturesServiceImpl.internalAddRepository(FeaturesServiceImpl.java:256)[23:org.apache.karaf.features.core:2.3.0.redhat-610355]
    at org.apache.karaf.features.internal.FeaturesServiceImpl.getFeatures(FeaturesServiceImpl.java:1
015)[23:org.apache.karaf.features.core:2.3.0.redhat-610355]
    at org.apache.karaf.features.internal.FeaturesServiceImpl.getFeature(FeaturesServiceImpl.java:97
3)[23:org.apache.karaf.features.core:2.3.0.redhat-610355]
    at org.apache.karaf.features.internal.FeaturesServiceImpl.installFeature(FeaturesServiceImpl.jav
a:395)[23:org.apache.karaf.features.core:2.3.0.redhat-610355]
    at org.apache.karaf.features.command.InstallFeatureCommand.doExecute(InstallFeatureCommand.java:
62)[37:org.apache.karaf.features.command:2.3.0.redhat-610355]
    at org.apache.karaf.features.command.FeaturesCommandSupport.doExecute(FeaturesCommandSupport.jav
a:41)[37:org.apache.karaf.features.command:2.3.0.redhat-610355]
    at org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:39)[17:org.
 apache.karaf.shell.console:2.3.0.redhat-610355]
    at org.apache.felix.gogo.commands.basic.AbstractCommand.execute(AbstractCommand.java:35)[17:org.
apache.karaf.shell.console:2.3.0.redhat-610355]
    at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)[18:org.apache.felix.gogo.runtime:0.11.0.redhat-610355] at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477)[18:org.apache.felix.gogo.runtime:0.11.0.redhat-610355]
    at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)[18:org.apache.felix.gogo.runtime:0.11.0.redhat-610355]
    at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[18:org.apache.felix.gogo.runtime:0.11.0.redhat-610355]
    at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)[18:org.apache.felix.gogo.runtime:0.11.0.redhat-610355]
    at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)[18:org.apache.felix.gogo.runtime:0.11.0.redhat-610355] at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:89)[18:org.apache.felix.gogo.runtime:0.11.0.redhat-610355]
    at org.apache.karaf.shell.console.jline.Console.run(Console.java:189)[17:org.apache.karaf.shell.console:2.3.0.redhat-610355]
    at org.apache.karaf.shell.console.jline.DelayedStarted.run(DelayedStarted.java:61)[17:org.apache.karaf.shell.console:2.3.0.redhat-610355]

JBossFuse:karaf@root>

如果有人可以帮助我完成这项工作,那将会有所帮助。

TIA

【问题讨论】:

  • 在你的 Maven 存储库中检查下载的功能。您可能在返回 html 页面而不是功能的代理后面
  • 我在我的家庭办公室执行此操作,我没有设置任何代理。

标签: jms apache-camel apache-karaf jbossfuse


【解决方案1】:

我得到了大部分快速入门(包括 JMS )来处理这个版本 -> jboss-fuse-6.0.0.redhat-024。我的 JDK 是 1.7.0_60 并设置为 JAVA_HOME

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-05-24
    • 1970-01-01
    • 2016-03-05
    • 1970-01-01
    • 2017-05-04
    相关资源
    最近更新 更多