2

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

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

期待着听到您的意见。

    [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"
4

1 回答 1

0

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

于 2012-09-02T12:15:04.117 回答