我已经下载了jboss-eap-7.0.0.Beta.zip并将其解压缩,我能够在独立模式和域模式下执行服务器。但是,当我尝试在其上部署Fuse jar fuse-eap-installer-6.2.1.redhat-084.jar时,我收到了以下错误。
执行jar时控制台上显示的错误是:
java -jar ../fuse-eap-installer-6.2.1.redhat-084.jar
Skip already existing patch file: fuse-patch-distro-wildfly-1.6.2.zip
Skip already existing patch file: fuse-eap-distro-6.2.1.redhat-084.zip
Run command: java -Djboss.home=. -Dlogging.configuration=file:bin/fusepatch-logging.properties -jar jboss-modules.jar -mp modules org.wildfly.extras.patch --add file:fusepatch/repository/fuse-patch-distro-wildfly-1.6.2.zip
Repository already contains fuse-patch-distro-wildfly-1.6.2
Run command: java -Djboss.home=. -Dlogging.configuration=file:bin/fusepatch-logging.properties -jar jboss-modules.jar -mp modules org.wildfly.extras.patch --add file:fusepatch/repository/fuse-eap-distro-6.2.1.redhat-084.zip
Repository already contains fuse-eap-distro-6.2.1.redhat-084
Run command: java -Djboss.home=. -Dlogging.configuration=file:bin/fusepatch-logging.properties -jar jboss-modules.jar -mp modules org.wildfly.extras.patch --update fuse-patch-distro-wildfly
Patch fuse-patch-distro-wildfly-1.6.2 has already been applied
Run command: java -Djboss.home=. -Dlogging.configuration=file:bin/fusepatch-logging.properties -jar jboss-modules.jar -mp modules org.wildfly.extras.patch --update fuse-eap-distro
Patch fuse-eap-distro-6.2.1.redhat-084 has already been applied
Run command: java -Djboss.home=. -jar jboss-modules.jar -mp modules org.wildfly.extras.config --configs camel,switchyard --enable
Processing config for: camel
Writing 'layers=fuse' to: ./modules/layers.conf
Enable camel configuration in: ./standalone/configuration/standalone.xml
Error: Did not find the <extensions> element
Error: Command did not terminate normally
EAP服务器日志显示以下异常:
12:09:19,798 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-8) MSC000001: Failed to start service jboss.module.service."deployment.switchyard-bpel-console.war".main: org.jboss.msc.service.StartException in service jboss.module.service."deployment.switchyard-bpel-console.war".main: WFLYSRV0179: Failed to load module: deployment.switchyard-bpel-console.war:main
at org.jboss.as.server.moduleservice.ModuleLoadService.start(ModuleLoadService.java:91)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.jboss.modules.ModuleNotFoundException: org.switchyard.component.bpel:main
at org.jboss.modules.Module.addPaths(Module.java:1042)
at org.jboss.modules.Module.link(Module.java:1398)
at org.jboss.modules.Module.relinkIfNecessary(Module.java:1426)
at org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:238)
at org.jboss.as.server.moduleservice.ModuleLoadService.start(ModuleLoadService.java:68)
... 5 more
如果对此工作有任何建议,请告诉我。
与此同时,我检查了驼峰配置的独立目录,但我找不到任何。请指教。
答案 0 :(得分:0)
根据official documentation,您不能将JBoss Fuse 6.2.1与JBoss EAP 7一起使用。如果您想使用JBoss Fuse 6.2.1,您必须在JBoss EAP 6.4.x之上安装它。
答案 1 :(得分:0)
请参考这篇文章以获得这个问题的答案,我能够通过在Jboss EAP 6.4上安装Jboss fuse 6.2.1作为Jboss推荐来解决这个问题。