我正在尝试将我的功能添加到容器中。我创建 testpool 配置文件并添加我的本地存储库(file:C:/jboss-fuse-6.0.0.redhat-024/system/np-dbcp-feature/MyFeaturesRepo/xml/features/features.xml)
。之后,我会从我的存储库 (np-dbcp-feature) 中看到可用的功能。当我尝试将我的个人资料添加到容器时,我会收到配置状态:
Provision Exception Trace: java.lang.IllegalArgumentException: URI is not hierarchical
at java.io.File.<init>(File.java:418)
at org.fusesource.fabric.agent.ObrResolver.createResource(ObrResolver.java:270)
at org.fusesource.fabric.agent.ObrResolver.resolve(ObrResolver.java:108)
at org.fusesource.fabric.agent.DeploymentAgent.updateDeployment(DeploymentAgent.java:566)
at org.fusesource.fabric.agent.DeploymentAgent.doUpdate(DeploymentAgent.java:432)
at org.fusesource.fabric.agent.DeploymentAgent$1.run(DeploymentAgent.java:242)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)
怎么了?哪一个 URI 不是分层的?features.xml 和 pom.xml 文件在这里(抱歉,我只能发布 2 个链接): http: //pastebin.com/4D7i7UQQ
我正在尝试做类似的事情http://fusesource.com/forums/message.jspa?messageID=8619但对于 mssql。
更新:我在 features.xml 中评论了我的包,我没有例外,所以问题出在我的包的 pom.xml 文件中