无法确定文件的工件标识

时间:2012-08-31 06:05:39

标签: osgi eclipse-virgo spring-dm

我收到导入包异常,我用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"

1 个答案:

答案 0 :(得分:0)

你可以发布清单文件吗?我猜问题就在那里。清单文件的文件格式可能很棘手,像空格,反斜杠或太长的线这样的小东西都会弄乱它。