[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[virgo-dev] Help【2011.12.08LangYu】――Start in eclipse, there exist an error different from command start process

Hi,

I’ve tried start the Virgo Server (Tomcat) in eclipse, but I met the below error when process the hotdeploy steps, I don’t’ know why because this error didn’t came up when I start the Virgo Server from windows command, can you provide me some support for this error?

com.db.framework.study is my own osgi module, when it is deployed on the server from windows command, there is an screenshot:

Everything goes well when I start the virgo server from osgi module, but when I start the server from eclipse:

The error will came out, version 2.x and version 3.x are both the same error on my environment.

Best Regards

Lang Yu

=============================================================Error Start==================================================================================

[2011-12-08 06:52:07.073] fs-watcher                   <HD0001I> Hot deployer processing 'INITIAL' event for file 'com.db.framework.study.jar'.

[2011-12-08 06:52:07.159] fs-watcher                   <HD0002E> Hot deploy failed for file 'com.db.framework.study.jar'. org.eclipse.virgo.kernel.deployer.core.DeploymentException: The artifact bundle 'com.db.framework.study' version '0.0.0' in scope 'null' at URI 'file:/D:/Maven/Server/virgo-server/pickup/com.db.framework.study.jar' cannot be stored in the runtime artifact model as it clashes with the artifact bundle 'com.db.framework.study' version '0.0.0' in scope 'null' which is already present.

    at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApplicationDeployer.doInstall(PipelinedApplicationDeployer.java:159)

    at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApplicationDeployer.install(PipelinedApplicationDeployer.java:136)

    at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApplicationDeployer.deploy(PipelinedApplicationDeployer.java:203)

    at org.eclipse.virgo.kernel.deployer.hot.HotDeploymentFileSystemListener.deploy(HotDeploymentFileSystemListener.java:174)

    at org.eclipse.virgo.kernel.deployer.hot.HotDeploymentFileSystemListener.deployIfNotDeployed(HotDeploymentFileSystemListener.java:186)

    at org.eclipse.virgo.kernel.deployer.hot.HotDeploymentFileSystemListener.onChange(HotDeploymentFileSystemListener.java:87)

    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:58)

    at java.lang.Thread.run(Thread.java:662)

Caused by: org.eclipse.virgo.kernel.deployer.model.DuplicateFileNameException: The artifact bundle 'com.db.framework.study' version '0.0.0' in scope 'null' at URI 'file:/D:/Maven/Server/virgo-server/pickup/com.db.framework.study.jar' cannot be stored in the runtime artifact model as it clashes with the artifact bundle 'com.db.framework.study' version '0.0.0' in scope 'null' which is already present.

    at org.eclipse.virgo.kernel.deployer.model.internal.StandardRuntimeArtifactModel.checkFileName(StandardRuntimeArtifactModel.java:96)

    at org.eclipse.virgo.kernel.deployer.model.internal.StandardRuntimeArtifactModel.add(StandardRuntimeArtifactModel.java:74)

    at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApplicationDeployer.addTreeToModel(PipelinedApplicationDeployer.java:253)

    at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApplicationDeployer.doInstall(PipelinedApplicationDeployer.java:157)

    ... 9 common frames omitted

 

[2011-12-08 06:52:07.161] fs-watcher                   <HD0001I> Hot deployer processing 'INITIAL' event for file 'org.eclipse.virgo.apps.admin-3.0.2.RELEASE.plan'.

[2011-12-08 06:52:07.179] fs-watcher                   <HD0002E> Hot deploy failed for file 'org.eclipse.virgo.apps.admin-3.0.2.RELEASE.plan'. org.eclipse.virgo.kernel.deployer.core.DeploymentException: The artifact plan 'org.eclipse.virgo.apps.admin.plan' version '3.0.0' in scope 'null' at URI 'file:/D:/Maven/Server/virgo-server/pickup/org.eclipse.virgo.apps.admin-3.0.2.RELEASE.plan' cannot be stored in the runtime artifact model as it clashes with the artifact plan 'org.eclipse.virgo.apps.admin.plan' version '3.0.0' in scope 'null' which is already present.

    at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApplicationDeployer.doInstall(PipelinedApplicationDeployer.java:159)

    at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApplicationDeployer.install(PipelinedApplicationDeployer.java:136)

    at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApplicationDeployer.deploy(PipelinedApplicationDeployer.java:203)

    at org.eclipse.virgo.kernel.deployer.hot.HotDeploymentFileSystemListener.deploy(HotDeploymentFileSystemListener.java:174)

    at org.eclipse.virgo.kernel.deployer.hot.HotDeploymentFileSystemListener.deployIfNotDeployed(HotDeploymentFileSystemListener.java:186)

    at org.eclipse.virgo.kernel.deployer.hot.HotDeploymentFileSystemListener.onChange(HotDeploymentFileSystemListener.java:87)

    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:58)

    at java.lang.Thread.run(Thread.java:662)

Caused by: org.eclipse.virgo.kernel.deployer.model.DuplicateFileNameException: The artifact plan 'org.eclipse.virgo.apps.admin.plan' version '3.0.0' in scope 'null' at URI 'file:/D:/Maven/Server/virgo-server/pickup/org.eclipse.virgo.apps.admin-3.0.2.RELEASE.plan' cannot be stored in the runtime artifact model as it clashes with the artifact plan 'org.eclipse.virgo.apps.admin.plan' version '3.0.0' in scope 'null' which is already present.

    at org.eclipse.virgo.kernel.deployer.model.internal.StandardRuntimeArtifactModel.checkFileName(StandardRuntimeArtifactModel.java:96)

    at org.eclipse.virgo.kernel.deployer.model.internal.StandardRuntimeArtifactModel.add(StandardRuntimeArtifactModel.java:74)

    at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApplicationDeployer.addTreeToModel(PipelinedApplicationDeployer.java:253)

    at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApplicationDeployer.doInstall(PipelinedApplicationDeployer.java:157)

    ... 9 common frames omitted

 

[2011-12-08 06:52:07.181] fs-watcher                   <HD0001I> Hot deployer processing 'INITIAL' event for file 'org.eclipse.virgo.apps.repository-3.0.2.RELEASE.par'.

[2011-12-08 06:52:07.338] fs-watcher                   <HD0002E> Hot deploy failed for file 'org.eclipse.virgo.apps.repository-3.0.2.RELEASE.par'. org.eclipse.virgo.kernel.deployer.core.DeploymentException: The artifact par 'org.eclipse.virgo.apps.repository' version '3.0.2.RELEASE' in scope 'null' at URI 'file:/D:/Maven/Server/virgo-server/pickup/org.eclipse.virgo.apps.repository-3.0.2.RELEASE.par' cannot be stored in the runtime artifact model as it clashes with the artifact par 'org.eclipse.virgo.apps.repository' version '3.0.2.RELEASE' in scope 'null' which is already present.

    at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApplicationDeployer.doInstall(PipelinedApplicationDeployer.java:159)

    at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApplicationDeployer.install(PipelinedApplicationDeployer.java:136)

    at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApplicationDeployer.deploy(PipelinedApplicationDeployer.java:203)

    at org.eclipse.virgo.kernel.deployer.hot.HotDeploymentFileSystemListener.deploy(HotDeploymentFileSystemListener.java:174)

    at org.eclipse.virgo.kernel.deployer.hot.HotDeploymentFileSystemListener.deployIfNotDeployed(HotDeploymentFileSystemListener.java:186)

    at org.eclipse.virgo.kernel.deployer.hot.HotDeploymentFileSystemListener.onChange(HotDeploymentFileSystemListener.java:87)

    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:58)

    at java.lang.Thread.run(Thread.java:662)

Caused by: org.eclipse.virgo.kernel.deployer.model.DuplicateFileNameException: The artifact par 'org.eclipse.virgo.apps.repository' version '3.0.2.RELEASE' in scope 'null' at URI 'file:/D:/Maven/Server/virgo-server/pickup/org.eclipse.virgo.apps.repository-3.0.2.RELEASE.par' cannot be stored in the runtime artifact model as it clashes with the artifact par 'org.eclipse.virgo.apps.repository' version '3.0.2.RELEASE' in scope 'null' which is already present.

    at org.eclipse.virgo.kernel.deployer.model.internal.StandardRuntimeArtifactModel.checkFileName(StandardRuntimeArtifactModel.java:96)

    at org.eclipse.virgo.kernel.deployer.model.internal.StandardRuntimeArtifactModel.add(StandardRuntimeArtifactModel.java:74)

    at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApplicationDeployer.addTreeToModel(PipelinedApplicationDeployer.java:253)

    at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApplicationDeployer.doInstall(PipelinedApplicationDeployer.java:157)

    ... 9 common frames omitted

 

[2011-12-08 06:52:07.340] fs-watcher                   <HD0001I> Hot deployer processing 'INITIAL' event for file 'org.eclipse.virgo.apps.splash-3.0.2.RELEASE.jar'.

[2011-12-08 06:52:07.432] fs-watcher                   <HD0002E> Hot deploy failed for file 'org.eclipse.virgo.apps.splash-3.0.2.RELEASE.jar'. org.eclipse.virgo.kernel.deployer.core.DeploymentException: The artifact bundle 'org.eclipse.virgo.apps.splash' version '3.0.2.RELEASE' in scope 'null' at URI 'file:/D:/Maven/Server/virgo-server/pickup/org.eclipse.virgo.apps.splash-3.0.2.RELEASE.jar' cannot be stored in the runtime artifact model as it clashes with the artifact bundle 'org.eclipse.virgo.apps.splash' version '3.0.2.RELEASE' in scope 'null' which is already present.

    at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApplicationDeployer.doInstall(PipelinedApplicationDeployer.java:159)

    at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApplicationDeployer.install(PipelinedApplicationDeployer.java:136)

    at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApplicationDeployer.deploy(PipelinedApplicationDeployer.java:203)

    at org.eclipse.virgo.kernel.deployer.hot.HotDeploymentFileSystemListener.deploy(HotDeploymentFileSystemListener.java:174)

    at org.eclipse.virgo.kernel.deployer.hot.HotDeploymentFileSystemListener.deployIfNotDeployed(HotDeploymentFileSystemListener.java:186)

    at org.eclipse.virgo.kernel.deployer.hot.HotDeploymentFileSystemListener.onChange(HotDeploymentFileSystemListener.java:87)

    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:58)

    at java.lang.Thread.run(Thread.java:662)

Caused by: org.eclipse.virgo.kernel.deployer.model.DuplicateFileNameException: The artifact bundle 'org.eclipse.virgo.apps.splash' version '3.0.2.RELEASE' in scope 'null' at URI 'file:/D:/Maven/Server/virgo-server/pickup/org.eclipse.virgo.apps.splash-3.0.2.RELEASE.jar' cannot be stored in the runtime artifact model as it clashes with the artifact bundle 'org.eclipse.virgo.apps.splash' version '3.0.2.RELEASE' in scope 'null' which is already present.

    at org.eclipse.virgo.kernel.deployer.model.internal.StandardRuntimeArtifactModel.checkFileName(StandardRuntimeArtifactModel.java:96)

    at org.eclipse.virgo.kernel.deployer.model.internal.StandardRuntimeArtifactModel.add(StandardRuntimeArtifactModel.java:74)

    at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApplicationDeployer.addTreeToModel(PipelinedApplicationDeployer.java:253)

    at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApplicationDeployer.doInstall(PipelinedApplicationDeployer.java:157)

    ... 9 common frames omitted

=============================================================Error End==================================================================================

 

PNG image

PNG image