【问题标题】:Cannot determine the artifact identity of the file无法确定文件的工件身份
【发布时间】:2012-08-31 06:05:39
【问题描述】:

我遇到了导入包异常,我使用 menifist 文件解决了这个问题。但是现在我遇到了其他我不知道的异常情况,我能够部署简单的捆绑包,但是这个特定的捆绑包没有从拾取目录在 virgo 服务器上运行。

我已附上服务器日志和遇到的错误。

期待收到您的来信。

    [2012-08-30 22:43:43.250] fs-watcher                   <DE0014I> Uninstalled bundle 'tasknodebundle' version '0.0.0'.
[2012-08-30 22:44:56.453] fs-watcher                   <HD0001I> Hot deployer processing 'CREATED' event for file 'tasknodebundle.jar'.
[2012-08-30 22:44:56.468] fs-watcher                   <DE0701E> Cannot determine the artifact identity of the file 'C:\VIRGO-~1.REL\pickup\tasknodebundle.jar'.
[2012-08-30 22:44:56.484] fs-watcher                   <HD0002E> Hot deploy failed for file 'tasknodebundle.jar'. org.eclipse.virgo.kernel.deployer.core.DeploymentException: Cannot determine the artifact identity of the file 'C:\VIRGO-~1.REL\pickup\tasknodebundle.jar': uri='file:/C:/VIRGO-~1.REL/pickup/tasknodebundle.jar': uri='file:/C:/VIRGO-~1.REL/pickup/tasknodebundle.jar'
        at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApplicationDeployer.doInstall(PipelinedApplicationDeployer.java:167)
        at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApplicationDeployer.install(PipelinedApplicationDeployer.java:139)
        at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApplicationDeployer.deploy(PipelinedApplicationDeployer.java:252)
        at org.eclipse.virgo.kernel.deployer.hot.HotDeploymentFileSystemListener.deploy(HotDeployerFileSystemListener.java:163)
        at org.eclipse.virgo.kernel.deployer.hot.HotDeploymentFileSystemListener.onChange(HotDeployerFileSystemListener.java:67)
        at org.eclipse.virgo.util.io.FileSystemChecker.notifyListeners(FileSystemChecker.java:245)
        at org.eclipse.virgo.util.io.FileSystemChecker.check(FileSystemChecker.java:166)
        at org.eclipse.virgo.kernel.deployer.hot.WatchTask.run(WatchTask.java:48)
        at java.lang.Thread.run(Thread.java:662)
Caused by: org.eclipse.virgo.kernel.deployer.core.DeploymentException: Cannot determine the artifact identity of the file 'C:\VIRGO-~1.REL\pickup\tasknodebundle.jar': uri='file:/C:/VIRGO-~1.REL/pickup/tasknodebundle.jar'
        at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApplicationDeployer.determineIdentity(PipelinedApplicationDeployer.java:209)
        at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApplicationDeployer.doInstall(PipelinedApplicationDeployer.java:159)
        ... 8 common frames omitted
Caused by: org.eclipse.virgo.kernel.deployer.core.DeploymentException: Cannot determine the artifact identity of the file 'C:\VIRGO-~1.REL\pickup\tasknodebundle.jar'
        at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApplicationDeployer.determineIdentity(PipelinedApplicationDeployer.java:348)
        at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApplicationDeployer.determineIdentity(PipelinedApplicationDeployer.java:207)
        ... 9 common frames omitted

清单文件

Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: task-node-bundle
Bundle-SymbolicName: task-node-bundle
Bundle-Version: 1.0.0.qualifier
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
Export-Package: com.ccl.aws.swf.nodes
Bundle-Vendor: Test user
Import-Package: com.ccl.aws.swf.nodes; version="0.0.0",
 com.ccl.aws.swf.nodes.util; version="0.0.0",
 com.amazonaws.services.ec2; version="1.3.14",
 com.amazonaws.services.s3; version="1.3.14",
 com.amazonaws.services.sns; version="1.3.14",
 com.amazonaws.services.sqs; version="1.3.14",
 com.amazonaws.auth; version="1.3.14"

【问题讨论】:

    标签: osgi eclipse-virgo spring-dm


    【解决方案1】:

    你能发布清单文件吗?我想问题就在那里。清单文件的文件格式可能很棘手,非常小的东西,如空格、反斜杠或太长的行会搞砸。

    【讨论】:

    • Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Name: task-node-bundle Bundle-SymbolicName: task-node-bundle Bundle-Version: 1.0.0.qualifier Bundle-RequiredExecutionEnvironment: JavaSE -1.6 导出包:com.ccl.aws.swf.nodes 捆绑包供应商:Waqas Sadiq 导入包:com.ccl.aws.swf.nodes;版本="0.0.0", com.ccl.aws.swf.nodes.util;版本=“0.0.0”,com.amazonaws.services.ec2;版本=“1.3.14”,com.amazonaws.services.s3;版本=“1.3.14”,com.amazonaws.services.sns;版本=“1.3.14”,com.amazonaws.services.sqs;版本=“1.3.14”,com.amazonaws.auth;版本="1.3.14"
    猜你喜欢
    • 1970-01-01
    • 2010-10-21
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2012-05-19
    • 2016-05-26
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多