在两台不同的计算机上,我无法启动RedHat Fuse 6.1。我是OSGi和Fuse错综复杂的新手,所以以下对我来说没有意义。但是,我告诉这个产品应该开箱即用,这是我试图做的。
以下是我正在获取的控制台重定向。日志文件更短。
请等待JBoss Fuse正在加载...
错误:解析系统包导出语句时出错: org.osgi.framework.startlevel;用途:=" org.osgi.framework&#34 ;;版本=" 1.0&#34 ;, org.osgi.framework.wiring;用途:=" org.osgi.resource,org.osgi.framework&#34 ;;版本=" 1.1&#34 ;, org.osgi.framework.hooks.bundle;用途:=" org.osgi.framework&#34 ;;版本=" 1.1&#34 ;, org.osgi.framework.hooks.service;用途:=" org.osgi.framework&#34 ;;版本=" 1.1&#34 ;, org.osgi.framework.hooks.resolver;用途:=" org.osgi.framework.wiring&#34 ;;版本=" 1.0&#34 ;, org.osgi.framework.launch;用途:=" org.osgi.framework&#34 ;;版本=" 1.1&#34 ;, org.osgi.framework.namespace;用途:=" org.osgi.resource&#34 ;;版本=" 1.0&#34 ;, org.osgi.framework;版本=" 1.7",org.osgi.framework.hooks.weaving;用途:=" org.osgi.framework.wiring&#34 ;;版本=&# 34; 1.0",org.osgi.resource;版本=" 1.0",org.osgi.service.url;版本=" 1.0",org.osgi。 service.startlevel;用途:=" org.osgi.framework&#34 ;;版本=" 1.1",org.osgi.service.packageadmin;用途:=" org.osgi .framework&#34 ;;版本=" 1.2",org.osgi.service.url;版本=" 1.0&#34 ;, org.osgi.util.tracker;用途:=" org.osgi.framework&#34 ;;版本=" 1.5.1&#34 ;, org.apache.felix.framework.monitor;版本=" 1.0&#34 ;, org.apache.karaf.jaas.boot;版本=" 2.3.0.redhat-610379&#34 ;, org.apache.karaf.jaas.boot.principal;版本=" 2.3.0.redhat-610379&#34 ;, org.apache.karaf.version;版本=" 2.3.0.redhat-610379&#34 ;, org.apache.xalan.extensions;版本=" 2.7.1&#34 ;, org.apache.xalan.xsltc.compiler;版本=" 2.7.1&#34 ;, org.apache.xalan.xsltc.cmdline.getopt;版本=" 2.7.1&#34 ;, org.apache.xalan.xsltc.util;版本=" 2.7.1&#34 ;, org.apache.xalan.transformer;版本=" 2.7.1&#34 ;, org.apache.xalan.xsltc.trax;版本=" 2.7.1&#34 ;, org.apache.xalan.processor; version =" 2.7.1",org.apache.xalan.lib; version =" 2.7.1",org.apache.xalan.trace;版本=" 2.7.1&#34 ;, org.apache.xalan.xsltc.compiler.util;版本=" 2.7.1&#34 ;, org.apache.xalan.templates; version =" 2.7.1",org.apache.xalan.xsltc; version =" 2.7.1",org.apache.xalan.xsltc.runtime;版本=" 2.7.1&#34 ;, org.apache.xalan; version =" 2.7.1",org.apache.xalan.xslt; version =" 2.7.1",org.apache.xalan.lib.sql;版本=" 2.7.1&#34 ;, org.apache.xalan.xsltc.runtime.output;版本=" 2.7.1&#34 ;, org.apache.xalan.xsltc.dom; version =" 2.7.1",org.apache.xalan.client; version =" 2.7.1",org.apache.xalan.xsltc.cmdline;版本=" 2.7.1&#34 ;, org.apache.xalan.serialize; version =" 2.7.1",org.apache.xalan.res; version =" 2.7.1",org.apache.xml.dtm.ref;版本=" 2.7.1&#34 ;, org.apache.xml.dtm; version =" 2.7.1",org.apache.xml.dtm.ref.sax2dtm; version =" 2.7.1",org.apache.xml.dtm.ref.dom2dtm;版本=" 2.7.1&#34 ;, org.apache.xml.res; version =" 2.7.1",org.apache.xml.serializer.dom3; version =" 2.7.1",org.apache.xml.serializer;版本=" 2.7.1&#34 ;, org.apache.xml.serializer.utils;版本=" 2.7.1&#34 ;, org.apache.xml.utils.res; version =" 2.7.1",org.apache.xml.utils; version =" 2.7.1",org.apache.xpath.functions;版本=" 2.7.1&#34 ;, org.apache.xpath.jaxp; version =" 2.7.1",org.apache.xpath.patterns; version =" 2.7.1",org.apache.xpath.objects;版本=" 2.7.1&#34 ;, org.apache.xpath.res; version =" 2.7.1",org.apache.xpath; version =" 2.7.1",org.apache.xpath.axes;版本=" 2.7.1&#34 ;, org.apache.xpath.compiler;版本=" 2.7.1&#34 ;, org.apache.xpath.operations; version =" 2.7.1",org.apache.xpath.domapi; version =" 2.7.1",org.apache.html.dom;版本=" 2.11.0&#34 ;, org.apache.wml.dom; version =" 2.11.0",org.apache.wml; version =" 2.11.0",org.apache.xerces.parsers;版本=" 2.11.0&#34 ;, org.apache.xerces.impl.dtd.models;版本=" 2.11.0&#34 ;, org.apache.xerces.xni.parser;版本=" 2.11.0&#34 ;, org.apache.xerces.impl.dv.xs;版本=" 2.11.0&#34 ;, org.apache.xerces.impl.xs.traversers;版本=" 2.11.0&#34 ;, org.apache.xerces.util; version =" 2.11.0",org.apache.xerces.impl.dtd; version =" 2.11.0",org.apache.xerces.jaxp.validation;版本=" 2.11.0&#34 ;, org.apache.xerces.dom3.as;版本=" 2.11.0&#34 ;, org.apache.xerces.impl.dv; version =" 2.11.0",org.apache.xerces.jaxp; version =" 2.11.0",org.apache.xerces.jaxp.datatype;版本=" 2.11.0&#34 ;, org.apache.xerces.impl.xpath.regex;版本=" 2.11.0&#34 ;, org.apache.xerces.xni; version =" 2.11.0",org.apache.xerces.impl.msg; version =" 2.11.0",org.apache.xerces.impl.dv.util;版本=" 2.11.0&#34 ;, org.apache.xerces.impl.xs.util;版本=" 2.11.0&#34 ;, org.apache.xerces.dom; version =" 2.11.0",org.apache.xerces.dom.events; version =" 2.11.0",org.apache.xerces.impl.xs.opti;版本=" 2.11.0&#34 ;, org.apache.xerces.impl; version =" 2.11.0",org.apache.xerces.xs; version =" 2.11.0",org.apache.xerces.impl.io;版本=" 2.11.0&#34 ;, org.apache.xerces.xpointer;版本=" 2.11.0&#34 ;, org.apache.xerces.impl.dv.dtd;版本=" 2.11.0&#34 ;, org.apache.xerces.xinclude;版本=" 2.11.0&#34 ;, org.apache.xerces.impl.xpath;版本=" 2.11.0&#34 ;, org.apache.xerces.xs.datatypes;版本=" 2.11.0&#34 ;, org.apache.xerces.impl.xs.identity;版本=" 2.11.0&#34 ;, org.apache.xerces.impl.xs.models;版本=" 2.11.0&#34 ;, org.apache.xerces.xni.grammars;版本=" 2.11.0&#34 ;, org.apache.xerces.impl.xs;版本=" 2.11.0&#34 ;, org.apache.xerces.impl.validation;版本=" 2.11.0&#34 ;, org.apache.xml.serialize;版本=" 2.11.0&#34 ;, ,org.apache.karaf.branding, com.sun.org.apache.xalan.internal.xsltc.trax, com.sun.org.apache.xerces.internal.dom, com.sun.org.apache.xerces.internal.jaxp, com.sun.org.apache.xerces.internal.xni,com.sun.jndi.ldap (org.osgi.framework.BundleException:导出的包名不能 零长度。)
org.osgi.framework.BundleException:导出的包名不能 零长度。
在 org.apache.felix.framework.util.manifestparser.ManifestParser.normalizeExportClauses(ManifestParser.java:744)
在 org.apache.felix.framework.util.manifestparser.ManifestParser。(ManifestParser.java:191)
在 org.apache.felix.framework.ExtensionManager。(ExtensionManager.java:221)
at org.apache.felix.framework.Felix。(Felix.java:406)
在 org.apache.felix.framework.FrameworkFactory.newFramework(FrameworkFactory.java:28)
at org.apache.karaf.main.Main.launch(Main.java:310)
at org.apache.karaf.main.Main.main(Main.java:537)
...
答案 0 :(得分:4)
我得到了同样的错误
经过一番点击并尝试发现,JAVA_HOME指向jdk 1.5 将 JAVA_HOME更改为jdk1.7
后我能够成功重启。